2 writes to _valueFactory
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy`1.cs (2)
20
_valueFactory
= valueFactory;
58
Interlocked.Exchange<Func<CancellationToken, T>?>(ref
_valueFactory
, null);
3 references to _valueFactory
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CancellableLazy`1.cs (3)
36
if (
_valueFactory
== null)
55
if (
_valueFactory
!= null)
57
_value =
_valueFactory
(cancellationToken);