2 types derived from RoAssembly
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.cs (1)
14
internal sealed partial class EcmaAssembly :
RoAssembly
System\Reflection\TypeLoading\Assemblies\RoStubAssembly.cs (1)
11
internal abstract class RoStubAssembly :
RoAssembly
44 references to RoAssembly
System.Reflection.MetadataLoadContext (44)
System\Reflection\MetadataLoadContext.CoreAssembly.cs (4)
15
internal
RoAssembly
? TryGetCoreAssembly(string? coreAssemblyName, out Exception? e)
31
private
RoAssembly
? TryGetDefaultCoreAssembly(out Exception? e)
36
RoAssembly
? roAssembly = TryResolveAssembly(roAssemblyName, out e);
50
private
RoAssembly
? _coreAssembly;
System\Reflection\MetadataLoadContext.Loading.cs (5)
18
private readonly ConcurrentDictionary<RoAssemblyName,
RoAssembly
> _loadedAssemblies = new ConcurrentDictionary<RoAssemblyName,
RoAssembly
>();
20
private
RoAssembly
LoadFromStreamCore(Stream peStream)
31
RoAssembly
candidate = new EcmaAssembly(this, peReader, reader, location);
40
RoAssembly
winner = _loadedAssemblies.GetOrAdd(defName, candidate);
System\Reflection\MetadataLoadContext.Resolving.cs (11)
23
private readonly ConcurrentDictionary<RoAssemblyName,
RoAssembly
> _binds = new ConcurrentDictionary<RoAssemblyName,
RoAssembly
>();
25
internal
RoAssembly
ResolveAssembly(RoAssemblyName refName)
29
RoAssembly
? assembly = TryResolveAssembly(refName, out Exception? e);
33
internal
RoAssembly
? TryResolveAssembly(RoAssemblyName refName, out Exception? e)
37
RoAssembly
result = ResolveToAssemblyOrExceptionAssembly(refName);
46
internal
RoAssembly
ResolveToAssemblyOrExceptionAssembly(RoAssemblyName refName)
50
if (_binds.TryGetValue(refName, out
RoAssembly
? prior))
53
RoAssembly
assembly = TryFindAssemblyByCallingResolveHandler(refName);
57
private
RoAssembly
TryFindAssemblyByCallingResolveHandler(RoAssemblyName refName)
66
if (!(assembly is
RoAssembly
roAssembly && roAssembly.Loader == this))
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.cs (1)
94
RoAssembly
redirectedAssembly = ((AssemblyReferenceHandle)implementation).ResolveToAssemblyOrExceptionAssembly(GetEcmaManifestModule());
System\Reflection\TypeLoading\Assemblies\RoAssembly.GetForwardedTypes.cs (2)
20
delegate (
RoAssembly
redirectedAssembly, ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name)
77
protected delegate void TypeForwardHandler(
RoAssembly
redirectedAssembly, ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name);
System\Reflection\TypeLoading\General\CoreTypes.cs (1)
19
RoAssembly
? coreAssembly = loader.TryGetCoreAssembly(coreAssemblyName, out Exception? e);
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (7)
78
RoAssembly
assembly = arh.ResolveAssembly(module);
148
public static
RoAssembly
ResolveAssembly(this AssemblyReferenceHandle handle, EcmaModule module)
150
RoAssembly
? assembly = handle.TryResolveAssembly(module, out Exception? e);
156
public static
RoAssembly
? TryResolveAssembly(this AssemblyReferenceHandle handle, EcmaModule module, out Exception? e)
159
RoAssembly
assembly = handle.ResolveToAssemblyOrExceptionAssembly(module);
168
public static
RoAssembly
ResolveToAssemblyOrExceptionAssembly(this AssemblyReferenceHandle handle, EcmaModule module)
173
private static readonly Func<EntityHandle, EcmaModule,
RoAssembly
> s_resolveAssembly =
System\Reflection\TypeLoading\General\Helpers.cs (4)
293
public static RoType? LoadTypeFromAssemblyQualifiedName(string name,
RoAssembly
defaultAssembly, bool ignoreCase, bool throwOnError)
316
Debug.Assert(assembly is
RoAssembly
);
317
RoAssembly
roAssembly = (
RoAssembly
)assembly;
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs (1)
38
internal sealed override
RoAssembly
GetRoAssembly() => _assembly;
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.GetTypeCore.cs (1)
58
RoAssembly
? assembly = ((AssemblyReferenceHandle)implementation).TryResolveAssembly(this, out e);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (3)
61
internal MetadataTable<
RoAssembly
, EcmaModule> AssemblyRefTable
66
Interlocked.CompareExchange(ref _lazyAssemblyRefTable, CreateTable<
RoAssembly
>(TableIndex.AssemblyRef), null) ??
70
private volatile MetadataTable<
RoAssembly
, EcmaModule>? _lazyAssemblyRefTable;
System\Reflection\TypeLoading\Modules\RoModule.cs (1)
33
internal abstract
RoAssembly
GetRoAssembly();
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (3)
15
private readonly
RoAssembly
_assembly;
21
internal RoResourceModule(
RoAssembly
assembly, string fullyQualifiedName)
29
internal sealed override
RoAssembly
GetRoAssembly() => _assembly;