18 references to ToRuntimeTypeInfo
System.Private.CoreLib (18)
Internal\Reflection\Augments\ReflectionAugments.cs (3)
298
RuntimeTypeInfo runtimeContainingType = target.GetType().
ToRuntimeTypeInfo
();
436
RuntimeTypeInfo runtimeType = type.
ToRuntimeTypeInfo
();
473
RuntimeTypeInfo runtimeType = type.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\BindingFlagSupport\QueriedMemberList.cs (1)
148
type = type.BaseType?.
ToRuntimeTypeInfo
()!;
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (2)
124
RuntimeTypeInfo? argumentType = typeHandle.TryResolve(_reader, AttributeType.
ToRuntimeTypeInfo
().TypeContext, ref exception);
166
RuntimeTypeInfo? argumentType = namedArgument.Type.TryResolve(_reader, AttributeType.
ToRuntimeTypeInfo
().TypeContext, ref exception);
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (2)
201
return resolvedType.
ToRuntimeTypeInfo
();
229
return runtimeType.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\General\TypeUnifier.cs (1)
77
return Type.GetTypeFromHandle(typeHandle)!.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\MethodInfos\RuntimeMethodHelpers.cs (1)
33
TypeContext typeContext = contextMethod.DeclaringType.
ToRuntimeTypeInfo
().TypeContext;
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (1)
76
RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForMethods.cs (1)
55
return _declaringRuntimeNamedMethodInfo.DeclaringType.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\TypeInfos\RuntimeArrayTypeInfo.cs (3)
53
RuntimeTypeInfo countType = typeof(int).
ToRuntimeTypeInfo
();
170
RuntimeTypeInfo indexType = typeof(int).
ToRuntimeTypeInfo
();
173
RuntimeTypeInfo voidType = typeof(void).
ToRuntimeTypeInfo
();
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
142
RuntimeNamedTypeInfo objectTypeInfo = (RuntimeNamedTypeInfo)(typeof(object).
ToRuntimeTypeInfo
());
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
305
RuntimeTypeInfo fromTypeInfo = typeInfo.
ToRuntimeTypeInfo
();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (1)
129
runtimeType = runtimeType.BaseType?.
ToRuntimeTypeInfo
();