31 references to CookieVariant
System (31)
net\System\Net\cookie.cs (18)
64
CookieVariant
m_cookieVariant =
CookieVariant
.Plain;
291
return Variant ==
CookieVariant
.Plain;
353
internal bool VerifySetDefaults(
CookieVariant
variant, Uri uri, bool isLocalDomain, string localDomain, bool set_default, bool isThrow) {
363
variant =
CookieVariant
.Plain;
365
else if (Version == 1 && variant ==
CookieVariant
.Unknown) {
367
variant =
CookieVariant
.Default;
431
if (!(variant ==
CookieVariant
.Rfc2965 || variant ==
CookieVariant
.Plain)) {
453
else if (variant ==
CookieVariant
.Plain) {
501
case
CookieVariant
.Plain:
504
case
CookieVariant
.Rfc2109:
508
case
CookieVariant
.Rfc2965:
606
m_cookieVariant =
CookieVariant
.Rfc2965;
662
internal
CookieVariant
Variant {
668
GlobalLog.Assert(value ==
CookieVariant
.Rfc2965, "Cookie#{0}::set_Variant()|value:{1}" , ValidationHelper.HashString(this), value);
696
if (value>0 && m_cookieVariant<
CookieVariant
.Rfc2109) {
697
m_cookieVariant =
CookieVariant
.Rfc2109;
net\System\Net\cookiecontainer.cs (9)
66
CookieVariant
m_variant;
68
internal HeaderVariantInfo(string name,
CookieVariant
variant) {
79
internal
CookieVariant
Variant {
103
new HeaderVariantInfo(HttpKnownHeaderNames.SetCookie,
CookieVariant
.Rfc2109),
104
new HeaderVariantInfo(HttpKnownHeaderNames.SetCookie2,
CookieVariant
.Rfc2965)
635
CookieVariant
variant =
CookieVariant
.Unknown;
637
variant =
CookieVariant
.Default;
827
if(isPlainOnly && cookie.Variant !=
CookieVariant
.Plain) {
net\System\Net\HttpListenerRequest.cs (2)
691
if (m_Cookies[index].Variant==
CookieVariant
.Rfc2109) {
692
m_Cookies[index].Variant =
CookieVariant
.Rfc2965;
net\System\Net\HttpListenerResponse.cs (2)
606
if (cookie.Variant==
CookieVariant
.Rfc2965 || (HttpListenerContext.PromoteCookiesToRfc2965 && cookie.Variant==
CookieVariant
.Rfc2109)) {