5 instantiations of TypeHandleRef
System.Runtime.Serialization (5)
System\Runtime\Serialization\DataContract.cs (3)
506
typeHandleRef = new
TypeHandleRef
();
527
typeToIDCache.Add(new
TypeHandleRef
(typeHandle), id);
1080
typeHandleRef = new
TypeHandleRef
();
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
157
static TypeHandleRef typeHandleRef = new
TypeHandleRef
();
219
typeToIDCache.Add(new
TypeHandleRef
(typeHandle), id);
11 references to TypeHandleRef
System.Runtime.Serialization (11)
System\Runtime\Serialization\DataContract.cs (8)
409
static
TypeHandleRef
typeHandleRef;
2670
return ((
TypeHandleRef
)x).Value.Equals(((
TypeHandleRef
)y).Value);
2675
return ((
TypeHandleRef
)obj).Value.GetHashCode();
2679
class TypeHandleRefEqualityComparer : IEqualityComparer<
TypeHandleRef
>
2681
public bool Equals(
TypeHandleRef
x,
TypeHandleRef
y)
2686
public int GetHashCode(
TypeHandleRef
obj)
System\Runtime\Serialization\Json\JsonDataContract.cs (3)
157
static
TypeHandleRef
typeHandleRef = new TypeHandleRef();
158
static Dictionary<
TypeHandleRef
, IntRef> typeToIDCache = new Dictionary<
TypeHandleRef
, IntRef>(new TypeHandleRefEqualityComparer());