From: Wes Haggard Date: Sun, 22 May 2016 05:25:52 +0000 (-0700) Subject: Expose ResolveEventHandler and ResolveEventArgs in the mscorlib facade so that our... X-Git-Tag: submit/tizen/20210909.063632~11030^2~10399^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=302fd8ed0be01c7f026e6460a6583271f11373c1;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Expose ResolveEventHandler and ResolveEventArgs in the mscorlib facade so that our test host still function. [tfs-changeset: 1607062] Commit migrated from https://github.com/dotnet/coreclr/commit/df10d7a58894cb052cd72bbb177c2eadd3530c36 --- diff --git a/src/coreclr/src/mscorlib/model.CoreLib.xml b/src/coreclr/src/mscorlib/model.CoreLib.xml index fccef17..ef9cb15 100644 --- a/src/coreclr/src/mscorlib/model.CoreLib.xml +++ b/src/coreclr/src/mscorlib/model.CoreLib.xml @@ -5377,6 +5377,20 @@ + + + + + + + + + + + + + + diff --git a/src/coreclr/src/mscorlib/ref/mscorlib.cs b/src/coreclr/src/mscorlib/ref/mscorlib.cs index 0187c74..5d62087 100644 --- a/src/coreclr/src/mscorlib/ref/mscorlib.cs +++ b/src/coreclr/src/mscorlib/ref/mscorlib.cs @@ -2617,6 +2617,14 @@ namespace System public RankException(string message) { } public RankException(string message, System.Exception innerException) { } } + public class ResolveEventArgs : System.EventArgs + { + public ResolveEventArgs(string name) { } + public ResolveEventArgs(string name, System.Reflection.Assembly requestingAssembly) { } + public String Name { get { throw null; } } + public System.Reflection.Assembly RequestingAssembly { get { throw null; } } + } + public delegate System.Reflection.Assembly ResolveEventHandler(object sender, System.ResolveEventArgs args); [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct RuntimeArgumentHandle