1 write to ScriptCompilationInfo
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
491
this.
ScriptCompilationInfo
= new CSharpScriptCompilationInfo(previousSubmission, submissionReturnType, hostObjectType);
12 references to ScriptCompilationInfo
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpCompilation.cs (4)
689
if (info ==
ScriptCompilationInfo
)
700
bool reuseReferenceManager = ReferenceEquals(
ScriptCompilationInfo
?.PreviousScriptCompilation, info?.PreviousScriptCompilation);
765
internal override ScriptCompilationInfo? CommonScriptCompilationInfo =>
ScriptCompilationInfo
;
767
internal CSharpCompilation? PreviousSubmission =>
ScriptCompilationInfo
?.PreviousScriptCompilation;
Symbols\ReferenceManager.cs (1)
379
var implicitReferenceResolutions = compilation.
ScriptCompilationInfo
?.PreviousScriptCompilation?.GetBoundReferenceManager().ImplicitReferenceResolutions ??
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
265
var submissionReturnTypeOpt = compilation.
ScriptCompilationInfo
?.ReturnTypeOpt;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\CompilationAPITests.cs (6)
2137
Assert.NotNull(c1.
ScriptCompilationInfo
);
2138
Assert.Null(c1.
ScriptCompilationInfo
.PreviousScriptCompilation);
2141
Assert.Null(c2.
ScriptCompilationInfo
);
2145
Assert.NotNull(c3.
ScriptCompilationInfo
);
2146
Assert.Null(c3.
ScriptCompilationInfo
.PreviousScriptCompilation);
2150
Assert.Null(c4.
ScriptCompilationInfo
);