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