2 references to ShouldEmit
Microsoft.CodeAnalysis.CSharp (2)
Compiler\MethodCompiler.cs (1)
1316
if (_emitMethodBodies && (methodSymbol is not SynthesizedStaticConstructor cctor || cctor.
ShouldEmit
(processedInitializers.BoundInitializers)))
Symbols\MemberSymbolExtensions.cs (1)
471
if (method is SynthesizedStaticConstructor cctor && !cctor.
ShouldEmit
())