7 references to CancellableLazy
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (2)
39
_lazyTextChanges = new
CancellableLazy
<IList<TextChange>>(CreateTextChanges);
40
_lazyNode = new
CancellableLazy
<SyntaxNode>(CreateFormattedRoot);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (2)
37
_lazyChanges = new
CancellableLazy
<IList<TextChange>>(CreateTextChanges);
38
_lazyNode = new
CancellableLazy
<SyntaxNode>(CreateFormattedRoot);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy.cs (1)
16
=>
new
(valueFactory);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
794
var lazyCompilationWithGeneratedDocuments = new
CancellableLazy
<Compilation?>(cancellationToken => lazyCompilationWithoutGeneratedDocuments.Value);
820
var compilationWithGeneratedDocuments = new
CancellableLazy
<Compilation?>(cancellationToken =>