9 types derived from RuntimeTypeInfo
System.Private.CoreLib (9)
System\Reflection\Runtime\General\TypeUnifier.cs (1)
334internal sealed partial class RuntimeConstructedGenericTypeInfo : RuntimeTypeInfo, IKeyedItem<RuntimeConstructedGenericTypeInfo.UnificationKey>
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.cs (1)
24internal sealed partial class RuntimeConstructedGenericTypeInfo : RuntimeTypeInfo, IKeyedItem<RuntimeConstructedGenericTypeInfo.UnificationKey>
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.UnificationKey.cs (1)
12internal sealed partial class RuntimeConstructedGenericTypeInfo : RuntimeTypeInfo, IKeyedItem<RuntimeConstructedGenericTypeInfo.UnificationKey>
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.cs (1)
15internal sealed partial class RuntimeFunctionPointerTypeInfo : RuntimeTypeInfo, IRuntimeMemberInfoWithNoMetadataDefinition
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.UnificationKey.cs (1)
12internal sealed partial class RuntimeFunctionPointerTypeInfo : RuntimeTypeInfo, IKeyedItem<RuntimeFunctionPointerTypeInfo.UnificationKey>
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (1)
17internal abstract class RuntimeGenericParameterTypeInfo : RuntimeTypeInfo
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.cs (1)
18internal abstract partial class RuntimeHasElementTypeInfo : RuntimeTypeInfo, IKeyedItem<RuntimeHasElementTypeInfo.UnificationKey>, IRuntimeMemberInfoWithNoMetadataDefinition
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.UnificationKey.cs (1)
12internal abstract partial class RuntimeHasElementTypeInfo : RuntimeTypeInfo
System\Reflection\Runtime\TypeInfos\RuntimeTypeDefinitionTypeInfo.cs (1)
14internal abstract class RuntimeTypeDefinitionTypeInfo : RuntimeTypeInfo
339 references to RuntimeTypeInfo
System.Private.CoreLib (339)
Internal\Reflection\Augments\ReflectionAugments.cs (10)
198RuntimeTypeInfo contextTypeInfo = declaringTypeHandle.GetRuntimeTypeInfoForRuntimeTypeHandle(); 202RuntimeTypeInfo reflectedType = contextTypeInfo; 254RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 280RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 284RuntimeTypeInfo runtimeContainingType = target.GetType().ToRuntimeTypeInfo(); 310RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 331private static RuntimeMethodInfo LookupMethodForCreateDelegate(RuntimeTypeInfo runtimeDelegateType, RuntimeTypeInfo containingType, string method, bool isStatic, bool ignoreCase) 420internal static unsafe EnumInfo CreateAndCacheEnumInfo(RuntimeTypeInfo runtimeTypeInfo) 490RuntimeTypeInfo runtimeType = type.ToRuntimeTypeInfo();
Internal\Reflection\Core\Execution\ExecutionDomain.cs (14)
34RuntimeTypeInfo contextTypeInfo = declaringTypeHandle.GetRuntimeTypeInfoForRuntimeTypeHandle(); 49RuntimeTypeInfo reflectedType = contextTypeInfo; 78RuntimeTypeInfo[] genericTypeArguments = new RuntimeTypeInfo[genericMethodTypeArgumentHandles.Length]; 91internal static RuntimeTypeInfo GetNamedTypeForHandle(RuntimeTypeHandle typeHandle) 110internal static unsafe RuntimeTypeInfo GetRuntimeTypeInfo(MethodTable* pEEType) 114RuntimeTypeInfo runtimeTypeInfo; 158static RuntimeTypeInfo GetConstructedGenericTypeForHandle(MethodTable* pEEType) 160RuntimeTypeInfo[] genericTypeArguments = new RuntimeTypeInfo[pEEType->GenericArity]; 173static RuntimeTypeInfo GetFunctionPointerTypeForHandle(MethodTable* pEEType) 175RuntimeTypeInfo[] parameterTypes; 180parameterTypes = Array.Empty<RuntimeTypeInfo>(); 184parameterTypes = new RuntimeTypeInfo[count];
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (2)
92internal MethodBaseInvoker GetMethodInvoker(RuntimeTypeInfo declaringType, QMethodDefinition methodHandle, RuntimeTypeInfo[] genericMethodTypeArguments, MemberInfo exceptionPertainant, out Exception exception)
System\Enum.NativeAot.cs (2)
28var runtimeTypeInfo = enumType.GetRuntimeTypeInfo(); 45var runtimeTypeInfo = enumType.GetRuntimeTypeInfo();
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.GetTypeCore.CaseInsensitive.cs (1)
16internal sealed override RuntimeTypeInfo GetTypeCoreCaseInsensitive(string fullName)
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.GetTypeCore.CaseSensitive.cs (1)
15internal sealed override RuntimeTypeInfo UncachedGetTypeCoreCaseSensitive(string fullName)
System\Reflection\Runtime\Assemblies\RuntimeAssemblyInfo.cs (6)
161RuntimeTypeInfo? type = ignoreCase ? GetTypeCoreCaseInsensitive(fullName) : GetTypeCoreCaseSensitive(fullName); 221internal abstract RuntimeTypeInfo UncachedGetTypeCoreCaseSensitive(string fullName); 230internal abstract RuntimeTypeInfo GetTypeCoreCaseInsensitive(string fullName); 232internal RuntimeTypeInfo GetTypeCoreCaseSensitive(string fullName) 310private sealed class CaseSensitiveTypeCache : ConcurrentUnifier<string, RuntimeTypeInfo> 317protected sealed override RuntimeTypeInfo Factory(string key)
System\Reflection\Runtime\BindingFlagSupport\ConstructorPolicies.cs (2)
19public sealed override IEnumerable<ConstructorInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\EventPolicies.cs (2)
19public sealed override IEnumerable<EventInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\FieldPolicies.cs (2)
19public sealed override IEnumerable<FieldInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\MemberPolicies.cs (2)
31public abstract IEnumerable<M> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType);
System\Reflection\Runtime\BindingFlagSupport\MethodPolicies.cs (2)
19public sealed override IEnumerable<MethodInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\NestedTypePolicies.cs (2)
29public sealed override IEnumerable<Type> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\PropertyPolicies.cs (2)
19public sealed override IEnumerable<PropertyInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\QueriedMemberList.cs (2)
99public static QueriedMemberList<M> Create(MemberPolicies<M> policies, RuntimeTypeInfo type, string optionalNameFilter, bool ignoreCase) 101RuntimeTypeInfo reflectedType = type;
System\Reflection\Runtime\EventInfos\NativeFormat\NativeFormatRuntimeEventInfo.cs (3)
45private NativeFormatRuntimeEventInfo(EventHandle eventHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 158protected sealed override RuntimeTypeInfo DefiningTypeInfo
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (5)
23protected RuntimeEventInfo(RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 190protected abstract RuntimeTypeInfo DefiningTypeInfo { get; } 193protected readonly RuntimeTypeInfo ContextTypeInfo; 194protected readonly RuntimeTypeInfo ReflectedTypeInfo;
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (4)
49private NativeFormatRuntimeFieldInfo(FieldHandle fieldHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 146protected sealed override RuntimeTypeInfo FieldRuntimeType 155protected sealed override RuntimeTypeInfo DefiningType { get { return _definingTypeInfo; } }
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (6)
43protected RuntimeFieldInfo(RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 231protected abstract RuntimeTypeInfo FieldRuntimeType { get; } 248protected abstract RuntimeTypeInfo DefiningType { get; } 257protected readonly RuntimeTypeInfo _contextTypeInfo; 258protected readonly RuntimeTypeInfo _reflectedType;
System\Reflection\Runtime\General\Dispensers.cs (6)
120internal static RuntimeSyntheticConstructorInfo GetRuntimeSyntheticConstructorInfo(SyntheticMethodId syntheticMethodId, RuntimeArrayTypeInfo declaringType, RuntimeTypeInfo[] runtimeParameterTypes, InvokerOptions options, CustomMethodInvokerAction action) 131internal static RuntimeNamedMethodInfo<TRuntimeMethodCommon> GetRuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType) 144internal static RuntimeMethodInfo GetRuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments) 155internal static RuntimeMethodInfo GetRuntimeSyntheticMethodInfo(SyntheticMethodId syntheticMethodId, string name, RuntimeArrayTypeInfo declaringType, RuntimeTypeInfo[] runtimeParameterTypes, RuntimeTypeInfo returnType, InvokerOptions options, CustomMethodInvokerAction action) 191internal static RuntimeSyntheticParameterInfo GetRuntimeSyntheticParameterInfo(MemberInfo member, int position, RuntimeTypeInfo parameterType)
System\Reflection\Runtime\General\Dispensers.NativeFormat.cs (6)
107internal static RuntimeFieldInfo GetRuntimeFieldInfo(FieldHandle fieldHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 121internal static RuntimePropertyInfo GetRuntimePropertyInfo(PropertyHandle propertyHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 135internal static RuntimeEventInfo GetRuntimeEventInfo(EventHandle eventHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\General\Helpers.cs (3)
38public static Type[] ToTypeArray(this RuntimeTypeInfo[] typeInfos) 53public static RuntimeTypeInfo ToRuntimeTypeInfo(this Type type) 117public static RuntimeMethodInfo GetInvokeMethod(this RuntimeTypeInfo delegateType)
System\Reflection\Runtime\General\Helpers.NativeFormat.cs (1)
14public static NativeFormatRuntimeNamedTypeInfo CastToNativeFormatRuntimeNamedTypeInfo(this RuntimeTypeInfo type)
System\Reflection\Runtime\General\QSignatureTypeHandle.cs (3)
26internal RuntimeTypeInfo Resolve(TypeContext typeContext) 29RuntimeTypeInfo? runtimeType = TryResolve(typeContext, ref exception); 35internal RuntimeTypeInfo? TryResolve(TypeContext typeContext, ref Exception? exception)
System\Reflection\Runtime\General\TypeContext.cs (6)
18internal TypeContext(RuntimeTypeInfo[] genericTypeArguments, RuntimeTypeInfo[] genericMethodArguments) 24internal RuntimeTypeInfo[] GenericTypeArguments 32internal RuntimeTypeInfo[] GenericMethodArguments 40private readonly RuntimeTypeInfo[] _genericTypeArguments; 41private readonly RuntimeTypeInfo[] _genericMethodArguments;
System\Reflection\Runtime\General\TypeResolver.cs (4)
13internal static RuntimeTypeInfo Resolve(this QTypeDefRefOrSpec typeDefOrRefOrSpec, TypeContext typeContext) 16RuntimeTypeInfo runtimeType = typeDefOrRefOrSpec.TryResolve(typeContext, ref exception); 22internal static RuntimeTypeInfo TryResolve(this QTypeDefRefOrSpec typeDefOrRefOrSpec, TypeContext typeContext, ref Exception? exception) 40internal static RuntimeTypeInfo Resolve(this QTypeDefinition typeDef)
System\Reflection\Runtime\General\TypeResolver.NativeFormat.cs (19)
21internal static RuntimeTypeInfo Resolve(this Handle typeDefRefOrSpec, MetadataReader reader, TypeContext typeContext) 24RuntimeTypeInfo? runtimeType = typeDefRefOrSpec.TryResolve(reader, typeContext, ref exception); 30internal static RuntimeTypeInfo? TryResolve(this Handle typeDefRefOrSpec, MetadataReader reader, TypeContext typeContext, ref Exception? exception) 52internal static RuntimeTypeInfo ResolveTypeDefinition(this TypeDefinitionHandle typeDefinitionHandle, MetadataReader reader) 60private static RuntimeTypeInfo? TryResolveTypeSignature(this TypeSpecificationHandle typeSpecHandle, MetadataReader reader, TypeContext typeContext, ref Exception? exception) 71RuntimeTypeInfo? elementType = sig.ElementType.TryResolve(reader, typeContext, ref exception); 80RuntimeTypeInfo? targetType = sig.Type.TryResolve(reader, typeContext, ref exception); 95RuntimeTypeInfo? targetType = sig.Type.TryResolve(reader, typeContext, ref exception); 105RuntimeTypeInfo? returnType = methodSig.ReturnType.TryResolve(reader, typeContext, ref exception); 108var parameterTypes = new RuntimeTypeInfo[methodSig.Parameters.Count]; 112RuntimeTypeInfo? parameterType = paramTypeHandle.TryResolve(reader, typeContext, ref exception); 124RuntimeTypeInfo? elementType = sig.ElementType.TryResolve(reader, typeContext, ref exception); 138RuntimeTypeInfo? genericTypeDefinition = sig.GenericType.TryResolve(reader, typeContext, ref exception); 141ArrayBuilder<RuntimeTypeInfo> genericTypeArguments = new ArrayBuilder<RuntimeTypeInfo>(sig.GenericTypeArguments.Count); 144RuntimeTypeInfo? genericTypeArgument = genericTypeArgumentHandle.TryResolve(reader, typeContext, ref exception); 171private static RuntimeTypeInfo? TryResolveTypeReference(this TypeReferenceHandle typeReferenceHandle, MetadataReader reader, ref Exception? exception) 177RuntimeTypeInfo? outerTypeInfo = null; 187RuntimeTypeInfo? outerType = parent.ToTypeReferenceHandle(reader).TryResolveTypeReference(reader, ref exception);
System\Reflection\Runtime\General\TypeUnifier.cs (43)
40public static RuntimeTypeInfo GetArrayType(this RuntimeTypeInfo elementType) 45public static RuntimeTypeInfo GetMultiDimArrayType(this RuntimeTypeInfo elementType, int rank) 50public static RuntimeTypeInfo GetByRefType(this RuntimeTypeInfo targetType) 55public static RuntimeTypeInfo GetPointerType(this RuntimeTypeInfo targetType) 60public static RuntimeTypeInfo GetFunctionPointerType(this RuntimeTypeInfo returnType, RuntimeTypeInfo[] parameterTypes, bool isUnmanaged) 65public static RuntimeTypeInfo GetConstructedGenericTypeNoConstraintCheck(this RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments) 70public static RuntimeTypeInfo GetConstructedGenericType(this RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments) 75public static RuntimeTypeInfo GetRuntimeTypeInfoForRuntimeTypeHandle(this RuntimeTypeHandle typeHandle) 89internal static RuntimeArrayTypeInfo GetArrayTypeInfo(RuntimeTypeInfo elementType, bool multiDim, int rank) 94internal static RuntimeArrayTypeInfo GetArrayTypeInfo(RuntimeTypeInfo elementType, bool multiDim, int rank, RuntimeTypeHandle precomputedTypeHandle) 108private static RuntimeTypeHandle GetRuntimeTypeHandleIfAny(RuntimeTypeInfo elementType, bool multiDim, int rank) 182private static void ValidateElementType(RuntimeTypeInfo elementType, bool multiDim, int rank) 196internal static RuntimeByRefTypeInfo GetByRefTypeInfo(RuntimeTypeInfo elementType) 201internal static RuntimeByRefTypeInfo GetByRefTypeInfo(RuntimeTypeInfo elementType, RuntimeTypeHandle precomputedTypeHandle) 208private static RuntimeTypeHandle GetRuntimeTypeHandleIfAny(RuntimeTypeInfo elementType) 240internal static RuntimePointerTypeInfo GetPointerTypeInfo(RuntimeTypeInfo elementType) 245internal static RuntimePointerTypeInfo GetPointerTypeInfo(RuntimeTypeInfo elementType, RuntimeTypeHandle precomputedTypeHandle) 252private static RuntimeTypeHandle GetRuntimeTypeHandleIfAny(RuntimeTypeInfo elementType) 284internal static RuntimeFunctionPointerTypeInfo GetFunctionPointerTypeInfo(RuntimeTypeInfo returnType, RuntimeTypeInfo[] parameterTypes, bool isUnmanaged) 290internal static RuntimeFunctionPointerTypeInfo GetFunctionPointerTypeInfo(RuntimeTypeInfo returnType, RuntimeTypeInfo[] parameterTypes, bool isUnmanaged, RuntimeTypeHandle precomputedTypeHandle) 298private static RuntimeTypeHandle GetRuntimeTypeHandleIfAny(RuntimeTypeInfo returnType, RuntimeTypeInfo[] parameterTypes, bool isUnmanaged) 337internal static RuntimeConstructedGenericTypeInfo GetRuntimeConstructedGenericTypeInfo(RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments) 345internal static RuntimeConstructedGenericTypeInfo GetRuntimeConstructedGenericTypeInfoNoConstraintCheck(RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments) 352internal static RuntimeConstructedGenericTypeInfo GetRuntimeConstructedGenericTypeInfo(RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments, RuntimeTypeHandle precomputedTypeHandle) 362private static RuntimeTypeHandle GetRuntimeTypeHandleIfAny(RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments, TryGetConstructedGenericTypeDelegate constructor) 389foreach (RuntimeTypeInfo genericTypeArgument in key.GenericTypeArguments)
System\Reflection\Runtime\MethodInfos\IRuntimeMethodCommon.cs (4)
28RuntimeTypeInfo ContextTypeInfo { get; } 29RuntimeTypeInfo DeclaringType { get; } 50MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant, out Exception exception); 59RuntimeTypeInfo[] GetGenericTypeParametersWithSpecifiedOwningMethod(RuntimeNamedMethodInfo<TRuntimeMethodCommon> owningMethod);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (10)
27public MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant, out Exception exception) 76public RuntimeTypeInfo[] GetGenericTypeParametersWithSpecifiedOwningMethod(RuntimeNamedMethodInfo<NativeFormatMethodCommon> owningMethod) 81return Array.Empty<RuntimeTypeInfo>(); 83RuntimeTypeInfo[] genericTypeParameters = new RuntimeTypeInfo[genericParametersCount]; 87RuntimeTypeInfo genericParameterType = NativeFormatRuntimeGenericParameterTypeInfoForMethods.GetRuntimeGenericParameterTypeInfoForMethods(owningMethod, Reader, genericParameterHandle); 112public NativeFormatMethodCommon(MethodHandle methodHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo) 139public RuntimeTypeInfo ContextTypeInfo 147public RuntimeTypeInfo DeclaringType 281private readonly RuntimeTypeInfo _contextTypeInfo;
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (4)
23private RuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments) 184internal sealed override RuntimeTypeInfo RuntimeDeclaringType 192internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 226private readonly RuntimeTypeInfo[] _genericTypeArguments;
System\Reflection\Runtime\MethodInfos\RuntimeDummyMethodInfo.cs (3)
43internal sealed override RuntimeTypeInfo RuntimeDeclaringType { get { throw NotImplemented.ByDesign; } } 45internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters { get { throw NotImplemented.ByDesign; } } 48internal sealed override MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant) { throw NotImplemented.ByDesign; }
System\Reflection\Runtime\MethodInfos\RuntimeMethodHelpers.cs (4)
30internal static RuntimeParameterInfo[] GetRuntimeParameters<TRuntimeMethodCommon>(ref TRuntimeMethodCommon runtimeMethodCommon, MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments, out RuntimeParameterInfo returnParameter) 59internal static string ComputeToString<TRuntimeMethodCommon>(ref TRuntimeMethodCommon runtimeMethodCommon, MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments) 94internal static string ComputeToString(MethodBase contextMethod, RuntimeTypeInfo[] methodTypeArguments, RuntimeParameterInfo[] parameters, RuntimeParameterInfo returnParameter) 104foreach (RuntimeTypeInfo methodTypeArgument in methodTypeArguments)
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (9)
22internal abstract MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant); 51private RuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType) 118RuntimeTypeInfo[] genericTypeArguments = new RuntimeTypeInfo[typeArguments.Length]; 224internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 237internal sealed override RuntimeTypeInfo RuntimeDeclaringType 264private RuntimeTypeInfo[] GenericTypeParameters 286internal sealed override MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant) 313private readonly RuntimeTypeInfo _reflectedType;
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (3)
144return RuntimeMethodHelpers.ComputeToString(ref _common, this, Array.Empty<RuntimeTypeInfo>()); 153return _lazyParameters ??= RuntimeMethodHelpers.GetRuntimeParameters(ref _common, this, Array.Empty<RuntimeTypeInfo>(), out _); 171invoker = _common.GetUncachedMethodInvoker(Array.Empty<RuntimeTypeInfo>(), this, out Exception exception);
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (4)
22private RuntimeSyntheticConstructorInfo(SyntheticMethodId syntheticMethodId, RuntimeArrayTypeInfo declaringType, RuntimeTypeInfo[] runtimeParameterTypes, InvokerOptions options, CustomMethodInvokerAction action) 123return RuntimeMethodHelpers.ComputeToString(this, Array.Empty<RuntimeTypeInfo>(), RuntimeParameters, returnParameter: null); 141RuntimeTypeInfo[] runtimeParameterTypes = _runtimeParameterTypes; 159private readonly RuntimeTypeInfo[] _runtimeParameterTypes;
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (9)
22private RuntimeSyntheticMethodInfo(SyntheticMethodId syntheticMethodId, string name, RuntimeArrayTypeInfo declaringType, RuntimeTypeInfo[] parameterTypes, RuntimeTypeInfo returnType, InvokerOptions options, CustomMethodInvokerAction action) 155return RuntimeMethodHelpers.ComputeToString(this, Array.Empty<RuntimeTypeInfo>(), RuntimeParameters, RuntimeReturnParameter); 168internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 172return Array.Empty<RuntimeTypeInfo>(); 176internal sealed override RuntimeTypeInfo RuntimeDeclaringType 194RuntimeTypeInfo[] runtimeParameterTypes = _runtimeParameterTypes; 216private readonly RuntimeTypeInfo[] _runtimeParameterTypes; 217private readonly RuntimeTypeInfo _returnType;
System\Reflection\Runtime\Modules\NativeFormat\NativeFormatRuntimeModule.cs (1)
67=> GetGlobalModuleRuntimeType().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers);
System\Reflection\Runtime\ParameterInfos\RuntimeSyntheticParameterInfo.cs (2)
19private RuntimeSyntheticParameterInfo(MemberInfo memberInfo, int position, RuntimeTypeInfo parameterType) 86private readonly RuntimeTypeInfo _parameterType;
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (3)
52private NativeFormatRuntimePropertyInfo(PropertyHandle propertyHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 183protected sealed override RuntimeTypeInfo DefiningTypeInfo
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (7)
46protected RuntimePropertyInfo(RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 132_lazyGetterInvoker = Getter.GetUncachedMethodInvoker(Array.Empty<RuntimeTypeInfo>(), this); 194_lazySetterInvoker = Setter.GetUncachedMethodInvoker(Array.Empty<RuntimeTypeInfo>(), this); 350protected abstract RuntimeTypeInfo DefiningTypeInfo { get; } 352protected readonly RuntimeTypeInfo ContextTypeInfo; 353protected readonly RuntimeTypeInfo _reflectedType;
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForMethods.cs (1)
51internal sealed override RuntimeTypeInfo InternalDeclaringType
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeGenericParameterTypeInfoForTypes.cs (1)
34internal sealed override RuntimeTypeInfo InternalDeclaringType
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.cs (6)
164internal sealed override RuntimeTypeInfo InternalDeclaringType 168RuntimeTypeInfo? declaringType = null; 260internal sealed override RuntimeTypeInfo[] RuntimeGenericTypeParameters 264ArrayBuilder<RuntimeTypeInfo> genericTypeParameters = new ArrayBuilder<RuntimeTypeInfo>(_typeDefinition.GenericParameters.Count); 268RuntimeTypeInfo genericParameterType = NativeFormat.NativeFormatRuntimeGenericParameterTypeInfoForTypes.GetRuntimeGenericParameterTypeInfoForTypes(this, genericParameterHandle);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeTypeInfo.CoreGetDeclared.cs (9)
21internal sealed override IEnumerable<ConstructorInfo> CoreGetDeclaredConstructors(NameFilter optionalNameFilter, RuntimeTypeInfo contextTypeInfo) 41internal sealed override IEnumerable<MethodInfo> CoreGetDeclaredMethods(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo) 56internal sealed override IEnumerable<EventInfo> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo) 66internal sealed override IEnumerable<FieldInfo> CoreGetDeclaredFields(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo) 76internal sealed override IEnumerable<PropertyInfo> CoreGetDeclaredProperties(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo)
System\Reflection\Runtime\TypeInfos\RuntimeArrayTypeInfo.cs (21)
53RuntimeTypeInfo countType = typeof(int).ToRuntimeTypeInfo(); 66RuntimeTypeInfo[] ctorParameters = new RuntimeTypeInfo[rank]; 101RuntimeTypeInfo elementType = this.InternalRuntimeElementType; 104RuntimeTypeInfo[] ctorParameters = new RuntimeTypeInfo[parameterCount]; 140RuntimeTypeInfo[] ctorParameters = new RuntimeTypeInfo[rank * 2]; 170RuntimeTypeInfo indexType = typeof(int).ToRuntimeTypeInfo(); 172RuntimeTypeInfo elementType = arrayType.InternalRuntimeElementType; 173RuntimeTypeInfo voidType = typeof(void).ToRuntimeTypeInfo(); 176RuntimeTypeInfo[] getParameters = new RuntimeTypeInfo[rank]; 198RuntimeTypeInfo[] setParameters = new RuntimeTypeInfo[rank + 1]; 223RuntimeTypeInfo[] addressParameters = new RuntimeTypeInfo[rank]; 275return new TypeContext(new RuntimeTypeInfo[] { this.InternalRuntimeElementType }, null); 295private static RuntimeTypeInfo TypeDefInfoProjectionForArrays 300RuntimeTypeInfo projectionRuntimeTypeForArrays = projectionTypeHandleForArrays.GetRuntimeTypeInfoForRuntimeTypeHandle(); 308private static Array CreateJaggedArray(RuntimeTypeInfo arrayType, int[] lengths, int index)
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.cs (6)
65RuntimeTypeInfo[] genericTypeArguments = _key.GenericTypeArguments; 110foreach (RuntimeTypeInfo typeArgument in _key.GenericTypeArguments) 154RuntimeTypeInfo[] genericTypeArguments = _key.GenericTypeArguments; 194internal sealed override RuntimeTypeInfo InternalDeclaringType 218internal sealed override RuntimeTypeInfo[] InternalRuntimeGenericTypeArguments 268private RuntimeTypeInfo GenericTypeDefinitionTypeInfo
System\Reflection\Runtime\TypeInfos\RuntimeConstructedGenericTypeInfo.UnificationKey.cs (4)
28public UnificationKey(RuntimeTypeInfo genericTypeDefinition, RuntimeTypeInfo[] genericTypeArguments, RuntimeTypeHandle typeHandle) 35public RuntimeTypeInfo GenericTypeDefinition { get; } 36public RuntimeTypeInfo[] GenericTypeArguments { get; }
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.cs (3)
46foreach (var p in _key.ParameterTypes) 85RuntimeTypeInfo[] parameters = _key.ParameterTypes; 106internal override RuntimeTypeInfo InternalDeclaringType => null;
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.UnificationKey.cs (4)
28public UnificationKey(RuntimeTypeInfo returnType, RuntimeTypeInfo[] parameterTypes, bool isUnmanaged, RuntimeTypeHandle typeHandle) 36public RuntimeTypeInfo ReturnType { get; } 37public RuntimeTypeInfo[] ParameterTypes { get; }
System\Reflection\Runtime\TypeInfos\RuntimeGenericParameterTypeInfo.cs (7)
132RuntimeTypeInfo[] constraintInfos = ConstraintInfos; 135RuntimeTypeInfo constraintInfo = constraintInfos[i]; 156RuntimeTypeInfo[] constraintInfos = ConstraintInfos; 168private RuntimeTypeInfo[] ConstraintInfos 174return Array.Empty<RuntimeTypeInfo>(); 175RuntimeTypeInfo[] constraintInfos = new RuntimeTypeInfo[constraints.Length];
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.cs (2)
123internal sealed override RuntimeTypeInfo InternalDeclaringType 147internal sealed override RuntimeTypeInfo InternalRuntimeElementType
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.UnificationKey.cs (2)
28public UnificationKey(RuntimeTypeInfo elementType, RuntimeTypeHandle typeHandle) 34public RuntimeTypeInfo ElementType { get; }
System\Reflection\Runtime\TypeInfos\RuntimeNamedTypeInfo.cs (1)
79RuntimeTypeInfo? declaringType = this.InternalDeclaringType;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.CoreGetDeclared.cs (13)
59internal IEnumerable<MethodInfo> CoreGetDeclaredMethods(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType) 82internal IEnumerable<EventInfo> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType) 92internal IEnumerable<FieldInfo> CoreGetDeclaredFields(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType) 102internal IEnumerable<PropertyInfo> CoreGetDeclaredProperties(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType) 129internal abstract IEnumerable<ConstructorInfo> CoreGetDeclaredConstructors(NameFilter optionalNameFilter, RuntimeTypeInfo contextTypeInfo); 130internal abstract IEnumerable<MethodInfo> CoreGetDeclaredMethods(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo); 131internal abstract IEnumerable<EventInfo> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo); 132internal abstract IEnumerable<FieldInfo> CoreGetDeclaredFields(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo); 133internal abstract IEnumerable<PropertyInfo> CoreGetDeclaredProperties(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (16)
303RuntimeTypeInfo toTypeInfo = this; 308RuntimeTypeInfo fromTypeInfo = typeInfo.ToRuntimeTypeInfo(); 433RuntimeTypeInfo[] runtimeParameterTypes = new RuntimeTypeInfo[parameterTypes.Length]; 474RuntimeTypeInfo?[] runtimeTypeArguments = new RuntimeTypeInfo[typeArguments.Length]; 503RuntimeTypeInfo runtimeTypeArgument = runtimeTypeArguments[i]!; 590internal abstract RuntimeTypeInfo InternalDeclaringType { get; } 600internal virtual RuntimeTypeInfo InternalRuntimeElementType 612internal virtual RuntimeTypeInfo[] InternalRuntimeGenericTypeArguments 617return Array.Empty<RuntimeTypeInfo>(); 655internal virtual RuntimeTypeInfo[] RuntimeGenericTypeParameters 660return Array.Empty<RuntimeTypeInfo>(); 726internal RuntimeTypeInfo EstablishDebugName() 760RuntimeTypeInfo? baseType = null; 804static Type GetLimitedBaseType(RuntimeTypeInfo thisType)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (1)
124RuntimeTypeInfo? runtimeType = this;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.TypeComponentsCache.cs (7)
32public TypeComponentsCache(RuntimeTypeInfo type) 82private static object[] CreatePerNameQueryCaches(RuntimeTypeInfo type, bool ignoreCase) 106private readonly RuntimeTypeInfo _type; 120public PerNameQueryCache(RuntimeTypeInfo type, bool ignoreCase) 130public void SetPolicies(MemberPolicies<M> policies, Func<MemberPolicies<M>, RuntimeTypeInfo, string, bool, QueriedMemberList<M>> factory) 144private Func<MemberPolicies<M>, RuntimeTypeInfo, string, bool, QueriedMemberList<M>> _factory; 145private readonly RuntimeTypeInfo _type;
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (1)
54RuntimeTypeInfo attributeTypeInfo = attributeType.GetRuntimeTypeInfo();
System\Reflection\RuntimeMethodInfo.cs (4)
77RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.ToRuntimeTypeInfo(); 263internal abstract RuntimeTypeInfo RuntimeDeclaringType 280internal abstract RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters { get; } 336internal Delegate CreateDelegateNoThrowOnBindFailure(RuntimeTypeInfo runtimeDelegateType, object target, bool allowClosed)
System\RuntimeType.NativeAot.cs (6)
33internal RuntimeType(RuntimeTypeInfo runtimeTypeInfo) 53internal RuntimeTypeInfo GetRuntimeTypeInfo() 61return Unsafe.As<RuntimeTypeInfo>(runtimeTypeInfo); 68private RuntimeTypeInfo InitializeRuntimeTypeInfoHandle() 70RuntimeTypeInfo runtimeTypeInfo = ExecutionDomain.GetRuntimeTypeInfo(_pUnderlyingEEType); 736=> GetRuntimeTypeInfo().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers);