6 instantiations of CancellableLazy
Microsoft.CodeAnalysis.CodeStyle (6)
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 (2)
13=> new(value); 16=> new(valueFactory);
6 references to CancellableLazy
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (2)
24private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 25private readonly CancellableLazy<SyntaxNode> _lazyNode;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (2)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 21private readonly CancellableLazy<SyntaxNode> _lazyNode;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy.cs (2)
12public static CancellableLazy<T> Create<T>(T value) 15public static CancellableLazy<T> Create<T>(Func<CancellationToken, T> valueFactory)