308 references to Empty
Aspire.Dashboard.Tests (4)
BrowserSecurityHeadersMiddlewareTests.cs (4)
28
Assert.NotEqual(StringValues.
Empty
, httpContext.Response.Headers.ContentSecurityPolicy);
43
Assert.NotEqual(StringValues.
Empty
, httpContext.Response.Headers.ContentSecurityPolicy);
61
Assert.NotEqual(StringValues.
Empty
, httpContext.Response.Headers.ContentSecurityPolicy);
80
Assert.Equal(StringValues.
Empty
, httpContext.Response.Headers.ContentSecurityPolicy);
Microsoft.AspNetCore.Authentication.OAuth (2)
OAuthHandler.cs (2)
280
if (location == StringValues.
Empty
)
286
if (cookie == StringValues.
Empty
)
Microsoft.AspNetCore.Http (9)
Features\RequestCookiesFeature.cs (1)
74
_original = StringValues.
Empty
;
FormCollection.cs (3)
65
/// or <see cref="StringValues.
Empty
"/> if the key is not present.</returns>
72
return StringValues.
Empty
;
79
return StringValues.
Empty
;
HeaderDictionary.cs (2)
73
return StringValues.
Empty
;
81
return StringValues.
Empty
;
QueryCollection.cs (2)
74
return StringValues.
Empty
;
81
return StringValues.
Empty
;
QueryCollectionInternal.cs (1)
35
public StringValues this[string key] => TryGetValue(key, out var value) ? value : StringValues.
Empty
;
Microsoft.AspNetCore.Http.Abstractions (2)
Internal\ParsingHelpers.cs (2)
14
return headers.TryGetValue(key, out value) ? value : StringValues.
Empty
;
46
return headers.TryGetValue(key, out values) ? values : StringValues.
Empty
;
Microsoft.AspNetCore.Http.Extensions (2)
HeaderDictionaryTypeExtensions.cs (1)
104
Headers.Append(name, StringValues.
Empty
);
RequestDelegateFactory.cs (1)
1971
Expression.Condition(Expression.Equal(valueExpression, Expression.Convert(Expression.Constant(StringValues.
Empty
), parameter.ParameterType)),
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\FormCollectionModelBinder.cs (1)
58
public StringValues this[string key] => StringValues.
Empty
;
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheEntry.cs (1)
36
values = StringValues.
Empty
;
OutputCacheEntryFormatter.cs (1)
282
value = StringValues.
Empty
;
Microsoft.AspNetCore.Server.IISIntegration (2)
ForwardedTlsConnectionFeature.cs (2)
27
if (_certificate == null && _header != StringValues.
Empty
)
44
_header = StringValues.
Empty
;
Microsoft.AspNetCore.Server.Kestrel.Core (282)
Internal\Http\HttpHeaders.cs (1)
55
return StringValues.
Empty
;
Internal\Http\HttpHeaders.Generated.cs (281)
396
return StringValues.
Empty
;
420
return StringValues.
Empty
;
444
return StringValues.
Empty
;
468
return StringValues.
Empty
;
492
return StringValues.
Empty
;
516
return StringValues.
Empty
;
540
return StringValues.
Empty
;
564
return StringValues.
Empty
;
588
return StringValues.
Empty
;
605
return StringValues.
Empty
;
633
return StringValues.
Empty
;
661
return StringValues.
Empty
;
689
return StringValues.
Empty
;
717
return StringValues.
Empty
;
745
return StringValues.
Empty
;
773
return StringValues.
Empty
;
801
return StringValues.
Empty
;
829
return StringValues.
Empty
;
857
return StringValues.
Empty
;
885
return StringValues.
Empty
;
913
return StringValues.
Empty
;
941
return StringValues.
Empty
;
969
return StringValues.
Empty
;
997
return StringValues.
Empty
;
1025
return StringValues.
Empty
;
1053
return StringValues.
Empty
;
1081
return StringValues.
Empty
;
1109
return StringValues.
Empty
;
1137
return StringValues.
Empty
;
1165
return StringValues.
Empty
;
1193
return StringValues.
Empty
;
1221
return StringValues.
Empty
;
1249
return StringValues.
Empty
;
1277
return StringValues.
Empty
;
1305
return StringValues.
Empty
;
1333
return StringValues.
Empty
;
1361
return StringValues.
Empty
;
1389
return StringValues.
Empty
;
1417
return StringValues.
Empty
;
1445
return StringValues.
Empty
;
1473
return StringValues.
Empty
;
1501
return StringValues.
Empty
;
1529
return StringValues.
Empty
;
1557
return StringValues.
Empty
;
1585
return StringValues.
Empty
;
1613
return StringValues.
Empty
;
1641
return StringValues.
Empty
;
1669
return StringValues.
Empty
;
1697
return StringValues.
Empty
;
1725
return StringValues.
Empty
;
1753
return StringValues.
Empty
;
1781
return StringValues.
Empty
;
1808
value = StringValues.
Empty
;
1825
value = StringValues.
Empty
;
1842
value = StringValues.
Empty
;
1859
value = StringValues.
Empty
;
1876
value = StringValues.
Empty
;
1893
value = StringValues.
Empty
;
1910
value = StringValues.
Empty
;
1927
value = StringValues.
Empty
;
1944
value = StringValues.
Empty
;
1961
value = StringValues.
Empty
;
1978
value = StringValues.
Empty
;
1995
value = StringValues.
Empty
;
2012
value = StringValues.
Empty
;
2029
value = StringValues.
Empty
;
2046
value = StringValues.
Empty
;
2063
value = StringValues.
Empty
;
2080
value = StringValues.
Empty
;
2097
value = StringValues.
Empty
;
2114
value = StringValues.
Empty
;
2131
value = StringValues.
Empty
;
2148
value = StringValues.
Empty
;
2165
value = StringValues.
Empty
;
2182
value = StringValues.
Empty
;
2199
value = StringValues.
Empty
;
2216
value = StringValues.
Empty
;
2233
value = StringValues.
Empty
;
2250
value = StringValues.
Empty
;
2267
value = StringValues.
Empty
;
2284
value = StringValues.
Empty
;
2301
value = StringValues.
Empty
;
2318
value = StringValues.
Empty
;
2335
value = StringValues.
Empty
;
2352
value = StringValues.
Empty
;
2369
value = StringValues.
Empty
;
2386
value = StringValues.
Empty
;
2403
value = StringValues.
Empty
;
2420
value = StringValues.
Empty
;
2437
value = StringValues.
Empty
;
2454
value = StringValues.
Empty
;
2471
value = StringValues.
Empty
;
2488
value = StringValues.
Empty
;
2505
value = StringValues.
Empty
;
2522
value = StringValues.
Empty
;
2539
value = StringValues.
Empty
;
2556
value = StringValues.
Empty
;
2573
value = StringValues.
Empty
;
8706
return StringValues.
Empty
;
8731
return StringValues.
Empty
;
8755
return StringValues.
Empty
;
8780
return StringValues.
Empty
;
8805
return StringValues.
Empty
;
8822
return StringValues.
Empty
;
8852
return StringValues.
Empty
;
8881
return StringValues.
Empty
;
8911
return StringValues.
Empty
;
8941
return StringValues.
Empty
;
8970
return StringValues.
Empty
;
8999
return StringValues.
Empty
;
9028
return StringValues.
Empty
;
9057
return StringValues.
Empty
;
9086
return StringValues.
Empty
;
9115
return StringValues.
Empty
;
9144
return StringValues.
Empty
;
9173
return StringValues.
Empty
;
9202
return StringValues.
Empty
;
9232
return StringValues.
Empty
;
9261
return StringValues.
Empty
;
9290
return StringValues.
Empty
;
9319
return StringValues.
Empty
;
9348
return StringValues.
Empty
;
9377
return StringValues.
Empty
;
9406
return StringValues.
Empty
;
9435
return StringValues.
Empty
;
9464
return StringValues.
Empty
;
9493
return StringValues.
Empty
;
9522
return StringValues.
Empty
;
9551
return StringValues.
Empty
;
9580
return StringValues.
Empty
;
9609
return StringValues.
Empty
;
9638
return StringValues.
Empty
;
9667
return StringValues.
Empty
;
9696
return StringValues.
Empty
;
9725
return StringValues.
Empty
;
9754
return StringValues.
Empty
;
9784
return StringValues.
Empty
;
9813
return StringValues.
Empty
;
9842
return StringValues.
Empty
;
9871
return StringValues.
Empty
;
9900
return StringValues.
Empty
;
9928
value = StringValues.
Empty
;
9946
value = StringValues.
Empty
;
9964
value = StringValues.
Empty
;
9982
value = StringValues.
Empty
;
10000
value = StringValues.
Empty
;
10018
value = StringValues.
Empty
;
10036
value = StringValues.
Empty
;
10054
value = StringValues.
Empty
;
10072
value = StringValues.
Empty
;
10090
value = StringValues.
Empty
;
10108
value = StringValues.
Empty
;
10126
value = StringValues.
Empty
;
10144
value = StringValues.
Empty
;
10162
value = StringValues.
Empty
;
10180
value = StringValues.
Empty
;
10198
value = StringValues.
Empty
;
10216
value = StringValues.
Empty
;
10234
value = StringValues.
Empty
;
10252
value = StringValues.
Empty
;
10270
value = StringValues.
Empty
;
10288
value = StringValues.
Empty
;
10306
value = StringValues.
Empty
;
10324
value = StringValues.
Empty
;
10342
value = StringValues.
Empty
;
10360
value = StringValues.
Empty
;
10378
value = StringValues.
Empty
;
10396
value = StringValues.
Empty
;
10414
value = StringValues.
Empty
;
10432
value = StringValues.
Empty
;
10450
value = StringValues.
Empty
;
10468
value = StringValues.
Empty
;
10486
value = StringValues.
Empty
;
10504
value = StringValues.
Empty
;
10522
value = StringValues.
Empty
;
10540
value = StringValues.
Empty
;
10558
value = StringValues.
Empty
;
10576
value = StringValues.
Empty
;
10594
value = StringValues.
Empty
;
10612
value = StringValues.
Empty
;
10630
value = StringValues.
Empty
;
10648
value = StringValues.
Empty
;
10666
value = StringValues.
Empty
;
10684
value = StringValues.
Empty
;
10702
value = StringValues.
Empty
;
10720
value = StringValues.
Empty
;
10738
value = StringValues.
Empty
;
10756
value = StringValues.
Empty
;
10774
value = StringValues.
Empty
;
10792
value = StringValues.
Empty
;
10810
value = StringValues.
Empty
;
10828
value = StringValues.
Empty
;
15539
return StringValues.
Empty
;
15568
return StringValues.
Empty
;
15597
return StringValues.
Empty
;
15625
value = StringValues.
Empty
;
15643
value = StringValues.
Empty
;
15661
value = StringValues.
Empty
;
15679
value = StringValues.
Empty
;
15697
value = StringValues.
Empty
;
15715
value = StringValues.
Empty
;
15733
value = StringValues.
Empty
;
15751
value = StringValues.
Empty
;
15769
value = StringValues.
Empty
;
15787
value = StringValues.
Empty
;
15805
value = StringValues.
Empty
;
15823
value = StringValues.
Empty
;
15841
value = StringValues.
Empty
;
15859
value = StringValues.
Empty
;
15877
value = StringValues.
Empty
;
15895
value = StringValues.
Empty
;
15913
value = StringValues.
Empty
;
15931
value = StringValues.
Empty
;
15949
value = StringValues.
Empty
;
15967
value = StringValues.
Empty
;
15985
value = StringValues.
Empty
;
16003
value = StringValues.
Empty
;
16021
value = StringValues.
Empty
;
16039
value = StringValues.
Empty
;
16057
value = StringValues.
Empty
;
16075
value = StringValues.
Empty
;
16093
value = StringValues.
Empty
;
16111
value = StringValues.
Empty
;
16129
value = StringValues.
Empty
;
16147
value = StringValues.
Empty
;
16165
value = StringValues.
Empty
;
16183
value = StringValues.
Empty
;
16201
value = StringValues.
Empty
;
16219
value = StringValues.
Empty
;
16237
value = StringValues.
Empty
;
16255
value = StringValues.
Empty
;
16273
value = StringValues.
Empty
;
16291
value = StringValues.
Empty
;
16309
value = StringValues.
Empty
;
16327
value = StringValues.
Empty
;
16345
value = StringValues.
Empty
;
16363
value = StringValues.
Empty
;
16381
value = StringValues.
Empty
;
16399
value = StringValues.
Empty
;
16417
value = StringValues.
Empty
;
16435
value = StringValues.
Empty
;
16453
value = StringValues.
Empty
;
16471
value = StringValues.
Empty
;
16489
value = StringValues.
Empty
;
16507
value = StringValues.
Empty
;
16525
value = StringValues.
Empty
;
16543
value = StringValues.
Empty
;
16561
value = StringValues.
Empty
;
16579
value = StringValues.
Empty
;
16597
value = StringValues.
Empty
;
16615
value = StringValues.
Empty
;
16633
value = StringValues.
Empty
;
16651
value = StringValues.
Empty
;
16669
value = StringValues.
Empty
;
16687
value = StringValues.
Empty
;
16705
value = StringValues.
Empty
;
16723
value = StringValues.
Empty
;
16741
value = StringValues.
Empty
;
16759
value = StringValues.
Empty
;
16777
value = StringValues.
Empty
;
16795
value = StringValues.
Empty
;
16813
value = StringValues.
Empty
;
16831
value = StringValues.
Empty
;
16849
value = StringValues.
Empty
;
16867
value = StringValues.
Empty
;
16885
value = StringValues.
Empty
;
16903
value = StringValues.
Empty
;
16921
value = StringValues.
Empty
;
16939
value = StringValues.
Empty
;
16957
value = StringValues.
Empty
;
16975
value = StringValues.
Empty
;
16993
value = StringValues.
Empty
;
17011
value = StringValues.
Empty
;
17029
value = StringValues.
Empty
;
17047
value = StringValues.
Empty
;
17065
value = StringValues.
Empty
;
17083
value = StringValues.
Empty
;
17101
value = StringValues.
Empty
;
17119
value = StringValues.
Empty
;
17137
value = StringValues.
Empty
;
17155
value = StringValues.
Empty
;
Microsoft.Extensions.Primitives (2)
StringValues.cs (2)
71
/// Returns <see langword="null"/> where <see cref="StringValues"/> has been initialized from an empty string array or is <see cref="StringValues.
Empty
"/>.
711
return Equals(this, StringValues.
Empty
);