1 instantiation of SynthesizedInteractiveInitializerMethod
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4852
var scriptInitializer = new
SynthesizedInteractiveInitializerMethod
(this, diagnostics);
23 references to SynthesizedInteractiveInitializerMethod
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Initializers.cs (4)
27
SynthesizedInteractiveInitializerMethod
? scriptInitializerOpt,
43
SynthesizedInteractiveInitializerMethod
? scriptInitializerOpt,
163
SynthesizedInteractiveInitializerMethod
scriptInitializer,
245
SynthesizedInteractiveInitializerMethod
scriptInitializer,
Binder\Binder_Statements.cs (2)
3000
var
interactiveInitializerMethod = this.ContainingMemberOrLambda as
SynthesizedInteractiveInitializerMethod
;
Binder\ScriptLocalScopeBinder.cs (4)
55
private readonly
SynthesizedInteractiveInitializerMethod
_scriptInitializer;
59
internal Labels(
SynthesizedInteractiveInitializerMethod
scriptInitializer, CompilationUnitSyntax syntax)
65
internal
SynthesizedInteractiveInitializerMethod
ScriptInitializer
79
private static ImmutableArray<LabelSymbol> GetLabels(
SynthesizedInteractiveInitializerMethod
scriptInitializer, CompilationUnitSyntax syntax)
Compilation\CSharpCompilation.cs (1)
1811
internal
SynthesizedInteractiveInitializerMethod
? GetSubmissionInitializer()
Compilation\SyntaxTreeSemanticModel.cs (1)
1214
var
scriptInitializer = _compilation.ScriptClass.GetScriptInitializer();
Compiler\MethodCompiler.cs (2)
456
SynthesizedInteractiveInitializerMethod
scriptInitializer = null;
968
var initializerStatements = InitializerRewriter.RewriteScriptInitializer(processedInitializers.BoundInitializers, (
SynthesizedInteractiveInitializerMethod
)methodSymbol, out hasTrailingExpression);
FlowAnalysis\FlowAnalysisPass.cs (1)
79
var submissionResultType = (method as
SynthesizedInteractiveInitializerMethod
)?.ResultType;
Lowering\InitializerRewriter.cs (1)
29
internal static BoundTypeOrInstanceInitializers RewriteScriptInitializer(ImmutableArray<BoundInitializer> boundInitializers,
SynthesizedInteractiveInitializerMethod
method, out bool hasTrailingExpression)
Symbols\NamedTypeSymbol.cs (3)
447
internal
SynthesizedInteractiveInitializerMethod
GetScriptInitializer()
450
return (
SynthesizedInteractiveInitializerMethod
)GetMembers(
SynthesizedInteractiveInitializerMethod
.InitializerName).Single();
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4852
var
scriptInitializer = new SynthesizedInteractiveInitializerMethod(this, diagnostics);
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (3)
27
internal static SynthesizedEntryPointSymbol Create(
SynthesizedInteractiveInitializerMethod
initializerMethod, BindingDiagnosticBag diagnostics)
479
var
initializer = _containingType.GetScriptInitializer();
570
var
initializer = _containingType.GetScriptInitializer();