999 references to VerifyItemExistsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (999)
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)
63=> VerifyItemExistsAsync(""" 76=> VerifyItemExistsAsync(""" 105await VerifyItemExistsAsync(text, "int"); 110=> VerifyItemExistsAsync(""" 125=> VerifyItemExistsAsync(""" 144=> VerifyItemExistsAsync(""" 157=> VerifyItemExistsAsync(""" 176await VerifyItemExistsAsync(text, "M(int)"); 177await VerifyItemExistsAsync(text, "M(ref long)"); 178await VerifyItemExistsAsync(text, "M{T}(T)"); 183=> VerifyItemExistsAsync(""" 209await VerifyItemExistsAsync(text, "C()"); 210await VerifyItemExistsAsync(text, "C(T)"); 211await VerifyItemExistsAsync(text, "C(int)"); 216=> VerifyItemExistsAsync(""" 229=> VerifyItemExistsAsync(""" 272await VerifyItemExistsAsync(text, "operator !(Test)"); 273await VerifyItemExistsAsync(text, "operator +(Test, Test)"); 274await VerifyItemExistsAsync(text, "operator true(Test)"); 275await VerifyItemExistsAsync(text, "operator false(Test)"); 280=> VerifyItemExistsAsync(""" 318await VerifyItemExistsAsync(text, "M(ref int)"); 319await VerifyItemExistsAsync(text, "M(out long)"); 349await VerifyItemExistsAsync(text, "N"); 350await VerifyItemExistsAsync(text, "C"); 427await VerifyItemExistsAsync(text, "uint"); 428await VerifyItemExistsAsync(text, "UInt32"); 444=> VerifyItemExistsAsync(""" 455=> VerifyItemExistsAsync($$""" 466=> VerifyItemExistsAsync(""" 478=> VerifyItemExistsAsync(""" 490=> VerifyItemExistsAsync(""" 504=> VerifyItemExistsAsync(""" 532await VerifyItemExistsAsync(text, "Dispose()"); 533await VerifyItemExistsAsync(text, "Dispose(bool)"); 552await VerifyItemExistsAsync(text, "Dispose()"); 553await VerifyItemExistsAsync(text, "Dispose(bool)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (176)
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"); 1006await VerifyItemExistsAsync(markup, "MyClasses"); 1030=> VerifyItemExistsAsync(""" 1073await VerifyItemExistsAsync(markup, "myClass", glyph: Glyph.FieldPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1074await VerifyItemExistsAsync(markup, "MyClass", glyph: Glyph.PropertyPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1075await VerifyItemExistsAsync(markup, "GetMyClass", glyph: Glyph.MethodPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1090await VerifyItemExistsAsync(markup, "myClass", glyph: Glyph.Local, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1105await VerifyItemExistsAsync(markup, "my"); 1106await VerifyItemExistsAsync(markup, "type"); 1107await VerifyItemExistsAsync(markup, "myType"); 1119await VerifyItemExistsAsync(markup, "my"); 1120await VerifyItemExistsAsync(markup, "type"); 1121await VerifyItemExistsAsync(markup, "myType"); 1146=> VerifyItemExistsAsync(""" 1158=> VerifyItemExistsAsync(""" 1170=> VerifyItemExistsAsync(""" 1182=> VerifyItemExistsAsync(""" 1206=> VerifyItemExistsAsync(""" 1218=> VerifyItemExistsAsync(""" 1230=> VerifyItemExistsAsync(""" 1242=> VerifyItemExistsAsync(""" 1251=> VerifyItemExistsAsync(""" 1260=> VerifyItemExistsAsync(""" 1269=> VerifyItemExistsAsync(""" 1278=> VerifyItemExistsAsync(""" 1287=> VerifyItemExistsAsync(""" 1309=> VerifyItemExistsAsync(""" 1334=> VerifyItemExistsAsync(""" 1344=> VerifyItemExistsAsync(""" 1363await VerifyItemExistsAsync(markup, "cancellationTokens"); 1364await VerifyItemExistsAsync(markup, "cancellations"); 1365await VerifyItemExistsAsync(markup, "tokens"); 1379await VerifyItemExistsAsync(markup, "cancellationTokens"); 1380await VerifyItemExistsAsync(markup, "cancellations"); 1381await VerifyItemExistsAsync(markup, "tokens"); 1395await VerifyItemExistsAsync(markup, "cancellationTokens"); 1396await VerifyItemExistsAsync(markup, "cancellations"); 1397await VerifyItemExistsAsync(markup, "tokens"); 1411await VerifyItemExistsAsync(markup, "tests"); 1416=> VerifyItemExistsAsync(""" 1441=> VerifyItemExistsAsync(""" 1468=> VerifyItemExistsAsync(""" 1498await VerifyItemExistsAsync(markup, "myClasses"); 1516await VerifyItemExistsAsync(markup, "cancellationToken"); 1517await VerifyItemExistsAsync(markup, "cancellation"); 1518await VerifyItemExistsAsync(markup, "token"); 1536await VerifyItemExistsAsync(markup, "cancellationToken"); 1537await VerifyItemExistsAsync(markup, "cancellation"); 1538await VerifyItemExistsAsync(markup, "token"); 1559await VerifyItemExistsAsync(markup, "cancellationToken"); 1560await VerifyItemExistsAsync(markup, "cancellation"); 1561await VerifyItemExistsAsync(markup, "token"); 1579await VerifyItemExistsAsync(markup, "cancellationToken"); 1580await VerifyItemExistsAsync(markup, "cancellation"); 1598await VerifyItemExistsAsync(markup, "cancellationToken"); 1599await VerifyItemExistsAsync(markup, "token"); 1620await VerifyItemExistsAsync(markup, "cancellationToken"); 1621await VerifyItemExistsAsync(markup, "token"); 1626=> VerifyItemExistsAsync(""" 1640=> VerifyItemExistsAsync(""" 1654=> VerifyItemExistsAsync(""" 1668=> VerifyItemExistsAsync(""" 1696=> VerifyItemExistsAsync(""" 1710=> VerifyItemExistsAsync(""" 1724=> VerifyItemExistsAsync(""" 1750=> VerifyItemExistsAsync(""" 1767=> VerifyItemExistsAsync(""" 1784=> VerifyItemExistsAsync(""" 1800=> VerifyItemExistsAsync(""" 1819=> VerifyItemExistsAsync(""" 1836=> VerifyItemExistsAsync(""" 1853=> VerifyItemExistsAsync(""" 1872=> VerifyItemExistsAsync(""" 1888=> VerifyItemExistsAsync(""" 1905=> VerifyItemExistsAsync(""" 1922=> VerifyItemExistsAsync(""" 1939=> VerifyItemExistsAsync(""" 1955=> VerifyItemExistsAsync(""" 1969=> VerifyItemExistsAsync(""" 1984=> VerifyItemExistsAsync(""" 1997=> VerifyItemExistsAsync(""" 2010=> VerifyItemExistsAsync(""" 2023=> VerifyItemExistsAsync(""" 2036=> VerifyItemExistsAsync(""" 2049=> VerifyItemExistsAsync(""" 2062=> VerifyItemExistsAsync(""" 2091await VerifyItemExistsAsync(markup, "ConfigurationField", glyph: Glyph.FieldPublic, 2093await VerifyItemExistsAsync(markup, "ConfigurationProperty", glyph: Glyph.PropertyPublic, 2095await VerifyItemExistsAsync(markup, "ConfigurationMethod", glyph: Glyph.MethodPublic, 2122await VerifyItemExistsAsync(markup, "ConfigurationLocal", glyph: Glyph.Local, 2124await VerifyItemExistsAsync(markup, "ConfigurationLocalFunction", glyph: Glyph.MethodPublic, 2151await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2170await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2176=> VerifyItemExistsAsync(""" 2193=> VerifyItemExistsAsync(""" 2224await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2246await VerifyItemExistsAsync(markup, "classB2", glyph: Glyph.Local, 2269await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2275=> VerifyItemExistsAsync(""" 2288=> VerifyItemExistsAsync(""" 2328await VerifyItemExistsAsync(markup, "classB", glyph: Glyph.Parameter, 2403=> VerifyItemExistsAsync(""" 2418=> VerifyItemExistsAsync(""" 2436=> VerifyItemExistsAsync(""" 2454=> VerifyItemExistsAsync(""" 2498await VerifyItemExistsAsync(""" 2539await VerifyItemExistsAsync(markup, "interestingName"); 2540await VerifyItemExistsAsync(markup, "cancellationToken"); 2545=> VerifyItemExistsAsync(""" 2570=> VerifyItemExistsAsync(""" 2583=> VerifyItemExistsAsync(""" 2596=> VerifyItemExistsAsync(""" 2612=> VerifyItemExistsAsync(""" 2624=> 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\ExtensionMethodImportCompletionProviderTests.cs (9)
99=> VerifyItemExistsAsync(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, matchingFilters: expectedFilters); 2084=> VerifyItemExistsAsync( 2112=> VerifyItemExistsAsync( 2140=> VerifyItemExistsAsync( 2172=> VerifyItemExistsAsync( 2200=> VerifyItemExistsAsync( 2228=> VerifyItemExistsAsync( 2260=> VerifyItemExistsAsync( 2296=> 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 (44)
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); 1098=> VerifyItemExistsAsync(""" 1121=> VerifyItemExistsAsync(""" 1149=> VerifyItemExistsAsync(""" 1191=> VerifyItemExistsAsync(""" 1219=> VerifyItemExistsAsync(""" 1246=> 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(""" 390await VerifyItemExistsAsync(AddUsingDirectives("using System;", content), @"AttributeUsage"); 391await VerifyItemExistsAsync(AddUsingDirectives("using System;", content), @"System"); 452=> VerifyItemExistsAsync(@"namespace $$ { }", "System", sourceCodeKind: SourceCodeKind.Regular); 456=> VerifyItemExistsAsync(""" 492=> VerifyItemExistsAsync(""" 613=> VerifyItemExistsAsync(""" 621=> VerifyItemExistsAsync(""" 685=> VerifyItemExistsAsync(@"name$$space System { }", "System", sourceCodeKind: SourceCodeKind.Regular); 1711=> VerifyItemExistsAsync(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"System"); 1719=> VerifyItemExistsAsync( 1735=> VerifyItemExistsAsync( 1758=> VerifyItemExistsAsync(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"System"); 1766=> VerifyItemExistsAsync( 1782=> VerifyItemExistsAsync( 1817await VerifyItemExistsAsync(@"class CL<T> where $$", @"T"); 1818await VerifyItemExistsAsync(@"class CL{ delegate void F<T>() where $$} ", @"T"); 1819await VerifyItemExistsAsync(@"class CL{ void F<T>() where $$", @"T"); 1833await VerifyItemExistsAsync(@"class CL<T1> { void M<T2>() where $$", @"T2"); 1882=> await VerifyItemExistsAsync(AddUsingDirectives("using S = System;", AddInsideMethod(@"S.$$")), @"String"); 1886=> await VerifyItemExistsAsync(AddUsingDirectives("using S = System.String;", AddInsideMethod(@"S.$$")), @"Empty"); 1946=> await VerifyItemExistsAsync(AddInsideMethod(@"var x = 0; checked($$"), @"x"); 1950=> await VerifyItemExistsAsync(AddInsideMethod(@"var x = 0; unchecked($$"), @"x"); 1954=> await VerifyItemExistsAsync(@"class c { void M() { string goo; $$", "goo"); 1958=> await VerifyItemExistsAsync(@"class c { void M(string args) { $$", "args"); 1966=> VerifyItemExistsAsync(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Regular); 1982=> VerifyItemExistsAsync(prefix + """ 1993=> VerifyItemExistsAsync(""" 2003=> VerifyItemExistsAsync(""" 2016=> VerifyItemExistsAsync("call(" + prefix + "$$)", "args", sourceCodeKind: SourceCodeKind.Regular); 2024=> await VerifyItemExistsAsync( 2041=> await VerifyItemExistsAsync(@"string first = $$", "args", sourceCodeKind: SourceCodeKind.Regular); 2053=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"class c { void M() { new $$"), "Exception"); 2081=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { true.$$"), "Equals"); 2085=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { false.$$"), "Equals"); 2089=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { 'c'.$$"), "Equals"); 2093=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { """".$$"), "Equals"); 2097=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { @"""".$$"), "Equals"); 2101=> VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { 2.$$"), "Equals"); 2109=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { (true).$$"), "Equals"); 2113=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { (false).$$"), "Equals"); 2117=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { ('c').$$"), "Equals"); 2121=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { ("""").$$"), "Equals"); 2125=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { (@"""").$$"), "Equals"); 2129=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { (2).$$"), "Equals"); 2133=> await VerifyItemExistsAsync(AddUsingDirectives("using System;", @"public class C { void M() { (1 + 1).$$"), "Equals"); 2137=> await VerifyItemExistsAsync(@"using S = System.$$", "String"); 2287=> VerifyItemExistsAsync(""" 2297=> VerifyItemExistsAsync(""" 2349=> VerifyItemExistsAsync(""" 2369=> VerifyItemExistsAsync(""" 2391=> VerifyItemExistsAsync(""" 2905await VerifyItemExistsAsync(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular); 2921await VerifyItemExistsAsync(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 2954=> VerifyItemExistsAsync(""" 2971=> VerifyItemExistsAsync(""" 3009=> VerifyItemExistsAsync(""" 3017=> VerifyItemExistsAsync(""" 3025=> VerifyItemExistsAsync(""" 3070=> VerifyItemExistsAsync(""" 3118=> VerifyItemExistsAsync(""" 3132=> VerifyItemExistsAsync(""" 3229=> VerifyItemExistsAsync(""" 3249=> VerifyItemExistsAsync(""" 3431=> VerifyItemExistsAsync(""" 3458=> VerifyItemExistsAsync(""" 3470=> VerifyItemExistsAsync(""" 3516=> VerifyItemExistsAsync(""" 3529=> VerifyItemExistsAsync(""" 3541=> VerifyItemExistsAsync(""" 3553=> VerifyItemExistsAsync(""" 3567=> VerifyItemExistsAsync(""" 3581=> VerifyItemExistsAsync(""" 3598=> VerifyItemExistsAsync(""" 3609=> VerifyItemExistsAsync(""" 3618=> VerifyItemExistsAsync(""" 3627=> VerifyItemExistsAsync(""" 3636=> VerifyItemExistsAsync(""" 3645=> VerifyItemExistsAsync(""" 3654=> VerifyItemExistsAsync(""" 3663=> VerifyItemExistsAsync(""" 3674=> VerifyItemExistsAsync(""" 3685=> VerifyItemExistsAsync(""" 3697=> VerifyItemExistsAsync(""" 3708=> VerifyItemExistsAsync(""" 3720=> VerifyItemExistsAsync(""" 3730=> VerifyItemExistsAsync(""" 3740=> VerifyItemExistsAsync(""" 3750=> VerifyItemExistsAsync(""" 3766=> VerifyItemExistsAsync(""" 3800=> VerifyItemExistsAsync(""" 3813=> VerifyItemExistsAsync(""" 3839=> VerifyItemExistsAsync(""" 3892=> VerifyItemExistsAsync(""" 3928await VerifyItemExistsAsync(markup, "M", expectedDescriptionOrNull: $"void C.M() (+ 1 {FeaturesResources.overload})"); 3929await VerifyItemExistsAsync(markup, "P", expectedDescriptionOrNull: "int C.P { get; }"); 3983=> VerifyItemExistsAsync( 3994=> VerifyItemExistsAsync( 4005=> VerifyItemExistsAsync( 4095=> VerifyItemExistsAsync( 4107=> VerifyItemExistsAsync( 4153=> VerifyItemExistsAsync( 4165=> VerifyItemExistsAsync( 4177=> VerifyItemExistsAsync( 4223=> VerifyItemExistsAsync(""" 4258await VerifyItemExistsAsync(code, "X"); 4259await Assert.ThrowsAsync<Xunit.Sdk.TrueException>(() => VerifyItemExistsAsync(code, "XAttribute")); 4265=> VerifyItemExistsAsync(""" 4280=> VerifyItemExistsAsync(""" 4295=> VerifyItemExistsAsync(""" 4310=> VerifyItemExistsAsync(""" 4324=> VerifyItemExistsAsync(""" 4336=> VerifyItemExistsAsync(""" 4373=> VerifyItemExistsAsync(""" 4385=> VerifyItemExistsAsync(""" 7353=> VerifyItemExistsAsync(""" 7367=> VerifyItemExistsAsync(""" 7435=> VerifyItemExistsAsync(""" 7450=> VerifyItemExistsAsync(""" 7459=> VerifyItemExistsAsync(""" 7471=> VerifyItemExistsAsync(""" 7481=> VerifyItemExistsAsync(""" 7491=> VerifyItemExistsAsync(""" 7598=> VerifyItemExistsAsync(""" 7676=> VerifyItemExistsAsync(""" 7705=> VerifyItemExistsAsync(""" 7723=> VerifyItemExistsAsync(""" 7751=> VerifyItemExistsAsync(""" 7838=> VerifyItemExistsAsync(""" 7851=> VerifyItemExistsAsync(""" 7886await VerifyItemExistsAsync(markup, "N"); 7903await VerifyItemExistsAsync(markup, "C"); 7920=> VerifyItemExistsAsync($$""" 8521=> VerifyItemExistsAsync(""" 8541=> VerifyItemExistsAsync(""" 8559=> VerifyItemExistsAsync(""" 8577=> VerifyItemExistsAsync(""" 8595=> VerifyItemExistsAsync(""" 8610=> VerifyItemExistsAsync(""" 8632=> VerifyItemExistsAsync(""" 8650=> VerifyItemExistsAsync(""" 8698=> VerifyItemExistsAsync(""" 8770=> VerifyItemExistsAsync(""" 8792=> VerifyItemExistsAsync(""" 8814=> VerifyItemExistsAsync(""" 8841=> VerifyItemExistsAsync(""" 8851=> VerifyItemExistsAsync(""" 8861=> VerifyItemExistsAsync(""" 8897=> VerifyItemExistsAsync(""" 8919=> VerifyItemExistsAsync(""" 8941=> VerifyItemExistsAsync(""" 8961=> VerifyItemExistsAsync(""" 8974=> VerifyItemExistsAsync(""" 8986=> VerifyItemExistsAsync(""" 9000=> VerifyItemExistsAsync(""" 9012=> VerifyItemExistsAsync(""" 9026=> VerifyItemExistsAsync(""" 9038=> VerifyItemExistsAsync(""" 9077=> VerifyItemExistsAsync(AddInsideMethod( 9570=> VerifyItemExistsAsync(""" 9583=> VerifyItemExistsAsync(""" 9600=> VerifyItemExistsAsync(""" 9630=> VerifyItemExistsAsync(""" 9660=> VerifyItemExistsAsync(""" 9672=> VerifyItemExistsAsync(""" 9684=> VerifyItemExistsAsync(""" 9709=> VerifyItemExistsAsync(""" 9727=> VerifyItemExistsAsync(""" 9736=> VerifyItemExistsAsync(""" 9743=> VerifyItemExistsAsync(""" 9778=> VerifyItemExistsAsync(""" 9800=> VerifyItemExistsAsync(""" 9813=> VerifyItemExistsAsync(""" 9829=> VerifyItemExistsAsync(""" 9845=> VerifyItemExistsAsync(""" 9861=> VerifyItemExistsAsync(""" 9955=> VerifyItemExistsAsync(""" 9964=> VerifyItemExistsAsync(""" 9973=> VerifyItemExistsAsync(""" 9982=> VerifyItemExistsAsync(""" 9991=> VerifyItemExistsAsync(""" 10003=> VerifyItemExistsAsync(""" 10014=> VerifyItemExistsAsync(""" 10027=> VerifyItemExistsAsync(""" 10042=> VerifyItemExistsAsync(""" 10084await VerifyItemExistsAsync(markup, "A"); 10085await VerifyItemExistsAsync(markup, "B"); 10125=> VerifyItemExistsAsync(""" 10131=> VerifyItemExistsAsync(""" 10137=> VerifyItemExistsAsync(""" 10143=> VerifyItemExistsAsync(""" 10223await VerifyItemExistsAsync(markup, "Task"); 10224await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10247await VerifyItemExistsAsync(markup, "Task"); 10248await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10273await VerifyItemExistsAsync(markup, "Task"); 10274await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10299await VerifyItemExistsAsync(markup, "Task"); 10300await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10324await VerifyItemExistsAsync(markup, "Task"); 10351await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10374await VerifyItemExistsAsync(markup, "Task"); 10375await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10398await VerifyItemExistsAsync(markup, "Task"); 10399await VerifyItemExistsAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10466await VerifyItemExistsAsync(markup, "GetTypeCode"); 10488await VerifyItemExistsAsync(markup, "GetTypeCode"); 10509await VerifyItemExistsAsync(markup, "Substring"); 10510await VerifyItemExistsAsync(markup, "GetTypeCode"); 10515=> VerifyItemExistsAsync(""" 10602await VerifyItemExistsAsync(markup, "GetHashCode"); 10625await VerifyItemExistsAsync(markup, "GetHashCode"); 10626await VerifyItemExistsAsync(markup, "MyProperty"); 10648await VerifyItemExistsAsync(markup, "GetHashCode"); 10649await VerifyItemExistsAsync(markup, "MyProperty"); 10654=> VerifyItemExistsAsync(""" 10670=> VerifyItemExistsAsync(""" 10686=> VerifyItemExistsAsync(""" 10705=> VerifyItemExistsAsync(""" 10886await VerifyItemExistsAsync( 10904await VerifyItemExistsAsync( 10922await VerifyItemExistsAsync( 10950await VerifyItemExistsAsync( 10954await VerifyItemExistsAsync( 10992=> VerifyItemExistsAsync(""" 11322await VerifyItemExistsAsync(markup, "E"); 11380=> VerifyItemExistsAsync(""" 11397=> VerifyItemExistsAsync(""" 11415=> VerifyItemExistsAsync(""" 11441await VerifyItemExistsAsync( 11507await VerifyItemExistsAsync(markup, item.Name, matchingFilters: [FilterSet.ClassFilter, FilterSet.TargetTypedFilter], displayTextSuffix: item.DisplaySuffix); 11510await VerifyItemExistsAsync(markup, item.Name, matchingFilters: [FilterSet.ClassFilter], displayTextSuffix: item.DisplaySuffix); 11513await VerifyItemExistsAsync(markup, item.Name, matchingFilters: [FilterSet.InterfaceFilter, FilterSet.TargetTypedFilter], displayTextSuffix: item.DisplaySuffix); 11516await VerifyItemExistsAsync(markup, item.Name, matchingFilters: [FilterSet.InterfaceFilter], displayTextSuffix: item.DisplaySuffix); 11533=> VerifyItemExistsAsync(""" 11545=> VerifyItemExistsAsync(""" 11827=> VerifyItemExistsAsync($$""" 11860await VerifyItemExistsAsync(source, "goo"); 11861await VerifyItemExistsAsync(source, "Bar"); 11882await VerifyItemExistsAsync(source, "goo"); 11883await VerifyItemExistsAsync(source, "Bar"); 11918await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 11920await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 11925=> VerifyItemExistsAsync(MakeMarkup(""" 11950=> VerifyItemExistsAsync(MakeMarkup(""" 11965=> VerifyItemExistsAsync(MakeMarkup(""" 11985await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 11987await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12002await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 12004await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12019await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 12021await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12036await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 12038await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12048await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 12050await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12059await VerifyItemExistsAsync(MakeMarkup(source), "parameter"); 12061await VerifyItemExistsAsync(MakeMarkup(source, languageVersion: LanguageVersion.CSharp10), "parameter"); 12077await VerifyItemExistsAsync(MakeMarkup($$""" 12094await VerifyItemExistsAsync(MakeMarkup($$""" 12105await VerifyItemExistsAsync(MakeMarkup($$""" 12118await VerifyItemExistsAsync(MakeMarkup($$""" 12131await VerifyItemExistsAsync(MakeMarkup($""" 12140=> VerifyItemExistsAsync(MakeMarkup(""" 12282=> VerifyItemExistsAsync(""" 12324=> VerifyItemExistsAsync($""" 12523await VerifyItemExistsAsync(source, "System"); 12763await VerifyItemExistsAsync(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>"); 12797await VerifyItemExistsAsync(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>"); 12834await VerifyItemExistsAsync(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>"); 12868await VerifyItemExistsAsync(markup, "FirstOrDefaultOnList", displayTextSuffix: "<>"); 12899await VerifyItemExistsAsync(markup, "AtLeastAdditiveIdentity", displayTextSuffix: "<>"); 12900await VerifyItemExistsAsync(markup, "Method", displayTextSuffix: "<>"); 13228await VerifyItemExistsAsync(source, "val"); 13246await VerifyItemExistsAsync(source, "String"); 13247await VerifyItemExistsAsync(source, "System"); 13248await VerifyItemExistsAsync(source, "field"); 13260await VerifyItemExistsAsync(source, "val"); 13278await VerifyItemExistsAsync(source, "String"); 13279await VerifyItemExistsAsync(source, "System"); 13280await VerifyItemExistsAsync(source, "field"); 13296await VerifyItemExistsAsync(source, "System"); 13297await VerifyItemExistsAsync(source, "strings"); 13313await VerifyItemExistsAsync(source, "System"); 13314await VerifyItemExistsAsync(source, "strings"); 13332await VerifyItemExistsAsync(source, "String"); 13333await VerifyItemExistsAsync(source, "System"); 13334await VerifyItemExistsAsync(source, "field"); 13352await VerifyItemExistsAsync(source, "String"); 13353await VerifyItemExistsAsync(source, "System"); 13354await VerifyItemExistsAsync(source, "field"); 13370await VerifyItemExistsAsync(source, "System"); 13371await VerifyItemExistsAsync(source, "strings"); 13387await VerifyItemExistsAsync(source, "System"); 13388await VerifyItemExistsAsync(source, "strings"); 13588=> 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); 243=> VerifyItemExistsAsync(""" 265=> VerifyItemExistsAsync(""" 287=> VerifyItemExistsAsync(""" 309=> VerifyItemExistsAsync(""" 431=> VerifyItemExistsAsync(""" 453=> VerifyItemExistsAsync(""" 473=> VerifyItemExistsAsync(""" 482=> VerifyItemExistsAsync(""" 785await VerifyItemExistsAsync(source, keywordText, glyph: Glyph.Keyword); 818=> VerifyItemExistsAsync(""" 830=> VerifyItemExistsAsync(""" 840=> VerifyItemExistsAsync(""" 850=> VerifyItemExistsAsync(""" 860=> VerifyItemExistsAsync(""" 872=> VerifyItemExistsAsync(""" 884=> VerifyItemExistsAsync(""" 896=> VerifyItemExistsAsync(""" 908=> VerifyItemExistsAsync(""" 920=> VerifyItemExistsAsync(""" 950await VerifyItemExistsAsync(text, "term"); 951await VerifyItemExistsAsync(text, "description"); 1044await VerifyItemExistsAsync(""" 1056await VerifyItemExistsAsync("""