Skip to content

Commit

Permalink
remove pragma (#52481)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrrrrustic committed May 22, 2021
1 parent 34dff2d commit 4114340
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -761,12 +761,7 @@ private bool TryTakeWithNoTimeValidation([MaybeNullWhen(false)] out T item, int
}
}

#pragma warning disable CS8762
// https://github.com/dotnet/runtime/issues/36132
// Compiler can't automatically deduce that nullability constraints
// for 'item' are satisfied at this exit point.
return waitForSemaphoreWasSuccessful;
#pragma warning restore CS8762
}


Expand Down

0 comments on commit 4114340

Please sign in to comment.