From ef2408216a4e37fbbf11e028d035741dee9cd9db Mon Sep 17 00:00:00 2001 From: Buyaa Namnan Date: Wed, 12 May 2021 23:13:56 -0700 Subject: [PATCH] Move attribute outside of ifdef --- .../System.Private.CoreLib/src/System/Threading/Thread.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs index cb16c8b99d4f1..88071eb455551 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs @@ -163,8 +163,8 @@ public Thread(ParameterizedThreadStart start, int maxStackSize) Initialize(); } -#if !TARGET_BROWSER [UnsupportedOSPlatformGuard("browser")] +#if !TARGET_BROWSER internal const bool IsThreadStartSupported = true; /// Causes the operating system to change the state of the current instance to , and optionally supplies an object containing data to be used by the method the thread executes.