fixed some stylecop warnings

pull/1445/head
Jan Tattermusch 10 years ago
parent e5c446004f
commit 618647dc74
  1. 4
      src/csharp/Grpc.Core.Tests/ClientServerTest.cs
  2. 2
      src/csharp/Grpc.Core/Calls.cs

@ -179,7 +179,7 @@ namespace Grpc.Core.Tests
{
await callResult.Result;
}
catch(RpcException e)
catch (RpcException e)
{
Assert.AreEqual(StatusCode.Unknown, e.Status.StatusCode);
}
@ -201,7 +201,7 @@ namespace Grpc.Core.Tests
{
await callResult.Result;
}
catch(RpcException e)
catch (RpcException e)
{
Assert.AreEqual(StatusCode.Cancelled, e.Status.StatusCode);
}

@ -95,7 +95,7 @@ namespace Grpc.Core
{
if (token.CanBeCanceled)
{
token.Register( () => asyncCall.Cancel() );
token.Register(() => asyncCall.Cancel());
}
}

Loading…
Cancel
Save