From 1c9562bdc5c122b52a4d8b698f44eaf12712c8ee Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Thu, 27 Oct 2022 12:56:26 +0200 Subject: [PATCH] Disable XML comments for Codegen (#1839) * Disable XML comments for Codegen * . --- src/Proto.Cluster.CodeGen/Template.cs | 1 + tests/Proto.Cluster.CodeGen.Tests/ExpectedOutput.cs | 1 + tests/Proto.Cluster.CodeGen.Tests/ExpectedOutputPackageless.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Proto.Cluster.CodeGen/Template.cs b/src/Proto.Cluster.CodeGen/Template.cs index 52e285a8ed..a41488abcb 100644 --- a/src/Proto.Cluster.CodeGen/Template.cs +++ b/src/Proto.Cluster.CodeGen/Template.cs @@ -10,6 +10,7 @@ public static class Template { public const string DefaultTemplate = @" #nullable enable +#pragma warning disable 1591 using System; using System.Threading; using System.Threading.Tasks; diff --git a/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutput.cs b/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutput.cs index 4408b8cbb0..2d1ec32549 100644 --- a/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutput.cs +++ b/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutput.cs @@ -1,4 +1,5 @@ #nullable enable +#pragma warning disable 1591 using System; using System.Threading; using System.Threading.Tasks; diff --git a/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutputPackageless.cs b/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutputPackageless.cs index 6408abf0fa..657bdfd2b0 100644 --- a/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutputPackageless.cs +++ b/tests/Proto.Cluster.CodeGen.Tests/ExpectedOutputPackageless.cs @@ -1,4 +1,5 @@ #nullable enable +#pragma warning disable 1591 using System; using System.Threading; using System.Threading.Tasks;