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)
695
bool reuseReferenceManager = ReferenceEquals(ScriptCompilationInfo?.
PreviousScriptCompilation
, info?.
PreviousScriptCompilation
);
701
info?.
PreviousScriptCompilation
,
762
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
);