2 writes to _mask
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Dom\DomNameTable.cs (2)
29
_mask
= InitialSize - 1;
126
_mask
= newMask;
6 references to _mask
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Dom\DomNameTable.cs (6)
30
Debug.Assert((_entries.Length &
_mask
) == 0); // entries.Length must be a power of two
46
for (XmlName e = _entries[hashCode &
_mask
]; e != null; e = e.next)
76
for (XmlName e = _entries[hashCode &
_mask
]; e != null; e = e.next)
94
int index = hashCode &
_mask
;
98
if (_count++ ==
_mask
)
108
int newMask =
_mask
* 2 + 1;