1 write to PreviousScriptCompilation
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpScriptCompilationInfo.cs (1)
19PreviousScriptCompilation = previousCompilationOpt;
9 references to PreviousScriptCompilation
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (4)
695bool reuseReferenceManager = ReferenceEquals(ScriptCompilationInfo?.PreviousScriptCompilation, info?.PreviousScriptCompilation); 701info?.PreviousScriptCompilation, 762internal CSharpCompilation? PreviousSubmission => ScriptCompilationInfo?.PreviousScriptCompilation;
Compilation\CSharpScriptCompilationInfo.cs (2)
22internal override Compilation? CommonPreviousScriptCompilation => PreviousScriptCompilation; 25(compilation == PreviousScriptCompilation) ? this : new CSharpScriptCompilationInfo(compilation, ReturnTypeOpt, GlobalsType);
Symbols\ReferenceManager.cs (1)
379var implicitReferenceResolutions = compilation.ScriptCompilationInfo?.PreviousScriptCompilation?.GetBoundReferenceManager().ImplicitReferenceResolutions ??
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (2)
2138Assert.Null(c1.ScriptCompilationInfo.PreviousScriptCompilation); 2146Assert.Null(c3.ScriptCompilationInfo.PreviousScriptCompilation);