[bcl] Add an AppDomain.DoUnhandledException () internal method which can be used...
authorZoltan Varga <vargaz@gmail.com>
Thu, 16 Oct 2014 20:03:49 +0000 (16:03 -0400)
committerZoltan Varga <vargaz@gmail.com>
Thu, 16 Oct 2014 20:03:49 +0000 (16:03 -0400)
mcs/class/corlib/System/AppDomain.cs

index 07b6fd45590ff9c00027b3a991a24689b4e10197..f04fe2a006db7e6f1b64f313cbf75eeed6b67876 100644 (file)
@@ -1354,6 +1354,11 @@ namespace System {
                                DomainUnload(this, null);
                }
 
+               internal void DoUnhandledException (UnhandledExceptionEventArgs args) {
+                       if (UnhandledException != null)
+                               UnhandledException (this, args);
+               }
+
                internal byte[] GetMarshalledDomainObjRef ()
                {
                        ObjRef oref = RemotingServices.Marshal (AppDomain.CurrentDomain, null, typeof (AppDomain));