Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckValidQuotedString()

static void System.Net.Http.Headers.HeaderUtilities.CheckValidQuotedString ( string value,
string parameterName )
inlinestaticpackage

Definition at line 130 of file HeaderUtilities.cs.

131 {
132 if (string.IsNullOrEmpty(value))
133 {
135 }
136 int length = 0;
137 if (HttpRuleParser.GetQuotedStringLength(value, 0, out length) != 0 || length != value.Length)
138 {
140 }
141 }
static CultureInfo InvariantCulture
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_http_headers_invalid_value
Definition SR.cs:26
static string net_http_argument_empty_string
Definition SR.cs:52
Definition SR.cs:7

References System.SR.Format(), System.Net.Http.HttpRuleParser.GetQuotedStringLength(), System.Globalization.CultureInfo.InvariantCulture, System.length, System.SR.net_http_argument_empty_string, System.SR.net_http_headers_invalid_value, and System.value.

Referenced by System.Net.Http.Headers.WarningHeaderValue.WarningHeaderValue(), and System.Net.Http.Headers.WarningHeaderValue.WarningHeaderValue().