4 references to new
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy.cs (1)
13
=>
new
(value);
Workspace\Solution\SolutionCompilationState.CompilationTracker.CompilationTrackerState.cs (1)
127
=>
new
(staleCompilationWithGeneratedDocuments);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
35
private static readonly CancellableLazy<Compilation?> s_lazyNullCompilation = new
CancellableLazy
<Compilation?>((Compilation?)null);
148
FinalCompilationTrackerState finalState => (new Lazy<Compilation>(() => finalState.CompilationWithoutGeneratedDocuments), new
CancellableLazy
<Compilation?>(finalState.FinalCompilationWithGeneratedDocuments)),