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