Skip to content

Commit 8f4b308

Browse files
committed
Fixed incorrect formatting string
1 parent cbf523d commit 8f4b308

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Codecs/KeyValues2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void WriteAttribute(string name, Type type, object value, bool in_array)
283283
void WriteElement(Element element)
284284
{
285285
if (TypeNames.ContainsValue(element.ClassName))
286-
throw new CodecException(String.Format("Element {} uses reserved type name \"{1}\".", element.ID, element.ClassName));
286+
throw new CodecException(String.Format("Element {0} uses reserved type name \"{1}\".", element.ID, element.ClassName));
287287
Writer.WriteTokens(element.ClassName);
288288
Writer.WriteLine("{");
289289
Writer.Indent++;

0 commit comments

Comments
 (0)