Skip to content

Commit a635024

Browse files
authored
fix: disable warnings in auto-generated code (#3163)
1 parent 8971364 commit a635024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TUnit.Core.SourceGenerator/Generators/DataSourceHelpersGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ private static void GenerateIndividualDataSourceHelper(SourceProductionContext c
7373
var sb = new StringBuilder();
7474

7575
sb.AppendLine("// <auto-generated />");
76+
sb.AppendLine("#pragma warning disable");
7677
sb.AppendLine("using System;");
7778
sb.AppendLine("using System.Runtime.CompilerServices;");
7879
sb.AppendLine("using System.Threading.Tasks;");

0 commit comments

Comments
 (0)