2 writes to _storage
Test.Utilities (2)
TemporarySet`1.cs (2)
31
Interlocked.Exchange(ref
_storage
, null)?.Free(cancellationToken);
39
storage = Interlocked.CompareExchange(ref
_storage
, newStorage, null) ?? newStorage;
7 references to _storage
Test.Utilities (7)
TemporarySet`1.cs (7)
27
=> new(
_storage
?? EmptyHashSet);
36
if (
_storage
is not { } storage)
61
if (
_storage
is not { } storage)
72
if (
_storage
is not { } storage)
80
if (
_storage
is not { } storage)
88
return new Enumerator((
_storage
?? EmptyHashSet).GetEnumerator());
93
return (
_storage
?? EmptyHashSet).AsEnumerable();