Skip to content

Commit 1e4c9b3

Browse files
Fix misplaced noWarn.Add
1 parent e42ee24 commit 1e4c9b3

File tree

1 file changed

+1
-1
lines changed
  • ICSharpCode.Decompiler.Tests/Helpers

1 file changed

+1
-1
lines changed

ICSharpCode.Decompiler.Tests/Helpers/Tester.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ public static async Task<CompilerResults> CompileCSharp(string sourceFileName, C
608608
if (flags.HasFlag(CompilerOptions.ProcessXmlDoc))
609609
{
610610
otherOptions += $"-doc:\"{Path.ChangeExtension(results.PathToAssembly, ".xml")}\" ";
611+
noWarn.Add("CS1591"); // Missing XML comment for publicly visible type or member 'Type_or_Member'
611612
}
612613

613614
if (flags.HasFlag(CompilerOptions.CheckForOverflowUnderflow))
@@ -622,7 +623,6 @@ public static async Task<CompilerResults> CompileCSharp(string sourceFileName, C
622623
if (preprocessorSymbols.Count > 0)
623624
{
624625
otherOptions += " \"-d:" + string.Join(";", preprocessorSymbols) + "\" ";
625-
noWarn.Add("CS1591");
626626
}
627627

628628
if (noWarn.Count > 0)

0 commit comments

Comments
 (0)