fix: Fixing dumb mistake with extension method resolution order

This commit is contained in:
Chris Cameron
2019-05-09 12:51:55 -04:00
parent 3fa089b85e
commit 6f5188909b

View File

@@ -27,19 +27,6 @@ namespace ICD.Common.Utils.Extensions
extends.WriteValue(name);
}
/// <summary>
/// Writes a Type value.
/// </summary>
/// <param name="extends"></param>
/// <param name="value"></param>
public static void WriteValue(this JsonWriter extends, Type value)
{
if (extends == null)
throw new ArgumentNullException("extends");
extends.WriteType(value);
}
/// <summary>
/// Writes the property name and value to the writer.
/// </summary>
@@ -142,7 +129,7 @@ namespace ICD.Common.Utils.Extensions
throw new ArgumentNullException("extends");
extends.WritePropertyName(propertyName);
extends.WriteValue(value);
extends.WriteType(value);
}
}
}