1786 references to VerifyItemExistsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1304)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (6)
86
await
VerifyItemExistsAsync
(markup, "Color", displayTextSuffix: " =");
108
await
VerifyItemExistsAsync
(markup, "Text", displayTextSuffix: " =");
130
await
VerifyItemExistsAsync
(markup, "Text", displayTextSuffix: " =");
150
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
169
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
191
await
VerifyItemExistsAsync
(markup, "Text", displayTextSuffix: " =");
Completion\CompletionProviders\AwaitCompletionProviderTests.cs (4)
47
await
VerifyItemExistsAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwait, glyph: (int)Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription);
52
await
VerifyItemExistsAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait, glyph: (int)Glyph.Keyword, expectedDescriptionOrNull: expectedDescription, inlineDescription: inlineDescription);
354
await
VerifyItemExistsAsync
(markup, "await");
355
await
VerifyItemExistsAsync
(markup, "awaitf");
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (14)
96
await
VerifyItemExistsAsync
(@"
116
await
VerifyItemExistsAsync
(@"
149
? (markup, expectedItem) =>
VerifyItemExistsAsync
(markup, expectedItem, displayTextPrefix: "(", displayTextSuffix: ")")
350
await
VerifyItemExistsAsync
(@"
386
await
VerifyItemExistsAsync
(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")",
415
await
VerifyItemExistsAsync
(Markup, "int?", displayTextPrefix: "(", displayTextSuffix: ")",
466
await
VerifyItemExistsAsync
(Markup, "byte", displayTextPrefix: "(", displayTextSuffix: ")",
487
await
VerifyItemExistsAsync
(Markup, "byte?", displayTextPrefix: "(", displayTextSuffix: ")",
529
await
VerifyItemExistsAsync
(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")",
551
await
VerifyItemExistsAsync
(Markup, "int?", displayTextPrefix: "(", displayTextSuffix: ")",
579
await
VerifyItemExistsAsync
(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")",
596
? markup =>
VerifyItemExistsAsync
(markup, "int", displayTextPrefix: "(", displayTextSuffix: ")")
615
await
VerifyItemExistsAsync
(@"
638
await
VerifyItemExistsAsync
(@$"
Completion\CompletionProviders\CrefCompletionProviderTests.cs (36)
75
await
VerifyItemExistsAsync
(text, "AccessViolationException");
91
await
VerifyItemExistsAsync
(text, "goo");
108
await
VerifyItemExistsAsync
(text, "int");
124
await
VerifyItemExistsAsync
(text, "Q");
144
await
VerifyItemExistsAsync
(text, "Private");
158
await
VerifyItemExistsAsync
(text, "Exception");
168
await
VerifyItemExistsAsync
(text, "@void");
184
await
VerifyItemExistsAsync
(text, "M(int)");
185
await
VerifyItemExistsAsync
(text, "M(ref long)");
186
await
VerifyItemExistsAsync
(text, "M{T}(T)");
201
await
VerifyItemExistsAsync
(text, "C{TGoo}");
220
await
VerifyItemExistsAsync
(text, "C()");
221
await
VerifyItemExistsAsync
(text, "C(T)");
222
await
VerifyItemExistsAsync
(text, "C(int)");
239
await
VerifyItemExistsAsync
(text, "M(long[])");
250
await
VerifyItemExistsAsync
(text, "Enumerator");
295
await
VerifyItemExistsAsync
(text, "operator !(Test)");
296
await
VerifyItemExistsAsync
(text, "operator +(Test, Test)");
297
await
VerifyItemExistsAsync
(text, "operator true(Test)");
298
await
VerifyItemExistsAsync
(text, "operator false(Test)");
316
await
VerifyItemExistsAsync
(text, "this[int]");
347
await
VerifyItemExistsAsync
(text, "M(ref int)");
348
await
VerifyItemExistsAsync
(text, "M(out long)");
376
await
VerifyItemExistsAsync
(text, "N");
377
await
VerifyItemExistsAsync
(text, "C");
463
await
VerifyItemExistsAsync
(text, "uint");
464
await
VerifyItemExistsAsync
(text, "UInt32");
494
await
VerifyItemExistsAsync
(text, "MyMethod(in int)");
510
await
VerifyItemExistsAsync
(text, "M(ValueTuple{string, int})");
526
await
VerifyItemExistsAsync
(text, "M(ValueTuple{string, int})");
544
await
VerifyItemExistsAsync
(text, "Dispose");
562
await
VerifyItemExistsAsync
(text, "Dispose");
581
await
VerifyItemExistsAsync
(text, "Dispose()");
582
await
VerifyItemExistsAsync
(text, "Dispose(bool)");
601
await
VerifyItemExistsAsync
(text, "Dispose()");
602
await
VerifyItemExistsAsync
(text, "Dispose(bool)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (174)
344
await
VerifyItemExistsAsync
(markup, "MyClass", glyph: (int)Glyph.PropertyPublic);
371
await
VerifyItemExistsAsync
(markup, "myClass", glyph: (int)Glyph.FieldPublic);
372
await
VerifyItemExistsAsync
(markup, "MyClass", glyph: (int)Glyph.PropertyPublic);
373
await
VerifyItemExistsAsync
(markup, "GetMyClass", glyph: (int)Glyph.MethodPublic);
386
await
VerifyItemExistsAsync
(markup, "GetCAsync");
398
await
VerifyItemExistsAsync
(markup, "GetCAsync");
410
await
VerifyItemExistsAsync
(markup, "GetC");
425
await
VerifyItemExistsAsync
(markup, "cancellationToken");
426
await
VerifyItemExistsAsync
(markup, "cancellation");
427
await
VerifyItemExistsAsync
(markup, "token");
440
await
VerifyItemExistsAsync
(markup, "GetI");
453
await
VerifyItemExistsAsync
(markup, "GetI");
466
await
VerifyItemExistsAsync
(markup, "Goo");
479
await
VerifyItemExistsAsync
(markup, "Some");
480
await
VerifyItemExistsAsync
(markup, "SomeWonderfully");
481
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLong");
482
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLongClass");
483
await
VerifyItemExistsAsync
(markup, "Name");
484
await
VerifyItemExistsAsync
(markup, "ClassName");
485
await
VerifyItemExistsAsync
(markup, "LongClassName");
486
await
VerifyItemExistsAsync
(markup, "WonderfullyLongClassName");
487
await
VerifyItemExistsAsync
(markup, "SomeWonderfullyLongClassName");
500
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
513
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
526
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
540
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
553
await
VerifyItemExistsAsync
(markup, "cancellationToken1", glyph: (int)Glyph.Parameter);
565
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
576
await
VerifyItemExistsAsync
(markup, "cancellationToken1", glyph: (int)Glyph.Parameter);
590
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
604
await
VerifyItemExistsAsync
(markup, "cancellationToken1", glyph: (int)Glyph.Parameter);
624
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: (int)Glyph.Parameter);
625
await
VerifyItemExistsAsync
(markup, "db", glyph: (int)Glyph.Parameter);
629
await
VerifyItemExistsAsync
(markup, "context", glyph: (int)Glyph.Parameter);
633
await
VerifyItemExistsAsync
(markup, "context1", glyph: (int)Glyph.Parameter);
655
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: (int)Glyph.Parameter);
656
await
VerifyItemExistsAsync
(markup, "db", glyph: (int)Glyph.Parameter);
660
await
VerifyItemExistsAsync
(markup, "context", glyph: (int)Glyph.Parameter);
664
await
VerifyItemExistsAsync
(markup, "context1", glyph: (int)Glyph.Parameter);
686
await
VerifyItemExistsAsync
(markup, "dbContext", glyph: (int)Glyph.Parameter);
687
await
VerifyItemExistsAsync
(markup, "db", glyph: (int)Glyph.Parameter);
691
await
VerifyItemExistsAsync
(markup, "context", glyph: (int)Glyph.Parameter);
695
await
VerifyItemExistsAsync
(markup, "context1", glyph: (int)Glyph.Parameter);
718
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter, options: options);
734
await
VerifyItemExistsAsync
(markup, "myTok", glyph: (int)Glyph.Parameter);
735
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
750
await
VerifyItemExistsAsync
(markup, "middleName", glyph: (int)Glyph.Parameter);
751
await
VerifyItemExistsAsync
(markup, "lastName", glyph: (int)Glyph.Parameter);
780
await
VerifyItemExistsAsync
(markup, "cancellationToken", glyph: (int)Glyph.Parameter);
824
await
VerifyItemExistsAsync
(markup, "stringBuilder", glyph: (int)Glyph.Parameter);
825
await
VerifyItemExistsAsync
(markup, "@string", glyph: (int)Glyph.Parameter);
826
await
VerifyItemExistsAsync
(markup, "builder", glyph: (int)Glyph.Parameter);
839
await
VerifyItemExistsAsync
(markup, "@for", glyph: (int)Glyph.Parameter);
855
await
VerifyItemExistsAsync
(markup, "@for");
871
await
VerifyItemExistsAsync
(markup, "stringBuilder");
872
await
VerifyItemExistsAsync
(markup, "@string");
873
await
VerifyItemExistsAsync
(markup, "builder");
890
await
VerifyItemExistsAsync
(markup, "item");
891
await
VerifyItemExistsAsync
(markup, "Item");
892
await
VerifyItemExistsAsync
(markup, "GetItem");
909
await
VerifyItemExistsAsync
(markup, "items");
910
await
VerifyItemExistsAsync
(markup, "Items");
911
await
VerifyItemExistsAsync
(markup, "GetItems");
1105
await
VerifyItemExistsAsync
(markup, "MyClasses");
1142
await
VerifyItemExistsAsync
(markup, "GetCs");
1184
await
VerifyItemExistsAsync
(markup, "myClass", glyph: (int)Glyph.FieldPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1185
await
VerifyItemExistsAsync
(markup, "MyClass", glyph: (int)Glyph.PropertyPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1186
await
VerifyItemExistsAsync
(markup, "GetMyClass", glyph: (int)Glyph.MethodPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1201
await
VerifyItemExistsAsync
(markup, "myClass", glyph: (int)Glyph.Local, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name);
1216
await
VerifyItemExistsAsync
(markup, "my");
1217
await
VerifyItemExistsAsync
(markup, "type");
1218
await
VerifyItemExistsAsync
(markup, "myType");
1230
await
VerifyItemExistsAsync
(markup, "my");
1231
await
VerifyItemExistsAsync
(markup, "type");
1232
await
VerifyItemExistsAsync
(markup, "myType");
1273
await
VerifyItemExistsAsync
(markup, "test");
1288
await
VerifyItemExistsAsync
(markup, "test");
1303
await
VerifyItemExistsAsync
(markup, "test");
1318
await
VerifyItemExistsAsync
(markup, "action");
1348
await
VerifyItemExistsAsync
(markup, "action");
1363
await
VerifyItemExistsAsync
(markup, "action");
1378
await
VerifyItemExistsAsync
(markup, "array");
1390
await
VerifyItemExistsAsync
(markup, "array");
1402
await
VerifyItemExistsAsync
(markup, "action");
1414
await
VerifyItemExistsAsync
(markup, "array");
1426
await
VerifyItemExistsAsync
(markup, "array");
1438
await
VerifyItemExistsAsync
(markup, "array");
1450
await
VerifyItemExistsAsync
(markup, "array");
1485
await
VerifyItemExistsAsync
(markup, "action");
1514
await
VerifyItemExistsAsync
(markup, "Indices");
1527
await
VerifyItemExistsAsync
(markup, "tests");
1541
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1542
await
VerifyItemExistsAsync
(markup, "cancellations");
1543
await
VerifyItemExistsAsync
(markup, "tokens");
1557
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1558
await
VerifyItemExistsAsync
(markup, "cancellations");
1559
await
VerifyItemExistsAsync
(markup, "tokens");
1573
await
VerifyItemExistsAsync
(markup, "cancellationTokens");
1574
await
VerifyItemExistsAsync
(markup, "cancellations");
1575
await
VerifyItemExistsAsync
(markup, "tokens");
1589
await
VerifyItemExistsAsync
(markup, "tests");
1617
await
VerifyItemExistsAsync
(markup, "myClasses");
1647
await
VerifyItemExistsAsync
(markup, "myClasses");
1666
await
VerifyItemExistsAsync
(markup, "myClasses");
1685
await
VerifyItemExistsAsync
(markup, "myClasses");
1703
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1704
await
VerifyItemExistsAsync
(markup, "cancellation");
1705
await
VerifyItemExistsAsync
(markup, "token");
1723
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1724
await
VerifyItemExistsAsync
(markup, "cancellation");
1725
await
VerifyItemExistsAsync
(markup, "token");
1746
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1747
await
VerifyItemExistsAsync
(markup, "cancellation");
1748
await
VerifyItemExistsAsync
(markup, "token");
1766
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1767
await
VerifyItemExistsAsync
(markup, "cancellation");
1785
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1786
await
VerifyItemExistsAsync
(markup, "token");
1807
await
VerifyItemExistsAsync
(markup, "cancellationToken");
1808
await
VerifyItemExistsAsync
(markup, "token");
1825
await
VerifyItemExistsAsync
(markup, "streamReader");
1842
await
VerifyItemExistsAsync
(markup, "streamReader");
1859
await
VerifyItemExistsAsync
(markup, "memoryStream");
1876
await
VerifyItemExistsAsync
(markup, "streamReader");
1893
await
VerifyItemExistsAsync
(markup, "streamReader");
1910
await
VerifyItemExistsAsync
(markup, "memoryStream");
1927
await
VerifyItemExistsAsync
(markup, "streamReader");
1944
await
VerifyItemExistsAsync
(markup, "memoryStream");
1978
await
VerifyItemExistsAsync
(markup, "container");
1998
await
VerifyItemExistsAsync
(markup, "container");
2017
await
VerifyItemExistsAsync
(markup, "container");
2039
await
VerifyItemExistsAsync
(markup, "taskType");
2059
await
VerifyItemExistsAsync
(markup, "container");
2079
await
VerifyItemExistsAsync
(markup, "container");
2101
await
VerifyItemExistsAsync
(markup, "taskTypes");
2119
await
VerifyItemExistsAsync
(markup, "nullables");
2139
await
VerifyItemExistsAsync
(markup, "ints");
2159
await
VerifyItemExistsAsync
(markup, "ints");
2179
await
VerifyItemExistsAsync
(markup, "ints");
2198
await
VerifyItemExistsAsync
(markup, "ints");
2215
await
VerifyItemExistsAsync
(markup, "ints");
2234
await
VerifyItemExistsAsync
(markup, "ints");
2250
await
VerifyItemExistsAsync
(markup, "ints");
2266
await
VerifyItemExistsAsync
(markup, "objects");
2282
await
VerifyItemExistsAsync
(markup, "strings");
2298
await
VerifyItemExistsAsync
(markup, "values");
2314
await
VerifyItemExistsAsync
(markup, "results");
2330
await
VerifyItemExistsAsync
(markup, "args");
2346
await
VerifyItemExistsAsync
(markup, "types");
2367
await
VerifyItemExistsAsync
(markup, "ConfigurationField", glyph: (int)Glyph.FieldPublic,
2369
await
VerifyItemExistsAsync
(markup, "ConfigurationProperty", glyph: (int)Glyph.PropertyPublic,
2371
await
VerifyItemExistsAsync
(markup, "ConfigurationMethod", glyph: (int)Glyph.MethodPublic,
2398
await
VerifyItemExistsAsync
(markup, "ConfigurationLocal", glyph: (int)Glyph.Local,
2400
await
VerifyItemExistsAsync
(markup, "ConfigurationLocalFunction", glyph: (int)Glyph.MethodPublic,
2427
await
VerifyItemExistsAsync
(markup, "classB1", glyph: (int)Glyph.Local,
2446
await
VerifyItemExistsAsync
(markup, "classB1", glyph: (int)Glyph.Local,
2466
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Local,
2486
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Local,
2506
await
VerifyItemExistsAsync
(markup, "classB1", glyph: (int)Glyph.Local,
2528
await
VerifyItemExistsAsync
(markup, "classB2", glyph: (int)Glyph.Local,
2551
await
VerifyItemExistsAsync
(markup, "classB1", glyph: (int)Glyph.Local,
2567
await
VerifyItemExistsAsync
(markup, "classA", glyph: (int)Glyph.Local,
2590
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Local,
2616
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Parameter,
2709
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Parameter,
2730
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Parameter,
2751
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Local,
2775
await
VerifyItemExistsAsync
(markup, "classB", glyph: (int)Glyph.Local,
2815
await
VerifyItemExistsAsync
(markup, "myClass1", glyph: (int)Glyph.Local, options: options);
2850
await
VerifyItemExistsAsync
(markup, "interestingName");
2851
await
VerifyItemExistsAsync
(markup, "cancellationToken");
2866
await
VerifyItemExistsAsync
(markup, "result");
2898
await
VerifyItemExistsAsync
(markup, "goo");
2914
await
VerifyItemExistsAsync
(markup, "customers");
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (63)
49
await
VerifyItemExistsAsync
(markup + colors, "Colors");
199
await
VerifyItemExistsAsync
(markup, typeName);
225
await
VerifyItemExistsAsync
(markup, typeName);
249
await
VerifyItemExistsAsync
(markup, typeName);
271
await
VerifyItemExistsAsync
(markup, typeName);
293
await
VerifyItemExistsAsync
(markup, typeName);
442
await
VerifyItemExistsAsync
(markup, typeName);
465
await
VerifyItemExistsAsync
(markup, typeName);
512
await
VerifyItemExistsAsync
(markup, "C");
535
await
VerifyItemExistsAsync
(markup, "string", glyph: (int)Glyph.ClassPublic);
633
await
VerifyItemExistsAsync
(markup, "TypeContainer");
634
await
VerifyItemExistsAsync
(markup, "TypeContainer.Foo1");
635
await
VerifyItemExistsAsync
(markup, "TypeContainer.Foo2");
654
await
VerifyItemExistsAsync
(markup, "D");
680
await
VerifyItemExistsAsync
(markup, "D");
710
await
VerifyItemExistsAsync
(markup, "D");
771
await
VerifyItemExistsAsync
(markup + colors, "Colors");
801
await
VerifyItemExistsAsync
(markup + colors, "Colors");
918
await
VerifyItemExistsAsync
(markup, "ProjectTreeWriterOptions");
937
await
VerifyItemExistsAsync
(markup, "ProjectTreeWriterOptions");
956
await
VerifyItemExistsAsync
(markup, "ProjectTreeWriterOptions");
975
await
VerifyItemExistsAsync
(markup, "ProjectTreeWriterOptions");
994
await
VerifyItemExistsAsync
(markup, "ProjectTreeWriterOptions");
1011
await
VerifyItemExistsAsync
(markup, "FileAttributes");
1045
await
VerifyItemExistsAsync
(markup, "ConsoleColor");
1113
await
VerifyItemExistsAsync
(markup, "ConsoleColor");
1324
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: true);
1325
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: false);
1327
await
VerifyItemExistsAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: false);
1360
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: true);
1361
await
VerifyItemExistsAsync
(markup + goo, "Goo.AMember", usePreviousCharAsTrigger: false);
1363
await
VerifyItemExistsAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: false);
1400
await
VerifyItemExistsAsync
(e + markup, "E.A", usePreviousCharAsTrigger: true);
1401
await
VerifyItemExistsAsync
(e + markup, "E.A", usePreviousCharAsTrigger: false);
1403
await
VerifyItemExistsAsync
(eLike + markup, "E.A", usePreviousCharAsTrigger: false);
1424
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1446
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1476
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1506
await
VerifyItemExistsAsync
(markup, $"System.{typeName}.{memberName}");
1537
await
VerifyItemExistsAsync
(markup, $"{typeName}.A", usePreviousCharAsTrigger: true);
1541
await
VerifyItemExistsAsync
(markup, $"{typeName}.A", usePreviousCharAsTrigger: false);
1599
await
VerifyItemExistsAsync
(markup, "DayOfWeek.A");
1600
await
VerifyItemExistsAsync
(markup, "DayOfWeek.B");
1621
await
VerifyItemExistsAsync
(markup, "E.A");
1643
await
VerifyItemExistsAsync
(markup, "E.A");
1750
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1775
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1794
await
VerifyItemExistsAsync
(markup, "FileAttributes.Hidden");
1839
await
VerifyItemExistsAsync
(markup, "Color.Red");
1840
await
VerifyItemExistsAsync
(markup, "Palette.AccentColor1");
1842
await
VerifyItemExistsAsync
(markup, "ColorLike.Red");
1843
await
VerifyItemExistsAsync
(markup, "PaletteLike.AccentColor1");
1865
await
VerifyItemExistsAsync
(markup, $"{typeName}.{memberName}");
1887
await
VerifyItemExistsAsync
(markup, $"AT.{memberName}");
1921
await
VerifyItemExistsAsync
(markup, "Color.Red");
1956
await
VerifyItemExistsAsync
(markup, "Color.Red");
2004
await
VerifyItemExistsAsync
(markup, "Color.Red");
2029
await
VerifyItemExistsAsync
(markup, "Color.Red");
2051
await
VerifyItemExistsAsync
(markup, "Color.Red");
2074
await
VerifyItemExistsAsync
(markup, "Color.Red");
2111
await
VerifyItemExistsAsync
(markup, "Color.Red");
2137
await
VerifyItemExistsAsync
(markup, "Color.Red");
2161
await
VerifyItemExistsAsync
(markup, "Color.Red");
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (24)
39
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
40
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
41
await
VerifyItemExistsAsync
(markup, "Prop");
42
await
VerifyItemExistsAsync
(markup, "Generic", displayTextSuffix: "<K, V>(K key, V value)");
43
await
VerifyItemExistsAsync
(markup, "this", displayTextSuffix: "[int i]");
44
await
VerifyItemExistsAsync
(markup, "With_Underscore", displayTextSuffix: "()");
63
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
64
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
65
await
VerifyItemExistsAsync
(markup, "Prop");
84
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
85
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
86
await
VerifyItemExistsAsync
(markup, "Prop");
105
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "()");
106
await
VerifyItemExistsAsync
(markup, "Goo", displayTextSuffix: "(int x)");
107
await
VerifyItemExistsAsync
(markup, "Prop");
192
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
193
await
VerifyItemExistsAsync
(markup, "Prop");
217
await
VerifyItemExistsAsync
(markup, "Foo", displayTextSuffix: "()");
218
await
VerifyItemExistsAsync
(markup, "Prop");
219
await
VerifyItemExistsAsync
(markup, "TestEvent");
367
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
368
await
VerifyItemExistsAsync
(markup, "Prop2");
402
await
VerifyItemExistsAsync
(markup, "Goo2", displayTextSuffix: "()");
403
await
VerifyItemExistsAsync
(markup, "Prop2");
Completion\CompletionProviders\ExplicitInterfaceTypeCompletionProviderTests.cs (37)
34
await
VerifyItemExistsAsync
(markup, "IEnumerable");
35
await
VerifyItemExistsAsync
(markup, "ICollection");
36
await
VerifyItemExistsAsync
(markup, "IList");
60
await
VerifyItemExistsAsync
(markup, "IEnumerable");
61
await
VerifyItemExistsAsync
(markup, "ICollection");
62
await
VerifyItemExistsAsync
(markup, "IList");
90
await
VerifyItemExistsAsync
(markup, "IEnumerable");
91
await
VerifyItemExistsAsync
(markup, "ICollection");
92
await
VerifyItemExistsAsync
(markup, "IList");
109
await
VerifyItemExistsAsync
(markup, "IEnumerable");
110
await
VerifyItemExistsAsync
(markup, "ICollection");
111
await
VerifyItemExistsAsync
(markup, "IList");
128
await
VerifyItemExistsAsync
(markup, "IEnumerable");
129
await
VerifyItemExistsAsync
(markup, "ICollection");
130
await
VerifyItemExistsAsync
(markup, "IList");
147
await
VerifyItemExistsAsync
(markup, "IEnumerable");
148
await
VerifyItemExistsAsync
(markup, "ICollection");
149
await
VerifyItemExistsAsync
(markup, "IList");
166
await
VerifyItemExistsAsync
(markup, "IEnumerable");
167
await
VerifyItemExistsAsync
(markup, "ICollection");
168
await
VerifyItemExistsAsync
(markup, "IList");
188
await
VerifyItemExistsAsync
(markup, "IEnumerable");
189
await
VerifyItemExistsAsync
(markup, "ICollection");
190
await
VerifyItemExistsAsync
(markup, "IList");
209
await
VerifyItemExistsAsync
(markup, "IEnumerable");
210
await
VerifyItemExistsAsync
(markup, "ICollection");
211
await
VerifyItemExistsAsync
(markup, "IList");
230
await
VerifyItemExistsAsync
(markup, "IEnumerable");
231
await
VerifyItemExistsAsync
(markup, "ICollection");
232
await
VerifyItemExistsAsync
(markup, "IList");
251
await
VerifyItemExistsAsync
(markup, "IEnumerable");
252
await
VerifyItemExistsAsync
(markup, "ICollection");
253
await
VerifyItemExistsAsync
(markup, "IList");
302
await
VerifyItemExistsAsync
(markup, "IEnumerable");
303
await
VerifyItemExistsAsync
(markup, "ICollection");
304
await
VerifyItemExistsAsync
(markup, "IList");
322
await
VerifyItemExistsAsync
(markup, "IGoo");
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (1)
1982
=>
VerifyItemExistsAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, matchingFilters: expectedFilters);
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProviderTests.cs (3)
33
await
VerifyItemExistsAsync
(markup, "UnitTest");
49
await
VerifyItemExistsAsync
(markup, "UnitTest");
72
await
VerifyItemExistsAsync
(markup, callingConvention, glyph: (int)Glyph.Keyword);
Completion\CompletionProviders\IndexerCompletionProviderTests.cs (5)
26
await
VerifyItemExistsAsync
(@"
46
await
VerifyItemExistsAsync
(@"
265
await
VerifyItemExistsAsync
(@"
298
await
VerifyItemExistsAsync
(@"
344
await
VerifyItemExistsAsync
(@"
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (42)
331
await
VerifyItemExistsAsync
(text, "int");
332
await
VerifyItemExistsAsync
(text, "string");
333
await
VerifyItemExistsAsync
(text, "byte");
334
await
VerifyItemExistsAsync
(text, "char");
346
await
VerifyItemExistsAsync
(text, "private");
347
await
VerifyItemExistsAsync
(text, "protected");
359
await
VerifyItemExistsAsync
(text, "protected");
371
await
VerifyItemExistsAsync
(text, "private");
407
await
VerifyItemExistsAsync
(markup, "event");
430
await
VerifyItemExistsAsync
(markup, "readonly");
455
await
VerifyItemExistsAsync
(markup, "readonly");
480
await
VerifyItemExistsAsync
(markup, "readonly");
505
await
VerifyItemExistsAsync
(markup, "readonly");
524
await
VerifyItemExistsAsync
(markup, "get");
525
await
VerifyItemExistsAsync
(markup, "set");
539
await
VerifyItemExistsAsync
(markup, "readonly");
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");
607
await
VerifyItemExistsAsync
(markup, "new");
608
await
VerifyItemExistsAsync
(markup, "this");
609
await
VerifyItemExistsAsync
(markup, "null");
610
await
VerifyItemExistsAsync
(markup, "base");
611
await
VerifyItemExistsAsync
(markup, "true");
612
await
VerifyItemExistsAsync
(markup, "false");
613
await
VerifyItemExistsAsync
(markup, "typeof");
614
await
VerifyItemExistsAsync
(markup, "sizeof");
615
await
VerifyItemExistsAsync
(markup, "nameof");
632
await
VerifyItemExistsAsync
(markup, "required");
696
await
VerifyItemExistsAsync
(markup, "file");
717
await
VerifyItemExistsAsync
(markup, "file");
731
await
VerifyItemExistsAsync
(markup, "file");
741
await
VerifyItemExistsAsync
(markup, "file");
807
await
VerifyItemExistsAsync
(markup, "file");
820
await
VerifyItemExistsAsync
(markup, "file");
832
await
VerifyItemExistsAsync
(markup, "file");
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (22)
75
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
94
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
110
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
126
await
VerifyItemExistsAsync
(markup, "a", displayTextSuffix: ":");
159
await
VerifyItemExistsAsync
(markup, "i", displayTextSuffix: ":");
179
await
VerifyItemExistsAsync
(markup, "declaring", displayTextSuffix: ":");
200
await
VerifyItemExistsAsync
(markup, "declaring", displayTextSuffix: ":");
256
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
279
await
VerifyItemExistsAsync
(markup, "boolean", displayTextSuffix: ":");
280
await
VerifyItemExistsAsync
(markup, "character", displayTextSuffix: ":");
310
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
311
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
312
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
339
await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix: ":");
340
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
341
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
370
await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix: ":");
371
await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix: ":");
388
await
VerifyItemExistsAsync
(markup, "integer", displayTextSuffix: ":");
409
await
VerifyItemExistsAsync
(markup, "obj", displayTextSuffix: ":",
432
await
VerifyItemExistsAsync
(markup, "message", displayTextSuffix: ":");
454
await
VerifyItemExistsAsync
(markup, "message", displayTextSuffix: ":");
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (24)
34
await
VerifyItemExistsAsync
(markup, "MyGeneric<string>");
81
await
VerifyItemExistsAsync
(markup, "FieldAccessException");
99
await
VerifyItemExistsAsync
(markup, "FieldAccessException");
116
await
VerifyItemExistsAsync
(MakeMarkup(markup), "string");
177
await
VerifyItemExistsAsync
(markup, "D");
197
await
VerifyItemExistsAsync
(markup, "D");
247
await
VerifyItemExistsAsync
(markup, "Location");
262
await
VerifyItemExistsAsync
(markup, "Program");
278
await
VerifyItemExistsAsync
(markup, "Program");
294
await
VerifyItemExistsAsync
(markup, "Program");
310
await
VerifyItemExistsAsync
(markup, "Program");
426
await
VerifyItemExistsAsync
(markup, "object");
438
await
VerifyItemExistsAsync
(markup, "object");
453
await
VerifyItemExistsAsync
(markup, "Program");
476
await
VerifyItemExistsAsync
(markup, "TimeSpan");
499
await
VerifyItemExistsAsync
(markup, "TimeSpan");
523
await
VerifyItemExistsAsync
(markup, "List<Bar>");
542
await
VerifyItemExistsAsync
(markup, "List<Bar>");
561
await
VerifyItemExistsAsync
(markup, "List<Bar>");
585
await
VerifyItemExistsAsync
(markup, "C<A>");
608
await
VerifyItemExistsAsync
(markup, "A");
628
await
VerifyItemExistsAsync
(markup, "object");
648
await
VerifyItemExistsAsync
(markup, "object");
671
await
VerifyItemExistsAsync
(markup, "List<object?>");
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (43)
76
await
VerifyItemExistsAsync
(markup, "value");
95
await
VerifyItemExistsAsync
(markup, "value");
114
await
VerifyItemExistsAsync
(markup, "value");
133
await
VerifyItemExistsAsync
(markup, "value");
152
await
VerifyItemExistsAsync
(markup, "value");
175
await
VerifyItemExistsAsync
(markup, "value");
176
await
VerifyItemExistsAsync
(markup, "otherValue");
200
await
VerifyItemExistsAsync
(markup, "otherValue");
269
await
VerifyItemExistsAsync
(markup, "value");
270
await
VerifyItemExistsAsync
(markup, "otherValue");
375
await
VerifyItemExistsAsync
(markup, "GooBase");
376
await
VerifyItemExistsAsync
(markup, "GooDerived");
377
await
VerifyItemExistsAsync
(markup, "BasePublic");
415
await
VerifyItemExistsAsync
(markup, "goo");
431
await
VerifyItemExistsAsync
(markup, "Capacity");
448
await
VerifyItemExistsAsync
(markup, "Capacity");
469
await
VerifyItemExistsAsync
(markup, "bar");
699
await
VerifyItemExistsAsync
(markup, "S");
700
await
VerifyItemExistsAsync
(markup, "D");
742
await
VerifyItemExistsAsync
(markup, "S");
743
await
VerifyItemExistsAsync
(markup, "D");
766
await
VerifyItemExistsAsync
(markup, "Items");
767
await
VerifyItemExistsAsync
(markup, "Bar");
792
await
VerifyItemExistsAsync
(markup, "Items");
793
await
VerifyItemExistsAsync
(markup, "Bar");
831
await
VerifyItemExistsAsync
(markup, "S");
832
await
VerifyItemExistsAsync
(markup, "D");
857
await
VerifyItemExistsAsync
(markup, "Value");
882
await
VerifyItemExistsAsync
(markup, "A");
883
await
VerifyItemExistsAsync
(markup, "B");
921
await
VerifyItemExistsAsync
(markup, "Target");
922
await
VerifyItemExistsAsync
(markup, "Method");
965
await
VerifyItemExistsAsync
(markup, "@new");
966
await
VerifyItemExistsAsync
(markup, "@this");
967
await
VerifyItemExistsAsync
(markup, "now");
991
await
VerifyItemExistsAsync
(markup, "RequiredField", inlineDescription: FeaturesResources.Required, matchPriority: MatchPriority.Preselect);
992
await
VerifyItemExistsAsync
(markup, "RequiredProperty", inlineDescription: FeaturesResources.Required);
1018
await
VerifyItemExistsAsync
(markup, "PropB");
1049
await
VerifyItemExistsAsync
(markup, "PropB");
1094
await
VerifyItemExistsAsync
(markup, "PropB");
1125
await
VerifyItemExistsAsync
(markup, "PropB");
1155
await
VerifyItemExistsAsync
(markup, "PropB");
1185
await
VerifyItemExistsAsync
(markup, "PropC");
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (9)
95
await
VerifyItemExistsAsync
(@"
126
? new Func<string, Task>(markup =>
VerifyItemExistsAsync
(markup, "+", inlineDescription: "x + y"))
603
await
VerifyItemExistsAsync
(string.Format(template, $"public static S operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
604
await
VerifyItemExistsAsync
(string.Format(template, $"public static bool operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
628
await
VerifyItemExistsAsync
(string.Format(template, $"public static S operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
629
await
VerifyItemExistsAsync
(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
653
await
VerifyItemExistsAsync
(string.Format(template, $"public static bool operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: $"x {operatorSign} y");
694
await
VerifyItemExistsAsync
(@"
715
await
VerifyItemExistsAsync
(@"
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (7)
61
await
VerifyItemExistsAsync
(@"public class a
76
await
VerifyItemExistsAsync
(@"public class a
652
await
VerifyItemExistsAsync
(markup, "Goo()", "void Derived.Goo()");
876
await
VerifyItemExistsAsync
(markup, "goo(int @class)", "void Base.goo(int @class)");
892
await
VerifyItemExistsAsync
(markup, "goo(int x, ref string y)", "void Base.goo(int x, ref string y)");
908
await
VerifyItemExistsAsync
(markup, "goo(int x, out string y)", "void Base.goo(int x, out string y)");
3513
return
VerifyItemExistsAsync
(markup, expectedItem, isComplexTextEdit: true);
Completion\CompletionProviders\PartialMethodCompletionProviderTests.cs (1)
841
return
VerifyItemExistsAsync
(markup, expectedItem, isComplexTextEdit: true);
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (6)
40
await
VerifyItemExistsAsync
(text, "C");
53
await
VerifyItemExistsAsync
(text, "C<Bar>");
120
await
VerifyItemExistsAsync
(text, "C");
131
await
VerifyItemExistsAsync
(text, "S");
142
await
VerifyItemExistsAsync
(text, "I");
181
await
VerifyItemExistsAsync
(text, "Goo");
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: "");
141
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
142
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
163
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
164
await
VerifyItemExistsAsync
(markup, "F2", displayTextSuffix: "");
206
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
226
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
227
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
250
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
251
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
274
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
275
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
294
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
295
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
321
await
VerifyItemExistsAsync
(markup, "P3", displayTextSuffix: "");
322
await
VerifyItemExistsAsync
(markup, "P4", displayTextSuffix: "");
348
await
VerifyItemExistsAsync
(markup, "P3", displayTextSuffix: "");
349
await
VerifyItemExistsAsync
(markup, "P4", displayTextSuffix: "");
375
await
VerifyItemExistsAsync
(markup, "F3", displayTextSuffix: "");
376
await
VerifyItemExistsAsync
(markup, "F4", displayTextSuffix: "");
458
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
545
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
565
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
607
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
627
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
668
await
VerifyItemExistsAsync
(markup, "P1", displayTextSuffix: "");
669
await
VerifyItemExistsAsync
(markup, "P2", displayTextSuffix: "");
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (3)
76
=> await
VerifyItemExistsAsync
("#r \"$$", "System.Windows.Forms", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
81
await
VerifyItemExistsAsync
(
98
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)
62
await
VerifyItemExistsAsync
(markup, "T");
74
await
VerifyItemExistsAsync
(markup, "T");
86
await
VerifyItemExistsAsync
(markup, "T");
122
await
VerifyItemExistsAsync
(markup, "T");
159
await
VerifyItemExistsAsync
(markup, "T");
173
await
VerifyItemExistsAsync
(markup, "T");
187
await
VerifyItemExistsAsync
(markup, "T");
201
await
VerifyItemExistsAsync
(markup, "T");
215
await
VerifyItemExistsAsync
(markup, "T");
229
await
VerifyItemExistsAsync
(markup, "T");
243
await
VerifyItemExistsAsync
(markup, "T");
257
await
VerifyItemExistsAsync
(markup, "T");
271
await
VerifyItemExistsAsync
(markup, "T");
285
await
VerifyItemExistsAsync
(markup, "T");
300
await
VerifyItemExistsAsync
(markup, "T");
315
await
VerifyItemExistsAsync
(markup, "T");
330
await
VerifyItemExistsAsync
(markup, "T");
345
await
VerifyItemExistsAsync
(markup, "T");
360
await
VerifyItemExistsAsync
(markup, "T");
375
await
VerifyItemExistsAsync
(markup, "T");
389
await
VerifyItemExistsAsync
(markup, "T");
406
await
VerifyItemExistsAsync
(markup, "T");
424
await
VerifyItemExistsAsync
(markup, "T");
440
await
VerifyItemExistsAsync
(markup, "T");
461
await
VerifyItemExistsAsync
(markup, "T");
489
await
VerifyItemExistsAsync
(markup, "T");
517
await
VerifyItemExistsAsync
(markup, "T");
531
await
VerifyItemExistsAsync
(markup, "T");
545
await
VerifyItemExistsAsync
(markup, "T");
559
await
VerifyItemExistsAsync
(markup, "T");
573
await
VerifyItemExistsAsync
(markup, "T");
601
await
VerifyItemExistsAsync
(markup, "T");
629
await
VerifyItemExistsAsync
(markup, "T");
657
await
VerifyItemExistsAsync
(markup, "T");
671
await
VerifyItemExistsAsync
(markup, "T");
685
await
VerifyItemExistsAsync
(markup, "T");
699
await
VerifyItemExistsAsync
(markup, "T");
713
await
VerifyItemExistsAsync
(markup, "T");
727
await
VerifyItemExistsAsync
(markup, "T");
741
await
VerifyItemExistsAsync
(markup, "T");
754
await
VerifyItemExistsAsync
(markup, "T");
767
await
VerifyItemExistsAsync
(markup, "T");
775
await
VerifyItemExistsAsync
(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
802
await
VerifyItemExistsAsync
(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
813
await
VerifyItemExistsAsync
(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
824
await
VerifyItemExistsAsync
(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
864
await
VerifyItemExistsAsync
(markup, "T");
920
await
VerifyItemExistsAsync
(markup, "T");
935
await
VerifyItemExistsAsync
(markup, "T");
950
await
VerifyItemExistsAsync
(markup, "T");
965
await
VerifyItemExistsAsync
(markup, "T");
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (640)
35
await
VerifyItemExistsAsync
(@"$$", @"System", expectedDescriptionOrNull: null, sourceCodeKind: sourceCodeKind);
43
await
VerifyItemExistsAsync
(@"using System;
45
await
VerifyItemExistsAsync
(@"using System;
62
await
VerifyItemExistsAsync
(@"using $$", @"System");
63
await
VerifyItemExistsAsync
(@"using T = $$", @"System");
86
await
VerifyItemExistsAsync
(@"class C {
112
await
VerifyItemExistsAsync
(@"using System;
118
await
VerifyItemExistsAsync
(@"using System;
178
await
VerifyItemExistsAsync
(@"using System;
182
await
VerifyItemExistsAsync
(@"using System;
187
await
VerifyItemExistsAsync
(@"using System;
238
await
VerifyItemExistsAsync
(@"using System;
242
await
VerifyItemExistsAsync
(@"using System;
247
await
VerifyItemExistsAsync
(@"using System;
292
await
VerifyItemExistsAsync
(@"[assembly: $$]", @"System");
299
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"[assembly: $$]"), @"System");
300
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"[assembly: $$]"), @"AttributeUsage");
318
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"AttributeUsage");
319
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
325
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<[A$$]T> {}"), @"AttributeUsage");
326
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<[A$$]T> {}"), @"System");
336
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"AttributeUsage");
337
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
346
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"AttributeUsage");
347
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
356
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"AttributeUsage");
357
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
365
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
377
await
VerifyItemExistsAsync
(source, "Runtime", sourceCodeKind: SourceCodeKind.Regular);
387
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
398
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
410
await
VerifyItemExistsAsync
(source, "A", sourceCodeKind: SourceCodeKind.Regular);
437
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
479
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
487
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
525
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
544
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
555
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
571
await
VerifyItemExistsAsync
(source, "C", sourceCodeKind: SourceCodeKind.Regular);
601
await
VerifyItemExistsAsync
(source, "B", sourceCodeKind: SourceCodeKind.Regular);
609
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
618
await
VerifyItemExistsAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
708
await
VerifyItemExistsAsync
(content, @"value");
709
await
VerifyItemExistsAsync
(content, @"C");
723
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"using MyType = $$"), @"System");
732
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
733
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
742
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
743
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
749
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = $$)c")), @"String");
750
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = $$)c")), @"System");
770
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = ($$)c")), @"String");
771
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = ($$)c")), @"System");
777
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new $$")), @"String");
778
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new $$")), @"System");
784
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new $$ [")), @"String");
785
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new $$ [")), @"System");
791
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = stackalloc $$")), @"String");
792
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = stackalloc $$")), @"System");
798
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from $$ c")), @"String");
799
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from $$ c")), @"System");
805
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join $$ j")), @"String");
806
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join $$ j")), @"System");
812
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ i =")), @"String");
813
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ i =")), @"System");
819
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"fixed($$")), @"String");
820
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"fixed($$")), @"System");
826
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"foreach($$")), @"String");
827
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"foreach($$")), @"System");
840
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"try {} catch($$")), @"String");
841
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"try {} catch($$")), @"System");
849
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
850
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
858
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
859
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
867
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
868
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
885
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
886
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
894
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
895
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
903
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
904
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
912
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
913
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
921
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
922
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
930
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
931
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
939
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
940
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
948
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
949
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
957
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
958
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
966
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"String");
967
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", content), @"System");
973
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"($$")), @"String");
974
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"($$")), @"System");
980
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$(")), @"String");
981
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$(")), @"System");
987
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$[")), @"String");
988
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$[")), @"System");
994
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"i[$$")), @"String");
995
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"i[$$")), @"System");
1001
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"(c)$$")), @"String");
1002
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"(c)$$")), @"System");
1008
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in $$")), @"String");
1009
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in $$")), @"System");
1015
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C let n = $$")), @"String");
1016
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C let n = $$")), @"System");
1022
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C orderby $$")), @"String");
1023
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C orderby $$")), @"System");
1029
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C select $$")), @"String");
1030
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C select $$")), @"System");
1036
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$")), @"String");
1037
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$")), @"System");
1043
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"return $$")), @"String");
1044
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"return $$")), @"System");
1050
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"throw $$")), @"String");
1051
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"throw $$")), @"System");
1057
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"yield return $$")), @"String");
1058
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"yield return $$")), @"System");
1064
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"foreach(T t in $$")), @"String");
1065
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"foreach(T t in $$")), @"System");
1071
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"using($$")), @"String");
1072
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"using($$")), @"System");
1078
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"lock($$")), @"String");
1079
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"lock($$")), @"System");
1085
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var i = $$")), @"String");
1086
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var i = $$")), @"System");
1092
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for($$")), @"String");
1093
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for($$")), @"System");
1099
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for(i=0;$$")), @"String");
1100
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for(i=0;$$")), @"System");
1106
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for(i=0;i>10;$$")), @"String");
1107
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"for(i=0;i>10;$$")), @"System");
1113
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"do {} while($$")), @"String");
1114
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"do {} while($$")), @"System");
1120
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"while($$")), @"String");
1121
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"while($$")), @"System");
1127
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"int [$$")), @"String");
1128
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"int [$$")), @"System");
1134
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"+$$")), @"String");
1135
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"+$$")), @"System");
1141
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$++")), @"String");
1142
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$++")), @"System");
1148
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ + 1")), @"String");
1149
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ + 1")), @"System");
1155
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"1 + $$")), @"String");
1156
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"1 + $$")), @"System");
1162
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ = 1")), @"String");
1163
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$ = 1")), @"System");
1169
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"1 = $$")), @"String");
1170
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"1 = $$")), @"System");
1176
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$? 1:")), @"String");
1177
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"$$? 1:")), @"System");
1183
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"true? $$:")), @"String");
1184
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"true? $$:")), @"System");
1190
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"true? 1:$$")), @"String");
1191
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"true? 1:$$")), @"System");
1197
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in $$")), @"String");
1198
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in $$")), @"System");
1204
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in P on $$")), @"String");
1205
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in P on $$")), @"System");
1211
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in P on id equals $$")), @"String");
1212
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C join p in P on id equals $$")), @"System");
1218
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C where $$")), @"String");
1219
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C where $$")), @"System");
1225
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C group $$")), @"String");
1226
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C group $$")), @"System");
1232
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C group g by $$")), @"String");
1233
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = from c in C group g by $$")), @"System");
1239
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"if ($$")), @"String");
1240
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"if ($$")), @"System");
1246
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"switch($$")), @"String");
1247
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"switch($$")), @"System");
1254
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1255
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1262
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1263
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1270
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1271
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1278
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1279
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1286
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1287
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1294
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1295
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1302
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1303
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1310
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"String");
1311
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(content)), @"System");
1317
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new [] { $$")), @"String");
1318
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"var t = new [] { $$")), @"System");
1324
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"System");
1336
await
VerifyItemExistsAsync
(
1354
await
VerifyItemExistsAsync
(
1366
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : IList<$$"), @"System");
1367
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : IList<$$"), @"String");
1373
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"System");
1385
await
VerifyItemExistsAsync
(
1403
await
VerifyItemExistsAsync
(
1415
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, IList<$$"), @"System");
1416
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, IList<$$"), @"String");
1429
await
VerifyItemExistsAsync
(@"class CL<T> where $$", @"T");
1430
await
VerifyItemExistsAsync
(@"class CL{ delegate void F<T>() where $$} ", @"T");
1431
await
VerifyItemExistsAsync
(@"class CL{ void F<T>() where $$", @"T");
1445
await
VerifyItemExistsAsync
(@"class CL<T1> { void M<T2>() where $$", @"T2");
1451
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL : $$"), @"String");
1452
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL : $$"), @"System");
1458
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL : B, $$"), @"String");
1459
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class CL : B, $$"), @"System");
1473
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"global::$$")), @"System");
1478
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using S = System;", AddInsideMethod(@"S.$$")), @"String");
1482
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using S = System.String;", AddInsideMethod(@"S.$$")), @"Empty");
1494
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"typeof($$")), @"String");
1495
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"typeof($$")), @"System");
1505
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"sizeof($$")), @"String");
1506
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"sizeof($$")), @"System");
1516
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"default($$")), @"String");
1517
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", AddInsideMethod(@"default($$")), @"System");
1526
=> await
VerifyItemExistsAsync
(AddInsideMethod(@"var x = 0; checked($$"), @"x");
1530
=> await
VerifyItemExistsAsync
(AddInsideMethod(@"var x = 0; unchecked($$"), @"x");
1534
=> await
VerifyItemExistsAsync
(@"class c { void M() { string goo; $$", "goo");
1538
=> await
VerifyItemExistsAsync
(@"class c { void M(string args) { $$", "args");
1547
await
VerifyItemExistsAsync
(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Regular);
1567
await
VerifyItemExistsAsync
(prefix + @"$$
1579
await
VerifyItemExistsAsync
(@"
1591
await
VerifyItemExistsAsync
(@"
1605
await
VerifyItemExistsAsync
("call(" + prefix + "$$)", "args", sourceCodeKind: SourceCodeKind.Regular);
1616
=> await
VerifyItemExistsAsync
(
1630
=> await
VerifyItemExistsAsync
(@"string first = $$", "args", sourceCodeKind: SourceCodeKind.Regular);
1642
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"class c { void M() { new $$"), "Exception");
1670
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { true.$$"), "Equals");
1674
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { false.$$"), "Equals");
1678
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { 'c'.$$"), "Equals");
1682
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { """".$$"), "Equals");
1686
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { @"""".$$"), "Equals");
1693
await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { 2.$$"), "Equals");
1702
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (true).$$"), "Equals");
1706
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (false).$$"), "Equals");
1710
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { ('c').$$"), "Equals");
1714
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { ("""").$$"), "Equals");
1718
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (@"""").$$"), "Equals");
1722
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (2).$$"), "Equals");
1726
=> await
VerifyItemExistsAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (1 + 1).$$"), "Equals");
1730
=> await
VerifyItemExistsAsync
(@"using S = System.$$", "String");
1750
await
VerifyItemExistsAsync
(markup, "Goo");
1771
await
VerifyItemExistsAsync
(markup, "Goo");
1792
await
VerifyItemExistsAsync
(markup, "Goo");
1814
await
VerifyItemExistsAsync
(markup, "Goo");
1835
await
VerifyItemExistsAsync
(markup, "Goo");
1856
await
VerifyItemExistsAsync
(markup, "Goo");
1880
await
VerifyItemExistsAsync
(markup, "GooStatic");
1882
await
VerifyItemExistsAsync
(markup, "GooInstance");
1895
await
VerifyItemExistsAsync
(markup, "i");
1908
await
VerifyItemExistsAsync
(markup, "i");
1979
await
VerifyItemExistsAsync
(markup, "ReferenceEquals");
2007
await
VerifyItemExistsAsync
(markup, "ReferenceEquals");
2034
await
VerifyItemExistsAsync
(markup, "T");
2050
await
VerifyItemExistsAsync
(markup, "String");
2067
await
VerifyItemExistsAsync
(markup, "String");
2084
await
VerifyItemExistsAsync
(markup, "String");
2101
await
VerifyItemExistsAsync
(markup, "String");
2118
await
VerifyItemExistsAsync
(markup, "String");
2135
await
VerifyItemExistsAsync
(markup, "String");
2152
await
VerifyItemExistsAsync
(markup, "String");
2153
await
VerifyItemExistsAsync
(markup, "parameter");
2169
await
VerifyItemExistsAsync
(markup, "String");
2170
await
VerifyItemExistsAsync
(markup, "parameter");
2186
await
VerifyItemExistsAsync
(markup, "String");
2187
await
VerifyItemExistsAsync
(markup, "parameter");
2203
await
VerifyItemExistsAsync
(markup, "String");
2204
await
VerifyItemExistsAsync
(markup, "parameter");
2220
await
VerifyItemExistsAsync
(markup, "String");
2237
await
VerifyItemExistsAsync
(markup, "String");
2254
await
VerifyItemExistsAsync
(markup, "String");
2271
await
VerifyItemExistsAsync
(markup, "String");
2288
await
VerifyItemExistsAsync
(markup, "String");
2305
await
VerifyItemExistsAsync
(markup, "String");
2343
await
VerifyItemExistsAsync
(markup, "ToString");
2363
await
VerifyItemExistsAsync
(markup, "ToString");
2364
await
VerifyItemExistsAsync
(markup, "GetType");
2365
await
VerifyItemExistsAsync
(markup, "Equals");
2366
await
VerifyItemExistsAsync
(markup, "GetHashCode");
2382
await
VerifyItemExistsAsync
(markup, "String");
2408
await
VerifyItemExistsAsync
(markup, "String");
2488
await
VerifyItemExistsAsync
(markup, "String");
2503
await
VerifyItemExistsAsync
(markup, "String");
2520
await
VerifyItemExistsAsync
(markup, "Q");
2521
await
VerifyItemExistsAsync
(markup, "R");
2536
await
VerifyItemExistsAsync
(markup, "Q");
2537
await
VerifyItemExistsAsync
(markup, "R");
2552
await
VerifyItemExistsAsync
(markup, "Q");
2553
await
VerifyItemExistsAsync
(markup, "R");
2574
await
VerifyItemExistsAsync
(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
2589
await
VerifyItemExistsAsync
(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
2603
await
VerifyItemExistsAsync
(markup, "Q");
2604
await
VerifyItemExistsAsync
(markup, "R");
2616
await
VerifyItemExistsAsync
(markup, "Q");
2617
await
VerifyItemExistsAsync
(markup, "R");
2637
await
VerifyItemExistsAsync
(markup, "CompareTo");
2678
await
VerifyItemExistsAsync
(markup, "Add");
2689
await
VerifyItemExistsAsync
(markup, "String", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
2700
await
VerifyItemExistsAsync
(markup, "ElementAt", displayTextSuffix: "<>", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
2715
await
VerifyItemExistsAsync
(markup, "count");
2747
await
VerifyItemExistsAsync
(markup, "ToString");
2748
await
VerifyItemExistsAsync
(markup, "Invoke");
2781
await
VerifyItemExistsAsync
(markup, "T");
2832
await
VerifyItemExistsAsync
(markup, "default");
2847
await
VerifyItemExistsAsync
(markup, "Goo");
2872
await
VerifyItemExistsAsync
(markup, "CLSCompliant");
2884
await
VerifyItemExistsAsync
(markup, "CLSCompliant");
2895
await
VerifyItemExistsAsync
(markup, "CLSCompliant");
2907
await
VerifyItemExistsAsync
(markup, "CLSCompliant");
2919
await
VerifyItemExistsAsync
(markup, "CLSCompliant");
2931
await
VerifyItemExistsAsync
(markup, "CLSCompliantAttribute");
2942
await
VerifyItemExistsAsync
(markup, "CLSCompliantAttribute");
2955
await
VerifyItemExistsAsync
(markup, "Alias");
2983
await
VerifyItemExistsAsync
(markup, "Alias");
2996
await
VerifyItemExistsAsync
(markup, "My");
3013
await
VerifyItemExistsAsync
(markup, "My");
3027
await
VerifyItemExistsAsync
(markup, "namespaceAttribute");
3042
await
VerifyItemExistsAsync
(markup, "namespaceAttribute");
3063
await
VerifyItemExistsAsync
(markup, "error");
3067
await
VerifyItemExistsAsync
(markup, "method");
3071
await
VerifyItemExistsAsync
(markup, "@int");
3088
await
VerifyItemExistsAsync
(markup, "@from");
3107
await
VerifyItemExistsAsync
(markup, "@from");
3109
await
VerifyItemExistsAsync
(markup, "@where");
3128
await
VerifyItemExistsAsync
(markup, "@from");
3130
await
VerifyItemExistsAsync
(markup, "@where");
3141
await
VerifyItemExistsAsync
(markup, "My", sourceCodeKind: SourceCodeKind.Regular);
3152
await
VerifyItemExistsAsync
(markup, "namespaceAttribute", sourceCodeKind: SourceCodeKind.Regular);
3168
await
VerifyItemExistsAsync
(markup, "Namespace1");
3183
await
VerifyItemExistsAsync
(markup, "Namespace3");
3197
await
VerifyItemExistsAsync
(markup, "Namespace4");
3211
await
VerifyItemExistsAsync
(markup, "Custom");
3230
await
VerifyItemExistsAsync
(markup, "Namespace1Alias");
3232
await
VerifyItemExistsAsync
(markup, "Namespace3Alias");
3233
await
VerifyItemExistsAsync
(markup, "Namespace4Alias");
3263
await
VerifyItemExistsAsync
(markup, "Length");
3278
await
VerifyItemExistsAsync
(markup, "MAX_SIZE");
3293
await
VerifyItemExistsAsync
(markup, "MAX_SIZE");
3310
await
VerifyItemExistsAsync
(markup, "MAX_SIZE");
3327
await
VerifyItemExistsAsync
(markup, "MAX_SIZE");
3347
await
VerifyItemExistsAsync
(markup, "MAX_SIZE");
3361
await
VerifyItemExistsAsync
(markup, "GOO");
3373
await
VerifyItemExistsAsync
(markup, "GOO");
3385
await
VerifyItemExistsAsync
(markup, "GOO");
3397
await
VerifyItemExistsAsync
(markup, "GOO");
3409
await
VerifyItemExistsAsync
(markup, "GOO");
3421
await
VerifyItemExistsAsync
(markup, "GOO");
3433
await
VerifyItemExistsAsync
(markup, "GOO");
3447
await
VerifyItemExistsAsync
(markup, "GOO");
3461
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"void C.M(int i) (+ 1 {FeaturesResources.overload})");
3476
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"void C.M(int i) (+ 2 {FeaturesResources.overloads_})");
3490
await
VerifyItemExistsAsync
(markup, "M", displayTextSuffix: "<>", expectedDescriptionOrNull: $"void C.M<T>(T i) (+ 1 {FeaturesResources.generic_overload})");
3505
await
VerifyItemExistsAsync
(markup, "M", displayTextSuffix: "<>", expectedDescriptionOrNull: $"void C.M<T>(int i) (+ 2 {FeaturesResources.generic_overloads})");
3518
await
VerifyItemExistsAsync
(markup, "C", displayTextSuffix: "<>", expectedDescriptionOrNull: "class C<T>");
3531
await
VerifyItemExistsAsync
(markup, "goo", expectedDescriptionOrNull: $"({FeaturesResources.parameter}) T goo");
3544
await
VerifyItemExistsAsync
(markup, "T", expectedDescriptionOrNull: $"T {FeaturesResources.in_} C<T>");
3565
await
VerifyItemExistsAsync
(markup, "a", expectedDescription);
3580
await
VerifyItemExistsAsync
(markup, "Program");
3628
await
VerifyItemExistsAsync
(markup, "x");
3642
await
VerifyItemExistsAsync
(markup, "x");
3682
await
VerifyItemExistsAsync
(markup, "i");
3699
await
VerifyItemExistsAsync
(markup, "a");
3700
await
VerifyItemExistsAsync
(markup, "b");
3701
await
VerifyItemExistsAsync
(markup, "c");
3723
await
VerifyItemExistsAsync
(markup, "Equals");
3746
await
VerifyItemExistsAsync
(markup, "Substring");
3807
await
VerifyItemExistsAsync
(
3818
await
VerifyItemExistsAsync
(
3829
await
VerifyItemExistsAsync
(
3919
await
VerifyItemExistsAsync
(
3931
await
VerifyItemExistsAsync
(
3977
await
VerifyItemExistsAsync
(
3989
await
VerifyItemExistsAsync
(
4001
await
VerifyItemExistsAsync
(
4048
await
VerifyItemExistsAsync
(@"
4083
await
VerifyItemExistsAsync
(code, "X");
4084
await Assert.ThrowsAsync<Xunit.Sdk.TrueException>(() =>
VerifyItemExistsAsync
(code, "XAttribute"));
4091
await
VerifyItemExistsAsync
(@"
4108
await
VerifyItemExistsAsync
(@"
4125
await
VerifyItemExistsAsync
(@"
4142
await
VerifyItemExistsAsync
(@"
4159
await
VerifyItemExistsAsync
(@"
4173
await
VerifyItemExistsAsync
(@"
4213
await
VerifyItemExistsAsync
(@"
4226
await
VerifyItemExistsAsync
(@"
7016
await
VerifyItemExistsAsync
(markup, "Goo");
7017
await
VerifyItemExistsAsync
(markup, "Bar");
7034
await
VerifyItemExistsAsync
(markup, "Console");
7051
await
VerifyItemExistsAsync
(markup, "Console");
7119
await
VerifyItemExistsAsync
(markup, "CommandLine");
7131
await
VerifyItemExistsAsync
(markup, "CommandLine", sourceCodeKind: SourceCodeKind.Script);
7146
await
VerifyItemExistsAsync
(markup, "Inner");
7159
await
VerifyItemExistsAsync
(markup, "Task");
7172
await
VerifyItemExistsAsync
(markup, "Task");
7187
await
VerifyItemExistsAsync
(markup, "Task");
7201
await
VerifyItemExistsAsync
(markup, "Task");
7217
await
VerifyItemExistsAsync
(markup, "Task");
7330
await
VerifyItemExistsAsync
(markup, "ReadAsStreamAsync");
7386
await
VerifyItemExistsAsync
(markup, "ReadAsStreamAsync");
7403
await
VerifyItemExistsAsync
(markup, "goo", $"[{CSharpFeaturesResources.deprecated}] void Program.goo()");
7429
await
VerifyItemExistsAsync
(markup, "T");
7474
await
VerifyItemExistsAsync
(markup, "ForSchemaSet", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
7489
await
VerifyItemExistsAsync
(markup, "String");
7596
await
VerifyItemExistsAsync
(markup, "myExn");
7611
await
VerifyItemExistsAsync
(markup, "System", usePreviousCharAsTrigger: true);
7640
await
VerifyItemExistsAsync
(markup, "N");
7656
await
VerifyItemExistsAsync
(markup, "C");
7681
await
VerifyItemExistsAsync
(markup, "C");
8202
await
VerifyItemExistsAsync
(markup, "AA");
8203
await
VerifyItemExistsAsync
(markup, "AB");
8225
await
VerifyItemExistsAsync
(markup, "i");
8247
await
VerifyItemExistsAsync
(markup, "i");
8263
await
VerifyItemExistsAsync
(markup, "Day");
8279
await
VerifyItemExistsAsync
(markup, "Value");
8302
await
VerifyItemExistsAsync
(markup, "System");
8322
await
VerifyItemExistsAsync
(markup, "b");
8342
await
VerifyItemExistsAsync
(markup, "c");
8362
await
VerifyItemExistsAsync
(markup, "d");
8378
await
VerifyItemExistsAsync
(markup, "My");
8401
await
VerifyItemExistsAsync
(markup, "My");
8420
await
VerifyItemExistsAsync
(markup, "_field");
8445
await
VerifyItemExistsAsync
(markup, "M");
8495
await
VerifyItemExistsAsync
(markup, "M");
8573
await
VerifyItemExistsAsync
(markup, "Class1", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
8598
await
VerifyItemExistsAsync
(markup, "Class1", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
8613
await
VerifyItemExistsAsync
(markup, "IAlias", expectedDescriptionOrNull: "interface IGoo\r\nsummary for interface IGoo");
8641
await
VerifyItemExistsAsync
(markup, "y1");
8654
await
VerifyItemExistsAsync
(markup, "y2");
8671
await
VerifyItemExistsAsync
(markup, "WriteLine");
8693
await
VerifyItemExistsAsync
(markup, "x");
8694
await
VerifyItemExistsAsync
(markup, "y");
8718
await
VerifyItemExistsAsync
(markup, "nope");
8742
await
VerifyItemExistsAsync
(markup, "nope");
8763
await
VerifyItemExistsAsync
(markup, "U");
8779
await
VerifyItemExistsAsync
(markup, "Console");
8794
await
VerifyItemExistsAsync
(markup, "a");
8810
await
VerifyItemExistsAsync
(markup, "a");
8825
await
VerifyItemExistsAsync
(markup, "b");
8841
await
VerifyItemExistsAsync
(markup, "b");
8856
await
VerifyItemExistsAsync
(markup, "b");
8872
await
VerifyItemExistsAsync
(markup, "b");
8903
await
VerifyItemExistsAsync
(AddInsideMethod(
8926
await
VerifyItemExistsAsync
(markup, "N");
8948
await
VerifyItemExistsAsync
(markup, "M");
8968
await
VerifyItemExistsAsync
(markup, "A");
8969
await
VerifyItemExistsAsync
(markup, "B");
8970
await
VerifyItemExistsAsync
(markup, "N");
8990
await
VerifyItemExistsAsync
(markup, "C");
8991
await
VerifyItemExistsAsync
(markup, "D");
8992
await
VerifyItemExistsAsync
(markup, "M");
9012
await
VerifyItemExistsAsync
(markup, "A");
9013
await
VerifyItemExistsAsync
(markup, "B");
9014
await
VerifyItemExistsAsync
(markup, "N");
9034
await
VerifyItemExistsAsync
(markup, "C");
9035
await
VerifyItemExistsAsync
(markup, "D");
9036
await
VerifyItemExistsAsync
(markup, "M");
9056
await
VerifyItemExistsAsync
(markup, "A");
9058
await
VerifyItemExistsAsync
(markup, "N");
9078
await
VerifyItemExistsAsync
(markup, "C");
9080
await
VerifyItemExistsAsync
(markup, "M");
9100
await
VerifyItemExistsAsync
(markup, "C");
9102
await
VerifyItemExistsAsync
(markup, "M");
9122
await
VerifyItemExistsAsync
(markup, "A");
9124
await
VerifyItemExistsAsync
(markup, "N");
9218
await
VerifyItemExistsAsync
(markup, "Goo");
9219
await
VerifyItemExistsAsync
(markup, "Bar");
9252
await
VerifyItemExistsAsync
(markup, "Goo");
9253
await
VerifyItemExistsAsync
(markup, "Bar");
9285
await
VerifyItemExistsAsync
(markup, "Goo");
9319
await
VerifyItemExistsAsync
(markup, "Bar");
9352
await
VerifyItemExistsAsync
(markup, "Goo");
9353
await
VerifyItemExistsAsync
(markup, "Bar");
9370
await
VerifyItemExistsAsync
(markup, "TestA");
9391
await
VerifyItemExistsAsync
(markup, "TestA");
9410
await
VerifyItemExistsAsync
(markup, "x");
9448
await
VerifyItemExistsAsync
(markup, "x");
9483
await
VerifyItemExistsAsync
(markup, "x");
9499
await
VerifyItemExistsAsync
(markup, "x");
9518
await
VerifyItemExistsAsync
(markup, "i");
9542
await
VerifyItemExistsAsync
(markup, "s_abc");
9566
await
VerifyItemExistsAsync
(markup, "s_abc");
9576
await
VerifyItemExistsAsync
(markup, "aaa", sourceCodeKind: SourceCodeKind.Script);
9586
await
VerifyItemExistsAsync
(markup, "aaa", sourceCodeKind: SourceCodeKind.Script);
9640
await
VerifyItemExistsAsync
(markup, "Property1");
9662
await
VerifyItemExistsAsync
(markup, "ToString", matchPriority: SymbolMatchPriority.PreferEventOrMethod);
9680
await
VerifyItemExistsAsync
(markup, "z", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable);
9698
await
VerifyItemExistsAsync
(markup, "z", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable);
9716
await
VerifyItemExistsAsync
(markup, "i", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable);
9734
await
VerifyItemExistsAsync
(markup, "i", matchPriority: SymbolMatchPriority.PreferLocalOrParameterOrRangeVariable);
9750
await
VerifyItemExistsAsync
(markup, "Alice");
9751
await
VerifyItemExistsAsync
(markup, "Bob");
9752
await
VerifyItemExistsAsync
(markup, "CompareTo");
9753
await
VerifyItemExistsAsync
(markup, "Equals");
9754
await
VerifyItemExistsAsync
(markup, "GetHashCode");
9755
await
VerifyItemExistsAsync
(markup, "GetType");
9756
await
VerifyItemExistsAsync
(markup, "Item2");
9757
await
VerifyItemExistsAsync
(markup, "ITEM3");
9760
await
VerifyItemExistsAsync
(markup, "Item" + i);
9763
await
VerifyItemExistsAsync
(markup, "ToString");
9820
await
VerifyItemExistsAsync
(@"
9830
await
VerifyItemExistsAsync
(@"
9840
await
VerifyItemExistsAsync
(@"
9850
await
VerifyItemExistsAsync
(@"
9860
await
VerifyItemExistsAsync
(@"
9873
await
VerifyItemExistsAsync
(@"
9885
await
VerifyItemExistsAsync
(@"
9899
await
VerifyItemExistsAsync
(@"
9915
await
VerifyItemExistsAsync
(@"
9956
await
VerifyItemExistsAsync
(markup, "A");
9957
await
VerifyItemExistsAsync
(markup, "B");
10010
await
VerifyItemExistsAsync
(markup, "o");
10019
await
VerifyItemExistsAsync
(markup, "Enum");
10028
await
VerifyItemExistsAsync
(markup, "Delegate");
10037
await
VerifyItemExistsAsync
(markup, "MulticastDelegate");
10114
await
VerifyItemExistsAsync
(markup, "Task");
10115
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10137
await
VerifyItemExistsAsync
(markup, "Task");
10138
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10162
await
VerifyItemExistsAsync
(markup, "Task");
10163
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10187
await
VerifyItemExistsAsync
(markup, "Task");
10188
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10212
await
VerifyItemExistsAsync
(markup, "Task");
10239
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10262
await
VerifyItemExistsAsync
(markup, "Task");
10263
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10286
await
VerifyItemExistsAsync
(markup, "Task");
10287
await
VerifyItemExistsAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10332
await
VerifyItemExistsAsync
(markup, "A");
10333
await
VerifyItemExistsAsync
(markup, "B");
10354
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
10375
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
10395
await
VerifyItemExistsAsync
(markup, "Substring");
10396
await
VerifyItemExistsAsync
(markup, "GetTypeCode");
10418
await
VerifyItemExistsAsync
(markup, "MyProperty");
10442
await
VerifyItemExistsAsync
(markup, "MyProperty1");
10443
await
VerifyItemExistsAsync
(markup, "MyProperty2");
10469
await
VerifyItemExistsAsync
(markup, "MyProperty1");
10470
await
VerifyItemExistsAsync
(markup, "MyProperty2");
10471
await
VerifyItemExistsAsync
(markup, "MyProperty3");
10492
await
VerifyItemExistsAsync
(markup, "GetHashCode");
10514
await
VerifyItemExistsAsync
(markup, "GetHashCode");
10515
await
VerifyItemExistsAsync
(markup, "MyProperty");
10536
await
VerifyItemExistsAsync
(markup, "GetHashCode");
10537
await
VerifyItemExistsAsync
(markup, "MyProperty");
10557
await
VerifyItemExistsAsync
(markup, "Length");
10577
await
VerifyItemExistsAsync
(markup, "Length");
10599
await
VerifyItemExistsAsync
(markup, "Length", sourceCodeKind: SourceCodeKind.Regular);
10618
await
VerifyItemExistsAsync
(markup, "Length", sourceCodeKind: SourceCodeKind.Script);
10647
await
VerifyItemExistsAsync
(markup, "Something");
10675
await
VerifyItemExistsAsync
(markup, "ToByteArray");
10678
await
VerifyItemExistsAsync
(markup, "AbsoluteUri");
10679
await
VerifyItemExistsAsync
(markup, "Fragment");
10680
await
VerifyItemExistsAsync
(markup, "Query");
10710
await
VerifyItemExistsAsync
(markup, "ToByteArray");
10755
await
VerifyItemExistsAsync
(markup, "Something");
10786
await
VerifyItemExistsAsync
(markup, "AnotherSomething");
10803
await
VerifyItemExistsAsync
(
10822
await
VerifyItemExistsAsync
(
10840
await
VerifyItemExistsAsync
(
10858
await
VerifyItemExistsAsync
(
10862
await
VerifyItemExistsAsync
(
10890
await
VerifyItemExistsAsync
(markup, "M");
10891
await
VerifyItemExistsAsync
(markup, "Equals");
10899
await
VerifyItemExistsAsync
(@"
11169
await
VerifyItemExistsAsync
(markup, "BillyJoel");
11170
await
VerifyItemExistsAsync
(markup, "EveryoneElse");
11197
await
VerifyItemExistsAsync
(markup, "BillyJoel");
11198
await
VerifyItemExistsAsync
(markup, "EveryoneElse");
11225
await
VerifyItemExistsAsync
(markup, "BillyJoel");
11226
await
VerifyItemExistsAsync
(markup, "EveryoneElse");
11247
await
VerifyItemExistsAsync
(markup, "E");
11272
await
VerifyItemExistsAsync
(markup, "BillyJoel");
11273
await
VerifyItemExistsAsync
(markup, "EveryoneElse");
11300
await
VerifyItemExistsAsync
(markup, "BillyJoel");
11301
await
VerifyItemExistsAsync
(markup, "EveryoneElse");
11323
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"void C.M(int i) (+ 1 {FeaturesResources.overload})");
11345
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"[{CSharpFeaturesResources.deprecated}] void C.M() (+ 1 {FeaturesResources.overload})");
11370
await
VerifyItemExistsAsync
(markup, "M", expectedDescriptionOrNull: $"void C.M() (+ 1 {FeaturesResources.overload})");
11395
await
VerifyItemExistsAsync
(
11417
await
VerifyItemExistsAsync
(@"
11430
await
VerifyItemExistsAsync
(@"
11468
await
VerifyItemExistsAsync
(source, "M0");
11469
await
VerifyItemExistsAsync
(source, "M1");
11470
await
VerifyItemExistsAsync
(source, "M2");
11471
await
VerifyItemExistsAsync
(source, "M3");
11472
await
VerifyItemExistsAsync
(source, "P1");
11473
await
VerifyItemExistsAsync
(source, "E1");
11495
await
VerifyItemExistsAsync
(source, "X");
11496
await
VerifyItemExistsAsync
(source, "Y");
11497
await
VerifyItemExistsAsync
(source, "Method");
11498
await
VerifyItemExistsAsync
(source, "ToString");
11520
await
VerifyItemExistsAsync
(source, "X");
11521
await
VerifyItemExistsAsync
(source, "Y");
11522
await
VerifyItemExistsAsync
(source, "Method");
11523
await
VerifyItemExistsAsync
(source, "ToString");
11547
await
VerifyItemExistsAsync
(source, "X");
11548
await
VerifyItemExistsAsync
(source, "Y");
11549
await
VerifyItemExistsAsync
(source, "Method");
11550
await
VerifyItemExistsAsync
(source, "ToString");
11585
await
VerifyItemExistsAsync
(source, "X");
11586
await
VerifyItemExistsAsync
(source, "Y");
11621
await
VerifyItemExistsAsync
(source, "X");
11738
await
VerifyItemExistsAsync
(source, "MyValue");
11759
await
VerifyItemExistsAsync
(source, "goo");
11760
await
VerifyItemExistsAsync
(source, "Bar");
11780
await
VerifyItemExistsAsync
(source, "goo");
11781
await
VerifyItemExistsAsync
(source, "Bar");
11815
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11817
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11843
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11859
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11861
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11876
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11878
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11893
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11895
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11910
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11912
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11922
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11924
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11933
await
VerifyItemExistsAsync
(MakeMarkup(source), "parameter");
11935
await
VerifyItemExistsAsync
(MakeMarkup(source, languageVersion: "10"), "parameter");
11963
await
VerifyItemExistsAsync
(MakeMarkup(source), "MyRefStruct");
11974
await
VerifyItemExistsAsync
(MakeMarkup(source), "MyRefStruct");
11986
await
VerifyItemExistsAsync
(MakeMarkup(source), "ReadOnlySpan", displayTextSuffix: "<>");
12002
await
VerifyItemExistsAsync
(MakeMarkup(source), "MyRefStruct");
12050
await
VerifyItemExistsAsync
(source, "endIndex");
12051
await
VerifyItemExistsAsync
(source, "Test");
12052
await
VerifyItemExistsAsync
(source, "C");
12071
await
VerifyItemExistsAsync
(source, "endIndex");
12072
await
VerifyItemExistsAsync
(source, "Test");
12073
await
VerifyItemExistsAsync
(source, "C");
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (13)
71
=> await
VerifyItemExistsAsync
(@"System.Console.$$", @"Beep");
76
await
VerifyItemExistsAsync
(@"using System;
231
await
VerifyItemExistsAsync
(@"using System;
241
=> await
VerifyItemExistsAsync
(@"using global::$$;", @"System");
246
await
VerifyItemExistsAsync
(@"using System;
259
await
VerifyItemExistsAsync
(@"using System;
268
await
VerifyItemExistsAsync
(@"
276
await
VerifyItemExistsAsync
(@"using System.Collections.Generic;
287
await
VerifyItemExistsAsync
(@"using System.Collections.Generic;
295
await
VerifyItemExistsAsync
(@"using System;
306
=> await
VerifyItemExistsAsync
(@"static class E { public static void Method() { E.$$", @"Method");
315
await
VerifyItemExistsAsync
(code, "X");
316
await
VerifyItemExistsAsync
(code, "Y");
Completion\CompletionProviders\TupleNameCompletionProviderTests.cs (12)
24
await
VerifyItemExistsAsync
(@"
37
await
VerifyItemExistsAsync
(@"
50
await
VerifyItemExistsAsync
(@"
63
await
VerifyItemExistsAsync
(@"
76
await
VerifyItemExistsAsync
(@"
89
await
VerifyItemExistsAsync
(@"
102
await
VerifyItemExistsAsync
(@"
123
await
VerifyItemExistsAsync
(markup, "word", displayTextSuffix: ":");
124
await
VerifyItemExistsAsync
(markup, "number", displayTextSuffix: ":");
138
await
VerifyItemExistsAsync
(markup, "zword", displayTextSuffix: ":");
139
await
VerifyItemExistsAsync
(markup, "znumber", displayTextSuffix: ":");
167
await
VerifyItemExistsAsync
(markup, "goat", displayTextSuffix: ":");
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (1)
1802
=>
VerifyItemExistsAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, flags: flags);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (21)
30
await
VerifyItemExistsAsync
(markup, item);
259
await
VerifyItemExistsAsync
(@"
283
await
VerifyItemExistsAsync
(@"
307
await
VerifyItemExistsAsync
(@"
331
await
VerifyItemExistsAsync
(@"
444
await
VerifyItemExistsAsync
(@"
470
await
VerifyItemExistsAsync
(@"
495
await
VerifyItemExistsAsync
(@"
506
await
VerifyItemExistsAsync
(@"
824
await
VerifyItemExistsAsync
(text, "cref", usePreviousCharAsTrigger: true);
837
await
VerifyItemExistsAsync
(text, "cref");
850
await
VerifyItemExistsAsync
(text, "cref");
863
await
VerifyItemExistsAsync
(text, "cref");
878
await
VerifyItemExistsAsync
(text, "type");
893
await
VerifyItemExistsAsync
(text, "type");
908
await
VerifyItemExistsAsync
(text, "type");
923
await
VerifyItemExistsAsync
(text, "type");
938
await
VerifyItemExistsAsync
(text, "langword");
954
await
VerifyItemExistsAsync
(text, "await", usePreviousCharAsTrigger: true);
974
await
VerifyItemExistsAsync
(text, "term");
975
await
VerifyItemExistsAsync
(text, "description");
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (482)
Completion\CompletionProviders\AwaitCompletionProviderTests.vb (2)
18
Await
VerifyItemExistsAsync
(markup, "Await", expectedDescriptionOrNull:=expectedDescription)
21
Await
VerifyItemExistsAsync
(markup, "Awaitf", expectedDescriptionOrNull:=expectedDescription)
Completion\CompletionProviders\CompletionListTagCompletionProviderTests.vb (11)
129
Await
VerifyItemExistsAsync
(markup, "Color.X", usePreviousCharAsTrigger:=True)
130
Await
VerifyItemExistsAsync
(markup, "Color.Y", usePreviousCharAsTrigger:=True)
150
Await
VerifyItemExistsAsync
(markup, "Color.X", usePreviousCharAsTrigger:=True)
151
Await
VerifyItemExistsAsync
(markup, "Color.Y", usePreviousCharAsTrigger:=True)
198
Await
VerifyItemExistsAsync
(markup, "Color.X")
219
Await
VerifyItemExistsAsync
(markup, "Color.X")
255
Await
VerifyItemExistsAsync
(markup, "Color.Y")
276
Await
VerifyItemExistsAsync
(markup, "ColorNamespace.Color.X")
277
Await
VerifyItemExistsAsync
(markup, "ColorNamespace.Color.Y")
295
Await
VerifyItemExistsAsync
(markup, "Color.X", usePreviousCharAsTrigger:=True)
329
Await
VerifyItemExistsAsync
(markup, "Program.field1")
Completion\CompletionProviders\CrefCompletionProviderTests.vb (16)
88
Await
VerifyItemExistsAsync
(text, "Goo()")
120
Await
VerifyItemExistsAsync
(text, "Integer")
137
Await
VerifyItemExistsAsync
(text, "Integer")
182
Await
VerifyItemExistsAsync
(text, "Goo(ByRef Integer, Integer, Integer())")
197
Await
VerifyItemExistsAsync
(text, "Program")
198
Await
VerifyItemExistsAsync
(text, "Program(Of TTypeParameter)")
223
Await
VerifyItemExistsAsync
(text, "Operator +(C)")
249
Await
VerifyItemExistsAsync
(text, "Operator Mod(C, Integer)")
264
Await
VerifyItemExistsAsync
(text, "New(Integer)")
279
Await
VerifyItemExistsAsync
(text, "String")
308
Await
VerifyItemExistsAsync
(text, "Item(Integer)")
309
Await
VerifyItemExistsAsync
(text, "Item(Integer, String)")
322
Await
VerifyItemExistsAsync
(text, "GetType()")
390
Await
VerifyItemExistsAsync
(text, "Of")
465
Await
VerifyItemExistsAsync
(text, "Goo(ValueTuple(Of String, Integer))")
478
Await
VerifyItemExistsAsync
(text, "Goo(ValueTuple(Of String, Integer))")
Completion\CompletionProviders\EnumCompletionProviderTests.vb (15)
122
Await
VerifyItemExistsAsync
(markup, "Goo.AMember", usePreviousCharAsTrigger:=True)
142
Await
VerifyItemExistsAsync
(markup, "Goo.AMember", usePreviousCharAsTrigger:=True)
190
Await
VerifyItemExistsAsync
(markup, "E.A", usePreviousCharAsTrigger:=True)
230
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.Friday")
247
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.Friday")
281
Await
VerifyItemExistsAsync
(markup, "MyEnum.flower")
298
Await
VerifyItemExistsAsync
(markup, "System.DayOfWeek.Friday")
315
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.A", usePreviousCharAsTrigger:=True)
352
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.A")
353
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.B")
390
Await
VerifyItemExistsAsync
(markup, "E")
454
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.Monday")
471
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.Monday")
489
Await
VerifyItemExistsAsync
(markup, "DayOfWeek.Monday")
504
Await
VerifyItemExistsAsync
(markup, "FileAttributes.Hidden")
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.vb (9)
107
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod1", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
108
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod2", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
109
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod3", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
110
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod4", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
111
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod5", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
112
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod6", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
150
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod1", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
151
Await
VerifyItemExistsAsync
(markup, "ExtensionMethod2", glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="Foo")
313
Await
VerifyItemExistsAsync
(markup, expectedName, glyph:=Glyph.ExtensionMethodPublic, inlineDescription:="NS")
Completion\CompletionProviders\HandlesClauseCompletionProviderTests.vb (11)
29
Await
VerifyItemExistsAsync
(text, "Ev_Event")
44
Await
VerifyItemExistsAsync
(text, "Click")
62
Await
VerifyItemExistsAsync
(text, "Click")
76
Await
VerifyItemExistsAsync
(text, "Event1")
92
Await
VerifyItemExistsAsync
(text, "Ev_Event")
112
Await
VerifyItemExistsAsync
(text, "handlee")
132
Await
VerifyItemExistsAsync
(text, "Ev_Event")
148
Await
VerifyItemExistsAsync
(text, "Ev_Event")
165
Await
VerifyItemExistsAsync
(text, "Click")
182
Await
VerifyItemExistsAsync
(text, "obj")
198
Await
VerifyItemExistsAsync
(text, "B", "Event Derived.B()")
Completion\CompletionProviders\ImplementsClauseCompletionProviderTests.vb (43)
33
Await
VerifyItemExistsAsync
(text, "I")
34
Await
VerifyItemExistsAsync
(text, "J")
54
Await
VerifyItemExistsAsync
(text, "IAliasToI")
55
Await
VerifyItemExistsAsync
(text, "IAliasToJ")
56
Await
VerifyItemExistsAsync
(text, "I")
57
Await
VerifyItemExistsAsync
(text, "J")
78
Await
VerifyItemExistsAsync
(text, "AliasedNS")
79
Await
VerifyItemExistsAsync
(text, "NS")
80
Await
VerifyItemExistsAsync
(text, "I")
81
Await
VerifyItemExistsAsync
(text, "J")
96
Await
VerifyItemExistsAsync
(text, "Goo")
112
Await
VerifyItemExistsAsync
(text, "Bar")
130
Await
VerifyItemExistsAsync
(text, "B")
180
Await
VerifyItemExistsAsync
(text, "Green")
197
Await
VerifyItemExistsAsync
(text, "Green")
214
Await
VerifyItemExistsAsync
(text, "I")
236
Await
VerifyItemExistsAsync
(text, "IA")
237
Await
VerifyItemExistsAsync
(text, "Global")
256
Await
VerifyItemExistsAsync
(text, "J", Nothing, Nothing, True)
277
Await
VerifyItemExistsAsync
(text, "Outer")
297
Await
VerifyItemExistsAsync
(text, "B")
310
Await
VerifyItemExistsAsync
(text, "System")
329
Await
VerifyItemExistsAsync
(text, "I1")
330
Await
VerifyItemExistsAsync
(text, "I2")
331
Await
VerifyItemExistsAsync
(text, "Global")
350
Await
VerifyItemExistsAsync
(text, "Bar")
369
Await
VerifyItemExistsAsync
(text, "I1")
391
Await
VerifyItemExistsAsync
(text, "I")
392
Await
VerifyItemExistsAsync
(text, "Global")
407
Await
VerifyItemExistsAsync
(text, "Goo")
423
Await
VerifyItemExistsAsync
(text, "I2")
436
Await
VerifyItemExistsAsync
(text, "IEquatable(Of Integer)")
468
Await
VerifyItemExistsAsync
(text, "Interface")
510
Await
VerifyItemExistsAsync
(markup, "myevent")
527
Await
VerifyItemExistsAsync
(test, "S1")
547
Await
VerifyItemExistsAsync
(test, "F1")
567
Await
VerifyItemExistsAsync
(test, "P1")
587
Await
VerifyItemExistsAsync
(test.Value, "Bar", "Sub IGoo.Bar()" & vbCrLf & "Some Summary")
671
Await
VerifyItemExistsAsync
(text, "I")
703
Await
VerifyItemExistsAsync
(text, "Quux")
736
Await
VerifyItemExistsAsync
(text, "I(Of Integer)")
754
Await
VerifyItemExistsAsync
(text, "I(Of T)")
772
Await
VerifyItemExistsAsync
(text, "I(Of Integer)")
Completion\CompletionProviders\KeywordCompletionProviderTests.vb (1)
215
Await
VerifyItemExistsAsync
(code, "Implements")
Completion\CompletionProviders\NamedParameterCompletionProviderTests.vb (17)
18
Await
VerifyItemExistsAsync
(
33
Await
VerifyItemExistsAsync
(
68
Await
VerifyItemExistsAsync
(
99
Await
VerifyItemExistsAsync
(
111
Await
VerifyItemExistsAsync
(
123
Await
VerifyItemExistsAsync
(
146
Await
VerifyItemExistsAsync
(
164
Await
VerifyItemExistsAsync
(
221
Await
VerifyItemExistsAsync
(markup, "bool", displayTextSuffix:=":=")
222
Await
VerifyItemExistsAsync
(markup, "character", displayTextSuffix:=":=")
244
Await
VerifyItemExistsAsync
(markup, "str", displayTextSuffix:=":=")
245
Await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix:=":=")
246
Await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix:=":=")
270
Await
VerifyItemExistsAsync
(markup, "num", displayTextSuffix:=":=")
271
Await
VerifyItemExistsAsync
(markup, "b", displayTextSuffix:=":=")
279
Await
VerifyItemExistsAsync
(
372
Await
VerifyItemExistsAsync
(
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.vb (8)
29
Await
VerifyItemExistsAsync
(markup, "EntryPointNotFoundException")
46
Await
VerifyItemExistsAsync
(markup, "EntryPointNotFoundException")
70
Await
VerifyItemExistsAsync
(markup, "N.S")
94
Await
VerifyItemExistsAsync
(markup, "N.S")
115
Await
VerifyItemExistsAsync
(markup, "List(Of Bar)")
132
Await
VerifyItemExistsAsync
(markup, "List(Of Bar)")
159
Await
VerifyItemExistsAsync
(markup, "C(Of B)")
183
Await
VerifyItemExistsAsync
(markup, "A")
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.vb (20)
78
Await
VerifyItemExistsAsync
(text, "bar")
94
Await
VerifyItemExistsAsync
(text, "bar")
95
Await
VerifyItemExistsAsync
(text, "goo")
115
Await
VerifyItemExistsAsync
(text, "bar")
116
Await
VerifyItemExistsAsync
(text, "goo")
137
Await
VerifyItemExistsAsync
(text, "bar")
138
Await
VerifyItemExistsAsync
(text, "goo")
154
Await
VerifyItemExistsAsync
(text, "A")
155
Await
VerifyItemExistsAsync
(text, "B")
195
Await
VerifyItemExistsAsync
(text, "bar")
228
Await
VerifyItemExistsAsync
(text, "bar")
229
Await
VerifyItemExistsAsync
(text, "goo")
273
Await
VerifyItemExistsAsync
(text, "Goo")
292
Await
VerifyItemExistsAsync
(text, "Goo")
338
Await
VerifyItemExistsAsync
(text, "P")
387
Await
VerifyItemExistsAsync
(text, "P")
413
Await
VerifyItemExistsAsync
(text, "c")
492
Await
VerifyItemExistsAsync
(text, "[Wend]")
493
Await
VerifyItemExistsAsync
(text, "[New]")
494
Await
VerifyItemExistsAsync
(text, "A")
Completion\CompletionProviders\OverrideCompletionProviderTests.vb (3)
59
Await
VerifyItemExistsAsync
(text.Value, "Goo()", "Sub Derived.Goo()")
605
Await
VerifyItemExistsAsync
(markup.Value, "Goo([Integer] As Integer)", "Sub CBase.Goo([Integer] As Integer)")
1862
Return
VerifyItemExistsAsync
(markup, expectedItem, isComplexTextEdit:=True)
Completion\CompletionProviders\PartialTypeCompletionProviderTests.vb (10)
23
Await
VerifyItemExistsAsync
(text.Value, "C")
33
Await
VerifyItemExistsAsync
(text.Value, "C")
46
Await
VerifyItemExistsAsync
(text.Value, "C(Of Bar)")
80
Await
VerifyItemExistsAsync
(text.Value, "C(Of T)")
126
Await
VerifyItemExistsAsync
(text.Value, "C")
136
Await
VerifyItemExistsAsync
(text.Value, "S")
146
Await
VerifyItemExistsAsync
(text.Value, "I")
156
Await
VerifyItemExistsAsync
(text.Value, "M")
192
Await
VerifyItemExistsAsync
(text.Value, "Goo")
241
Await
VerifyItemExistsAsync
(text.Value, "C1(Of T As Exception)")
Completion\CompletionProviders\SymbolCompletionProviderTests.vb (289)
34
Await
VerifyItemExistsAsync
(markup, "System")
37
Await
VerifyItemExistsAsync
(markup, "String")
52
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Class A(Of T As $$"), "System")
67
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Class A(Of T As { II, $$"), "System")
82
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Class A(Of T As $$)"), "System")
97
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Class A(Of T As { II, $$})"), "System")
673
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Imports T = $$"), "System")
679
Await
VerifyItemExistsAsync
("Imports $$ = S", "System")
685
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Imports $$"), "System")
691
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", "Imports System, $$"), "System")
698
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", CreateContent("<$$>")), "System")
699
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", CreateContent("<$$>")), "String")
705
Await
VerifyItemExistsAsync
(
709
Await
VerifyItemExistsAsync
(
718
Await
VerifyItemExistsAsync
(
723
Await
VerifyItemExistsAsync
(
769
Await
VerifyItemExistsAsync
(
776
Await
VerifyItemExistsAsync
(
783
Await
VerifyItemExistsAsync
(
790
Await
VerifyItemExistsAsync
(
797
Await
VerifyItemExistsAsync
(
804
Await
VerifyItemExistsAsync
(
818
Await
VerifyItemExistsAsync
(
825
Await
VerifyItemExistsAsync
(
832
Await
VerifyItemExistsAsync
(
839
Await
VerifyItemExistsAsync
(
846
Await
VerifyItemExistsAsync
(
853
Await
VerifyItemExistsAsync
(
867
Await
VerifyItemExistsAsync
("Imports System.$$", "Console")
872
Await
VerifyItemExistsAsync
("Imports S = System.$$", "String")
877
Await
VerifyItemExistsAsync
("Imports System.$$", "String")
882
Await
VerifyItemExistsAsync
(
889
Await
VerifyItemExistsAsync
(<text>#$$</text>.Value, "#R", sourceCodeKind:=SourceCodeKind.Script)
894
Await
VerifyItemExistsAsync
(<text>#r "$$"</text>.Value, "System.dll", sourceCodeKind:=SourceCodeKind.Script)
899
Await
VerifyItemExistsAsync
(
915
Await
VerifyItemExistsAsync
(
931
Await
VerifyItemExistsAsync
(
947
Await
VerifyItemExistsAsync
(
1023
Await
VerifyItemExistsAsync
(
1036
Await
VerifyItemExistsAsync
(
1050
Await
VerifyItemExistsAsync
(
1064
Await
VerifyItemExistsAsync
(
1119
Await
VerifyItemExistsAsync
(source, "XEventHandler")
1165
Await
VerifyItemExistsAsync
(
1183
Await
VerifyItemExistsAsync
(
1201
Await
VerifyItemExistsAsync
(
1219
Await
VerifyItemExistsAsync
(
1237
Await
VerifyItemExistsAsync
(
1254
Await
VerifyItemExistsAsync
(
1262
Await
VerifyItemExistsAsync
(
1267
Await
VerifyItemExistsAsync
(
1333
Await
VerifyItemExistsAsync
(test, "Goo")
1386
Await
VerifyItemExistsAsync
(test, "A")
1403
Await
VerifyItemExistsAsync
(test, "M")
1428
Await
VerifyItemExistsAsync
(test, "A")
1453
Await
VerifyItemExistsAsync
(test, "M")
1469
Await
VerifyItemExistsAsync
(test, "x1")
1489
Await
VerifyItemExistsAsync
(test.Value, "INested")
1510
Await
VerifyItemExistsAsync
(test.Value, "INested")
1549
Await
VerifyItemExistsAsync
(test.Value, "T", $"T {FeaturesResources.in_} SomeClass(Of T)")
1559
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1570
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1581
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1592
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1605
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1618
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliant")
1631
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliantAttribute")
1644
Await
VerifyItemExistsAsync
(test.Value, "CLSCompliantAttribute")
1664
Await
VerifyItemExistsAsync
(test.Value, "New")
1719
Await
VerifyItemExistsAsync
(test.Value, "New")
1786
Await
VerifyItemExistsAsync
(markup, "Bar")
1818
Await
VerifyItemExistsAsync
(markup, "Goo")
1850
Await
VerifyItemExistsAsync
(markup, "Something")
1872
Await
VerifyItemExistsAsync
(markup, "Namespace1")
1894
Await
VerifyItemExistsAsync
(markup, "Namespace3")
1915
Await
VerifyItemExistsAsync
(markup, "Namespace4")
1936
Await
VerifyItemExistsAsync
(markup, "Custom")
1962
Await
VerifyItemExistsAsync
(markup, "Namespace1Alias")
1964
Await
VerifyItemExistsAsync
(markup, "Namespace3Alias")
1965
Await
VerifyItemExistsAsync
(markup, "Namespace4Alias")
2001
Await
VerifyItemExistsAsync
(markup, "num")
2023
Await
VerifyItemExistsAsync
(markup, "MyClass2")
2042
Await
VerifyItemExistsAsync
(markup, "MyClass1")
2059
Await
VerifyItemExistsAsync
(markup, "i")
2060
Await
VerifyItemExistsAsync
(markup, "j")
2077
Await
VerifyItemExistsAsync
(markup, "i")
2078
Await
VerifyItemExistsAsync
(markup, "j")
2095
Await
VerifyItemExistsAsync
(markup, "i")
2096
Await
VerifyItemExistsAsync
(markup, "j")
2113
Await
VerifyItemExistsAsync
(markup, "Count")
2138
Await
VerifyItemExistsAsync
(markup, "LongestString")
2163
Await
VerifyItemExistsAsync
(markup, "LongestString")
2188
Await
VerifyItemExistsAsync
(markup, "LongestString")
2203
Await
VerifyItemExistsAsync
(markup, "Distinct")
2218
Await
VerifyItemExistsAsync
(markup, "Distinct")
2233
Await
VerifyItemExistsAsync
(markup, "Sum")
2251
Await
VerifyItemExistsAsync
(markup, "num")
2268
Await
VerifyItemExistsAsync
(markup, "i1")
2285
Await
VerifyItemExistsAsync
(markup, "i1")
2303
Await
VerifyItemExistsAsync
(markup, "i1")
2304
Await
VerifyItemExistsAsync
(markup, "arr")
2305
Await
VerifyItemExistsAsync
(markup, "args")
2323
Await
VerifyItemExistsAsync
(markup, "i1")
2324
Await
VerifyItemExistsAsync
(markup, "arr")
2325
Await
VerifyItemExistsAsync
(markup, "args")
2401
Await
VerifyItemExistsAsync
(markup, "Configure", "Sub Derived.Configure()")
2422
Await
VerifyItemExistsAsync
(markup, "Configure")
2448
Await
VerifyItemExistsAsync
(markup, "Goo")
2464
Await
VerifyItemExistsAsync
(markup, "NewRegistrations")
2482
Await
VerifyItemExistsAsync
(markup, "derivedEvent")
2496
Await
VerifyItemExistsAsync
(markup, "x1")
2497
Await
VerifyItemExistsAsync
(markup, "x5")
2510
Await
VerifyItemExistsAsync
(markup, "x1")
2511
Await
VerifyItemExistsAsync
(markup, "x5")
2552
Await
VerifyItemExistsAsync
(markup, "x")
2564
Await
VerifyItemExistsAsync
(markup, "x")
2596
Await
VerifyItemExistsAsync
(markup, "i")
2615
Await
VerifyItemExistsAsync
(markup, "a")
2616
Await
VerifyItemExistsAsync
(markup, "b")
2617
Await
VerifyItemExistsAsync
(markup, "c")
2632
Await
VerifyItemExistsAsync
(markup, "dim")
2634
Await
VerifyItemExistsAsync
(markup, "Structure")
2652
Await
VerifyItemExistsAsync
(markup, "dim")
2654
Await
VerifyItemExistsAsync
(markup, "New")
2656
Await
VerifyItemExistsAsync
(markup, "rem")
2672
Await
VerifyItemExistsAsync
(markup, "Structure")
2687
Await
VerifyItemExistsAsync
(markup, "class")
2731
Await
VerifyItemExistsAsync
(markup, "a")
2732
Await
VerifyItemExistsAsync
(markup, "b")
2733
Await
VerifyItemExistsAsync
(markup, "c")
2734
Await
VerifyItemExistsAsync
(markup, "Equals")
2752
Await
VerifyItemExistsAsync
(text, "Goo")
2753
Await
VerifyItemExistsAsync
(text, "Bar")
2799
Await
VerifyItemExistsAsync
(text, "goo")
2817
Await
VerifyItemExistsAsync
(text, "goo")
2830
Await
VerifyItemExistsAsync
(text, "bar")
2856
Await
VerifyItemExistsAsync
(text, "goo")
2870
Await
VerifyItemExistsAsync
(text, "goo")
2884
Await
VerifyItemExistsAsync
(text, "goo")
2911
Await
VerifyItemExistsAsync
(code, "label1")
2950
Await
VerifyItemExistsAsync
(code, "Bar")
2965
Await
VerifyItemExistsAsync
(code, "Goo", $"({VBFeaturesResources.Deprecated}) Sub SomeClass.Goo()")
2980
Await
VerifyItemExistsAsync
(code, "x")
3016
Await
VerifyItemExistsAsync
(code, "args")
3027
Await
VerifyItemExistsAsync
(code, "aaa")
3069
Await
VerifyItemExistsAsync
(AddImportsStatement("Imports System", AddInsideMethod("Console.$$")), "Beep")
3074
Await
VerifyItemExistsAsync
(
3084
Await
VerifyItemExistsAsync
(
3092
Await
VerifyItemExistsAsync
(
5032
Await
VerifyItemExistsAsync
(markup, "Base")
5049
Await
VerifyItemExistsAsync
(markup, "Nest")
5063
Await
VerifyItemExistsAsync
(markup, "IGoo")
5078
Await
VerifyItemExistsAsync
(markup, "IAlias")
5095
Await
VerifyItemExistsAsync
(markup, "AliasedNS")
5110
Await
VerifyItemExistsAsync
(markup, "AliasedClass")
5127
Await
VerifyItemExistsAsync
(markup, "AliasedNS")
5144
Await
VerifyItemExistsAsync
(markup, "AliasedClass")
5161
Await
VerifyItemExistsAsync
(markup, "IBar")
5177
Await
VerifyItemExistsAsync
(markup, "Base")
5206
Await
VerifyItemExistsAsync
(markup, "base", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
5221
Await
VerifyItemExistsAsync
(markup, "IGoo", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
5235
Await
VerifyItemExistsAsync
(markup, "IBar")
5259
Await
VerifyItemExistsAsync
(markup, "Inherits")
5305
Await
VerifyItemExistsAsync
(markup, "Module2")
5340
Await
VerifyItemExistsAsync
(markup, "S1")
5355
Await
VerifyItemExistsAsync
(markup, "N")
5371
Await
VerifyItemExistsAsync
(markup, "ITestInterface")
5392
Await
VerifyItemExistsAsync
(markup, "ITestInterface")
5450
Await
VerifyItemExistsAsync
(markup, "I", displayTextSuffix:="(Of …)")
5489
Await
VerifyItemExistsAsync
(markup, "B")
5507
Await
VerifyItemExistsAsync
(markup, "G")
5526
Await
VerifyItemExistsAsync
(markup, "somestruct")
5547
Await
VerifyItemExistsAsync
(markup, "Goo")
5567
Await
VerifyItemExistsAsync
(markup, "Goo")
5585
Await
VerifyItemExistsAsync
(markup, "Average")
5708
Await
VerifyItemExistsAsync
(text, "Goo")
5728
Await
VerifyItemExistsAsync
(text, "IAlias", expectedDescriptionOrNull:="Interface IGoo" + vbCrLf + "summary for interface IGoo")
5756
Await
VerifyItemExistsAsync
(text, "C")
5757
Await
VerifyItemExistsAsync
(text, "D")
5788
Await
VerifyItemExistsAsync
(text, "C")
5789
Await
VerifyItemExistsAsync
(text, "D")
5798
Await
VerifyItemExistsAsync
(source, "System")
5809
Await
VerifyItemExistsAsync
(source, "Runtime")
5820
Await
VerifyItemExistsAsync
(source, "System")
5834
Await
VerifyItemExistsAsync
(source, "A")
5866
Await
VerifyItemExistsAsync
(source, "B")
5916
Await
VerifyItemExistsAsync
(source, "B")
5927
Await
VerifyItemExistsAsync
(source, "System")
5971
Await
VerifyItemExistsAsync
(source, "B")
5992
Await
VerifyItemExistsAsync
(source, "B")
6012
Await
VerifyItemExistsAsync
(source, "C")
6049
Await
VerifyItemExistsAsync
(source, "B")
6060
Await
VerifyItemExistsAsync
(source, "System")
6184
Await
VerifyItemExistsAsync
(text, "ToString")
6198
Await
VerifyItemExistsAsync
(text, "ToString")
6210
Await
VerifyItemExistsAsync
(text, "Day")
6223
Await
VerifyItemExistsAsync
(text, "Value")
6257
Await
VerifyItemExistsAsync
(text, "GetTypeCode")
6273
Await
VerifyItemExistsAsync
(text, "ToString")
6299
Await
VerifyItemExistsAsync
(text, "b")
6326
Await
VerifyItemExistsAsync
(text, "b")
6341
Await
VerifyItemExistsAsync
(text, "ToString")
6359
Await
VerifyItemExistsAsync
(text, "Length")
6379
Await
VerifyItemExistsAsync
(text, "Goo")
6399
Await
VerifyItemExistsAsync
(text, "Bar")
6419
Await
VerifyItemExistsAsync
(text, "Goo")
6439
Await
VerifyItemExistsAsync
(text, "Bar")
6459
Await
VerifyItemExistsAsync
(text, "Goo")
6479
Await
VerifyItemExistsAsync
(text, "Bar")
6499
Await
VerifyItemExistsAsync
(text, "Goo")
6519
Await
VerifyItemExistsAsync
(text, "Bar")
6539
Await
VerifyItemExistsAsync
(text, "Goo")
6559
Await
VerifyItemExistsAsync
(text, "Bar")
6579
Await
VerifyItemExistsAsync
(text, "Goo")
6599
Await
VerifyItemExistsAsync
(text, "Bar")
6663
Await
VerifyItemExistsAsync
(text, "Goo")
6687
Await
VerifyItemExistsAsync
(text, "Bar")
6702
Await
VerifyItemExistsAsync
(text, "Bar")
6717
Await
VerifyItemExistsAsync
(text, "x")
6730
Await
VerifyItemExistsAsync
(text, "x")
6779
Await
VerifyItemExistsAsync
(text, "M", usePreviousCharAsTrigger:=True)
6843
Await
VerifyItemExistsAsync
(text, "X")
6844
Await
VerifyItemExistsAsync
(text, "Y")
6866
Await
VerifyItemExistsAsync
(text, "X")
6884
Await
VerifyItemExistsAsync
(text, "_field")
6907
Await
VerifyItemExistsAsync
(text, "M")
6954
Await
VerifyItemExistsAsync
(text, "M")
7012
Await
VerifyItemExistsAsync
(text, "x")
7032
Await
VerifyItemExistsAsync
(text, "y")
7049
Await
VerifyItemExistsAsync
(text, "A")
7208
Await
VerifyItemExistsAsync
(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7225
Await
VerifyItemExistsAsync
(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7241
Await
VerifyItemExistsAsync
(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7256
Await
VerifyItemExistsAsync
(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7273
Await
VerifyItemExistsAsync
(text, "Delegate")
7341
Await
VerifyItemExistsAsync
(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7358
Await
VerifyItemExistsAsync
(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7374
Await
VerifyItemExistsAsync
(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7389
Await
VerifyItemExistsAsync
(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")")
7406
Await
VerifyItemExistsAsync
(text, "Delegate")
7424
Await
VerifyItemExistsAsync
(text, "Length")
7443
Await
VerifyItemExistsAsync
(text, "Length")
7456
Await
VerifyItemExistsAsync
(text, "Length")
7470
Await
VerifyItemExistsAsync
(text, "x")
7526
Await
VerifyItemExistsAsync
(text, "x")
7540
Await
VerifyItemExistsAsync
(text, "A")
7584
Await
VerifyItemExistsAsync
(text, "Alice")
7585
Await
VerifyItemExistsAsync
(text, "Bob")
7586
Await
VerifyItemExistsAsync
(text, "CompareTo")
7587
Await
VerifyItemExistsAsync
(text, "Equals")
7588
Await
VerifyItemExistsAsync
(text, "GetHashCode")
7589
Await
VerifyItemExistsAsync
(text, "GetType")
7591
Await
VerifyItemExistsAsync
(text, "Item" + index.ToString())
7594
Await
VerifyItemExistsAsync
(text, "ToString")
7678
Await
VerifyItemExistsAsync
(text, "System")
7747
Await
VerifyItemExistsAsync
(source, "Task")
7748
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7768
Await
VerifyItemExistsAsync
(source, "Task")
7769
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7792
Await
VerifyItemExistsAsync
(source, "Task")
7793
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7815
Await
VerifyItemExistsAsync
(source, "Task")
7816
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7837
Await
VerifyItemExistsAsync
(source, "Task")
7862
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7883
Await
VerifyItemExistsAsync
(source, "Task")
7884
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7905
Await
VerifyItemExistsAsync
(source, "Task")
7906
Await
VerifyItemExistsAsync
(source, "FirstOrDefault")
7957
Await
VerifyItemExistsAsync
(source, "A")
7958
Await
VerifyItemExistsAsync
(source, "B")
7983
Await
VerifyItemExistsAsync
(source, "GetTypeCode")
8008
Await
VerifyItemExistsAsync
(source, "GetTypeCode")
8032
Await
VerifyItemExistsAsync
(source, "Substring")
8033
Await
VerifyItemExistsAsync
(source, "GetTypeCode")
8054
Await
VerifyItemExistsAsync
(source, "Length")
8075
Await
VerifyItemExistsAsync
(source, "Length")
8096
Await
VerifyItemExistsAsync
(source, "Length")
8120
Await
VerifyItemExistsAsync
(source, "Something")
8152
Await
VerifyItemExistsAsync
(source, "ToByteArray")
8155
Await
VerifyItemExistsAsync
(source, "AbsoluteUri")
8156
Await
VerifyItemExistsAsync
(source, "Fragment")
8157
Await
VerifyItemExistsAsync
(source, "Query")
8191
Await
VerifyItemExistsAsync
(source, "ToByteArray")
8231
Await
VerifyItemExistsAsync
(source, "Something")
8260
Await
VerifyItemExistsAsync
(source, "AnotherSomething")
8273
Await
VerifyItemExistsAsync
(
8288
Await
VerifyItemExistsAsync
(
8303
Await
VerifyItemExistsAsync
(
Completion\CompletionProviders\TypeImportCompletionProviderTests.vb (8)
51
Await
VerifyItemExistsAsync
(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttribute", isComplexTextEdit:=True)
81
Await
VerifyItemExistsAsync
(markup, "MyAttribute", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttribute", isComplexTextEdit:=True)
82
Await
VerifyItemExistsAsync
(markup, "MyAttributeWithoutSuffix", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyAttributeWithoutSuffix", isComplexTextEdit:=True)
83
Await
VerifyItemExistsAsync
(markup, "MyVBClass", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.MyVBClass", isComplexTextEdit:=True)
107
Await
VerifyItemExistsAsync
(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.Myattribute")
130
Await
VerifyItemExistsAsync
(markup, "My", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", expectedDescriptionOrNull:="Class Foo.Myattribute", isComplexTextEdit:=True)
151
Await
VerifyItemExistsAsync
(markup, "MyGenericClass", glyph:=Glyph.ClassPublic, inlineDescription:="Foo", displayTextSuffix:="(Of ...)", expectedDescriptionOrNull:="Class Foo.MyGenericClass(Of T)", isComplexTextEdit:=True)
246
Await
VerifyItemExistsAsync
(markup, "Foo4", glyph:=Glyph.ClassPublic, inlineDescription:="Foo1.Foo2.Foo3", displayTextSuffix:="(Of ...)", isComplexTextEdit:=True)
Completion\CompletionProviders\XmlDocCommentCompletionProviderTests.vb (19)
35
Await
VerifyItemExistsAsync
(markup, item)
360
Await
VerifyItemExistsAsync
(text, "cref")
373
Await
VerifyItemExistsAsync
(text, "cref")
386
Await
VerifyItemExistsAsync
(text, "cref")
399
Await
VerifyItemExistsAsync
(text, "cref")
414
Await
VerifyItemExistsAsync
(text, "type")
429
Await
VerifyItemExistsAsync
(text, "type")
444
Await
VerifyItemExistsAsync
(text, "type")
458
Await
VerifyItemExistsAsync
(text, "type", usePreviousCharAsTrigger:=True)
472
Await
VerifyItemExistsAsync
(text, "cref", usePreviousCharAsTrigger:=True)
486
Await
VerifyItemExistsAsync
(text, "Await", usePreviousCharAsTrigger:=True)
500
Await
VerifyItemExistsAsync
(text, "Await", usePreviousCharAsTrigger:=True)
513
Await
VerifyItemExistsAsync
(text, "bar")
526
Await
VerifyItemExistsAsync
(
642
Await
VerifyItemExistsAsync
(text, "value")
672
Await
VerifyItemExistsAsync
(text, "value")
702
Await
VerifyItemExistsAsync
(text, "value")
933
Await
VerifyItemExistsAsync
(text, "term")
934
Await
VerifyItemExistsAsync
(text, "description")