Skip to content

Commit d4a4905

Browse files
Add UnsupportedOSPlatform annotation to internal helper class
1 parent 15ffb8f commit d4a4905

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/TaskAsyncEnumerableExtensions.ToBlockingEnumerable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public ManualResetEventWithAwaiterSupport()
7676
_onCompleted = Set;
7777
}
7878

79+
[UnsupportedOSPlatform("browser")]
7980
public void Wait<TAwaiter>(TAwaiter awaiter) where TAwaiter : ICriticalNotifyCompletion
8081
{
8182
awaiter.UnsafeOnCompleted(_onCompleted);

0 commit comments

Comments
 (0)