2 types derived from RoDefinitionType
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
13internal sealed partial class EcmaDefinitionType : RoDefinitionType
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
11internal sealed class RoExceptionType : RoDefinitionType
43 references to RoDefinitionType
System.Reflection.MetadataLoadContext (43)
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (3)
123internal RoDefinitionType? GetTypeCore(string ns, string name, bool ignoreCase, out Exception? e) => GetTypeCore(ns.ToUtf8(), name.ToUtf8(), ignoreCase, out e); 124internal RoDefinitionType? GetTypeCore(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, bool ignoreCase, out Exception? e) 126RoDefinitionType? result = GetRoManifestModule().GetTypeCore(ns, name, ignoreCase, out e);
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (10)
39public static RoDefinitionType ResolveTypeRef(this TypeReferenceHandle handle, EcmaModule module) 47private static readonly Func<EntityHandle, EcmaModule, RoDefinitionType> s_resolveTypeRef = 50private static RoDefinitionType ComputeTypeRefResolution(TypeReferenceHandle handle, EcmaModule module) 66RoDefinitionType? type = module.GetEcmaAssembly().GetTypeCore(ns, name, ignoreCase: false, out Exception? e); 79RoDefinitionType? type = assembly.GetTypeCore(ns, name, ignoreCase: false, out Exception? e); 87RoDefinitionType outerType = ((TypeReferenceHandle)scope).ResolveTypeRef(module); 88RoDefinitionType? nestedType = outerType.GetNestedTypeCore(name); 94RoDefinitionType? type = module.GetTypeCore(ns, name, ignoreCase: false, out Exception? e); 107RoDefinitionType? type = targetModule.GetTypeCore(ns, name, ignoreCase: false, out Exception? e); 194RoDefinitionType declaringType = handle.ResolveTypeDef(module);
System\Reflection\TypeLoading\General\TypeFactories.cs (1)
15public static RoConstructedGenericType GetUniqueConstructedGenericType(this RoDefinitionType genericTypeDefinition, RoType[] genericTypeArguments) => genericTypeDefinition.GetRoModule().GetUniqueConstructedGenericType(genericTypeDefinition, genericTypeArguments);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.GetTypeCore.cs (1)
22protected sealed override RoDefinitionType? GetTypeCoreNoCache(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, out Exception? e)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (3)
39internal MetadataTable<RoDefinitionType, EcmaModule> TypeRefTable 44Interlocked.CompareExchange(ref _lazyTypeRefTable, CreateTable<RoDefinitionType>(TableIndex.TypeRef), null) ?? 48private volatile MetadataTable<RoDefinitionType, EcmaModule>? _lazyTypeRefTable;
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
29if (!(genericType is RoDefinitionType roDefinitionType))
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (9)
21public bool TryGet(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, int hashCode, [NotNullWhen(true)] out RoDefinitionType? type) 26public RoDefinitionType GetOrAdd(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, int hashCode, RoDefinitionType type) 28if (_container.TryGetValue(ns, name, hashCode, out RoDefinitionType? prior)) 34if (_container.TryGetValue(ns, name, hashCode, out RoDefinitionType? winner)) 79public bool TryGetValue(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, int hashCode, [NotNullWhen(true)] out RoDefinitionType? value) 89RoDefinitionType actualValue = _entries[i]._value; 103public void Add(int hashCode, RoDefinitionType value) 216public RoDefinitionType _value;
System\Reflection\TypeLoading\Modules\RoModule.cs (3)
118internal RoDefinitionType? GetTypeCore(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, bool ignoreCase, out Exception? e) 124if (!_getTypeCoreCache.TryGet(ns, name, hashCode, out RoDefinitionType? type)) 139protected abstract RoDefinitionType? GetTypeCoreNoCache(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, out Exception? e);
System\Reflection\TypeLoading\Modules\RoModule.Unifier.cs (1)
64internal RoConstructedGenericType GetUniqueConstructedGenericType(RoDefinitionType genericTypeDefinition, RoType[] genericTypeArguments)
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (1)
54protected sealed override RoDefinitionType? GetTypeCoreNoCache(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, out Exception? e)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (2)
87internal sealed override RoDefinitionType? GetNestedTypeCore(ReadOnlySpan<byte> utf8Name) 89RoDefinitionType? match = null;
System\Reflection\TypeLoading\Types\RoArrayType.cs (1)
53if (ifc is RoDefinitionType roDefinitionType && roDefinitionType.GetGenericParameterCount() == 1)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (2)
17private readonly RoDefinitionType _genericTypeDefinition; 20internal RoConstructedGenericType(RoDefinitionType genericTypeDefinition, RoType[] genericTypeArguments)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.Key.cs (2)
13public Key(RoDefinitionType genericTypeDefinition, RoType[] genericTypeArguments) 22public RoDefinitionType GenericTypeDefinition { get; }
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
248internal abstract RoDefinitionType? GetNestedTypeCore(ReadOnlySpan<byte> utf8Name);
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
44internal sealed override RoDefinitionType GetNestedTypeCore(ReadOnlySpan<byte> utf8Name) => throw null!;
System\ThrowHelper.cs (1)
14internal static AmbiguousMatchException GetAmbiguousMatchException(RoDefinitionType roDefinitionType)