3 references to GetTypeHandle
System.Runtime.Serialization (3)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
122SerializeWithXsiType(xmlWriter, obj, Type.GetTypeHandle(obj), null/*type*/, -1, declaredType.TypeHandle, declaredType); 131RuntimeTypeHandle objTypeHandle = Type.GetTypeHandle(obj);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
332RuntimeTypeHandle objTypeHandle = isDeclaredType ? declaredTypeHandle : Type.GetTypeHandle(obj);