stylecop fixes

pull/1445/head
Jan Tattermusch 10 years ago
parent 32d95b9744
commit a8447711be
  1. 5
      src/csharp/Grpc.Core/Internal/AsyncCallBase.cs

@ -226,7 +226,8 @@ namespace Grpc.Core.Internal
Preconditions.CheckState(readCompletionDelegate == null, "Only one read can be pending at a time");
}
protected void CheckNotCancelled() {
protected void CheckNotCancelled()
{
if (cancelRequested)
{
throw new OperationCanceledException("Remote call has been cancelled.");
@ -301,8 +302,6 @@ namespace Grpc.Core.Internal
});
}
/// <summary>
/// Handles send completion.
/// </summary>

Loading…
Cancel
Save