From d159a587bae0bc79d4e8bdd8554b377d50fb5e27 Mon Sep 17 00:00:00 2001 From: Koundinya Veluri Date: Mon, 25 Jan 2016 13:31:05 -0800 Subject: [PATCH] Expose AssemblyLoadContext.Unloading event publically This change is dependent on https://github.com/dotnet/coreclr/pull/2867, which actually implements the Unloading event. API review: https://github.com/dotnet/corefx/issues/5205 --- src/System.Runtime.Loader/ref/System.Runtime.Loader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/System.Runtime.Loader/ref/System.Runtime.Loader.cs b/src/System.Runtime.Loader/ref/System.Runtime.Loader.cs index b22dd086174b..29ba80aacf0b 100644 --- a/src/System.Runtime.Loader/ref/System.Runtime.Loader.cs +++ b/src/System.Runtime.Loader/ref/System.Runtime.Loader.cs @@ -33,5 +33,6 @@ public static void InitializeDefaultContext(System.Runtime.Loader.AssemblyLoadCo public void SetProfileOptimizationRoot(string directoryPath) { } public void StartProfileOptimization(string profile) { } public event Func Resolving; + public event System.EventHandler Unloading; } }