diff options
author | 2017-05-26 14:44:34 -0700 | |
---|---|---|
committer | 2017-05-26 14:44:34 -0700 | |
commit | c400cc5f8dcff7ff70a7030f085ebdd5c9359fa5 (patch) | |
tree | a314a9c5e551b3ec44f7696a571e03a9a5232653 /src | |
parent | 254ab4c085ae39c0935b06edccfffdaeaeda94a1 (diff) |
address comments
Diffstat (limited to 'src')
-rw-r--r-- | src/csharp/Grpc.Core/Internal/CompletionRegistry.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Internal/CompletionRegistry.cs b/src/csharp/Grpc.Core/Internal/CompletionRegistry.cs index fc0ff72e6a..075286d33e 100644 --- a/src/csharp/Grpc.Core/Internal/CompletionRegistry.cs +++ b/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; } |