149 references to Contains
InMemory.FunctionalTests (140)
Http2\Http2ConnectionTests.cs (1)
4999
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
Http2\Http2StreamTests.cs (95)
111
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
130
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
161
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
213
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
264
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
288
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
317
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
348
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
385
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
430
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
502
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
553
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
582
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
611
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
642
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
673
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
704
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
826
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
860
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
897
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
938
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
981
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1024
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1077
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1319
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1357
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1396
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1430
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1465
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1500
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1540
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1575
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1623
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1663
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1699
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1741
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1777
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1811
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1848
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1886
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1933
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1972
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2020
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2083
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2134
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2173
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2214
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2265
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2298
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2386
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2441
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2499
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2542
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2583
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3028
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3080
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3118
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3156
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3812
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3861
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3905
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
3951
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4004
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4057
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4103
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4153
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4198
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4241
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4279
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4422
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4472
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4518
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4558
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4622
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4654
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4687
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4720
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4775
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4835
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4896
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
4961
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5018
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5085
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5130
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5203
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5277
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5353
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5424
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5498
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5582
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5664
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5751
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5798
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5873
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
5925
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
Http2\Http2WebSocketTests.cs (8)
72
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
137
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
228
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
264
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
367
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
431
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
499
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
563
Assert.
Contains
("date", _decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
Http3\Http3StreamTests.cs (36)
118
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
155
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
172
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
191
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
217
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
251
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
310
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
349
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
369
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
390
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
413
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
436
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
459
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
569
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
605
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
640
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
874
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
908
Assert.
Contains
("date", responseHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1162
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1214
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1309
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1361
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1413
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1455
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1509
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1564
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1738
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
1802
Assert.
Contains
("date", decodedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2338
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2396
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2520
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2561
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2593
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2633
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2688
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
2732
Assert.
Contains
("date", receivedHeaders.Keys, StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
616
Assert.
Contains
(itemToCommit, items.Select(x => x.DisplayText), GetStringComparer());
Microsoft.DotNet.XliffTasks.Tests (2)
XlfDocumentTests.cs (2)
488
Assert.
Contains
("Goodbye", untranslatedResources, StringComparer.Ordinal);
489
Assert.
Contains
("Hello", untranslatedResources, StringComparer.Ordinal);
Microsoft.DotNet.XUnitAssert.Tests (4)
CollectionAssertsTests.cs (4)
352
Assert.Throws<ArgumentNullException>("collection", () => Assert.
Contains
(14, default(IEnumerable<int>)!, comparer));
353
Assert.Throws<ArgumentNullException>("comparer", () => Assert.
Contains
(14, new int[0], null!));
361
Assert.
Contains
(43, list, new MyComparer());
369
var ex = Record.Exception(() => Assert.
Contains
("HI THERE", set, StringComparer.Ordinal));
xunit.assert (2)
AsyncCollectionAsserts.cs (1)
129
Contains
(expected, AssertHelper.ToEnumerable(collection), comparer);
CollectionAsserts.cs (1)
261
Contains
(expected, collection, GetEqualityComparer<T>());