2 writes to _hashSet
System.Text.Json (2)
System\Text\Json\Document\JsonDocument.PropertyNameSet.cs (2)
55
_hashSet
= new HashSet<ReadOnlyMemory<byte>>(
115
_hashSet
??= new HashSet<ReadOnlyMemory<byte>>(
6 references to _hashSet
System.Text.Json (6)
System\Text\Json\Document\JsonDocument.PropertyNameSet.cs (6)
53
if (
_hashSet
is null)
64
_hashSet
.EnsureCapacity(capacity);
102
Debug.Assert(
_hashSet
is not null);
104
if (!
_hashSet
.Add(propertyName))
125
bool success =
_hashSet
.Add(propertyName);
136
_hashSet
?.Clear();