Skip to content
Snippets Groups Projects
Commit a8447711 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

stylecop fixes

parent 32d95b97
Branches
Tags
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment