4 instantiations of SynthesizedStaticConstructor
Microsoft.CodeAnalysis.CSharp (4)
Compiler\MethodCompiler.cs (2)
617
MethodSymbol method = new
SynthesizedStaticConstructor
(sourceTypeSymbol);
640
new
SynthesizedStaticConstructor
(containingType),
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
67
StaticConstructor = new
SynthesizedStaticConstructor
(this);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5434
builder.AddNonTypeMember(this, new
SynthesizedStaticConstructor
(this), declaredMembersAndInitializers);
2 references to SynthesizedStaticConstructor
Microsoft.CodeAnalysis.CSharp (2)
Compiler\MethodCompiler.cs (1)
1349
if (_emitMethodBodies && (methodSymbol is not
SynthesizedStaticConstructor
cctor || cctor.ShouldEmit(processedInitializers.BoundInitializers)))
Symbols\MemberSymbolExtensions.cs (1)
705
if (method is
SynthesizedStaticConstructor
cctor && !cctor.ShouldEmit())