51 references to RuntimeTypeHandle
System.Private.TypeLoader (51)
Internal\Runtime\TypeLoader\EETypeCreator.cs (4)
403
elementHandle = elementType.ComputeTemplate().
RuntimeTypeHandle
;
498
Debug.Assert(state.TemplateType != null && !state.TemplateType.
RuntimeTypeHandle
.IsNull());
499
RuntimeTypeHandle templateTypeHandle = state.TemplateType.
RuntimeTypeHandle
;
544
baseTypeHandle = baseType.ComputeTemplate().
RuntimeTypeHandle
;
Internal\Runtime\TypeLoader\NoMetadataRuntimeInterfacesAlgorithm.cs (2)
18
int numInterfaces = RuntimeAugments.GetInterfaceCount(type.
RuntimeTypeHandle
);
22
RuntimeTypeHandle itfHandle = RuntimeAugments.GetInterface(type.
RuntimeTypeHandle
, i);
Internal\Runtime\TypeLoader\TypeBuilder.cs (16)
181
Debug.Assert(state.TemplateType != null && state.TemplateType is ArrayType && !state.TemplateType.
RuntimeTypeHandle
.IsNull());
274
method.SetFunctionPointer(TypeLoaderEnvironment.ConvertUnboxingFunctionPointerToUnderlyingNonUnboxingPointer(templateMethod.FunctionPointer, templateMethod.OwningType.
RuntimeTypeHandle
));
417
var rtth = type.
RuntimeTypeHandle
;
503
RuntimeTypeHandle baseTypeHandle = baseType.
RuntimeTypeHandle
;
830
Debug.Assert(!typeAsFunctionPointerType.
RuntimeTypeHandle
.IsNull());
831
TypeSystemContext.FunctionPointerTypesCache.AddOrGetExisting(typeAsFunctionPointerType.
RuntimeTypeHandle
);
836
Debug.Assert(!typeAsParameterizedType.
RuntimeTypeHandle
.IsNull());
837
Debug.Assert(!typeAsParameterizedType.ParameterType.
RuntimeTypeHandle
.IsNull());
840
TypeSystemContext.GetArrayTypesCache(true, ((ArrayType)typeAsParameterizedType).Rank).AddOrGetExisting(typeAsParameterizedType.
RuntimeTypeHandle
);
842
TypeSystemContext.GetArrayTypesCache(false, -1).AddOrGetExisting(typeAsParameterizedType.
RuntimeTypeHandle
);
847
Debug.Assert(typeAsParameterizedType.
RuntimeTypeHandle
.ToEETypePtr()->IsByRef);
849
TypeSystemContext.ByRefTypesCache.AddOrGetExisting(typeAsParameterizedType.
RuntimeTypeHandle
);
856
Debug.Assert(typeAsParameterizedType.
RuntimeTypeHandle
.ToEETypePtr()->IsPointer);
858
TypeSystemContext.PointerTypesCache.AddOrGetExisting(typeAsParameterizedType.
RuntimeTypeHandle
);
1031
runtimeTypeHandle = typeBeingLoaded.
RuntimeTypeHandle
;
1057
arrayTypeHandle = arrayType.
RuntimeTypeHandle
;
Internal\Runtime\TypeLoader\TypeBuilderState.cs (1)
72
Debug.Assert(_templateType is null || !_templateType.
RuntimeTypeHandle
.IsNull());
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (3)
103
_genericTypeDefinitionHandle = _typeToLookup.GetTypeDefinition().
RuntimeTypeHandle
;
131
RuntimeTypeHandle lookupArg = (_typeToLookup != null ? _typeToLookup.Instantiation[i].
RuntimeTypeHandle
: _genericTypeArgumentHandles[i]);
155
if (!entry._genericTypeArgumentHandles[i].Equals(_typeToLookup.Instantiation[i].
RuntimeTypeHandle
))
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (3)
170
if (type.
RuntimeTypeHandle
.IsNull())
190
Debug.Assert(!type.
RuntimeTypeHandle
.IsNull());
191
return !type.
RuntimeTypeHandle
.IsNull();
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (8)
230
if (!targetType.GetTypeDefinition().
RuntimeTypeHandle
.Equals(implementingTypeHandle)
292
while (!interfaceImplType.GetTypeDefinition().
RuntimeTypeHandle
.Equals(targetTypeHandle))
295
else if (currentIfaceType.HasInstantiation && currentIfaceType.GetTypeDefinition().
RuntimeTypeHandle
.Equals(targetTypeHandle))
310
if (instIntf.GetTypeDefinition().
RuntimeTypeHandle
.Equals(targetTypeHandle))
353
RuntimeTypeHandle openCallingTypeHandle = slotMethod.OwningType.GetTypeDefinition().
RuntimeTypeHandle
;
356
RuntimeTypeHandle openTargetTypeHandle = targetType.GetTypeDefinition().
RuntimeTypeHandle
;
479
RuntimeTypeHandle openCallingTypeHandle = slotMethod.OwningType.GetTypeDefinition().
RuntimeTypeHandle
;
482
RuntimeTypeHandle openTargetTypeHandle = targetType.GetTypeDefinition().
RuntimeTypeHandle
;
Internal\TypeSystem\RuntimeNoMetadataType.cs (2)
117
if (!RuntimeAugments.TryGetBaseType(
RuntimeTypeHandle
, out baseTypeHandle))
316
EETypeElementType elementType =
RuntimeTypeHandle
.ToEETypePtr()->ElementType;
Internal\TypeSystem\TypeDesc.Runtime.cs (8)
48
return
RuntimeTypeHandle
;
62
if (!type.
RuntimeTypeHandle
.IsNull())
72
RuntimeTypeHandle typeDefHandle = typeDefinition.
RuntimeTypeHandle
;
111
TypeLoaderEnvironment.TryGetArrayTypeForElementType_LookupOnly(typeAsParameterType.ParameterType.
RuntimeTypeHandle
, type.IsMdArray, type.IsMdArray ? ((ArrayType)type).Rank : -1, out rtth))
113
(type is PointerType && TypeLoaderEnvironment.TryGetPointerTypeForTargetType_LookupOnly(typeAsParameterType.ParameterType.
RuntimeTypeHandle
, out rtth))
115
(type is ByRefType && TypeLoaderEnvironment.TryGetByRefTypeForTargetType_LookupOnly(typeAsParameterType.ParameterType.
RuntimeTypeHandle
, out rtth)))
137
parameterHandles[i] = sig[i].
RuntimeTypeHandle
;
148
sig.ReturnType.
RuntimeTypeHandle
, parameterHandles,
Internal\TypeSystem\TypeSystemContext.Runtime.cs (4)
185
if (rtth.Equals(CanonType.
RuntimeTypeHandle
))
257
if (returnedType.
RuntimeTypeHandle
.IsNull())
472
Debug.Assert(RuntimeAugments.IsGenericTypeDefinition(nmTypeDef.
RuntimeTypeHandle
));
473
result = new NoMetadataType(this, nmTypeDef.
RuntimeTypeHandle
, nmTypeDef, arguments, key.GetHashCode());