dotnet-core/release-notes/3.0/preview/api-diff/preview5/3.0-preview5_System.Runtime.Loader.md

15 lines
531 B
Markdown

# System.Runtime.Loader
``` diff
namespace System.Runtime.Loader {
public class AssemblyLoadContext {
+ public static AssemblyLoadContext CurrentContextualReflectionContext { get; }
+ public AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection();
+ public static AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection(Assembly activating);
+ public struct ContextualReflectionScope : IDisposable {
+ public void Dispose();
+ }
}
}
```