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

fixed some stylecop warnings

parent e5c44600
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ namespace Grpc.Core.Tests ...@@ -179,7 +179,7 @@ namespace Grpc.Core.Tests
{ {
await callResult.Result; await callResult.Result;
} }
catch(RpcException e) catch (RpcException e)
{ {
Assert.AreEqual(StatusCode.Unknown, e.Status.StatusCode); Assert.AreEqual(StatusCode.Unknown, e.Status.StatusCode);
} }
...@@ -201,7 +201,7 @@ namespace Grpc.Core.Tests ...@@ -201,7 +201,7 @@ namespace Grpc.Core.Tests
{ {
await callResult.Result; await callResult.Result;
} }
catch(RpcException e) catch (RpcException e)
{ {
Assert.AreEqual(StatusCode.Cancelled, e.Status.StatusCode); Assert.AreEqual(StatusCode.Cancelled, e.Status.StatusCode);
} }
......
...@@ -95,7 +95,7 @@ namespace Grpc.Core ...@@ -95,7 +95,7 @@ namespace Grpc.Core
{ {
if (token.CanBeCanceled) if (token.CanBeCanceled)
{ {
token.Register( () => asyncCall.Cancel() ); token.Register(() => asyncCall.Cancel());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment