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