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