3 writes to m_maxCookiesPerDomain
System.Net.Primitives (3)
System\Net\CookieContainer.cs (3)
126m_maxCookiesPerDomain = perDomainCapacity; 204m_maxCookiesPerDomain = value; 207m_maxCookiesPerDomain = value;
9 references to m_maxCookiesPerDomain
System.Net.Primitives (9)
System\Net\CookieContainer.cs (9)
148if (value <= 0 || (value < m_maxCookiesPerDomain && m_maxCookiesPerDomain != int.MaxValue)) 150throw new ArgumentOutOfRangeException(nameof(value), SR.Format(SR.net_cookie_capacity_range, "Capacity", 0, m_maxCookiesPerDomain)); 192return m_maxCookiesPerDomain; 202if (value < m_maxCookiesPerDomain) 315if (domain_count >= m_maxCookiesPerDomain && !AgeCookies(cookie.DomainKey)) 332if (m_domainTable.Count > m_count || pathList.Count > m_maxCookiesPerDomain) 362Debug.Assert(m_maxCookiesPerDomain != 0); 423int min_count = Math.Min((int)(domain_count * remainingFraction), Math.Min(m_maxCookiesPerDomain, m_maxCookies) - 1);