We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34708c0 + 2b17dde commit 795f6dfCopy full SHA for 795f6df
src/SourceGenerator.Foundations/Templates/SourceGeneratorHoistBase.cs
@@ -35,11 +35,13 @@ internal abstract class SourceGeneratorHoist
35
36
static SourceGeneratorHoist()
37
{
38
+#pragma warning disable RS1035 // Do not use APIs banned for analyzers
39
if(bool.TryParse(System.Environment.GetEnvironmentVariable("SGF_DEBUGGER_LAUNCH"), out bool launchDebugger)
40
&& launchDebugger)
41
42
System.Diagnostics.Debugger.Launch();
43
}
44
+#pragma warning restore RS1035 // Do not use APIs banned for analyzers
45
46
47
s_assembliesWithResources = new List<Assembly>();
0 commit comments