53 references to IsNullOrEmpty
Microsoft.AspNetCore.Authentication.Test (3)
OpenIdConnect\OpenIdConnectChallengeTests.cs (1)
453
Assert.False(StringSegment.
IsNullOrEmpty
(correlationCookie.Value));
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1018
Assert.True(StringSegment.
IsNullOrEmpty
(parsedValues.Single().Value));
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1018
Assert.True(StringSegment.
IsNullOrEmpty
(parsedValues.Single().Value));
Microsoft.AspNetCore.Http (5)
Features\FormFeature.cs (1)
381
if (StringSegment.
IsNullOrEmpty
(boundary))
src\Http\Shared\CookieHeaderParserShared.cs (4)
37
if (parsedName == null || StringSegment.
IsNullOrEmpty
(parsedName.Value)
38
|| parsedValue == null || StringSegment.
IsNullOrEmpty
(parsedValue.Value))
69
if (StringSegment.
IsNullOrEmpty
(value) || (index == value.Length))
147
if (StringSegment.
IsNullOrEmpty
(input) || (offset >= input.Length))
Microsoft.AspNetCore.Http.Abstractions (4)
HostString.cs (3)
111
if (!StringSegment.
IsNullOrEmpty
(port)
151
return StringSegment.
IsNullOrEmpty
(port)
347
if (StringSegment.
IsNullOrEmpty
(value))
Internal\ParsingHelpers.cs (1)
25
if (!StringSegment.
IsNullOrEmpty
(segment.Data))
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\TextOutputFormatter.cs (1)
200
if (!StringSegment.
IsNullOrEmpty
(charset))
Microsoft.Net.Http.Headers (40)
BaseHeaderParser.cs (1)
26
if (StringSegment.
IsNullOrEmpty
(value) || (index == value.Length))
CacheControlHeaderValue.cs (1)
524
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
ContentDispositionHeaderValue.cs (4)
202
if (!StringSegment.
IsNullOrEmpty
(fileName))
280
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
336
if (StringSegment.
IsNullOrEmpty
(dispositionType))
433
if (StringSegment.
IsNullOrEmpty
(value))
ContentDispositionHeaderValueIdentityExtensions.cs (4)
23
&& (!StringSegment.
IsNullOrEmpty
(header.FileName) || !StringSegment.
IsNullOrEmpty
(header.FileNameStar));
36
&& StringSegment.
IsNullOrEmpty
(header.FileName) && StringSegment.
IsNullOrEmpty
(header.FileNameStar);
ContentRangeHeaderValue.cs (1)
233
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
EntityTagHeaderValue.cs (2)
50
if (StringSegment.
IsNullOrEmpty
(tag))
216
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
HeaderUtilities.cs (2)
73
if (StringSegment.
IsNullOrEmpty
(value))
605
return !StringSegment.
IsNullOrEmpty
(input) && input.Length >= 2 && input[0] == '"' && input[input.Length - 1] == '"';
MediaTypeHeaderValue.cs (6)
84
if (StringSegment.
IsNullOrEmpty
(value))
117
if (charset.HasValue && !StringSegment.
IsNullOrEmpty
(charset))
158
if (StringSegment.
IsNullOrEmpty
(value))
455
if (StringSegment.
IsNullOrEmpty
(otherMediaType))
566
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
655
if (StringSegment.
IsNullOrEmpty
(mediaType))
NameValueHeaderValue.cs (9)
122
if (!StringSegment.
IsNullOrEmpty
(_value))
156
if (StringSegment.
IsNullOrEmpty
(_value))
158
return StringSegment.
IsNullOrEmpty
(other._value);
193
if (StringSegment.
IsNullOrEmpty
(value) || (GetValueLength(value, 0) == value.Length))
271
if (!StringSegment.
IsNullOrEmpty
(_value))
299
if (!StringSegment.
IsNullOrEmpty
(values[i].Value))
342
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
396
if ((StringSegment.
IsNullOrEmpty
(input)) || (startIndex >= input.Length))
484
if (!(StringSegment.
IsNullOrEmpty
(value) || (GetValueLength(value, 0) == value.Length)))
RangeConditionHeaderValue.cs (1)
140
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex + 1 >= input.Length))
RangeHeaderValue.cs (1)
158
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
RangeItemHeaderValue.cs (2)
112
if ((StringSegment.
IsNullOrEmpty
(input)) || (startIndex >= input.Length))
162
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))
SetCookieHeaderValue.cs (1)
480
if (StringSegment.
IsNullOrEmpty
(input) || (offset >= input.Length))
src\Http\Shared\CookieHeaderParserShared.cs (4)
37
if (parsedName == null || StringSegment.
IsNullOrEmpty
(parsedName.Value)
38
|| parsedValue == null || StringSegment.
IsNullOrEmpty
(parsedValue.Value))
69
if (StringSegment.
IsNullOrEmpty
(value) || (index == value.Length))
147
if (StringSegment.
IsNullOrEmpty
(input) || (offset >= input.Length))
StringWithQualityHeaderValue.cs (1)
191
if (StringSegment.
IsNullOrEmpty
(input) || (startIndex >= input.Length))