Base:
property
TypeHandle
System.Type.TypeHandle
33 references to TypeHandle
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (9)
772result = parsed ? InternalBoxEnum(rt.TypeHandle, longScratch) : null; 2229InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2232InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2235InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2238InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2242InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2246InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2249InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, value); 2253InternalBoxEnum(ValidateRuntimeType(enumType).TypeHandle, unchecked((long)value));
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (5)
55_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 61_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 66_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 90_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 95_methodTable = (MethodTable*)fieldType.TypeHandle.Value;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
896return 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)
506return m_scope.GetTokenFor(rtType.TypeHandle); 516return m_scope.GetTokenFor(runtimeField.FieldHandle, rtType.TypeHandle); 526return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.TypeHandle); 536return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.TypeHandle); 835typeHandle = 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\RuntimeHandles.cs (4)
215IntPtr typeHandle = genericParameter.TypeHandle.Value; 241genericParameter1.TypeHandle.Value, 242genericParameter2.TypeHandle.Value 541IntPtr ptr = inst.TypeHandle.Value;
src\System\RuntimeType.CoreCLR.cs (5)
975new MdFieldInfo(tkField, fieldAttributes, declaringType.TypeHandle, m_runtimeTypeCache, bindingFlags); 2024typeContext = declaringType.TypeHandle.GetInstantiationInternal(); 2738RuntimeTypeHandle ifaceRtTypeHandle = ifaceRtType.TypeHandle; 2740TypeHandle.VerifyInterfaceIsImplemented(ifaceRtTypeHandle); 2767RuntimeMethodHandleInternal classRtMethodHandle = TypeHandle.GetInterfaceMethodImplementation(ifaceRtTypeHandle, ifaceRtMethodHandle);