Base:
property
TypeHandle
System.Type.TypeHandle
34 references to TypeHandle
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (9)
770result = parsed ? InternalBoxEnum(rt.TypeHandle, longScratch) : null; 2225InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2228InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2231InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2234InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2238InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2242InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2245InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2249InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, unchecked((long)value));
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (6)
53_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 60_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 66_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 71_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 95_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 100_methodTable = (MethodTable*)fieldType.TypeHandle.Value;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
914return RuntimeHelpers.Box(ref RuntimeHelpers.GetRawData(value), type.TypeHandle)!;
src\System\Reflection\Associates.cs (2)
54RuntimeType[] genericArguments = declaredType.TypeHandle.GetInstantiationInternal(); 62genericArgumentHandles[i] = genericArguments[i].TypeHandle.Value;
src\System\Reflection\Emit\DynamicILGenerator.cs (5)
498return m_scope.GetTokenFor(rtType.TypeHandle); 508return m_scope.GetTokenFor(runtimeField.FieldHandle, rtType.TypeHandle); 518return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.TypeHandle); 528return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.TypeHandle); 823typeHandle = vaMeth.m_method.GetDeclaringTypeInternal().TypeHandle.Value;
src\System\Reflection\Emit\SignatureHelper.cs (2)
755int token = dynamicScope.GetTokenFor(rtType.TypeHandle); 778int token = dynamicScope.GetTokenFor(rtType.TypeHandle);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1701RuntimeTypeHandle attributeTypeHandle = attributeType.TypeHandle;
src\System\RuntimeHandles.cs (4)
235IntPtr typeHandle = genericParameter.TypeHandle.Value; 261genericParameter1.TypeHandle.Value, 262genericParameter2.TypeHandle.Value 760IntPtr ptr = inst.TypeHandle.Value;
src\System\RuntimeType.CoreCLR.cs (4)
953new MdFieldInfo(tkField, fieldAttributes, declaringType.TypeHandle, m_runtimeTypeCache, bindingFlags); 2720RuntimeTypeHandle ifaceRtTypeHandle = ifaceRtType.TypeHandle; 2722TypeHandle.VerifyInterfaceIsImplemented(ifaceRtTypeHandle); 2749RuntimeMethodHandleInternal classRtMethodHandle = TypeHandle.GetInterfaceMethodImplementation(ifaceRtTypeHandle, ifaceRtMethodHandle);