22 references to SynthesizedInteractiveInitializerMethod
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Initializers.cs (4)
27
SynthesizedInteractiveInitializerMethod
? scriptInitializerOpt,
43
SynthesizedInteractiveInitializerMethod
? scriptInitializerOpt,
163
SynthesizedInteractiveInitializerMethod
scriptInitializer,
245
SynthesizedInteractiveInitializerMethod
scriptInitializer,
Binder\Binder_Statements.cs (2)
3016
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)
1217
var
scriptInitializer = _compilation.ScriptClass.GetScriptInitializer();
Compiler\MethodCompiler.cs (2)
457
SynthesizedInteractiveInitializerMethod
scriptInitializer = null;
992
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)
452
internal
SynthesizedInteractiveInitializerMethod
GetScriptInitializer()
455
return (
SynthesizedInteractiveInitializerMethod
)GetMembers(
SynthesizedInteractiveInitializerMethod
.InitializerName).Single();
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (3)
27
internal static SynthesizedEntryPointSymbol Create(
SynthesizedInteractiveInitializerMethod
initializerMethod, BindingDiagnosticBag diagnostics)
479
var
initializer = _containingType.GetScriptInitializer();
570
var
initializer = _containingType.GetScriptInitializer();