diff --git a/WebApiClientCore.Analyzers.SourceGenerator/HttpApiCodeBuilder.cs b/WebApiClientCore.Analyzers.SourceGenerator/HttpApiCodeBuilder.cs index e84770be..1e176da3 100644 --- a/WebApiClientCore.Analyzers.SourceGenerator/HttpApiCodeBuilder.cs +++ b/WebApiClientCore.Analyzers.SourceGenerator/HttpApiCodeBuilder.cs @@ -95,6 +95,7 @@ public override string ToString() { builder.AppendLine(item); } + builder.AppendLine($"#pragma warning disable 1591"); builder.AppendLine($"namespace {this.Namespace}"); builder.AppendLine("{"); builder.AppendLine($"\t[HttpApiProxyClass(typeof({this.HttpApiTypeName}))]"); @@ -120,6 +121,7 @@ public override string ToString() builder.AppendLine("\t}"); builder.AppendLine("}"); + builder.AppendLine("#pragma warning restore 1591"); // System.Diagnostics.Debugger.Launch(); return builder.ToString();