-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Expand file tree
/
Copy pathSystem.Reflection.MetadataLoadContext.cs
More file actions
31 lines (30 loc) · 1.96 KB
/
System.Reflection.MetadataLoadContext.cs
File metadata and controls
31 lines (30 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System.Reflection
{
public abstract partial class MetadataAssemblyResolver
{
protected MetadataAssemblyResolver() { }
public abstract System.Reflection.Assembly? Resolve(System.Reflection.MetadataLoadContext context, System.Reflection.AssemblyName assemblyName);
}
public sealed partial class MetadataLoadContext : System.IDisposable
{
public MetadataLoadContext(System.Reflection.MetadataAssemblyResolver resolver, string? coreAssemblyName = null) { }
public System.Reflection.Assembly CoreAssembly { get { throw null; } }
public void Dispose() { }
public System.Collections.Generic.IEnumerable<System.Reflection.Assembly> GetAssemblies() { throw null; }
public System.Reflection.Assembly LoadFromAssemblyName(System.Reflection.AssemblyName assemblyName) { throw null; }
public System.Reflection.Assembly LoadFromAssemblyName(string assemblyName) { throw null; }
public System.Reflection.Assembly LoadFromAssemblyPath(string assemblyPath) { throw null; }
public System.Reflection.Assembly LoadFromByteArray(byte[] assembly) { throw null; }
public System.Reflection.Assembly LoadFromStream(System.IO.Stream assembly) { throw null; }
}
public partial class PathAssemblyResolver : System.Reflection.MetadataAssemblyResolver
{
public PathAssemblyResolver(System.Collections.Generic.IEnumerable<string> assemblyPaths) { }
public override System.Reflection.Assembly? Resolve(System.Reflection.MetadataLoadContext context, System.Reflection.AssemblyName assemblyName) { throw null; }
}
}