Suppress unused warnings for events raised by the VM (#21520)
authorStephen Toub <stoub@microsoft.com>
Thu, 13 Dec 2018 04:29:47 +0000 (23:29 -0500)
committerJan Kotas <jkotas@microsoft.com>
Thu, 13 Dec 2018 04:29:47 +0000 (23:29 -0500)
src/System.Private.CoreLib/src/System/AppContext.cs

index d1a3a98..d559e88 100644 (file)
@@ -78,9 +78,11 @@ namespace System
             }
         }
 
+#pragma warning disable CS0067 // events raised by the VM
         public static event UnhandledExceptionEventHandler UnhandledException;
 
         public static event System.EventHandler<FirstChanceExceptionEventArgs> FirstChanceException;
+#pragma warning restore CS0067
 
         public static event System.EventHandler ProcessExit;