3 instantiations of SynthesizedStaticConstructor
Microsoft.CodeAnalysis.CSharp (3)
Compiler\MethodCompiler.cs (2)
612
MethodSymbol method = new
SynthesizedStaticConstructor
(sourceTypeSymbol);
635
new
SynthesizedStaticConstructor
(containingType),
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
66
StaticConstructor = new
SynthesizedStaticConstructor
(this);
2 references to SynthesizedStaticConstructor
Microsoft.CodeAnalysis.CSharp (2)
Compiler\MethodCompiler.cs (1)
1344
if (_emitMethodBodies && (methodSymbol is not
SynthesizedStaticConstructor
cctor || cctor.ShouldEmit(processedInitializers.BoundInitializers)))
Symbols\MemberSymbolExtensions.cs (1)
643
if (method is
SynthesizedStaticConstructor
cctor && !cctor.ShouldEmit())