Add AppContext.UnhandledException to ref file
authorRahul Kumar <rahku@microsoft.com>
Thu, 8 Sep 2016 23:17:06 +0000 (16:17 -0700)
committerRahul Kumar <rahku@microsoft.com>
Thu, 8 Sep 2016 23:17:06 +0000 (16:17 -0700)
src/mscorlib/ref/mscorlib.cs

index e5211ff4a84ab932d1e26e2c0270f00e542944ce..de0a6934a8db556dd97d116b40003c9871bad336 100644 (file)
@@ -128,6 +128,7 @@ namespace System
         public static object GetData(string name) { throw null; }
         public static void SetSwitch(string switchName, bool isEnabled) { }
         public static bool TryGetSwitch(string switchName, out bool isEnabled) { isEnabled = default(bool); throw null; }
+        public static event UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
     }
     [System.Runtime.InteropServices.ClassInterfaceAttribute((System.Runtime.InteropServices.ClassInterfaceType)(0))]
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]