aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/IClientStreamWriter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/Grpc.Core/IClientStreamWriter.cs')
-rw-r--r--src/csharp/Grpc.Core/IClientStreamWriter.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/IClientStreamWriter.cs b/src/csharp/Grpc.Core/IClientStreamWriter.cs
index 6da42e9ccc..0847a928e6 100644
--- a/src/csharp/Grpc.Core/IClientStreamWriter.cs
+++ b/src/csharp/Grpc.Core/IClientStreamWriter.cs
@@ -44,6 +44,7 @@ namespace Grpc.Core
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IClientStreamWriter<T> : IAsyncStreamWriter<T>
+ where T : class
{
/// <summary>
/// Closes the stream. Can only be called once there is no pending write. No writes should follow calling this.