Skip to content

Commit ef24082

Browse files
committed
Move attribute outside of ifdef
1 parent 429485c commit ef24082

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Private.CoreLib/src/System/Threading

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ public Thread(ParameterizedThreadStart start, int maxStackSize)
163163
Initialize();
164164
}
165165

166-
#if !TARGET_BROWSER
167166
[UnsupportedOSPlatformGuard("browser")]
167+
#if !TARGET_BROWSER
168168
internal const bool IsThreadStartSupported = true;
169169

170170
/// <summary>Causes the operating system to change the state of the current instance to <see cref="ThreadState.Running"/>, and optionally supplies an object containing data to be used by the method the thread executes.</summary>

0 commit comments

Comments
 (0)