1038 references to VerifyItemExistsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1038)
Completion\CompletionProviders\AppDirectiveCompletionProviderTests.cs (6)
70
await
VerifyItemExistsAsync
(markup, expectedItem: "SubDirectory");
100
await
VerifyItemExistsAsync
(markup, expectedItem: "Project.csproj");
123
=>
VerifyItemExistsAsync
(GetMarkup("""
141
=>
VerifyItemExistsAsync
(GetMarkup("""
159
=>
VerifyItemExistsAsync
(GetMarkup("""
165
=>
VerifyItemExistsAsync
(GetMarkup("""
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (6)
68
=>
VerifyItemExistsAsync
("""
86
=>
VerifyItemExistsAsync
("""
123
await
VerifyItemExistsAsync
(markup, "Text", displayTextSuffix: " =");
129
=>
VerifyItemExistsAsync
("""
144
=>
VerifyItemExistsAsync
("""
159
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\AwaitCompletionProviderTests.cs (4)
49
await
VerifyItemExistsAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwait, glyph: Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription);
54
await
VerifyItemExistsAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait, glyph: Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription);
324
await
VerifyItemExistsAsync
(markup, "await");
325
await
VerifyItemExistsAsync
(markup, "awaitf");
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (14)
90
=>
VerifyItemExistsAsync
("""
108
=>
VerifyItemExistsAsync
("""
142
? (markup, expectedItem) =>
VerifyItemExistsAsync
(markup, expectedItem, displayTextPrefix: "(", displayTextSuffix: ")")
331
=>
VerifyItemExistsAsync
("""
347
=>
VerifyItemExistsAsync
("""
375
=>
VerifyItemExistsAsync
("""
433
=>
VerifyItemExistsAsync
("""
453
=>
VerifyItemExistsAsync
("""
493
=>
VerifyItemExistsAsync
("""
514
=>
VerifyItemExistsAsync
("""
535
=>
VerifyItemExistsAsync
("""
569
? markup =>
VerifyItemExistsAsync
(markup, "int", displayTextPrefix: "(", displayTextSuffix: ")")
586
=>
VerifyItemExistsAsync
("""
607
=>
VerifyItemExistsAsync
($$"""
Completion\CompletionProviders\CrefCompletionProviderTests.cs (37)
66
=>
VerifyItemExistsAsync
("""
79
=>
VerifyItemExistsAsync
("""
108
await
VerifyItemExistsAsync
(text, "int");
113
=>
VerifyItemExistsAsync
("""
128
=>
VerifyItemExistsAsync
("""
147
=>
VerifyItemExistsAsync
("""
160
=>
VerifyItemExistsAsync
("""
179
await
VerifyItemExistsAsync
(text, "M(int)");
180
await
VerifyItemExistsAsync
(text, "M(ref long)");
181
await
VerifyItemExistsAsync
(text, "M{T}(T)");
186
=>
VerifyItemExistsAsync
("""
212
await
VerifyItemExistsAsync
(text, "C()");
213
await
VerifyItemExistsAsync
(text, "C(T)");
214
await
VerifyItemExistsAsync
(text, "C(int)");
219
=>
VerifyItemExistsAsync
("""
232
=>
VerifyItemExistsAsync
("""
275
await
VerifyItemExistsAsync
(text, "operator !(Test)");
276
await
VerifyItemExistsAsync
(text, "operator +(Test, Test)");
277
await
VerifyItemExistsAsync
(text, "operator true(Test)");
278
await
VerifyItemExistsAsync
(text, "operator false(Test)");
283
=>
VerifyItemExistsAsync
("""
321
await
VerifyItemExistsAsync
(text, "M(ref int)");
322
await
VerifyItemExistsAsync
(text, "M(out long)");
352
await
VerifyItemExistsAsync
(text, "N");
353
await
VerifyItemExistsAsync
(text, "C");
430
await
VerifyItemExistsAsync
(text, "uint");
431
await
VerifyItemExistsAsync
(text, "UInt32");
447
=>
VerifyItemExistsAsync
("""
458
=>
VerifyItemExistsAsync
($$"""
469
=>
VerifyItemExistsAsync
("""
481
=>
VerifyItemExistsAsync
("""
493
=>
VerifyItemExistsAsync
("""
507
=>
VerifyItemExistsAsync
("""
535
await
VerifyItemExistsAsync
(text, "Dispose()");
536
await
VerifyItemExistsAsync
(text, "Dispose(bool)");
555
await
VerifyItemExistsAsync
(text, "Dispose()");
556
await
VerifyItemExistsAsync
(text, "Dispose(bool)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (207)
339
=>
VerifyItemExistsAsync
($$"""
368
await
VerifyItemExistsAsync
(markup, "myClass", glyph: Glyph.FieldPublic);
369
await
VerifyItemExistsAsync
(markup, "MyClass", glyph: Glyph.PropertyPublic);
370
await
VerifyItemExistsAsync
(markup, "GetMyClass", glyph: Glyph.MethodPublic);
375
=>
VerifyItemExistsAsync
("""
385
=>
VerifyItemExistsAsync
("""
402
await
VerifyItemExistsAsync
(markup, "GetC");
417
await
VerifyItemExistsAsync
(markup, "cancellationToken");
418
await
VerifyItemExistsAsync
(markup, "cancellation");
419
await
VerifyItemExistsAsync
(markup, "token");
424
=>
VerifyItemExistsAsync
("""
434
=>
VerifyItemExistsAsync
("""
444
=>
VerifyItemExistsAsync
("""
462
await
VerifyItemExistsAsync
(markup, "Some");
463
await
VerifyItemExistsAsync
(markup, "SomeWonderfully");
464
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLong");
465
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLongClass");
466
await
VerifyItemExistsAsync
(markup, "Name");
467
await
VerifyItemExistsAsync
(markup, "ClassName");
468
await
VerifyItemExistsAsync
(markup, "LongClassName");
469
await
VerifyItemExistsAsync
(markup, "WonderfullyLongClassName");
470
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLongClassName");
475
=>
VerifyItemExistsAsync
("""
485
=>
VerifyItemExistsAsync
("""
495
=>
VerifyItemExistsAsync
("""
505
=>
VerifyItemExistsAsync
("""
516
=>
VerifyItemExistsAsync
("""
526
=>
VerifyItemExistsAsync
("""
535
=>
VerifyItemExistsAsync
("""
543
=>
VerifyItemExistsAsync
("""
554
=>
VerifyItemExistsAsync
("""
580
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: Glyph.Parameter);
581
await
VerifyItemExistsAsync
(markup, "db", glyph: Glyph.Parameter);
585
await
VerifyItemExistsAsync
(markup, "context", glyph: Glyph.Parameter);
589
await
VerifyItemExistsAsync
(markup, "context1", glyph: Glyph.Parameter);
611
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: Glyph.Parameter);
612
await
VerifyItemExistsAsync
(markup, "db", glyph: Glyph.Parameter);
616
await
VerifyItemExistsAsync
(markup, "context", glyph: Glyph.Parameter);
620
await
VerifyItemExistsAsync
(markup, "context1", glyph: Glyph.Parameter);
642
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: Glyph.Parameter);
643
await
VerifyItemExistsAsync
(markup, "db", glyph: Glyph.Parameter);
647
await
VerifyItemExistsAsync
(markup, "context", glyph: Glyph.Parameter);
651
await
VerifyItemExistsAsync
(markup, "context1", glyph: Glyph.Parameter);
673
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: Glyph.Parameter);
689
await
VerifyItemExistsAsync
(markup, "myTok", glyph: Glyph.Parameter);
690
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: Glyph.Parameter);
705
await
VerifyItemExistsAsync
(markup, "middleName", glyph: Glyph.Parameter);
706
await
VerifyItemExistsAsync
(markup, "lastName", glyph: Glyph.Parameter);
732
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: Glyph.Parameter);
770
await
VerifyItemExistsAsync
(markup, "stringBuilder", glyph: Glyph.Parameter);
771
await
VerifyItemExistsAsync
(markup, "@string", glyph: Glyph.Parameter);
772
await
VerifyItemExistsAsync
(markup, "builder", glyph: Glyph.Parameter);
777
=>
VerifyItemExistsAsync
("""
787
=>
VerifyItemExistsAsync
("""
811
await
VerifyItemExistsAsync
(markup, "stringBuilder");
812
await
VerifyItemExistsAsync
(markup, "@string");
813
await
VerifyItemExistsAsync
(markup, "builder");
830
await
VerifyItemExistsAsync
(markup, "item");
831
await
VerifyItemExistsAsync
(markup, "Item");
832
await
VerifyItemExistsAsync
(markup, "GetItem");
849
await
VerifyItemExistsAsync
(markup, "items");
850
await
VerifyItemExistsAsync
(markup, "Items");
851
await
VerifyItemExistsAsync
(markup, "GetItems");
866
await
VerifyItemExistsAsync
(markup, "Func");
867
await
VerifyItemExistsAsync
(markup, "func");
869
await
VerifyItemExistsAsync
(markup, "factory");
870
await
VerifyItemExistsAsync
(markup, "stringFactory");
871
await
VerifyItemExistsAsync
(markup, "selector");
886
await
VerifyItemExistsAsync
(markup, "Func");
887
await
VerifyItemExistsAsync
(markup, "func");
889
await
VerifyItemExistsAsync
(markup, "factory");
890
await
VerifyItemExistsAsync
(markup, "stringFactory");
891
await
VerifyItemExistsAsync
(markup, "selector");
908
await
VerifyItemExistsAsync
(markup, "Func");
909
await
VerifyItemExistsAsync
(markup, "func");
911
await
VerifyItemExistsAsync
(markup, "factory");
912
await
VerifyItemExistsAsync
(markup, "customerFactory");
913
await
VerifyItemExistsAsync
(markup, "selector");
930
await
VerifyItemExistsAsync
(markup, "func", glyph: Glyph.Parameter);
932
await
VerifyItemExistsAsync
(markup, "factory", glyph: Glyph.Parameter);
933
await
VerifyItemExistsAsync
(markup, "itemFactory", glyph: Glyph.Parameter);
934
await
VerifyItemExistsAsync
(markup, "selector", glyph: Glyph.Parameter);
954
await
VerifyItemExistsAsync
(markup, "func");
956
await
VerifyItemExistsAsync
(markup, "factory");
957
await
VerifyItemExistsAsync
(markup, "resultFactory");
958
await
VerifyItemExistsAsync
(markup, "selector");
1113
await
VerifyItemExistsAsync
(markup, "MyClasses");
1137
=>
VerifyItemExistsAsync
("""
1180
await
VerifyItemExistsAsync
(markup, "myClass", glyph: Glyph.FieldPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1181
await
VerifyItemExistsAsync
(markup, "MyClass", glyph: Glyph.PropertyPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1182
await
VerifyItemExistsAsync
(markup, "GetMyClass", glyph: Glyph.MethodPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1197
await
VerifyItemExistsAsync
(markup, "myClass", glyph: Glyph.Local, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1212
await
VerifyItemExistsAsync
(markup, "my");
1213
await
VerifyItemExistsAsync
(markup, "type");
1214
await
VerifyItemExistsAsync
(markup, "myType");
1226
await
VerifyItemExistsAsync
(markup, "my");
1227
await
VerifyItemExistsAsync
(markup, "type");
1228
await
VerifyItemExistsAsync
(markup, "myType");
1253
=>
VerifyItemExistsAsync
("""
1265
=>
VerifyItemExistsAsync
("""
1277
=>
VerifyItemExistsAsync
("""
1289
=>
VerifyItemExistsAsync
("""
1313
=>
VerifyItemExistsAsync
("""
1325
=>
VerifyItemExistsAsync
("""
1337
=>
VerifyItemExistsAsync
("""
1349
=>
VerifyItemExistsAsync
("""
1358
=>
VerifyItemExistsAsync
("""
1367
=>
VerifyItemExistsAsync
("""
1376
=>
VerifyItemExistsAsync
("""
1385
=>
VerifyItemExistsAsync
("""
1394
=>
VerifyItemExistsAsync
("""
1416
=>
VerifyItemExistsAsync
("""
1441
=>
VerifyItemExistsAsync
("""
1467
=>
VerifyItemExistsAsync
("""
1479
=>
VerifyItemExistsAsync
("""
1505
=>
VerifyItemExistsAsync
("""
1517
=>
VerifyItemExistsAsync
("""
1530
=>
VerifyItemExistsAsync
("""
1543
=>
VerifyItemExistsAsync
("""
1556
=>
VerifyItemExistsAsync
("""
1569
=>
VerifyItemExistsAsync
("""
1579
=>
VerifyItemExistsAsync
("""
1598
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1599
await
VerifyItemExistsAsync
(markup, "cancellations");
1600
await
VerifyItemExistsAsync
(markup, "tokens");
1614
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1615
await
VerifyItemExistsAsync
(markup, "cancellations");
1616
await
VerifyItemExistsAsync
(markup, "tokens");
1630
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1631
await
VerifyItemExistsAsync
(markup, "cancellations");
1632
await
VerifyItemExistsAsync
(markup, "tokens");
1646
await
VerifyItemExistsAsync
(markup, "tests");
1651
=>
VerifyItemExistsAsync
("""
1676
=>
VerifyItemExistsAsync
("""
1703
=>
VerifyItemExistsAsync
("""
1733
await
VerifyItemExistsAsync
(markup, "myClasses");
1751
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1752
await
VerifyItemExistsAsync
(markup, "cancellation");
1753
await
VerifyItemExistsAsync
(markup, "token");
1771
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1772
await
VerifyItemExistsAsync
(markup, "cancellation");
1773
await
VerifyItemExistsAsync
(markup, "token");
1794
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1795
await
VerifyItemExistsAsync
(markup, "cancellation");
1796
await
VerifyItemExistsAsync
(markup, "token");
1814
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1815
await
VerifyItemExistsAsync
(markup, "cancellation");
1833
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1834
await
VerifyItemExistsAsync
(markup, "token");
1855
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1856
await
VerifyItemExistsAsync
(markup, "token");
1861
=>
VerifyItemExistsAsync
("""
1875
=>
VerifyItemExistsAsync
("""
1889
=>
VerifyItemExistsAsync
("""
1903
=>
VerifyItemExistsAsync
("""
1931
=>
VerifyItemExistsAsync
("""
1945
=>
VerifyItemExistsAsync
("""
1959
=>
VerifyItemExistsAsync
("""
1985
=>
VerifyItemExistsAsync
("""
2002
=>
VerifyItemExistsAsync
("""
2019
=>
VerifyItemExistsAsync
("""
2035
=>
VerifyItemExistsAsync
("""
2054
=>
VerifyItemExistsAsync
("""
2071
=>
VerifyItemExistsAsync
("""
2088
=>
VerifyItemExistsAsync
("""
2107
=>
VerifyItemExistsAsync
("""
2123
=>
VerifyItemExistsAsync
("""
2140
=>
VerifyItemExistsAsync
("""
2157
=>
VerifyItemExistsAsync
("""
2174
=>
VerifyItemExistsAsync
("""
2190
=>
VerifyItemExistsAsync
("""
2204
=>
VerifyItemExistsAsync
("""
2219
=>
VerifyItemExistsAsync
("""
2232
=>
VerifyItemExistsAsync
("""
2245
=>
VerifyItemExistsAsync
("""
2258
=>
VerifyItemExistsAsync
("""
2271
=>
VerifyItemExistsAsync
("""
2284
=>
VerifyItemExistsAsync
("""
2297
=>
VerifyItemExistsAsync
("""
2326
await
VerifyItemExistsAsync
(markup, "ConfigurationField", glyph: Glyph.FieldPublic,
2328
await
VerifyItemExistsAsync
(markup, "ConfigurationProperty", glyph: Glyph.PropertyPublic,
2330
await
VerifyItemExistsAsync
(markup, "ConfigurationMethod", glyph: Glyph.MethodPublic,
2357
await
VerifyItemExistsAsync
(markup, "ConfigurationLocal", glyph: Glyph.Local,
2359
await
VerifyItemExistsAsync
(markup, "ConfigurationLocalFunction", glyph: Glyph.MethodPublic,
2386
await
VerifyItemExistsAsync
(markup, "classB1", glyph: Glyph.Local,
2405
await
VerifyItemExistsAsync
(markup, "classB1", glyph: Glyph.Local,
2411
=>
VerifyItemExistsAsync
("""
2428
=>
VerifyItemExistsAsync
("""
2459
await
VerifyItemExistsAsync
(markup, "classB1", glyph: Glyph.Local,
2481
await
VerifyItemExistsAsync
(markup, "classB2", glyph: Glyph.Local,
2504
await
VerifyItemExistsAsync
(markup, "classB1", glyph: Glyph.Local,
2510
=>
VerifyItemExistsAsync
("""
2523
=>
VerifyItemExistsAsync
("""
2563
await
VerifyItemExistsAsync
(markup, "classB", glyph: Glyph.Parameter,
2638
=>
VerifyItemExistsAsync
("""
2653
=>
VerifyItemExistsAsync
("""
2671
=>
VerifyItemExistsAsync
("""
2689
=>
VerifyItemExistsAsync
("""
2733
await
VerifyItemExistsAsync
("""
2774
await
VerifyItemExistsAsync
(markup, "interestingName");
2775
await
VerifyItemExistsAsync
(markup, "cancellationToken");
2780
=>
VerifyItemExistsAsync
("""
2805
=>
VerifyItemExistsAsync
("""
2818
=>
VerifyItemExistsAsync
("""
2831
=>
VerifyItemExistsAsync
("""
2847
=>
VerifyItemExistsAsync
("""
2859
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (63)
50
await
VerifyItemExistsAsync
(markup + colors, "Colors");
206
await
VerifyItemExistsAsync
(markup, typeName);
234
await
VerifyItemExistsAsync
(markup, typeName);
260
await
VerifyItemExistsAsync
(markup, typeName);
284
await
VerifyItemExistsAsync
(markup, typeName);
308
await
VerifyItemExistsAsync
(markup, typeName);
445
await
VerifyItemExistsAsync
(markup, typeName);
470
await
VerifyItemExistsAsync
(markup, typeName);
497
=>
VerifyItemExistsAsync
("""
518
=>
VerifyItemExistsAsync
("""
627
await
VerifyItemExistsAsync
(markup, "TypeContainer");
628
await
VerifyItemExistsAsync
(markup, "TypeContainer.Foo1");
629
await
VerifyItemExistsAsync
(markup, "TypeContainer.Foo2");
649
await
VerifyItemExistsAsync
(markup, "D");
675
await
VerifyItemExistsAsync
(markup, "D");
705
await
VerifyItemExistsAsync
(markup, "D");
767
await
VerifyItemExistsAsync
(markup + colors, "Colors");
798
await
VerifyItemExistsAsync
(markup + colors, "Colors");
897
=>
VerifyItemExistsAsync
("""
914
=>
VerifyItemExistsAsync
("""
931
=>
VerifyItemExistsAsync
("""
948
=>
VerifyItemExistsAsync
("""
965
=>
VerifyItemExistsAsync
("""
982
=>
VerifyItemExistsAsync
("""
1011
=>
VerifyItemExistsAsync
("""
1067
=>
VerifyItemExistsAsync
("""
1306
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: true);
1307
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: false);
1309
await
VerifyItemExistsAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: false);
1342
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: true);
1343
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: false);
1345
await
VerifyItemExistsAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: false);
1382
await
VerifyItemExistsAsync
(e + markup, "E.A", usePreviousCharAsTrigger: true);
1383
await
VerifyItemExistsAsync
(e + markup, "E.A", usePreviousCharAsTrigger: false);
1385
await
VerifyItemExistsAsync
(eLike + markup, "E.A", usePreviousCharAsTrigger: false);
1392
=>
VerifyItemExistsAsync
($$"""
1409
=>
VerifyItemExistsAsync
($$"""
1427
=>
VerifyItemExistsAsync
($$"""
1453
=>
VerifyItemExistsAsync
($$"""
1503
await
VerifyItemExistsAsync
(markup, $"{typeName}.A", usePreviousCharAsTrigger: true);
1507
await
VerifyItemExistsAsync
(markup, $"{typeName}.A", usePreviousCharAsTrigger: false);
1561
await
VerifyItemExistsAsync
(markup, "DayOfWeek.A");
1562
await
VerifyItemExistsAsync
(markup, "DayOfWeek.B");
1583
await
VerifyItemExistsAsync
(markup, "E.A");
1589
=>
VerifyItemExistsAsync
("""
1678
=>
VerifyItemExistsAsync
($$"""
1698
=>
VerifyItemExistsAsync
($$"""
1717
=>
VerifyItemExistsAsync
("""
1772
await
VerifyItemExistsAsync
(markup, "Color.Red");
1773
await
VerifyItemExistsAsync
(markup, "Palette.AccentColor1");
1775
await
VerifyItemExistsAsync
(markup, "ColorLike.Red");
1776
await
VerifyItemExistsAsync
(markup, "PaletteLike.AccentColor1");
1784
=>
VerifyItemExistsAsync
($$"""
1803
=>
VerifyItemExistsAsync
($$"""
1849
await
VerifyItemExistsAsync
(markup, "Color.Red");
1866
=>
VerifyItemExistsAsync
($$"""
1906
=>
VerifyItemExistsAsync
("""
1928
=>
VerifyItemExistsAsync
("""
1967
await
VerifyItemExistsAsync
(markup, "Color.Red");
1990
await
VerifyItemExistsAsync
(markup, "Color.Red");
2027
await
VerifyItemExistsAsync
(markup, "Color.Red");
2040
=>
VerifyItemExistsAsync
($$"""
2057
=>
VerifyItemExistsAsync
($$"""
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (32)
40
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
41
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
42
await
VerifyItemExistsAsync
(markup, "Prop");
43
await
VerifyItemExistsAsync
(markup, "Generic", displayTextSuffix: "<K, V>(K key, V value)");
44
await
VerifyItemExistsAsync
(markup, "this", displayTextSuffix: "[int i]");
45
await
VerifyItemExistsAsync
(markup, "With_Underscore", displayTextSuffix: "()");
65
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
66
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
67
await
VerifyItemExistsAsync
(markup, "Prop");
87
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
88
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
89
await
VerifyItemExistsAsync
(markup, "Prop");
109
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
110
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
111
await
VerifyItemExistsAsync
(markup, "Prop");
195
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
196
await
VerifyItemExistsAsync
(markup, "Prop");
220
await
VerifyItemExistsAsync
(markup, "Foo", displayTextSuffix: "()");
221
await
VerifyItemExistsAsync
(markup, "Prop");
222
await
VerifyItemExistsAsync
(markup, "TestEvent");
370
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
371
await
VerifyItemExistsAsync
(markup, "Prop2");
407
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
408
await
VerifyItemExistsAsync
(markup, "Prop2");
1091
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
1092
await
VerifyItemExistsAsync
(markup, "StaticGoo", displayTextSuffix: "()");
1131
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
1132
await
VerifyItemExistsAsync
(markup, "StaticGoo", displayTextSuffix: "()");
1385
await
VerifyItemExistsAsync
(markup, "Method", displayTextSuffix: "()");
1452
await
VerifyItemExistsAsync
(markup, "Method1", displayTextSuffix: "()");
1453
await
VerifyItemExistsAsync
(markup, "Method2", displayTextSuffix: "()");
1575
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\ExplicitInterfaceTypeCompletionProviderTests.cs (40)
32
await
VerifyItemExistsAsync
(markup, "IEnumerable");
33
await
VerifyItemExistsAsync
(markup, "ICollection");
34
await
VerifyItemExistsAsync
(markup, "IList");
59
await
VerifyItemExistsAsync
(markup, "IEnumerable");
60
await
VerifyItemExistsAsync
(markup, "ICollection");
61
await
VerifyItemExistsAsync
(markup, "IList");
86
await
VerifyItemExistsAsync
(markup, "IEnumerable");
87
await
VerifyItemExistsAsync
(markup, "ICollection");
88
await
VerifyItemExistsAsync
(markup, "IList");
105
await
VerifyItemExistsAsync
(markup, "IEnumerable");
106
await
VerifyItemExistsAsync
(markup, "ICollection");
107
await
VerifyItemExistsAsync
(markup, "IList");
124
await
VerifyItemExistsAsync
(markup, "IEnumerable");
125
await
VerifyItemExistsAsync
(markup, "ICollection");
126
await
VerifyItemExistsAsync
(markup, "IList");
143
await
VerifyItemExistsAsync
(markup, "IEnumerable");
144
await
VerifyItemExistsAsync
(markup, "ICollection");
145
await
VerifyItemExistsAsync
(markup, "IList");
162
await
VerifyItemExistsAsync
(markup, "IEnumerable");
163
await
VerifyItemExistsAsync
(markup, "ICollection");
164
await
VerifyItemExistsAsync
(markup, "IList");
184
await
VerifyItemExistsAsync
(markup, "IEnumerable");
185
await
VerifyItemExistsAsync
(markup, "ICollection");
186
await
VerifyItemExistsAsync
(markup, "IList");
205
await
VerifyItemExistsAsync
(markup, "IEnumerable");
206
await
VerifyItemExistsAsync
(markup, "ICollection");
207
await
VerifyItemExistsAsync
(markup, "IList");
226
await
VerifyItemExistsAsync
(markup, "IEnumerable");
227
await
VerifyItemExistsAsync
(markup, "ICollection");
228
await
VerifyItemExistsAsync
(markup, "IList");
247
await
VerifyItemExistsAsync
(markup, "IEnumerable");
248
await
VerifyItemExistsAsync
(markup, "ICollection");
249
await
VerifyItemExistsAsync
(markup, "IList");
290
await
VerifyItemExistsAsync
(markup, "IEnumerable");
291
await
VerifyItemExistsAsync
(markup, "ICollection");
292
await
VerifyItemExistsAsync
(markup, "IList");
311
await
VerifyItemExistsAsync
(markup, "IGoo");
316
=>
VerifyItemExistsAsync
("""
330
=>
VerifyItemExistsAsync
("""
344
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\ExtensionMemberImportCompletionProviderTests.cs (9)
97
=>
VerifyItemExistsAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, matchingFilters: expectedFilters);
2082
=>
VerifyItemExistsAsync
(
2110
=>
VerifyItemExistsAsync
(
2138
=>
VerifyItemExistsAsync
(
2170
=>
VerifyItemExistsAsync
(
2198
=>
VerifyItemExistsAsync
(
2226
=>
VerifyItemExistsAsync
(
2258
=>
VerifyItemExistsAsync
(
2294
=>
VerifyItemExistsAsync
(
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProviderTests.cs (3)
22
=>
VerifyItemExistsAsync
("""
36
=>
VerifyItemExistsAsync
("""
54
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\IndexerCompletionProviderTests.cs (5)
23
=>
VerifyItemExistsAsync
("""
41
=>
VerifyItemExistsAsync
("""
246
=>
VerifyItemExistsAsync
("""
279
=>
VerifyItemExistsAsync
("""
321
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (42)
292
await
VerifyItemExistsAsync
(text, "int");
293
await
VerifyItemExistsAsync
(text, "string");
294
await
VerifyItemExistsAsync
(text, "byte");
295
await
VerifyItemExistsAsync
(text, "char");
308
await
VerifyItemExistsAsync
(text, "private");
309
await
VerifyItemExistsAsync
(text, "protected");
314
=>
VerifyItemExistsAsync
("""
323
=>
VerifyItemExistsAsync
("""
351
=>
VerifyItemExistsAsync
("""
378
await
VerifyItemExistsAsync
(markup, "readonly");
404
await
VerifyItemExistsAsync
(markup, "readonly");
430
await
VerifyItemExistsAsync
(markup, "readonly");
456
await
VerifyItemExistsAsync
(markup, "readonly");
476
await
VerifyItemExistsAsync
(markup, "get");
477
await
VerifyItemExistsAsync
(markup, "set");
484
=>
VerifyItemExistsAsync
("""
507
await
VerifyItemExistsAsync
(markup, "new");
508
await
VerifyItemExistsAsync
(markup, "this");
509
await
VerifyItemExistsAsync
(markup, "null");
510
await
VerifyItemExistsAsync
(markup, "base");
511
await
VerifyItemExistsAsync
(markup, "true");
512
await
VerifyItemExistsAsync
(markup, "false");
513
await
VerifyItemExistsAsync
(markup, "typeof");
514
await
VerifyItemExistsAsync
(markup, "sizeof");
515
await
VerifyItemExistsAsync
(markup, "nameof");
558
await
VerifyItemExistsAsync
(markup, "new");
559
await
VerifyItemExistsAsync
(markup, "this");
560
await
VerifyItemExistsAsync
(markup, "null");
561
await
VerifyItemExistsAsync
(markup, "base");
562
await
VerifyItemExistsAsync
(markup, "true");
563
await
VerifyItemExistsAsync
(markup, "false");
564
await
VerifyItemExistsAsync
(markup, "typeof");
565
await
VerifyItemExistsAsync
(markup, "sizeof");
566
await
VerifyItemExistsAsync
(markup, "nameof");
576
=>
VerifyItemExistsAsync
($$"""
622
=>
VerifyItemExistsAsync
($$"""
634
=>
VerifyItemExistsAsync
($$"""
640
=>
VerifyItemExistsAsync
($$"""
648
=>
VerifyItemExistsAsync
($$"""
692
=>
VerifyItemExistsAsync
($$"""
700
=>
VerifyItemExistsAsync
($$"""
709
=>
VerifyItemExistsAsync
($$"""
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (22)
60
=>
VerifyItemExistsAsync
("""
75
=>
VerifyItemExistsAsync
("""
90
=>
VerifyItemExistsAsync
("""
102
=>
VerifyItemExistsAsync
("""
114
=>
VerifyItemExistsAsync
("""
158
await
VerifyItemExistsAsync
(markup, "declaring", displayTextSuffix: ":");
179
await
VerifyItemExistsAsync
(markup, "declaring", displayTextSuffix: ":");
227
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
250
await
VerifyItemExistsAsync
(markup, "boolean", displayTextSuffix: ":");
251
await
VerifyItemExistsAsync
(markup, "character", displayTextSuffix: ":");
281
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
282
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
283
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
310
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
311
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
312
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
341
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
342
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
349
=>
VerifyItemExistsAsync
("""
361
=>
VerifyItemExistsAsync
("""
380
=>
VerifyItemExistsAsync
("""
400
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (24)
25
=>
VerifyItemExistsAsync
("""
60
=>
VerifyItemExistsAsync
("""
75
=>
VerifyItemExistsAsync
("""
91
=>
VerifyItemExistsAsync
(MakeMarkup("""
150
=>
VerifyItemExistsAsync
("""
163
=>
VerifyItemExistsAsync
("""
201
=>
VerifyItemExistsAsync
("""
222
=>
VerifyItemExistsAsync
("""
235
=>
VerifyItemExistsAsync
("""
249
=>
VerifyItemExistsAsync
("""
263
=>
VerifyItemExistsAsync
("""
365
=>
VerifyItemExistsAsync
("""
374
=>
VerifyItemExistsAsync
("""
383
=>
VerifyItemExistsAsync
("""
395
=>
VerifyItemExistsAsync
("""
415
=>
VerifyItemExistsAsync
("""
435
=>
VerifyItemExistsAsync
("""
456
=>
VerifyItemExistsAsync
("""
472
=>
VerifyItemExistsAsync
("""
488
=>
VerifyItemExistsAsync
("""
509
=>
VerifyItemExistsAsync
("""
529
=>
VerifyItemExistsAsync
("""
546
=>
VerifyItemExistsAsync
("""
563
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (46)
78
await
VerifyItemExistsAsync
(markup, "value");
98
await
VerifyItemExistsAsync
(markup, "value");
118
await
VerifyItemExistsAsync
(markup, "value");
138
await
VerifyItemExistsAsync
(markup, "value");
158
await
VerifyItemExistsAsync
(markup, "value");
182
await
VerifyItemExistsAsync
(markup, "value");
183
await
VerifyItemExistsAsync
(markup, "otherValue");
219
await
VerifyItemExistsAsync
(markup, "Start");
220
await
VerifyItemExistsAsync
(markup, "End");
245
await
VerifyItemExistsAsync
(markup, "otherValue");
313
await
VerifyItemExistsAsync
(markup, "value");
314
await
VerifyItemExistsAsync
(markup, "otherValue");
414
await
VerifyItemExistsAsync
(markup, "GooBase");
415
await
VerifyItemExistsAsync
(markup, "GooDerived");
416
await
VerifyItemExistsAsync
(markup, "BasePublic");
435
=>
VerifyItemExistsAsync
("""
467
await
VerifyItemExistsAsync
(markup, "Capacity");
485
await
VerifyItemExistsAsync
(markup, "Capacity");
507
await
VerifyItemExistsAsync
(markup, "bar");
741
await
VerifyItemExistsAsync
(markup, "S");
742
await
VerifyItemExistsAsync
(markup, "D");
785
await
VerifyItemExistsAsync
(markup, "S");
786
await
VerifyItemExistsAsync
(markup, "D");
810
await
VerifyItemExistsAsync
(markup, "Items");
811
await
VerifyItemExistsAsync
(markup, "Bar");
837
await
VerifyItemExistsAsync
(markup, "Items");
838
await
VerifyItemExistsAsync
(markup, "Bar");
877
await
VerifyItemExistsAsync
(markup, "S");
878
await
VerifyItemExistsAsync
(markup, "D");
883
=>
VerifyItemExistsAsync
("""
926
await
VerifyItemExistsAsync
(markup, "A");
927
await
VerifyItemExistsAsync
(markup, "B");
964
await
VerifyItemExistsAsync
(markup, "Method");
1065
await
VerifyItemExistsAsync
(markup, "@new");
1066
await
VerifyItemExistsAsync
(markup, "@this");
1067
await
VerifyItemExistsAsync
(markup, "now");
1092
await
VerifyItemExistsAsync
(markup, "RequiredField", inlineDescription: FeaturesResources.Required, matchPriority: MatchPriority.Preselect);
1093
await
VerifyItemExistsAsync
(markup, "RequiredProperty", inlineDescription: FeaturesResources.Required);
1115
await
VerifyItemExistsAsync
(markup, "RequiredField", inlineDescription: "", matchPriority: MatchPriority.Default);
1116
await
VerifyItemExistsAsync
(markup, "RequiredProperty", inlineDescription: "");
1121
=>
VerifyItemExistsAsync
("""
1144
=>
VerifyItemExistsAsync
("""
1172
=>
VerifyItemExistsAsync
("""
1214
=>
VerifyItemExistsAsync
("""
1242
=>
VerifyItemExistsAsync
("""
1269
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (9)
90
=>
VerifyItemExistsAsync
("""
120
? new Func<string, Task>(markup =>
VerifyItemExistsAsync
(markup, "+", inlineDescription: "x + y"))
631
await
VerifyItemExistsAsync
(string.Format(template, $"public static S operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
632
await
VerifyItemExistsAsync
(string.Format(template, $"public static bool operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
657
await
VerifyItemExistsAsync
(string.Format(template, $"public static S operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
658
await
VerifyItemExistsAsync
(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
683
await
VerifyItemExistsAsync
(string.Format(template, $"public static bool operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: $"x {operatorSign} y");
723
=>
VerifyItemExistsAsync
("""
743
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (7)
57
=>
VerifyItemExistsAsync
("""
71
=>
VerifyItemExistsAsync
("""
616
=>
VerifyItemExistsAsync
("""
848
=>
VerifyItemExistsAsync
("""
862
=>
VerifyItemExistsAsync
("""
876
=>
VerifyItemExistsAsync
("""
3785
return
VerifyItemExistsAsync
(markup, expectedItem, isComplexTextEdit: true);
Completion\CompletionProviders\PartialMethodCompletionProviderTests.cs (1)
787
return
VerifyItemExistsAsync
(markup, expectedItem, isComplexTextEdit: true);
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (6)
31
=>
VerifyItemExistsAsync
("""
39
=>
VerifyItemExistsAsync
("""
93
=>
VerifyItemExistsAsync
("""
101
=>
VerifyItemExistsAsync
("""
109
=>
VerifyItemExistsAsync
("""
133
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\PropertySubPatternCompletionProviderTests.cs (34)
39
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
40
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
60
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
61
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
81
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
82
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
101
await
VerifyItemExistsAsync
(markup, "@new", displayTextSuffix: "");
102
await
VerifyItemExistsAsync
(markup, "@struct", displayTextSuffix: "");
137
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
138
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
159
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
160
await
VerifyItemExistsAsync
(markup, "F2", displayTextSuffix: "");
182
=>
VerifyItemExistsAsync
("""
214
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
215
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
238
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
239
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
262
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
263
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
282
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
283
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
309
await
VerifyItemExistsAsync
(markup, "P3", displayTextSuffix: "");
310
await
VerifyItemExistsAsync
(markup, "P4", displayTextSuffix: "");
336
await
VerifyItemExistsAsync
(markup, "P3", displayTextSuffix: "");
337
await
VerifyItemExistsAsync
(markup, "P4", displayTextSuffix: "");
363
await
VerifyItemExistsAsync
(markup, "F3", displayTextSuffix: "");
364
await
VerifyItemExistsAsync
(markup, "F4", displayTextSuffix: "");
434
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
494
=>
VerifyItemExistsAsync
("""
510
=>
VerifyItemExistsAsync
("""
544
=>
VerifyItemExistsAsync
("""
560
=>
VerifyItemExistsAsync
("""
608
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
609
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (3)
74
=> await
VerifyItemExistsAsync
("#r \"$$", "System.Windows.Forms", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
78
=>
VerifyItemExistsAsync
(
96
await
VerifyItemExistsAsync
(code, windowsFolderName, expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (8)
37
=> await
VerifyItemExistsAsync
(@"$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
41
=> await
VerifyItemExistsAsync
(@"$$", MockSnippetInfoService.SnippetShortcut, MockSnippetInfoService.SnippetTitle + Environment.NewLine + MockSnippetInfoService.SnippetDescription + Environment.NewLine + string.Format(FeaturesResources.Note_colon_Tab_twice_to_insert_the_0_snippet, MockSnippetInfoService.SnippetShortcut), SourceCodeKind.Regular);
45
=> await
VerifyItemExistsAsync
(@"namespace NS { $$ }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
49
=> await
VerifyItemExistsAsync
(@"namespace NS { class C { $$ } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
53
=> await
VerifyItemExistsAsync
(@"namespace NS { class C { void M() { $$ } } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
65
=> await
VerifyItemExistsAsync
(@"namespace NS { class C { void M() { bool b = true && $$ } } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
69
=> await
VerifyItemExistsAsync
(@"#$$", MockSnippetInfoService.PreProcessorSnippetShortcut[1..], sourceCodeKind: SourceCodeKind.Regular);
81
=> await
VerifyItemExistsAsync
(@"#r$$", MockSnippetInfoService.PreProcessorSnippetShortcut[1..], sourceCodeKind: SourceCodeKind.Regular);
Completion\CompletionProviders\SpeculativeTCompletionProviderTests.cs (51)
52
=>
VerifyItemExistsAsync
("""
61
=>
VerifyItemExistsAsync
("""
70
=>
VerifyItemExistsAsync
("""
97
=>
VerifyItemExistsAsync
("""
124
=>
VerifyItemExistsAsync
("""
135
=>
VerifyItemExistsAsync
("""
146
=>
VerifyItemExistsAsync
("""
157
=>
VerifyItemExistsAsync
("""
168
=>
VerifyItemExistsAsync
("""
179
=>
VerifyItemExistsAsync
("""
190
=>
VerifyItemExistsAsync
("""
201
=>
VerifyItemExistsAsync
("""
212
=>
VerifyItemExistsAsync
("""
223
=>
VerifyItemExistsAsync
("""
235
=>
VerifyItemExistsAsync
("""
247
=>
VerifyItemExistsAsync
("""
259
=>
VerifyItemExistsAsync
("""
271
=>
VerifyItemExistsAsync
("""
283
=>
VerifyItemExistsAsync
("""
295
=>
VerifyItemExistsAsync
("""
306
=>
VerifyItemExistsAsync
("""
317
=>
VerifyItemExistsAsync
("""
331
=>
VerifyItemExistsAsync
("""
346
=>
VerifyItemExistsAsync
("""
360
=>
VerifyItemExistsAsync
("""
389
=>
VerifyItemExistsAsync
("""
411
=>
VerifyItemExistsAsync
("""
422
=>
VerifyItemExistsAsync
("""
433
=>
VerifyItemExistsAsync
("""
444
=>
VerifyItemExistsAsync
("""
455
=>
VerifyItemExistsAsync
("""
477
=>
VerifyItemExistsAsync
("""
499
=>
VerifyItemExistsAsync
("""
521
=>
VerifyItemExistsAsync
("""
532
=>
VerifyItemExistsAsync
("""
543
=>
VerifyItemExistsAsync
("""
554
=>
VerifyItemExistsAsync
("""
565
=>
VerifyItemExistsAsync
("""
576
=>
VerifyItemExistsAsync
("""
587
=>
VerifyItemExistsAsync
("""
597
=>
VerifyItemExistsAsync
("""
607
=>
VerifyItemExistsAsync
("""
617
=>
VerifyItemExistsAsync
(@"$$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
629
=>
VerifyItemExistsAsync
("""
636
=>
VerifyItemExistsAsync
("""
643
=>
VerifyItemExistsAsync
("""
671
=>
VerifyItemExistsAsync
("""
720
=>
VerifyItemExistsAsync
("""
731
=>
VerifyItemExistsAsync
("""
744
=>
VerifyItemExistsAsync
("""
757
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (309)
34
await
VerifyItemExistsAsync
(@"$$", @"System", expectedDescriptionOrNull: null, sourceCodeKind: sourceCodeKind);
42
await
VerifyItemExistsAsync
("""
46
await
VerifyItemExistsAsync
("""
65
await
VerifyItemExistsAsync
(@"using $$", @"System");
66
await
VerifyItemExistsAsync
(@"using T = $$", @"System");
95
await
VerifyItemExistsAsync
("""
127
await
VerifyItemExistsAsync
("""
135
await
VerifyItemExistsAsync
("""
212
await
VerifyItemExistsAsync
("""
218
await
VerifyItemExistsAsync
("""
224
await
VerifyItemExistsAsync
("""
287
await
VerifyItemExistsAsync
("""
293
await
VerifyItemExistsAsync
("""
299
await
VerifyItemExistsAsync
("""
388
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"AttributeUsage");
389
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
1119
=>
VerifyItemExistsAsync
(@"namespace $$ { }", "System", sourceCodeKind: SourceCodeKind.Regular);
1123
=>
VerifyItemExistsAsync
("""
1159
=>
VerifyItemExistsAsync
("""
1280
=>
VerifyItemExistsAsync
("""
1288
=>
VerifyItemExistsAsync
("""
1352
=>
VerifyItemExistsAsync
(@"name$$space System { }", "System", sourceCodeKind: SourceCodeKind.Regular);
2378
=>
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"System");
2386
=>
VerifyItemExistsAsync
(
2402
=>
VerifyItemExistsAsync
(
2425
=>
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"System");
2433
=>
VerifyItemExistsAsync
(
2449
=>
VerifyItemExistsAsync
(
2484
await
VerifyItemExistsAsync
(@"class CL<T> where $$", @"T");
2485
await
VerifyItemExistsAsync
(@"class CL{ delegate void F<T>() where $$} ", @"T");
2486
await
VerifyItemExistsAsync
(@"class CL{ void F<T>() where $$", @"T");
2500
await
VerifyItemExistsAsync
(@"class CL<T1> { void M<T2>() where $$", @"T2");
2549
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using S = System;", AddInsideMethod(@"S.$$")), @"String");
2553
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using S = System.String;", AddInsideMethod(@"S.$$")), @"Empty");
2613
=> await
VerifyItemExistsAsync
(AddInsideMethod(@"var x = 0; checked($$"), @"x");
2617
=> await
VerifyItemExistsAsync
(AddInsideMethod(@"var x = 0; unchecked($$"), @"x");
2621
=> await
VerifyItemExistsAsync
(@"class c { void M() { string goo; $$", "goo");
2625
=> await
VerifyItemExistsAsync
(@"class c { void M(string args) { $$", "args");
2633
=>
VerifyItemExistsAsync
(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Regular);
2649
=>
VerifyItemExistsAsync
(prefix + """
2660
=>
VerifyItemExistsAsync
("""
2670
=>
VerifyItemExistsAsync
("""
2683
=>
VerifyItemExistsAsync
("call(" + prefix + "$$)", "args", sourceCodeKind: SourceCodeKind.Regular);
2691
=> await
VerifyItemExistsAsync
(
2708
=> await
VerifyItemExistsAsync
(@"string first = $$", "args", sourceCodeKind: SourceCodeKind.Regular);
2720
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class c { void M() { new $$"), "Exception");
2748
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { true.$$"), "Equals");
2752
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { false.$$"), "Equals");
2756
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { 'c'.$$"), "Equals");
2760
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { """".$$"), "Equals");
2764
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { @"""".$$"), "Equals");
2768
=>
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { 2.$$"), "Equals");
2776
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (true).$$"), "Equals");
2780
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (false).$$"), "Equals");
2784
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { ('c').$$"), "Equals");
2788
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { ("""").$$"), "Equals");
2792
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (@"""").$$"), "Equals");
2796
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (2).$$"), "Equals");
2800
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (1 + 1).$$"), "Equals");
2804
=> await
VerifyItemExistsAsync
(@"using S = System.$$", "String");
2954
=>
VerifyItemExistsAsync
("""
2964
=>
VerifyItemExistsAsync
("""
3016
=>
VerifyItemExistsAsync
("""
3036
=>
VerifyItemExistsAsync
("""
3058
=>
VerifyItemExistsAsync
("""
3572
await
VerifyItemExistsAsync
(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
3588
await
VerifyItemExistsAsync
(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
3621
=>
VerifyItemExistsAsync
("""
3638
=>
VerifyItemExistsAsync
("""
3676
=>
VerifyItemExistsAsync
("""
3684
=>
VerifyItemExistsAsync
("""
3692
=>
VerifyItemExistsAsync
("""
3737
=>
VerifyItemExistsAsync
("""
3785
=>
VerifyItemExistsAsync
("""
3799
=>
VerifyItemExistsAsync
("""
3896
=>
VerifyItemExistsAsync
("""
3916
=>
VerifyItemExistsAsync
("""
4098
=>
VerifyItemExistsAsync
("""
4125
=>
VerifyItemExistsAsync
("""
4137
=>
VerifyItemExistsAsync
("""
4183
=>
VerifyItemExistsAsync
("""
4196
=>
VerifyItemExistsAsync
("""
4208
=>
VerifyItemExistsAsync
("""
4220
=>
VerifyItemExistsAsync
("""
4234
=>
VerifyItemExistsAsync
("""
4248
=>
VerifyItemExistsAsync
("""
4265
=>
VerifyItemExistsAsync
("""
4276
=>
VerifyItemExistsAsync
("""
4285
=>
VerifyItemExistsAsync
("""
4294
=>
VerifyItemExistsAsync
("""
4303
=>
VerifyItemExistsAsync
("""
4312
=>
VerifyItemExistsAsync
("""
4321
=>
VerifyItemExistsAsync
("""
4330
=>
VerifyItemExistsAsync
("""
4341
=>
VerifyItemExistsAsync
("""
4352
=>
VerifyItemExistsAsync
("""
4364
=>
VerifyItemExistsAsync
("""
4375
=>
VerifyItemExistsAsync
("""
4387
=>
VerifyItemExistsAsync
("""
4397
=>
VerifyItemExistsAsync
("""
4407
=>
VerifyItemExistsAsync
("""
4417
=>
VerifyItemExistsAsync
("""
4433
=>
VerifyItemExistsAsync
("""
4467
=>
VerifyItemExistsAsync
("""
4480
=>
VerifyItemExistsAsync
("""
4506
=>
VerifyItemExistsAsync
("""
4559
=>
VerifyItemExistsAsync
("""
4595
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"void C.M() (+ 1 {FeaturesResources.overload})");
4596
await
VerifyItemExistsAsync
(markup, "P", expectedDescriptionOrNull: "int C.P { get; }");
4650
=>
VerifyItemExistsAsync
(
4661
=>
VerifyItemExistsAsync
(
4672
=>
VerifyItemExistsAsync
(
4762
=>
VerifyItemExistsAsync
(
4774
=>
VerifyItemExistsAsync
(
4820
=>
VerifyItemExistsAsync
(
4832
=>
VerifyItemExistsAsync
(
4844
=>
VerifyItemExistsAsync
(
4890
=>
VerifyItemExistsAsync
("""
4925
await
VerifyItemExistsAsync
(code, "X");
4926
await Assert.ThrowsAsync<Xunit.Sdk.TrueException>(() =>
VerifyItemExistsAsync
(code, "XAttribute"));
4932
=>
VerifyItemExistsAsync
("""
4947
=>
VerifyItemExistsAsync
("""
4962
=>
VerifyItemExistsAsync
("""
4977
=>
VerifyItemExistsAsync
("""
4991
=>
VerifyItemExistsAsync
("""
5003
=>
VerifyItemExistsAsync
("""
5040
=>
VerifyItemExistsAsync
("""
5052
=>
VerifyItemExistsAsync
("""
8020
=>
VerifyItemExistsAsync
("""
8034
=>
VerifyItemExistsAsync
("""
8102
=>
VerifyItemExistsAsync
("""
8117
=>
VerifyItemExistsAsync
("""
8126
=>
VerifyItemExistsAsync
("""
8138
=>
VerifyItemExistsAsync
("""
8148
=>
VerifyItemExistsAsync
("""
8158
=>
VerifyItemExistsAsync
("""
8265
=>
VerifyItemExistsAsync
("""
8343
=>
VerifyItemExistsAsync
("""
8372
=>
VerifyItemExistsAsync
("""
8390
=>
VerifyItemExistsAsync
("""
8418
=>
VerifyItemExistsAsync
("""
8505
=>
VerifyItemExistsAsync
("""
8518
=>
VerifyItemExistsAsync
("""
8553
await
VerifyItemExistsAsync
(markup, "N");
8570
await
VerifyItemExistsAsync
(markup, "C");
8587
=>
VerifyItemExistsAsync
($$"""
9188
=>
VerifyItemExistsAsync
("""
9208
=>
VerifyItemExistsAsync
("""
9226
=>
VerifyItemExistsAsync
("""
9244
=>
VerifyItemExistsAsync
("""
9262
=>
VerifyItemExistsAsync
("""
9277
=>
VerifyItemExistsAsync
("""
9299
=>
VerifyItemExistsAsync
("""
9317
=>
VerifyItemExistsAsync
("""
9365
=>
VerifyItemExistsAsync
("""
9437
=>
VerifyItemExistsAsync
("""
9459
=>
VerifyItemExistsAsync
("""
9481
=>
VerifyItemExistsAsync
("""
9508
=>
VerifyItemExistsAsync
("""
9518
=>
VerifyItemExistsAsync
("""
9528
=>
VerifyItemExistsAsync
("""
9564
=>
VerifyItemExistsAsync
("""
9586
=>
VerifyItemExistsAsync
("""
9608
=>
VerifyItemExistsAsync
("""
9628
=>
VerifyItemExistsAsync
("""
9641
=>
VerifyItemExistsAsync
("""
9653
=>
VerifyItemExistsAsync
("""
9667
=>
VerifyItemExistsAsync
("""
9679
=>
VerifyItemExistsAsync
("""
9693
=>
VerifyItemExistsAsync
("""
9705
=>
VerifyItemExistsAsync
("""
9744
=>
VerifyItemExistsAsync
(AddInsideMethod(
10237
=>
VerifyItemExistsAsync
("""
10250
=>
VerifyItemExistsAsync
("""
10267
=>
VerifyItemExistsAsync
("""
10297
=>
VerifyItemExistsAsync
("""
10327
=>
VerifyItemExistsAsync
("""
10339
=>
VerifyItemExistsAsync
("""
10351
=>
VerifyItemExistsAsync
("""
10376
=>
VerifyItemExistsAsync
("""
10394
=>
VerifyItemExistsAsync
("""
10403
=>
VerifyItemExistsAsync
("""
10410
=>
VerifyItemExistsAsync
("""
10445
=>
VerifyItemExistsAsync
("""
10467
=>
VerifyItemExistsAsync
("""
10480
=>
VerifyItemExistsAsync
("""
10496
=>
VerifyItemExistsAsync
("""
10512
=>
VerifyItemExistsAsync
("""
10528
=>
VerifyItemExistsAsync
("""
10622
=>
VerifyItemExistsAsync
("""
10631
=>
VerifyItemExistsAsync
("""
10640
=>
VerifyItemExistsAsync
("""
10649
=>
VerifyItemExistsAsync
("""
10658
=>
VerifyItemExistsAsync
("""
10670
=>
VerifyItemExistsAsync
("""
10681
=>
VerifyItemExistsAsync
("""
10694
=>
VerifyItemExistsAsync
("""
10709
=>
VerifyItemExistsAsync
("""
10751
await
VerifyItemExistsAsync
(markup, "A");
10752
await
VerifyItemExistsAsync
(markup, "B");
10792
=>
VerifyItemExistsAsync
("""
10798
=>
VerifyItemExistsAsync
("""
10804
=>
VerifyItemExistsAsync
("""
10810
=>
VerifyItemExistsAsync
("""
10890
await
VerifyItemExistsAsync
(markup, "Task");
10891
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10914
await
VerifyItemExistsAsync
(markup, "Task");
10915
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10940
await
VerifyItemExistsAsync
(markup, "Task");
10941
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10966
await
VerifyItemExistsAsync
(markup, "Task");
10967
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10991
await
VerifyItemExistsAsync
(markup, "Task");
11018
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
11041
await
VerifyItemExistsAsync
(markup, "Task");
11042
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
11065
await
VerifyItemExistsAsync
(markup, "Task");
11066
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
11133
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
11155
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
11176
await
VerifyItemExistsAsync
(markup, "Substring");
11177
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
11182
=>
VerifyItemExistsAsync
("""
11269
await
VerifyItemExistsAsync
(markup, "GetHashCode");
11292
await
VerifyItemExistsAsync
(markup, "GetHashCode");
11293
await
VerifyItemExistsAsync
(markup, "MyProperty");
11315
await
VerifyItemExistsAsync
(markup, "GetHashCode");
11316
await
VerifyItemExistsAsync
(markup, "MyProperty");
11321
=>
VerifyItemExistsAsync
("""
11337
=>
VerifyItemExistsAsync
("""
11353
=>
VerifyItemExistsAsync
("""
11372
=>
VerifyItemExistsAsync
("""
11553
await
VerifyItemExistsAsync
(
11571
await
VerifyItemExistsAsync
(
11589
await
VerifyItemExistsAsync
(
11617
await
VerifyItemExistsAsync
(
11621
await
VerifyItemExistsAsync
(
11659
=>
VerifyItemExistsAsync
("""
11989
await
VerifyItemExistsAsync
(markup, "E");
12047
=>
VerifyItemExistsAsync
("""
12064
=>
VerifyItemExistsAsync
("""
12082
=>
VerifyItemExistsAsync
("""
12108
await
VerifyItemExistsAsync
(
12174
await
VerifyItemExistsAsync
(markup, item.Name, matchingFilters: [FilterSet.ClassFilter, FilterSet.TargetTypedFilter], displayTextSuffix: item.DisplaySuffix);
12177
await
VerifyItemExistsAsync
(markup, item.Name, matchingFilters: [FilterSet.ClassFilter], displayTextSuffix: item.DisplaySuffix);
12180
await
VerifyItemExistsAsync
(markup, item.Name, matchingFilters: [FilterSet.InterfaceFilter, FilterSet.TargetTypedFilter], displayTextSuffix: item.DisplaySuffix);
12183
await
VerifyItemExistsAsync
(markup, item.Name, matchingFilters: [FilterSet.InterfaceFilter], displayTextSuffix: item.DisplaySuffix);
12200
=>
VerifyItemExistsAsync
("""
12212
=>
VerifyItemExistsAsync
("""
12494
=>
VerifyItemExistsAsync
($$"""
12527
await
VerifyItemExistsAsync
(source, "goo");
12528
await
VerifyItemExistsAsync
(source, "Bar");
12549
await
VerifyItemExistsAsync
(source, "goo");
12550
await
VerifyItemExistsAsync
(source, "Bar");
12585
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12587
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12592
=>
VerifyItemExistsAsync
(MakeMarkup("""
12617
=>
VerifyItemExistsAsync
(MakeMarkup("""
12632
=>
VerifyItemExistsAsync
(MakeMarkup("""
12652
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12654
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12669
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12671
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12686
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12688
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12703
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12705
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12715
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12717
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12726
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
12728
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter");
12744
await
VerifyItemExistsAsync
(MakeMarkup($$"""
12761
await
VerifyItemExistsAsync
(MakeMarkup($$"""
12772
await
VerifyItemExistsAsync
(MakeMarkup($$"""
12785
await
VerifyItemExistsAsync
(MakeMarkup($$"""
12798
await
VerifyItemExistsAsync
(MakeMarkup($"""
12807
=>
VerifyItemExistsAsync
(MakeMarkup("""
12949
=>
VerifyItemExistsAsync
("""
12991
=>
VerifyItemExistsAsync
($"""
13190
await
VerifyItemExistsAsync
(source, "System");
13430
await
VerifyItemExistsAsync
(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>");
13464
await
VerifyItemExistsAsync
(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>");
13501
await
VerifyItemExistsAsync
(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>");
13535
await
VerifyItemExistsAsync
(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>");
13566
await
VerifyItemExistsAsync
(markup, "AtLeastAdditiveIdentity", displayTextSuffix: "<>");
13567
await
VerifyItemExistsAsync
(markup, "Method", displayTextSuffix: "<>");
13895
await
VerifyItemExistsAsync
(source, "val");
13913
await
VerifyItemExistsAsync
(source, "String");
13914
await
VerifyItemExistsAsync
(source, "System");
13915
await
VerifyItemExistsAsync
(source, "field");
13927
await
VerifyItemExistsAsync
(source, "val");
13945
await
VerifyItemExistsAsync
(source, "String");
13946
await
VerifyItemExistsAsync
(source, "System");
13947
await
VerifyItemExistsAsync
(source, "field");
13963
await
VerifyItemExistsAsync
(source, "System");
13964
await
VerifyItemExistsAsync
(source, "strings");
13980
await
VerifyItemExistsAsync
(source, "System");
13981
await
VerifyItemExistsAsync
(source, "strings");
13999
await
VerifyItemExistsAsync
(source, "String");
14000
await
VerifyItemExistsAsync
(source, "System");
14001
await
VerifyItemExistsAsync
(source, "field");
14019
await
VerifyItemExistsAsync
(source, "String");
14020
await
VerifyItemExistsAsync
(source, "System");
14021
await
VerifyItemExistsAsync
(source, "field");
14037
await
VerifyItemExistsAsync
(source, "System");
14038
await
VerifyItemExistsAsync
(source, "strings");
14054
await
VerifyItemExistsAsync
(source, "System");
14055
await
VerifyItemExistsAsync
(source, "strings");
14255
=>
VerifyItemExistsAsync
(
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (13)
70
=> await
VerifyItemExistsAsync
(@"System.Console.$$", @"Beep");
74
=>
VerifyItemExistsAsync
("""
226
=>
VerifyItemExistsAsync
("""
237
=> await
VerifyItemExistsAsync
(@"using global::$$;", @"System");
241
=>
VerifyItemExistsAsync
("""
254
=>
VerifyItemExistsAsync
("""
263
=>
VerifyItemExistsAsync
("""
270
=>
VerifyItemExistsAsync
("""
281
=>
VerifyItemExistsAsync
("""
289
=>
VerifyItemExistsAsync
("""
300
=> await
VerifyItemExistsAsync
(@"static class E { public static void Method() { E.$$", @"Method");
310
await
VerifyItemExistsAsync
(code, "X");
311
await
VerifyItemExistsAsync
(code, "Y");
Completion\CompletionProviders\TupleNameCompletionProviderTests.cs (12)
23
=>
VerifyItemExistsAsync
("""
35
=>
VerifyItemExistsAsync
("""
47
=>
VerifyItemExistsAsync
("""
59
=>
VerifyItemExistsAsync
("""
71
=>
VerifyItemExistsAsync
("""
83
=>
VerifyItemExistsAsync
("""
95
=>
VerifyItemExistsAsync
("""
117
await
VerifyItemExistsAsync
(markup, "word", displayTextSuffix: ":");
118
await
VerifyItemExistsAsync
(markup, "number", displayTextSuffix: ":");
133
await
VerifyItemExistsAsync
(markup, "zword", displayTextSuffix: ":");
134
await
VerifyItemExistsAsync
(markup, "znumber", displayTextSuffix: ":");
151
=>
VerifyItemExistsAsync
("""
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (1)
1897
=>
VerifyItemExistsAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: (Glyph)glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, flags: flags);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (24)
30
await
VerifyItemExistsAsync
(markup, item);
285
=>
VerifyItemExistsAsync
("""
307
=>
VerifyItemExistsAsync
("""
329
=>
VerifyItemExistsAsync
("""
351
=>
VerifyItemExistsAsync
("""
473
=>
VerifyItemExistsAsync
("""
495
=>
VerifyItemExistsAsync
("""
515
=>
VerifyItemExistsAsync
("""
524
=>
VerifyItemExistsAsync
("""
827
await
VerifyItemExistsAsync
(source, keywordText, glyph: Glyph.Keyword);
860
=>
VerifyItemExistsAsync
("""
872
=>
VerifyItemExistsAsync
("""
882
=>
VerifyItemExistsAsync
("""
892
=>
VerifyItemExistsAsync
("""
902
=>
VerifyItemExistsAsync
("""
914
=>
VerifyItemExistsAsync
("""
926
=>
VerifyItemExistsAsync
("""
938
=>
VerifyItemExistsAsync
("""
950
=>
VerifyItemExistsAsync
("""
962
=>
VerifyItemExistsAsync
("""
992
await
VerifyItemExistsAsync
(text, "term");
993
await
VerifyItemExistsAsync
(text, "description");
1086
await
VerifyItemExistsAsync
("""
1098
await
VerifyItemExistsAsync
("""