Skip to content

Commit

Permalink
fix bug introduced in dotnet#87549
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Jun 21, 2023
1 parent 9963dd1 commit 18ccbe2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public static bool IsPrivilegedProcess
public static bool FileCreateCaseSensitive => IsCaseSensitiveOS;
#endif

public static bool IsThreadingSupported => !IsWasi && IsEnvironmentVariableTrue("IsBrowserThreadingSupported");
public static bool IsThreadingSupported => (!IsWasi && !IsBrowser) || IsWasmThreadingSupported;
public static bool IsWasmThreadingSupported => IsBrowser && IsEnvironmentVariableTrue("IsBrowserThreadingSupported");
public static bool IsBinaryFormatterSupported => IsNotMobile && !IsNativeAot;

public static bool IsStartingProcessesSupported => !IsiOS && !IstvOS;
Expand Down

0 comments on commit 18ccbe2

Please sign in to comment.