5 instantiations of ItemExpectation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Completion\AbstractCompletionProviderTests.cs (5)
152
var expectedResult = new
ItemExpectation
(
289
return [new
ItemExpectation
(Name: null, IsAbsent: absent)];
294
return new
ItemExpectation
(name, false);
298
return new
ItemExpectation
(name, true);
505
var expectedResult = new
ItemExpectation
(
788 references to ItemExpectation
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (765)
Completion\CompletionProviders\AbstractCSharpCompletionProviderTests.cs (1)
71
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (764)
312
ItemExpectation
.Absent("String"),
313
ItemExpectation
.Absent("System")
321
ItemExpectation
.Absent("String"),
322
ItemExpectation
.Absent("System")
331
ItemExpectation
.Absent("String"),
332
ItemExpectation
.Absent("System")
342
ItemExpectation
.Absent("String"),
343
ItemExpectation
.Absent("System")
352
ItemExpectation
.Absent("String"),
353
ItemExpectation
.Absent("System")
360
ItemExpectation
.Absent("String"),
361
ItemExpectation
.Exists("System")
368
ItemExpectation
.Exists("CLSCompliant"),
369
ItemExpectation
.Exists("System"),
370
ItemExpectation
.Absent("AttributeUsage")
396
ItemExpectation
.Exists("CLSCompliant"),
397
ItemExpectation
.Exists("System"),
398
ItemExpectation
.Absent("AttributeUsage"),
409
ItemExpectation
.Exists("STAThread"),
410
ItemExpectation
.Exists("System"),
411
ItemExpectation
.Absent("AttributeUsage"),
421
ItemExpectation
.Exists("CLSCompliant"),
422
ItemExpectation
.Exists("System"),
423
ItemExpectation
.Absent("AttributeUsage"),
433
ItemExpectation
.Exists("ParamArray"),
434
ItemExpectation
.Exists("System"),
435
ItemExpectation
.Absent("AttributeUsage"),
466
ItemExpectation
.Exists("AssemblyOnly"),
467
ItemExpectation
.Absent("ClassOnly")
492
ItemExpectation
.Absent("AssemblyOnly"),
493
ItemExpectation
.Exists("ClassOnly")
521
ItemExpectation
.Exists("MethodOnly"),
522
ItemExpectation
.Absent("PropertyOnly")
551
ItemExpectation
.Exists("ReturnValueOnly"),
552
ItemExpectation
.Absent("MethodOnly")
577
ItemExpectation
.Exists("StructOnly"),
578
ItemExpectation
.Absent("ClassOnly")
603
ItemExpectation
.Exists("InterfaceOnly"),
604
ItemExpectation
.Absent("ClassOnly")
630
ItemExpectation
.Exists("EnumOnly"),
631
ItemExpectation
.Absent("ClassOnly")
654
ItemExpectation
.Exists("DelegateOnly"),
655
ItemExpectation
.Absent("ClassOnly")
680
ItemExpectation
.Exists("ClassOnly"),
681
ItemExpectation
.Absent("StructOnly")
706
ItemExpectation
.Exists("StructOnly"),
707
ItemExpectation
.Absent("ClassOnly")
735
ItemExpectation
.Exists("ConstructorOnly"),
736
ItemExpectation
.Absent("MethodOnly")
762
ItemExpectation
.Exists("PropertyOnly"),
763
ItemExpectation
.Absent("MethodOnly")
789
ItemExpectation
.Exists("FieldOnly"),
790
ItemExpectation
.Absent("PropertyOnly")
816
ItemExpectation
.Exists("EventOnly"),
817
ItemExpectation
.Absent("MethodOnly")
844
ItemExpectation
.Exists("ParameterOnly"),
845
ItemExpectation
.Absent("MethodOnly")
869
ItemExpectation
.Exists("GenericParameterOnly"),
870
ItemExpectation
.Absent("ClassOnly")
896
ItemExpectation
.Exists("PropertyOnly"),
897
ItemExpectation
.Absent("MethodOnly")
923
ItemExpectation
.Exists("ModuleOnly"),
924
ItemExpectation
.Absent("ClassOnly")
949
ItemExpectation
.Exists("ClassOnly"),
950
ItemExpectation
.Absent("MethodOnly")
978
ItemExpectation
.Exists("MethodOnly"),
979
ItemExpectation
.Absent("PropertyOnly")
1005
ItemExpectation
.Exists("FieldOnly"),
1006
ItemExpectation
.Absent("PropertyOnly")
1032
ItemExpectation
.Exists("PropertyOnly"),
1033
ItemExpectation
.Absent("MethodOnly")
1059
ItemExpectation
.Exists("EventOnly"),
1060
ItemExpectation
.Absent("MethodOnly")
1087
ItemExpectation
.Exists("ParameterOnly"),
1088
ItemExpectation
.Absent("MethodOnly")
1112
ItemExpectation
.Exists("GenericParameterOnly"),
1113
ItemExpectation
.Absent("ClassOnly")
1139
ItemExpectation
.Exists("System"),
1140
ItemExpectation
.Absent("String")
1152
ItemExpectation
.Exists("System"),
1153
ItemExpectation
.Absent("String")
1185
ItemExpectation
.Absent("A"),
1186
ItemExpectation
.Exists("B")
1206
ItemExpectation
.Absent("A"),
1207
ItemExpectation
.Absent("B")
1225
ItemExpectation
.Absent("A"),
1226
ItemExpectation
.Exists("B")
1234
ItemExpectation
.Exists("System"),
1235
ItemExpectation
.Absent("Runtime")
1263
ItemExpectation
.Absent("C1"),
1264
ItemExpectation
.Absent("C2"),
1265
ItemExpectation
.Absent("C3"),
1266
ItemExpectation
.Absent("A"),
1270
ItemExpectation
.Exists("B")
1305
ItemExpectation
.Absent("A"),
1306
ItemExpectation
.Absent("B"),
1307
ItemExpectation
.Exists("C")
1320
ItemExpectation
.Absent("A"),
1321
ItemExpectation
.Absent("B")
1336
ItemExpectation
.Absent("A"),
1337
ItemExpectation
.Exists("B")
1345
ItemExpectation
.Exists("System"),
1346
ItemExpectation
.Absent("Runtime")
1363
ItemExpectation
.Absent("System"),
1364
ItemExpectation
.Absent("Runtime")
1386
ItemExpectation
.Absent("A"),
1387
ItemExpectation
.Absent("B"),
1388
ItemExpectation
.Absent("C"),
1398
ItemExpectation
.Absent("D1"),
1399
ItemExpectation
.Absent("D2"),
1400
ItemExpectation
.Absent("D3")
1407
ItemExpectation
.Absent("String"),
1408
ItemExpectation
.Absent("System")
1418
ItemExpectation
.Absent("String"),
1419
ItemExpectation
.Absent("System")
1432
ItemExpectation
.Absent("String"),
1433
ItemExpectation
.Absent("System")
1449
ItemExpectation
.Exists("value"),
1450
ItemExpectation
.Exists("C")
1458
ItemExpectation
.Absent("String"),
1459
ItemExpectation
.Absent("System")
1468
ItemExpectation
.Absent("String"),
1469
ItemExpectation
.Exists("System")
1482
ItemExpectation
.Exists("String"),
1483
ItemExpectation
.Exists("System")
1496
ItemExpectation
.Exists("String"),
1497
ItemExpectation
.Exists("System")
1506
ItemExpectation
.Exists("String"),
1507
ItemExpectation
.Exists("System")
1516
ItemExpectation
.Absent("String"),
1517
ItemExpectation
.Absent("System")
1526
ItemExpectation
.Absent("String"),
1527
ItemExpectation
.Absent("System")
1536
ItemExpectation
.Exists("String"),
1537
ItemExpectation
.Exists("System")
1546
ItemExpectation
.Exists("String"),
1547
ItemExpectation
.Exists("System")
1556
ItemExpectation
.Exists("String"),
1557
ItemExpectation
.Exists("System")
1566
ItemExpectation
.Exists("String"),
1567
ItemExpectation
.Exists("System")
1576
ItemExpectation
.Exists("String"),
1577
ItemExpectation
.Exists("System")
1586
ItemExpectation
.Exists("String"),
1587
ItemExpectation
.Exists("System")
1596
ItemExpectation
.Exists("String"),
1597
ItemExpectation
.Exists("System")
1606
ItemExpectation
.Exists("String"),
1607
ItemExpectation
.Exists("System")
1616
ItemExpectation
.Exists("String"),
1617
ItemExpectation
.Exists("System")
1626
ItemExpectation
.Absent("String"),
1627
ItemExpectation
.Absent("System")
1636
ItemExpectation
.Exists("String"),
1637
ItemExpectation
.Exists("System")
1650
ItemExpectation
.Exists("String"),
1651
ItemExpectation
.Exists("System")
1664
ItemExpectation
.Exists("String"),
1665
ItemExpectation
.Exists("System")
1678
ItemExpectation
.Exists("String"),
1679
ItemExpectation
.Exists("System")
1692
ItemExpectation
.Absent("String"),
1693
ItemExpectation
.Absent("System")
1706
ItemExpectation
.Exists("String"),
1707
ItemExpectation
.Exists("System")
1720
ItemExpectation
.Exists("String"),
1721
ItemExpectation
.Exists("System")
1734
ItemExpectation
.Exists("String"),
1735
ItemExpectation
.Exists("System")
1748
ItemExpectation
.Exists("String"),
1749
ItemExpectation
.Exists("System")
1762
ItemExpectation
.Exists("String"),
1763
ItemExpectation
.Exists("System")
1776
ItemExpectation
.Exists("String"),
1777
ItemExpectation
.Exists("System")
1790
ItemExpectation
.Exists("String"),
1791
ItemExpectation
.Exists("System")
1804
ItemExpectation
.Exists("String"),
1805
ItemExpectation
.Exists("System")
1818
ItemExpectation
.Exists("String"),
1819
ItemExpectation
.Exists("System")
1832
ItemExpectation
.Exists("String"),
1833
ItemExpectation
.Exists("System")
1843
ItemExpectation
.Exists("String"),
1844
ItemExpectation
.Exists("System")
1854
ItemExpectation
.Exists("String"),
1855
ItemExpectation
.Exists("System")
1865
ItemExpectation
.Exists("String"),
1866
ItemExpectation
.Exists("System")
1876
ItemExpectation
.Exists("String"),
1877
ItemExpectation
.Exists("System")
1887
ItemExpectation
.Exists("String"),
1888
ItemExpectation
.Exists("System")
1898
ItemExpectation
.Exists("String"),
1899
ItemExpectation
.Exists("System")
1909
ItemExpectation
.Exists("String"),
1910
ItemExpectation
.Exists("System")
1920
ItemExpectation
.Exists("String"),
1921
ItemExpectation
.Exists("System")
1931
ItemExpectation
.Exists("String"),
1932
ItemExpectation
.Exists("System")
1942
ItemExpectation
.Exists("String"),
1943
ItemExpectation
.Exists("System")
1953
ItemExpectation
.Exists("String"),
1954
ItemExpectation
.Exists("System")
1964
ItemExpectation
.Exists("String"),
1965
ItemExpectation
.Exists("System")
1975
ItemExpectation
.Exists("String"),
1976
ItemExpectation
.Exists("System")
1986
ItemExpectation
.Exists("String"),
1987
ItemExpectation
.Exists("System")
1997
ItemExpectation
.Exists("String"),
1998
ItemExpectation
.Exists("System")
2008
ItemExpectation
.Exists("String"),
2009
ItemExpectation
.Exists("System")
2019
ItemExpectation
.Exists("String"),
2020
ItemExpectation
.Exists("System")
2030
ItemExpectation
.Exists("String"),
2031
ItemExpectation
.Exists("System")
2041
ItemExpectation
.Exists("String"),
2042
ItemExpectation
.Exists("System")
2052
ItemExpectation
.Exists("String"),
2053
ItemExpectation
.Exists("System")
2063
ItemExpectation
.Exists("String"),
2064
ItemExpectation
.Exists("System")
2074
ItemExpectation
.Exists("String"),
2075
ItemExpectation
.Exists("System")
2085
ItemExpectation
.Exists("String"),
2086
ItemExpectation
.Exists("System")
2096
ItemExpectation
.Exists("String"),
2097
ItemExpectation
.Exists("System")
2107
ItemExpectation
.Exists("String"),
2108
ItemExpectation
.Exists("System")
2118
ItemExpectation
.Exists("String"),
2119
ItemExpectation
.Exists("System")
2129
ItemExpectation
.Exists("String"),
2130
ItemExpectation
.Exists("System")
2140
ItemExpectation
.Exists("String"),
2141
ItemExpectation
.Exists("System")
2151
ItemExpectation
.Exists("String"),
2152
ItemExpectation
.Exists("System")
2162
ItemExpectation
.Exists("String"),
2163
ItemExpectation
.Exists("System")
2173
ItemExpectation
.Exists("String"),
2174
ItemExpectation
.Exists("System")
2184
ItemExpectation
.Exists("String"),
2185
ItemExpectation
.Exists("System")
2195
ItemExpectation
.Exists("String"),
2196
ItemExpectation
.Exists("System")
2206
ItemExpectation
.Exists("String"),
2207
ItemExpectation
.Exists("System")
2217
ItemExpectation
.Exists("String"),
2218
ItemExpectation
.Exists("System")
2228
ItemExpectation
.Exists("String"),
2229
ItemExpectation
.Exists("System")
2239
ItemExpectation
.Exists("String"),
2240
ItemExpectation
.Exists("System")
2250
ItemExpectation
.Exists("String"),
2251
ItemExpectation
.Exists("System")
2261
ItemExpectation
.Exists("String"),
2262
ItemExpectation
.Exists("System")
2272
ItemExpectation
.Exists("String"),
2273
ItemExpectation
.Exists("System")
2283
ItemExpectation
.Exists("String"),
2284
ItemExpectation
.Exists("System")
2294
ItemExpectation
.Exists("String"),
2295
ItemExpectation
.Exists("System")
2305
ItemExpectation
.Exists("String"),
2306
ItemExpectation
.Exists("System")
2316
ItemExpectation
.Exists("String"),
2317
ItemExpectation
.Exists("System")
2327
ItemExpectation
.Exists("String"),
2328
ItemExpectation
.Exists("System")
2338
ItemExpectation
.Exists("String"),
2339
ItemExpectation
.Exists("System")
2349
ItemExpectation
.Exists("String"),
2350
ItemExpectation
.Exists("System")
2360
ItemExpectation
.Exists("String"),
2361
ItemExpectation
.Exists("System")
2371
ItemExpectation
.Exists("String"),
2372
ItemExpectation
.Exists("System")
2418
ItemExpectation
.Exists("String"),
2419
ItemExpectation
.Exists("System")
2465
ItemExpectation
.Exists("String"),
2466
ItemExpectation
.Exists("System")
2476
ItemExpectation
.Absent("String"),
2477
ItemExpectation
.Absent("System")
2509
ItemExpectation
.Exists("String"),
2510
ItemExpectation
.Exists("System")
2520
ItemExpectation
.Exists("String"),
2521
ItemExpectation
.Exists("System")
2531
ItemExpectation
.Absent("String"),
2532
ItemExpectation
.Absent("System")
2542
ItemExpectation
.Absent("String"),
2543
ItemExpectation
.Exists("System")
2561
ItemExpectation
.Absent("String"),
2562
ItemExpectation
.Absent("System")
2572
ItemExpectation
.Exists("String"),
2573
ItemExpectation
.Exists("System")
2587
ItemExpectation
.Exists("String"),
2588
ItemExpectation
.Exists("System")
2602
ItemExpectation
.Exists("String"),
2603
ItemExpectation
.Exists("System")
2822
ItemExpectation
.Absent("Hidden"),
2823
ItemExpectation
.Exists("Goo")
2842
ItemExpectation
.Absent("Hidden"),
2843
ItemExpectation
.Exists("Goo")
2862
ItemExpectation
.Absent("Hidden"),
2863
ItemExpectation
.Exists("Goo"),
2864
ItemExpectation
.Absent("Bar"),
2883
ItemExpectation
.Absent("Hidden"),
2884
ItemExpectation
.Exists("Goo")
2903
ItemExpectation
.Absent("Hidden"),
2904
ItemExpectation
.Exists("Goo")
2923
ItemExpectation
.Absent("Hidden"),
2924
ItemExpectation
.Exists("Goo")
2946
ItemExpectation
.Absent("HiddenStatic"),
2947
ItemExpectation
.Exists("GooStatic"),
2948
ItemExpectation
.Absent("HiddenInstance"),
2949
ItemExpectation
.Exists("GooInstance")
3077
ItemExpectation
.Exists("String"),
3078
ItemExpectation
.Absent("parameter")
3093
ItemExpectation
.Exists("String"),
3094
ItemExpectation
.Absent("parameter")
3109
ItemExpectation
.Exists("String"),
3110
ItemExpectation
.Absent("parameter")
3125
ItemExpectation
.Exists("String"),
3126
ItemExpectation
.Absent("field")
3141
ItemExpectation
.Exists("String"),
3142
ItemExpectation
.Absent("field")
3157
ItemExpectation
.Exists("String"),
3158
ItemExpectation
.Absent("field")
3173
ItemExpectation
.Exists("String"),
3174
ItemExpectation
.Exists("parameter")
3189
ItemExpectation
.Exists("String"),
3190
ItemExpectation
.Exists("parameter")
3205
ItemExpectation
.Exists("String"),
3206
ItemExpectation
.Exists("parameter")
3221
ItemExpectation
.Exists("String"),
3222
ItemExpectation
.Exists("parameter")
3237
ItemExpectation
.Exists("String"),
3238
ItemExpectation
.Absent("parameter")
3253
ItemExpectation
.Exists("String"),
3254
ItemExpectation
.Absent("parameter")
3269
ItemExpectation
.Exists("String"),
3270
ItemExpectation
.Absent("parameter")
3285
ItemExpectation
.Exists("String"),
3286
ItemExpectation
.Absent("parameter")
3301
ItemExpectation
.Exists("String"),
3302
ItemExpectation
.Absent("parameter")
3317
ItemExpectation
.Exists("String"),
3318
ItemExpectation
.Absent("parameter")
3351
ItemExpectation
.Exists("ToString"),
3352
ItemExpectation
.Absent("GetType"),
3353
ItemExpectation
.Absent("Equals"),
3354
ItemExpectation
.Absent("GetHashCode")
3370
ItemExpectation
.Exists("ToString"),
3371
ItemExpectation
.Exists("GetType"),
3372
ItemExpectation
.Exists("Equals"),
3373
ItemExpectation
.Exists("GetHashCode")
3388
ItemExpectation
.Exists("String"),
3389
ItemExpectation
.Absent("parameter")
3413
ItemExpectation
.Exists("String"),
3414
ItemExpectation
.Absent("parameter")
3436
ItemExpectation
.Absent("String"),
3437
ItemExpectation
.Absent("parameter")
3452
ItemExpectation
.Absent("String"),
3453
ItemExpectation
.Absent("parameter")
3475
ItemExpectation
.Absent("String"),
3476
ItemExpectation
.Absent("parameter")
3489
ItemExpectation
.Exists("String"),
3490
ItemExpectation
.Absent("field")
3503
ItemExpectation
.Exists("String"),
3504
ItemExpectation
.Absent("field")
3519
ItemExpectation
.Exists("Q"),
3520
ItemExpectation
.Exists("R")
3534
ItemExpectation
.Exists("Q"),
3535
ItemExpectation
.Exists("R")
3549
ItemExpectation
.Exists("Q"),
3550
ItemExpectation
.Exists("R")
3602
ItemExpectation
.Exists("Q"),
3603
ItemExpectation
.Exists("R")
3615
ItemExpectation
.Exists("Q"),
3616
ItemExpectation
.Exists("R")
3724
ItemExpectation
.Exists("ToString"),
3725
ItemExpectation
.Exists("Invoke")
3827
ItemExpectation
.Exists("CLSCompliant"),
3828
ItemExpectation
.Absent("CLSCompliantAttribute")
3837
ItemExpectation
.Exists("CLSCompliant"),
3838
ItemExpectation
.Absent("CLSCompliantAttribute")
3847
ItemExpectation
.Exists("CLSCompliant"),
3848
ItemExpectation
.Absent("CLSCompliantAttribute")
3858
ItemExpectation
.Exists("CLSCompliant"),
3859
ItemExpectation
.Absent("CLSCompliantAttribute")
3869
ItemExpectation
.Exists("CLSCompliant"),
3870
ItemExpectation
.Absent("CLSCompliantAttribute")
3880
ItemExpectation
.Exists("CLSCompliantAttribute"),
3881
ItemExpectation
.Absent("CLSCompliant")
3890
ItemExpectation
.Exists("CLSCompliantAttribute"),
3891
ItemExpectation
.Absent("CLSCompliant")
3935
ItemExpectation
.Exists("My"),
3936
ItemExpectation
.Absent("MyAttribute")
3952
ItemExpectation
.Exists("My"),
3953
ItemExpectation
.Absent("MyAttribute")
3966
ItemExpectation
.Exists("namespaceAttribute"),
3967
ItemExpectation
.Absent("namespace"),
3968
ItemExpectation
.Absent("@namespace")
3981
ItemExpectation
.Exists("namespaceAttribute"),
3982
ItemExpectation
.Absent("namespace"),
3983
ItemExpectation
.Absent("@namespace")
4001
ItemExpectation
.Exists("error"),
4002
ItemExpectation
.Absent("@error"),
4005
ItemExpectation
.Exists("method"),
4006
ItemExpectation
.Absent("@method"),
4009
ItemExpectation
.Exists("@int"),
4010
ItemExpectation
.Absent("int")
4025
ItemExpectation
.Exists("@from"),
4026
ItemExpectation
.Absent("from")
4043
ItemExpectation
.Exists("@from"),
4044
ItemExpectation
.Absent("from"),
4045
ItemExpectation
.Exists("@where"),
4046
ItemExpectation
.Absent("where")
4063
ItemExpectation
.Exists("@from"),
4064
ItemExpectation
.Absent("from"),
4065
ItemExpectation
.Exists("@where"),
4066
ItemExpectation
.Absent("where")
4077
ItemExpectation
.Exists("My"),
4078
ItemExpectation
.Absent("MyAttribute")
4090
ItemExpectation
.Exists("namespaceAttribute"),
4091
ItemExpectation
.Absent("namespace"),
4092
ItemExpectation
.Absent("@namespace")
4119
ItemExpectation
.Absent("Namespace2"),
4120
ItemExpectation
.Exists("Namespace3"),
4163
ItemExpectation
.Exists("Namespace1Alias"),
4164
ItemExpectation
.Absent("Namespace2Alias"),
4165
ItemExpectation
.Exists("Namespace3Alias"),
4166
ItemExpectation
.Exists("Namespace4Alias"),
4532
ItemExpectation
.Exists("a"),
4533
ItemExpectation
.Exists("b"),
4534
ItemExpectation
.Exists("c"),
4535
ItemExpectation
.Absent("Equals"),
4551
ItemExpectation
.Absent("a"),
4552
ItemExpectation
.Absent("b"),
4553
ItemExpectation
.Absent("c"),
4554
ItemExpectation
.Exists("Equals"),
8014
ItemExpectation
.Exists("Goo"),
8015
ItemExpectation
.Exists("Bar"),
8178
ItemExpectation
.Exists("Task"),
8179
ItemExpectation
.Absent("Console"),
8193
ItemExpectation
.Exists("Task"),
8194
ItemExpectation
.Absent("Test"),
8310
ItemExpectation
.Absent("Result"),
8311
ItemExpectation
.Absent("ReadAsStreamAsync"),
8337
ItemExpectation
.Absent("Result"),
8338
ItemExpectation
.Exists("ReadAsStreamAsync"),
9107
ItemExpectation
.Exists("AA"),
9108
ItemExpectation
.Exists("AB"),
9130
ItemExpectation
.Exists("i"),
9131
ItemExpectation
.Absent("Value"),
9152
ItemExpectation
.Exists("i"),
9153
ItemExpectation
.Absent("Value"),
9167
ItemExpectation
.Exists("Day"),
9168
ItemExpectation
.Absent("Value"),
9182
ItemExpectation
.Exists("Value"),
9183
ItemExpectation
.Absent("Day"),
9558
ItemExpectation
.Exists("x"),
9559
ItemExpectation
.Exists("y"),
9763
ItemExpectation
.Absent("A"),
9764
ItemExpectation
.Absent("B"),
9765
ItemExpectation
.Exists("N"),
9784
ItemExpectation
.Absent("C"),
9785
ItemExpectation
.Absent("D"),
9786
ItemExpectation
.Exists("M"),
9805
ItemExpectation
.Exists("A"),
9806
ItemExpectation
.Exists("B"),
9807
ItemExpectation
.Exists("N"),
9826
ItemExpectation
.Exists("C"),
9827
ItemExpectation
.Exists("D"),
9828
ItemExpectation
.Exists("M"),
9847
ItemExpectation
.Exists("A"),
9848
ItemExpectation
.Exists("B"),
9849
ItemExpectation
.Exists("N"),
9868
ItemExpectation
.Exists("C"),
9869
ItemExpectation
.Exists("D"),
9870
ItemExpectation
.Exists("M"),
9889
ItemExpectation
.Exists("A"),
9890
ItemExpectation
.Exists("B"),
9891
ItemExpectation
.Exists("N"),
9910
ItemExpectation
.Exists("A"),
9911
ItemExpectation
.Absent("B"),
9912
ItemExpectation
.Exists("N"),
9931
ItemExpectation
.Exists("C"),
9932
ItemExpectation
.Absent("D"),
9933
ItemExpectation
.Exists("M"),
9952
ItemExpectation
.Exists("A"),
9953
ItemExpectation
.Absent("B"),
9954
ItemExpectation
.Exists("N"),
9973
ItemExpectation
.Exists("C"),
9974
ItemExpectation
.Exists("I"),
9975
ItemExpectation
.Exists("M"),
9994
ItemExpectation
.Exists("A"),
9995
ItemExpectation
.Exists("I"),
9996
ItemExpectation
.Exists("N"),
10015
ItemExpectation
.Exists("A"),
10016
ItemExpectation
.Exists("I"),
10017
ItemExpectation
.Exists("N"),
10044
ItemExpectation
.Absent("Goo"),
10045
ItemExpectation
.Absent("Bar"),
10074
ItemExpectation
.Absent("Goo"),
10075
ItemExpectation
.Absent("Bar"),
10105
ItemExpectation
.Exists("Goo"),
10106
ItemExpectation
.Exists("Bar"),
10137
ItemExpectation
.Exists("Goo"),
10138
ItemExpectation
.Exists("Bar"),
10168
ItemExpectation
.Exists("Goo"),
10169
ItemExpectation
.Absent("Bar"),
10199
ItemExpectation
.Absent("Goo"),
10200
ItemExpectation
.Exists("Bar"),
10231
ItemExpectation
.Exists("Goo"),
10232
ItemExpectation
.Exists("Bar"),
10557
ItemExpectation
.Exists("Alice"),
10558
ItemExpectation
.Exists("Bob"),
10559
ItemExpectation
.Exists("CompareTo"),
10560
ItemExpectation
.Exists("Equals"),
10561
ItemExpectation
.Exists("GetHashCode"),
10562
ItemExpectation
.Exists("GetType"),
10563
ItemExpectation
.Exists("Item2"),
10564
ItemExpectation
.Exists("ITEM3"),
10565
ItemExpectation
.Exists("Item4"),
10566
ItemExpectation
.Exists("Item5"),
10567
ItemExpectation
.Exists("Item6"),
10568
ItemExpectation
.Exists("Item7"),
10569
ItemExpectation
.Exists("Item8"),
10570
ItemExpectation
.Exists("ToString"),
10572
ItemExpectation
.Absent("Item1"),
10573
ItemExpectation
.Absent("Item9"),
10574
ItemExpectation
.Absent("Rest"),
10575
ItemExpectation
.Absent("Item3")
11109
ItemExpectation
.Absent("Substring"),
11110
ItemExpectation
.Exists("A"),
11111
ItemExpectation
.Exists("B"),
11219
ItemExpectation
.Exists("MyProperty1"),
11220
ItemExpectation
.Exists("MyProperty2"),
11245
ItemExpectation
.Exists("MyProperty1"),
11246
ItemExpectation
.Exists("MyProperty2"),
11247
ItemExpectation
.Exists("MyProperty3")
11411
ItemExpectation
.Exists("Something"),
11412
ItemExpectation
.Absent("BeginInvoke"),
11413
ItemExpectation
.Absent("Clone"),
11414
ItemExpectation
.Absent("Method"),
11415
ItemExpectation
.Absent("Target")
11438
ItemExpectation
.Exists("ToByteArray"),
11441
ItemExpectation
.Exists("AbsoluteUri"),
11442
ItemExpectation
.Exists("Fragment"),
11443
ItemExpectation
.Exists("Query"),
11446
ItemExpectation
.Absent("BeginInvoke"),
11447
ItemExpectation
.Absent("Clone"),
11448
ItemExpectation
.Absent("Method"),
11449
ItemExpectation
.Absent("Target")
11472
ItemExpectation
.Exists("ToByteArray"),
11475
ItemExpectation
.Absent("AbsoluteUri"),
11476
ItemExpectation
.Absent("Fragment"),
11477
ItemExpectation
.Absent("Query"),
11480
ItemExpectation
.Absent("BeginInvoke"),
11481
ItemExpectation
.Absent("Clone"),
11482
ItemExpectation
.Absent("Method"),
11483
ItemExpectation
.Absent("Target")
11514
ItemExpectation
.Absent("AnotherSomething"),
11515
ItemExpectation
.Absent("FirstOrDefault"),
11516
ItemExpectation
.Exists("Something")
11544
ItemExpectation
.Absent("Something"),
11545
ItemExpectation
.Absent("FirstOrDefault"),
11546
ItemExpectation
.Exists("AnotherSomething")
11648
ItemExpectation
.Exists("M"),
11649
ItemExpectation
.Exists("Equals"),
11650
ItemExpectation
.Absent("DoSomething") with
11911
ItemExpectation
.Exists("BillyJoel"),
11912
ItemExpectation
.Exists("EveryoneElse"),
11913
ItemExpectation
.Absent("Equals"),
11938
ItemExpectation
.Exists("BillyJoel"),
11939
ItemExpectation
.Exists("EveryoneElse"),
11940
ItemExpectation
.Absent("Equals"),
11965
ItemExpectation
.Exists("BillyJoel"),
11966
ItemExpectation
.Exists("EveryoneElse"),
11967
ItemExpectation
.Absent("Equals"),
12013
ItemExpectation
.Exists("BillyJoel"),
12014
ItemExpectation
.Exists("EveryoneElse"),
12015
ItemExpectation
.Absent("Equals"),
12040
ItemExpectation
.Exists("BillyJoel"),
12041
ItemExpectation
.Exists("EveryoneElse"),
12042
ItemExpectation
.Absent("Equals"),
12250
ItemExpectation
.Absent("M0"),
12252
ItemExpectation
.Exists("M1"),
12253
ItemExpectation
.Exists("M2"),
12254
ItemExpectation
.Exists("M3"),
12255
ItemExpectation
.Exists("P1"),
12256
ItemExpectation
.Exists("E1")
12277
ItemExpectation
.Exists("X"),
12278
ItemExpectation
.Exists("Y"),
12279
ItemExpectation
.Exists("Method"),
12280
ItemExpectation
.Exists("ToString")
12301
ItemExpectation
.Exists("X"),
12302
ItemExpectation
.Exists("Y"),
12303
ItemExpectation
.Exists("Method"),
12304
ItemExpectation
.Exists("ToString")
12327
ItemExpectation
.Exists("X"),
12328
ItemExpectation
.Exists("Y"),
12329
ItemExpectation
.Exists("Method"),
12330
ItemExpectation
.Exists("ToString")
12363
ItemExpectation
.Exists("X"),
12364
ItemExpectation
.Exists("Y")
12397
ItemExpectation
.Exists("X"),
12398
ItemExpectation
.Absent("Y")
12450
ItemExpectation
.Absent("X"),
12451
ItemExpectation
.Absent("Y")
12484
ItemExpectation
.Absent("X"),
12485
ItemExpectation
.Absent("Y")
12839
ItemExpectation
.Exists("System"),
12842
ItemExpectation
.Absent(underlyingType),
12870
ItemExpectation
.Exists("System"),
12872
ItemExpectation
.Exists(underlyingType),
12875
ItemExpectation
.Absent("Console"),
12876
ItemExpectation
.Absent("Action"),
12877
ItemExpectation
.Absent("DateTime")
12889
ItemExpectation
.Absent("E"),
12891
ItemExpectation
.Exists("System"),
12892
ItemExpectation
.Absent("MyNamespace"),
12895
ItemExpectation
.Absent(underlyingType)
12901
ItemExpectation
.Absent("System"),
12903
ItemExpectation
.Exists(underlyingType),
12906
ItemExpectation
.Absent("Console"),
12907
ItemExpectation
.Absent("Action"),
12908
ItemExpectation
.Absent("DateTime")
12914
ItemExpectation
.Absent("System"),
12916
ItemExpectation
.Exists(underlyingType),
12919
ItemExpectation
.Absent("Console"),
12920
ItemExpectation
.Absent("Action"),
12921
ItemExpectation
.Absent("DateTime")
12970
ItemExpectation
.Absent("System"),
12971
ItemExpectation
.Absent("MySystem"),
12973
ItemExpectation
.Exists(underlyingType),
12976
ItemExpectation
.Absent("Console"),
12977
ItemExpectation
.Absent("Action"),
12978
ItemExpectation
.Absent("DateTime")
13036
ItemExpectation
.Exists("endIndex"),
13037
ItemExpectation
.Exists("Test"),
13038
ItemExpectation
.Exists("C"),
13055
ItemExpectation
.Exists("endIndex"),
13056
ItemExpectation
.Exists("Test"),
13057
ItemExpectation
.Exists("C"),
13078
ItemExpectation
.Exists("foo"),
13079
ItemExpectation
.Exists("M"),
13080
ItemExpectation
.Exists("System"),
13081
ItemExpectation
.Absent("Int32"),
13100
ItemExpectation
.Exists("System"),
13101
ItemExpectation
.Exists("C"),
13102
ItemExpectation
.Absent("other"),
13136
ItemExpectation
.Exists("A"),
13137
ItemExpectation
.Exists("B"),
13138
ItemExpectation
.Exists("C"),
13139
ItemExpectation
.Absent("D"),
13140
ItemExpectation
.Absent("M"),
13141
ItemExpectation
.Exists("R"),
13153
ItemExpectation
.Exists("A"),
13154
ItemExpectation
.Exists("B"),
13155
ItemExpectation
.Absent("C"),
13156
ItemExpectation
.Absent("D"),
13157
ItemExpectation
.Absent("M"),
13158
ItemExpectation
.Absent("R"),
13170
ItemExpectation
.Exists("C"),
13171
ItemExpectation
.Exists("Constants"),
13172
ItemExpectation
.Exists("System"),
13186
ItemExpectation
.Exists("C"),
13187
ItemExpectation
.Exists("Constants"),
13200
ItemExpectation
.Exists("input"),
13201
ItemExpectation
.Exists("Constants"),
13202
ItemExpectation
.Exists("C"),
13203
ItemExpectation
.Exists("M"),
13215
ItemExpectation
.Exists("A"),
13216
ItemExpectation
.Exists("B"),
13217
ItemExpectation
.Exists("C"),
13218
ItemExpectation
.Absent("D"),
13219
ItemExpectation
.Absent("M"),
13220
ItemExpectation
.Exists("R"),
13232
ItemExpectation
.Exists("A"),
13233
ItemExpectation
.Exists("B"),
13234
ItemExpectation
.Exists("C"),
13235
ItemExpectation
.Exists("D"),
13236
ItemExpectation
.Absent("M"),
13237
ItemExpectation
.Absent("R"),
13249
ItemExpectation
.Exists("A"),
13250
ItemExpectation
.Exists("B"),
13251
ItemExpectation
.Exists("C"),
13252
ItemExpectation
.Exists("D"),
13253
ItemExpectation
.Exists("E"),
13254
ItemExpectation
.Exists("M"),
13255
ItemExpectation
.Exists("R"),
13256
ItemExpectation
.Exists("ToString"),
13268
ItemExpectation
.Exists("A"),
13269
ItemExpectation
.Exists("B"),
13270
ItemExpectation
.Exists("D"),
13271
ItemExpectation
.Exists("E"),
13272
ItemExpectation
.Exists("M"),
13284
ItemExpectation
.Exists("A"),
13285
ItemExpectation
.Exists("B"),
13286
ItemExpectation
.Exists("C"),
13287
ItemExpectation
.Exists("D"),
13288
ItemExpectation
.Exists("E"),
13289
ItemExpectation
.Exists("M"),
13290
ItemExpectation
.Exists("R"),
13302
ItemExpectation
.Exists("A"),
13303
ItemExpectation
.Exists("B"),
13304
ItemExpectation
.Exists("C"),
13305
ItemExpectation
.Absent("D"),
13306
ItemExpectation
.Absent("M"),
13307
ItemExpectation
.Exists("R"),
13319
ItemExpectation
.Exists("A"),
13320
ItemExpectation
.Exists("B"),
13321
ItemExpectation
.Exists("C"),
13322
ItemExpectation
.Absent("D"),
13323
ItemExpectation
.Absent("M"),
13324
ItemExpectation
.Exists("R"),
13336
ItemExpectation
.Exists("Length"),
13337
ItemExpectation
.Absent("Constants"),
13349
ItemExpectation
.Exists("Constants"),
13350
ItemExpectation
.Absent("InstanceProperty"),
13351
ItemExpectation
.Absent("P"),
13596
ItemExpectation
.Exists("Undisclosed"),
13597
ItemExpectation
.Absent("ToString"),
13627
ItemExpectation
.Exists("Undisclosed"),
13628
ItemExpectation
.Absent("ToString"),
13660
ItemExpectation
.Exists("StatusEn"),
13661
ItemExpectation
.Absent("ToString"),
13693
ItemExpectation
.Exists("Undisclosed"),
13694
ItemExpectation
.Absent("ToString"),
13727
ItemExpectation
.Exists("Undisclosed"),
13728
ItemExpectation
.Absent("ToString"),
13756
ItemExpectation
.Exists("Undisclosed"),
13757
ItemExpectation
.Absent("ToString"),
13785
ItemExpectation
.Exists("Undisclosed"),
13786
ItemExpectation
.Absent("ToString"),
13816
ItemExpectation
.Exists("StatusEn"),
13817
ItemExpectation
.Absent("ToString"),
13847
ItemExpectation
.Exists("Undisclosed"),
13848
ItemExpectation
.Absent("ToString"),
13879
ItemExpectation
.Exists("Undisclosed"),
13880
ItemExpectation
.Absent("ToString"),
14077
ItemExpectation
.Absent("X"),
14078
ItemExpectation
.Absent("Y"),
14099
ItemExpectation
.Absent("X"),
14100
ItemExpectation
.Absent("Y"),
14123
ItemExpectation
.Absent("X"),
14124
ItemExpectation
.Absent("Y"),
14144
ItemExpectation
.Exists("X"),
14145
ItemExpectation
.Exists("Y"),
14166
ItemExpectation
.Exists("X"),
14167
ItemExpectation
.Exists("Y"),
14190
ItemExpectation
.Exists("X"),
14191
ItemExpectation
.Exists("Y"),
14213
ItemExpectation
.Absent("X"),
14214
ItemExpectation
.Exists("Y"),
14236
ItemExpectation
.Exists("X"),
14237
ItemExpectation
.Exists("Y"),
14250
ItemExpectation
.Exists("C"),
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (23)
Completion\AbstractCompletionProviderTests.cs (23)
129
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
152
var
expectedResult = new ItemExpectation(
170
ItemExpectation
[] expectedResults,
205
foreach (
var
result in expectedResults)
284
public static
ItemExpectation
[] None = CreateGeneralMatchingArray(true);
285
public static
ItemExpectation
[] Any = CreateGeneralMatchingArray(false);
287
private static
ItemExpectation
[] CreateGeneralMatchingArray(bool absent)
292
public static
ItemExpectation
Exists(string name)
296
public static
ItemExpectation
Absent(string name)
341
ItemExpectation
[] results, bool? hasSuggestionModeItem,
461
markup, results:
ItemExpectation
.Any, sourceCodeKind, usePreviousCharAsTrigger: usePreviousCharAsTrigger,
469
markup, results:
ItemExpectation
.None, sourceCodeKind, usePreviousCharAsTrigger: usePreviousCharAsTrigger,
473
string markup,
ItemExpectation
[] results,
505
var
expectedResult = new ItemExpectation(
531
ItemExpectation
[] expectedResults,
565
ItemExpectation
[] expectedResults,
1069
ItemExpectation
[] expectedResults,
1082
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
1090
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults, string partialItem,
1144
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
1163
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
1171
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults,
1217
SourceCodeKind sourceCodeKind,
ItemExpectation
[] expectedResults, string partialItem,