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