mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 20:47:24 +00:00
fix: Fixing dumb mistake with extension method resolution order
This commit is contained in:
parent
3fa089b85e
commit
6f5188909b
1 changed files with 1 additions and 14 deletions
|
|
@ -27,19 +27,6 @@ namespace ICD.Common.Utils.Extensions
|
||||||
extends.WriteValue(name);
|
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>
|
/// <summary>
|
||||||
/// Writes the property name and value to the writer.
|
/// Writes the property name and value to the writer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -142,7 +129,7 @@ namespace ICD.Common.Utils.Extensions
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
extends.WritePropertyName(propertyName);
|
extends.WritePropertyName(propertyName);
|
||||||
extends.WriteValue(value);
|
extends.WriteType(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue