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