We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85899f0 commit 8838c10Copy full SHA for 8838c10
src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs
@@ -557,7 +557,9 @@ WaitSubsystem.ThreadWaitInfo AllocateWaitInfo()
557
}
558
#endif
559
560
+#pragma warning disable CA1822 // Member 'OnThreadExiting' does not access instance data and can be marked as static
561
private void OnThreadExiting()
562
+#pragma warning restore CA1822 // Member 'OnThreadExiting' does not access instance data and can be marked as static
563
{
564
#if TARGET_UNIX || TARGET_BROWSER || TARGET_WASI
565
// Inform the wait subsystem that the thread is exiting. For instance, this would abandon any mutexes locked by
0 commit comments