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)
24
private readonly
CancellableLazy
<IList<TextChange>> _lazyTextChanges;
25
private readonly
CancellableLazy
<SyntaxNode> _lazyNode;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (2)
20
private readonly
CancellableLazy
<IList<TextChange>> _lazyChanges;
21
private readonly
CancellableLazy
<SyntaxNode> _lazyNode;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy.cs (2)
12
public static
CancellableLazy
<T> Create<T>(T value)
15
public static
CancellableLazy
<T> Create<T>(Func<CancellationToken, T> valueFactory)