5 references to InitializerRewriter
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Initializers.cs (2)
257
var expression =
InitializerRewriter
.GetTrailingScriptExpression(statement);
276
if (
InitializerRewriter
.GetTrailingScriptExpression(labeledStatementBody) != null)
Compiler\MethodCompiler.cs (2)
968
var initializerStatements =
InitializerRewriter
.RewriteScriptInitializer(processedInitializers.BoundInitializers, (SynthesizedInteractiveInitializerMethod)methodSymbol, out hasTrailingExpression);
1000
analyzedInitializers =
InitializerRewriter
.RewriteConstructor(processedInitializers.BoundInitializers, methodSymbol);
FlowAnalysis\NullableWalker.cs (1)
1411
return GetAfterInitializersState(compilation, method,
InitializerRewriter
.RewriteConstructor(discardedInitializers.BoundInitializers, method), constructorBody, diagnostics: BindingDiagnosticBag.Discarded);