aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Reflection
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-08-08 17:24:39 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-08-11 18:17:18 +0200
commitaa135cedf9dbed32f18621882ed0998a67193c85 (patch)
treec777d00b6b6541954d7585dfaed4c24c0ff53e78 /src/csharp/Grpc.Reflection
parentca254732298c25acc1b7006c75fb8434dc0f94d1 (diff)
treat warnings as errors
Diffstat (limited to 'src/csharp/Grpc.Reflection')
-rwxr-xr-xsrc/csharp/Grpc.Reflection/Grpc.Reflection.csproj1
-rw-r--r--src/csharp/Grpc.Reflection/ReflectionServiceImpl.cs3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Reflection/Grpc.Reflection.csproj b/src/csharp/Grpc.Reflection/Grpc.Reflection.csproj
index 929a78edcb..b77fd69aee 100755
--- a/src/csharp/Grpc.Reflection/Grpc.Reflection.csproj
+++ b/src/csharp/Grpc.Reflection/Grpc.Reflection.csproj
@@ -18,6 +18,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
diff --git a/src/csharp/Grpc.Reflection/ReflectionServiceImpl.cs b/src/csharp/Grpc.Reflection/ReflectionServiceImpl.cs
index 9f27a9491d..1eaf10bfb8 100644
--- a/src/csharp/Grpc.Reflection/ReflectionServiceImpl.cs
+++ b/src/csharp/Grpc.Reflection/ReflectionServiceImpl.cs
@@ -60,6 +60,9 @@ namespace Grpc.Reflection
{
}
+ /// <summary>
+ /// Processes a stream of server reflection requests.
+ /// </summary>
public override async Task ServerReflectionInfo(IAsyncStreamReader<ServerReflectionRequest> requestStream, IServerStreamWriter<ServerReflectionResponse> responseStream, ServerCallContext context)
{
while (await requestStream.MoveNext())