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)
23internal 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)
18internal 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
341 references to RuntimeTypeInfo
System.Private.CoreLib (341)
Internal\Reflection\Augments\ReflectionAugments.cs (10)
212RuntimeTypeInfo contextTypeInfo = declaringTypeHandle.GetRuntimeTypeInfoForRuntimeTypeHandle(); 216RuntimeTypeInfo reflectedType = contextTypeInfo; 268RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 294RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 298RuntimeTypeInfo runtimeContainingType = target.GetType().ToRuntimeTypeInfo(); 324RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 345private static RuntimeMethodInfo LookupMethodForCreateDelegate(RuntimeTypeInfo runtimeDelegateType, RuntimeTypeInfo containingType, string method, bool isStatic, bool ignoreCase) 436RuntimeTypeInfo runtimeType = type.ToRuntimeTypeInfo(); 473RuntimeTypeInfo 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)
93internal MethodBaseInvoker GetMethodInvoker(RuntimeTypeInfo declaringType, QMethodDefinition methodHandle, RuntimeTypeInfo[] genericMethodTypeArguments, MemberInfo exceptionPertainant, out Exception exception)
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); 197internal abstract RuntimeTypeInfo UncachedGetTypeCoreCaseSensitive(string fullName); 206internal abstract RuntimeTypeInfo GetTypeCoreCaseInsensitive(string fullName); 208internal RuntimeTypeInfo GetTypeCoreCaseSensitive(string fullName) 286private sealed class CaseSensitiveTypeCache : ConcurrentUnifier<string, RuntimeTypeInfo> 293protected sealed override RuntimeTypeInfo Factory(string key)
System\Reflection\Runtime\BindingFlagSupport\ConstructorPolicies.cs (2)
27public sealed override IEnumerable<ConstructorInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\EventPolicies.cs (2)
27public sealed override IEnumerable<EventInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\FieldPolicies.cs (2)
27public sealed override IEnumerable<FieldInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\MemberPolicies.cs (2)
36public abstract IEnumerable<M> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType);
System\Reflection\Runtime\BindingFlagSupport\MethodPolicies.cs (2)
27public sealed override IEnumerable<MethodInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\NestedTypePolicies.cs (2)
37public sealed override IEnumerable<Type> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\BindingFlagSupport\PropertyPolicies.cs (2)
27public 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\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (5)
71TypeContext typeContext = new TypeContext(Array.Empty<RuntimeTypeInfo>(), Array.Empty<RuntimeTypeInfo>()); 72RuntimeTypeInfo attributeRuntimeTypeInfo = memberReference.Parent.Resolve(reader, typeContext); 124RuntimeTypeInfo? argumentType = typeHandle.TryResolve(_reader, AttributeType.ToRuntimeTypeInfo().TypeContext, ref exception); 166RuntimeTypeInfo? argumentType = namedArgument.Type.TryResolve(_reader, AttributeType.ToRuntimeTypeInfo().TypeContext, ref exception);
System\Reflection\Runtime\EventInfos\NativeFormat\NativeFormatRuntimeEventInfo.cs (3)
46private NativeFormatRuntimeEventInfo(EventHandle eventHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 163protected sealed override RuntimeTypeInfo DefiningTypeInfo
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (5)
23protected RuntimeEventInfo(RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 162protected abstract RuntimeTypeInfo DefiningTypeInfo { get; } 165protected readonly RuntimeTypeInfo ContextTypeInfo; 166protected readonly RuntimeTypeInfo ReflectedTypeInfo;
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (4)
50private NativeFormatRuntimeFieldInfo(FieldHandle fieldHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 147protected sealed override RuntimeTypeInfo FieldRuntimeType 156protected sealed override RuntimeTypeInfo DefiningType { get { return _definingTypeInfo; } }
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (6)
43protected RuntimeFieldInfo(RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 226protected abstract RuntimeTypeInfo FieldRuntimeType { get; } 243protected abstract RuntimeTypeInfo DefiningType { get; } 253protected readonly RuntimeTypeInfo _contextTypeInfo; 254protected 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)
109internal static RuntimeFieldInfo GetRuntimeFieldInfo(FieldHandle fieldHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 123internal static RuntimePropertyInfo GetRuntimePropertyInfo(PropertyHandle propertyHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) 137internal static RuntimeEventInfo GetRuntimeEventInfo(EventHandle eventHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType)
System\Reflection\Runtime\General\Helpers.cs (3)
39public static Type[] ToTypeArray(this RuntimeTypeInfo[] typeInfos) 54public static RuntimeTypeInfo ToRuntimeTypeInfo(this Type type) 118public 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)
27RuntimeTypeInfo ContextTypeInfo { get; } 28RuntimeTypeInfo DeclaringType { get; } 48MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant, out Exception exception); 57RuntimeTypeInfo[] GetGenericTypeParametersWithSpecifiedOwningMethod(RuntimeNamedMethodInfo<TRuntimeMethodCommon> owningMethod);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (10)
28public MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant, out Exception exception) 77public RuntimeTypeInfo[] GetGenericTypeParametersWithSpecifiedOwningMethod(RuntimeNamedMethodInfo<NativeFormatMethodCommon> owningMethod) 82return Array.Empty<RuntimeTypeInfo>(); 84RuntimeTypeInfo[] genericTypeParameters = new RuntimeTypeInfo[genericParametersCount]; 88RuntimeTypeInfo genericParameterType = NativeFormatRuntimeGenericParameterTypeInfoForMethods.GetRuntimeGenericParameterTypeInfoForMethods(owningMethod, Reader, genericParameterHandle); 113public NativeFormatMethodCommon(MethodHandle methodHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo) 140public RuntimeTypeInfo ContextTypeInfo 148public RuntimeTypeInfo DeclaringType 280private readonly RuntimeTypeInfo _contextTypeInfo;
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (4)
22private RuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments) 187internal sealed override RuntimeTypeInfo RuntimeDeclaringType 195internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 229private readonly RuntimeTypeInfo[] _genericTypeArguments;
System\Reflection\Runtime\MethodInfos\RuntimeDummyMethodInfo.cs (3)
44internal sealed override RuntimeTypeInfo RuntimeDeclaringType { get { throw NotImplemented.ByDesign; } } 46internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters { get { throw NotImplemented.ByDesign; } } 49internal 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\RuntimeMethodInfo.cs (4)
76RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.ToRuntimeTypeInfo(); 235internal abstract RuntimeTypeInfo RuntimeDeclaringType 252internal abstract RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters { get; } 308internal Delegate CreateDelegateNoThrowOnBindFailure(RuntimeTypeInfo runtimeDelegateType, object target, bool allowClosed)
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (9)
22internal abstract MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant); 51private RuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType) 129RuntimeTypeInfo[] genericTypeArguments = new RuntimeTypeInfo[typeArguments.Length]; 235internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 248internal sealed override RuntimeTypeInfo RuntimeDeclaringType 275private RuntimeTypeInfo[] GenericTypeParameters 297internal sealed override MethodBaseInvoker GetUncachedMethodInvoker(RuntimeTypeInfo[] methodArguments, MemberInfo exceptionPertainant) 324private readonly RuntimeTypeInfo _reflectedType;
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (3)
142return RuntimeMethodHelpers.ComputeToString(ref _common, this, Array.Empty<RuntimeTypeInfo>()); 151return _lazyParameters ??= RuntimeMethodHelpers.GetRuntimeParameters(ref _common, this, Array.Empty<RuntimeTypeInfo>(), out _); 169invoker = _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) 131return RuntimeMethodHelpers.ComputeToString(this, Array.Empty<RuntimeTypeInfo>(), RuntimeParameters, returnParameter: null); 149RuntimeTypeInfo[] runtimeParameterTypes = _runtimeParameterTypes; 167private 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) 163return RuntimeMethodHelpers.ComputeToString(this, Array.Empty<RuntimeTypeInfo>(), RuntimeParameters, RuntimeReturnParameter); 176internal sealed override RuntimeTypeInfo[] RuntimeGenericArgumentsOrParameters 180return Array.Empty<RuntimeTypeInfo>(); 184internal sealed override RuntimeTypeInfo RuntimeDeclaringType 202RuntimeTypeInfo[] runtimeParameterTypes = _runtimeParameterTypes; 224private readonly RuntimeTypeInfo[] _runtimeParameterTypes; 225private readonly RuntimeTypeInfo _returnType;
System\Reflection\Runtime\Modules\NativeFormat\NativeFormatRuntimeModule.cs (1)
73=> GetGlobalModuleRuntimeType().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers);
System\Reflection\Runtime\ParameterInfos\RuntimeSyntheticParameterInfo.cs (2)
20private RuntimeSyntheticParameterInfo(MemberInfo memberInfo, int position, RuntimeTypeInfo parameterType) 95private readonly RuntimeTypeInfo _parameterType;
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (3)
53private NativeFormatRuntimePropertyInfo(PropertyHandle propertyHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo, RuntimeTypeInfo reflectedType) : 189protected 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); 322protected abstract RuntimeTypeInfo DefiningTypeInfo { get; } 324protected readonly RuntimeTypeInfo ContextTypeInfo; 325protected 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)
165internal sealed override RuntimeTypeInfo InternalDeclaringType 169RuntimeTypeInfo? declaringType = null; 207internal sealed override RuntimeTypeInfo[] RuntimeGenericTypeParameters 211ArrayBuilder<RuntimeTypeInfo> genericTypeParameters = new ArrayBuilder<RuntimeTypeInfo>(_typeDefinition.GenericParameters.Count); 215RuntimeTypeInfo 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)
68RuntimeTypeInfo[] genericTypeArguments = _key.GenericTypeArguments; 113foreach (RuntimeTypeInfo typeArgument in _key.GenericTypeArguments) 157RuntimeTypeInfo[] genericTypeArguments = _key.GenericTypeArguments; 197internal sealed override RuntimeTypeInfo InternalDeclaringType 221internal sealed override RuntimeTypeInfo[] InternalRuntimeGenericTypeArguments 271private 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)
47foreach (var p in _key.ParameterTypes) 86RuntimeTypeInfo[] parameters = _key.ParameterTypes; 107internal 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)
133RuntimeTypeInfo[] constraintInfos = ConstraintInfos; 136RuntimeTypeInfo constraintInfo = constraintInfos[i]; 157RuntimeTypeInfo[] constraintInfos = ConstraintInfos; 169private RuntimeTypeInfo[] ConstraintInfos 175return Array.Empty<RuntimeTypeInfo>(); 176RuntimeTypeInfo[] constraintInfos = new RuntimeTypeInfo[constraints.Length];
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.cs (2)
131internal sealed override RuntimeTypeInfo InternalDeclaringType 155internal 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)
98RuntimeTypeInfo? 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)
300RuntimeTypeInfo toTypeInfo = this; 305RuntimeTypeInfo fromTypeInfo = typeInfo.ToRuntimeTypeInfo(); 425RuntimeTypeInfo[] runtimeParameterTypes = new RuntimeTypeInfo[parameterTypes.Length]; 466RuntimeTypeInfo?[] runtimeTypeArguments = new RuntimeTypeInfo[typeArguments.Length]; 495RuntimeTypeInfo runtimeTypeArgument = runtimeTypeArguments[i]!; 582internal abstract RuntimeTypeInfo InternalDeclaringType { get; } 592internal virtual RuntimeTypeInfo InternalRuntimeElementType 604internal virtual RuntimeTypeInfo[] InternalRuntimeGenericTypeArguments 609return Array.Empty<RuntimeTypeInfo>(); 647internal virtual RuntimeTypeInfo[] RuntimeGenericTypeParameters 652return Array.Empty<RuntimeTypeInfo>(); 718internal RuntimeTypeInfo EstablishDebugName() 752RuntimeTypeInfo? baseType = null; 796static Type GetLimitedBaseType(RuntimeTypeInfo thisType)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (1)
123RuntimeTypeInfo? 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\RuntimeType.NativeAot.cs (6)
32internal RuntimeType(RuntimeTypeInfo runtimeTypeInfo) 52internal RuntimeTypeInfo GetRuntimeTypeInfo() 60return Unsafe.As<RuntimeTypeInfo>(runtimeTypeInfo); 67private RuntimeTypeInfo InitializeRuntimeTypeInfoHandle() 69RuntimeTypeInfo runtimeTypeInfo = ExecutionDomain.GetRuntimeTypeInfo(_pUnderlyingEEType); 735=> GetRuntimeTypeInfo().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers);