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