address comments

pull/11272/head
Jan Tattermusch 8 years ago
parent 254ab4c085
commit c400cc5f8d
  1. 5
      src/csharp/Grpc.Core/Internal/CompletionRegistry.cs

@ -52,7 +52,7 @@ namespace Grpc.Core.Internal
readonly GrpcEnvironment environment;
readonly ConcurrentDictionary<IntPtr, OpCompletionDelegate> dict = new ConcurrentDictionary<IntPtr, OpCompletionDelegate>(new IntPtrComparer());
IntPtr lastRegisteredKey;
IntPtr lastRegisteredKey; // only for testing
public CompletionRegistry(GrpcEnvironment environment)
{
@ -86,6 +86,9 @@ namespace Grpc.Core.Internal
return value;
}
/// <summary>
/// For testing purposes only.
/// </summary>
public IntPtr LastRegisteredKey
{
get { return this.lastRegisteredKey; }

Loading…
Cancel
Save