Suppress unused warnings for events raised by the VM (dotnet/coreclr#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)
Commit migrated from https://github.com/dotnet/coreclr/commit/8abe4b0e06193001e123ffefab8e092cfbfcc568

src/coreclr/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;