6 writes to m_count
System.Core (6)
System\Collections\Generic\HashSet.cs (6)
114m_count = 0; 194m_count = count; 248m_count = 0; 306m_count--; 1081m_count++; 1354m_count++;
32 references to m_count
System.Core (32)
System\Collections\Generic\HashSet.cs (32)
150if (m_count > 0 && m_slots.Length / m_count > ShrinkThreshold) { 159int count = source.m_count; 279CopyTo(array, arrayIndex, m_count); 308if (m_count == 0) { 327get { return m_count; } 376T[] array = new T[m_count]; 503if (m_count == 0) { 539if (m_count == 0) { 566if (m_count == 0) { 612if (m_count == 0) { 621if (m_count > otherAsSet.Count) { 631return (result.uniqueCount == m_count && result.unfoundCount >= 0); 659if (m_count == 0) { 665if (m_count >= otherAsSet.Count) { 675return (result.uniqueCount == m_count && result.unfoundCount > 0); 709if (otherAsSet.Count > m_count) { 745if (m_count == 0) { 759if (otherAsSet.Count >= m_count) { 768return (result.uniqueCount < m_count && result.unfoundCount == 0); 783if (m_count == 0) { 812if (m_count != otherAsSet.Count) { 824if (m_count == 0 && otherAsCollection.Count > 0) { 829return (result.uniqueCount == m_count && result.unfoundCount == 0); 833public void CopyTo(T[] array) { CopyTo(array, 0, m_count); } 916Debug.Assert(m_count >= 0, "m_count is negative"); 918if (m_count == 0) { 929int newSize = HashHelpers.GetPrime(m_count); 996int newSize = HashHelpers.ExpandPrime(m_count); 997if (newSize <= m_count) { 1389if (m_count == 0) { 1402Debug.Assert((m_buckets != null) && (m_count > 0), "m_buckets was null but count greater than 0");