fix a few nits

pull/21365/head
Jan Tattermusch 5 years ago committed by James Newton-King
parent 2030a4e5f7
commit 931ce49cf1
No known key found for this signature in database
GPG Key ID: A66B2F456BF5526
  1. 4
      src/csharp/Grpc.Core.Api/AsyncCallState.cs
  2. 2
      src/csharp/Grpc.Core.Tests/Internal/AsyncCallStateTest.cs
  3. 1
      src/csharp/tests.json

@ -1,6 +1,6 @@
#region Copyright notice and license
// Copyright 2015 gRPC authors.
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -26,7 +26,7 @@ namespace Grpc.Core
/// Provides an abstraction over the callback providers
/// used by AsyncUnaryCall, AsyncDuplexStreamingCall, etc
/// </summary>
internal /* readonly */ struct AsyncCallState // can be made readonly in C# 7.2
internal readonly struct AsyncCallState
{
readonly object responseHeadersAsync; // Task<Metadata> or Func<object, Task<Metadata>>
readonly object getStatusFunc; // Func<Status> or Func<object, Status>

@ -1,6 +1,6 @@
#region Copyright notice and license
// Copyright 2015 gRPC authors.
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.

@ -3,6 +3,7 @@
"Grpc.Core.Interceptors.Tests.ClientInterceptorTest",
"Grpc.Core.Interceptors.Tests.ServerInterceptorTest",
"Grpc.Core.Internal.Tests.AsyncCallServerTest",
"Grpc.Core.Internal.Tests.AsyncCallStateTest",
"Grpc.Core.Internal.Tests.AsyncCallTest",
"Grpc.Core.Internal.Tests.ChannelArgsSafeHandleTest",
"Grpc.Core.Internal.Tests.CompletionQueueEventTest",

Loading…
Cancel
Save