58 references to ResolveRuntimeTypeHandle
System.Private.TypeLoader (58)
Internal\Runtime\TypeLoader\CanonicallyEquivalentEntryLocator.cs (1)
64TypeDesc otherTypeAsTypeDesc = _defType.Context.ResolveRuntimeTypeHandle(other);
Internal\Runtime\TypeLoader\NativeLayoutInfoLoadContext.cs (1)
83return _typeSystemContext.ResolveRuntimeTypeHandle(rtth);
Internal\Runtime\TypeLoader\NoMetadataRuntimeInterfacesAlgorithm.cs (1)
23TypeDesc itfType = type.Context.ResolveRuntimeTypeHandle(itfHandle);
Internal\Runtime\TypeLoader\TemplateLocator.cs (1)
46TypeDesc candidateTemplate = concreteType.Context.ResolveRuntimeTypeHandle(candidateTemplateTypeHandle);
Internal\Runtime\TypeLoader\TypeBuilder.cs (8)
573return (DefType)type.Context.ResolveRuntimeTypeHandle(thBaseTypeTemplate); 1047DefType declaringType = (DefType)typeSystemContext.ResolveRuntimeTypeHandle(declaringTypeHandle); 1055TypeDesc typeContext = typeSystemContext.ResolveRuntimeTypeHandle(RuntimeAugments.CreateRuntimeTypeHandle(context)); 1129DefType genericDef = (DefType)context.ResolveRuntimeTypeHandle(genericTypeDefinitionHandle); 1156TypeDesc elementType = context.ResolveRuntimeTypeHandle(elementTypeHandle); 1181PointerType pointerType = context.GetPointerType(context.ResolveRuntimeTypeHandle(pointeeTypeHandle)); 1201ByRefType byRefType = context.GetByRefType(context.ResolveRuntimeTypeHandle(pointeeTypeHandle)); 1225context.ResolveRuntimeTypeHandle(returnTypeHandle),
Internal\Runtime\TypeLoader\TypeBuilderState.cs (2)
63_templateType = TypeBeingBuilt.Context.ResolveRuntimeTypeHandle(typeof(object[,]).TypeHandle); 75_templateType = TypeBeingBuilt.Context.ResolveRuntimeTypeHandle(typeof(char*[]).TypeHandle);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (4)
158TypeDesc parsedDeclaringType = context.ResolveRuntimeTypeHandle(parsedDeclaringTypeHandle); 182TypeDesc leftType = context.ResolveRuntimeTypeHandle(parsedArgsHandles[i]); 195TypeDesc parsedDeclaringType = context.ResolveRuntimeTypeHandle(entry._declaringTypeHandle); 213TypeDesc leftType = context.ResolveRuntimeTypeHandle(entry._genericMethodArgumentHandles[i]);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (4)
371TypeDesc type = context.ResolveRuntimeTypeHandle(typeHandle); 382DefType declaringType = (DefType)context.ResolveRuntimeTypeHandle(declaringTypeHandle); 414TypeDesc genericArg1 = context.ResolveRuntimeTypeHandle(genericArgHandles1[i]); 415TypeDesc genericArg2 = context.ResolveRuntimeTypeHandle(genericArgHandles2[i]);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (2)
125DefType targetType = (DefType)context.ResolveRuntimeTypeHandle(type); 260interfaceImplType = (DefType)context.ResolveRuntimeTypeHandle(targetTypeHandle);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (1)
201DefType type = (DefType)context.ResolveRuntimeTypeHandle(declaringTypeHandle);
Internal\Runtime\TypeLoader\TypeLoaderTypeSystemContext.cs (26)
56return (DefType)ResolveRuntimeTypeHandle(typeof(void).TypeHandle); 59return (DefType)ResolveRuntimeTypeHandle(typeof(bool).TypeHandle); 62return (DefType)ResolveRuntimeTypeHandle(typeof(char).TypeHandle); 65return (DefType)ResolveRuntimeTypeHandle(typeof(sbyte).TypeHandle); 68return (DefType)ResolveRuntimeTypeHandle(typeof(byte).TypeHandle); 71return (DefType)ResolveRuntimeTypeHandle(typeof(short).TypeHandle); 74return (DefType)ResolveRuntimeTypeHandle(typeof(ushort).TypeHandle); 77return (DefType)ResolveRuntimeTypeHandle(typeof(int).TypeHandle); 80return (DefType)ResolveRuntimeTypeHandle(typeof(uint).TypeHandle); 83return (DefType)ResolveRuntimeTypeHandle(typeof(long).TypeHandle); 86return (DefType)ResolveRuntimeTypeHandle(typeof(ulong).TypeHandle); 89return (DefType)ResolveRuntimeTypeHandle(typeof(IntPtr).TypeHandle); 92return (DefType)ResolveRuntimeTypeHandle(typeof(UIntPtr).TypeHandle); 95return (DefType)ResolveRuntimeTypeHandle(typeof(float).TypeHandle); 98return (DefType)ResolveRuntimeTypeHandle(typeof(double).TypeHandle); 101return (DefType)ResolveRuntimeTypeHandle(typeof(ValueType).TypeHandle); 104return (DefType)ResolveRuntimeTypeHandle(typeof(Enum).TypeHandle); 107return (DefType)ResolveRuntimeTypeHandle(typeof(Nullable<>).TypeHandle); 110return (DefType)ResolveRuntimeTypeHandle(typeof(object).TypeHandle); 113return (DefType)ResolveRuntimeTypeHandle(typeof(string).TypeHandle); 116return (DefType)ResolveRuntimeTypeHandle(typeof(Array).TypeHandle); 119return (DefType)ResolveRuntimeTypeHandle(typeof(MulticastDelegate).TypeHandle); 122return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeTypeHandle).TypeHandle); 125return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeMethodHandle).TypeHandle); 128return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeFieldHandle).TypeHandle); 131return (DefType)ResolveRuntimeTypeHandle(typeof(Exception).TypeHandle);
Internal\TypeSystem\RuntimeNoMetadataType.cs (1)
122DefType baseType = !baseTypeHandle.IsNull() ? (DefType)Context.ResolveRuntimeTypeHandle(baseTypeHandle) : null;
Internal\TypeSystem\TypeSystemContext.Runtime.cs (6)
168TypeDescs[i] = ResolveRuntimeTypeHandle(runtimeTypeHandles[i]); 209DefType typeDef = (DefType)ResolveRuntimeTypeHandle(typeDefRuntimeTypeHandle); 216TypeDesc elementType = ResolveRuntimeTypeHandle(elementTypeHandle); 228TypeDesc targetType = ResolveRuntimeTypeHandle(targetTypeHandle); 240ResolveRuntimeTypeHandle(returnTypeHandle), 248TypeDesc targetType = ResolveRuntimeTypeHandle(targetTypeHandle);