4 references to MethodBodySynthesizer
Microsoft.CodeAnalysis.CSharp (4)
Compiler\MethodCompiler.cs (3)
1218
boundStatements =
MethodBodySynthesizer
.ConstructScriptConstructorBody(loweredBodyOpt, methodSymbol, previousSubmissionFields, _compilation);
1897
return
MethodBodySynthesizer
.ConstructAutoPropertyAccessorBody(sourceMethod);
1938
return
MethodBodySynthesizer
.ConstructDestructorBody(method, body);
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
130
BoundBlock body = CSharp.
MethodBodySynthesizer
.ConstructFieldLikeEventAccessorBody(fieldLikeEvent, isAddMethod: MethodKind == MethodKind.EventAdd, compilationState.Compilation, diagnostics);