-Derp
This commit is contained in:
@@ -193,10 +193,7 @@ namespace Newtonsoft.Json.Serialization
|
|||||||
/// <returns>The contract for a given type.</returns>
|
/// <returns>The contract for a given type.</returns>
|
||||||
public virtual JsonContract ResolveContract(Type type)
|
public virtual JsonContract ResolveContract(Type type)
|
||||||
{
|
{
|
||||||
if (type == null)
|
ValidationUtils.ArgumentNotNull(type, nameof(type));
|
||||||
{
|
|
||||||
throw new ArgumentNullException(nameof(type));
|
|
||||||
}
|
|
||||||
|
|
||||||
return _contractCache.Get(type);
|
return _contractCache.Get(type);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user