119 return this.m_domain;
143 domain = this.m_domain;
145 while (domain._stringLength == 0);
150 return "$Domain=" +
"\"" + domain +
"\"";
182 return dateTime <=
now;
235 char c =
value[(int)num];
269 while (this.
m_path._stringLength == 0);
350 string host = uri.Host;
353 if (this.m_version != 0)
358 string name = this.m_name;
366 string name2 = this.m_name;
372 string value = this.m_value;
378 string value2 = this.m_value;
381 string value3 = this.m_value;
386 if (
"Value" !=
null &&
"Value" ==
null)
390 string value4 = this.m_value;
393 string value5 = this.m_value;
394 return "The '{0}'='{1}' part of the cookie is invalid." !=
null;
396 return "<null>" !=
null;
415 if (
value !=
null &&
value._stringLength != 0)
418 char c =
value[(int)num];
448 if (this.m_port._stringLength != 0)
551 return this.m_version;
637 public override int GetHashCode()
639 string name = this.m_name;
640 if ((
name ==
null ||
name !=
null) && (
"=" ==
null ||
"=" !=
null))
642 string value = this.m_value;
643 if ((
value ==
null ||
value !=
null) && (
";" ==
null ||
";" !=
null))
645 string path = this.
m_path;
646 if ((path ==
null || path !=
null) && (
"; " ==
null ||
"; " !=
null))
648 string domain = this.m_domain;
649 if ((domain ==
null || domain !=
null) && (
"; " ==
null ||
"; " !=
null))
651 int version = this.m_version;
667 string path = this.
_Path;
668 string port = this.
_Port;
670 if (version._stringLength != 0)
672 string text = version +
"; ";
678 string name = this.m_name;
679 if ((
name ==
null ||
name !=
null) && (
"=" ==
null ||
"=" !=
null))
681 string value = this.m_value;
684 if (path._stringLength != 0)
686 string text2 =
"; " + path;
692 if (domain._stringLength != 0)
694 string text3 =
"; " + domain;
700 if (port._stringLength != 0)
702 string text4 =
"; " + port;
709 bool flag =
text5 ==
"=";
718 string name = this.m_name;
719 string value = this.m_value;
725 string text2 =
text +
"; Comment=" + comment;
728 if (
"; Comment=" ==
null)
736 text3 =
text4 +
"; Discard";
744 if (!domain_implicit)
756 string path = this.
m_path;
761 return text7 +
"; Path=" + path;
767 string port = this.m_port;
774 int version = this.m_version;
778 bool flag =
text9 ==
"=";
780 string domain = this.m_domain;
781 while (domain ==
null)
868 private string m_domain;
877 private string m_name;
886 private string m_port;
905 private string m_value;
908 private int m_version;
class f__AnonymousType0<< Count > j__TPar
Cookie(string name, string value, string path)
bool VerifySetDefaults(CookieVariant variant, global::System.Uri uri, bool isLocalDomain, string localDomain, bool set_default, bool isThrow)
static bool DomainCharsTest(string name)
global::System.Uri CommentUri
Cookie(string name, string value)
Cookie(string name, string value, string path, string domain)
static bool IsDomainEqualToHost(string domain, string host)
bool InternalSetName(string value)
static bool IsBlankString(string stringValue)