996 references to VerifyItemExistsAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (996)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (6)
72=> VerifyItemExistsAsync(""" 90=> VerifyItemExistsAsync(""" 127await VerifyItemExistsAsync(markup, "Text", displayTextSuffix: " ="); 133=> VerifyItemExistsAsync(""" 148=> VerifyItemExistsAsync(""" 163=> 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(""" 366await VerifyItemExistsAsync(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")", 397await VerifyItemExistsAsync(Markup, "int?", displayTextPrefix: "(", displayTextSuffix: ")", 450await VerifyItemExistsAsync(Markup, "byte", displayTextPrefix: "(", displayTextSuffix: ")", 473await VerifyItemExistsAsync(Markup, "byte?", displayTextPrefix: "(", displayTextSuffix: ")", 517await VerifyItemExistsAsync(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")", 541await VerifyItemExistsAsync(Markup, "int?", displayTextPrefix: "(", displayTextSuffix: ")", 571await VerifyItemExistsAsync(Markup, "int", displayTextPrefix: "(", displayTextSuffix: ")", 590? markup => VerifyItemExistsAsync(markup, "int", displayTextPrefix: "(", displayTextSuffix: ")") 607=> VerifyItemExistsAsync(""" 628=> 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 (174)
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(""" 401await VerifyItemExistsAsync(markup, "GetC"); 416await VerifyItemExistsAsync(markup, "cancellationToken"); 417await VerifyItemExistsAsync(markup, "cancellation"); 418await VerifyItemExistsAsync(markup, "token"); 423=> VerifyItemExistsAsync(""" 433=> VerifyItemExistsAsync(""" 443=> VerifyItemExistsAsync(""" 461await VerifyItemExistsAsync(markup, "Some"); 462await VerifyItemExistsAsync(markup, "SomeWonderfully"); 463await VerifyItemExistsAsync(markup, "SomeWonderfullyLong"); 464await VerifyItemExistsAsync(markup, "SomeWonderfullyLongClass"); 465await VerifyItemExistsAsync(markup, "Name"); 466await VerifyItemExistsAsync(markup, "ClassName"); 467await VerifyItemExistsAsync(markup, "LongClassName"); 468await VerifyItemExistsAsync(markup, "WonderfullyLongClassName"); 469await VerifyItemExistsAsync(markup, "SomeWonderfullyLongClassName"); 474=> VerifyItemExistsAsync(""" 484=> VerifyItemExistsAsync(""" 494=> VerifyItemExistsAsync(""" 504=> VerifyItemExistsAsync(""" 515=> VerifyItemExistsAsync(""" 525=> VerifyItemExistsAsync(""" 534=> VerifyItemExistsAsync(""" 542=> VerifyItemExistsAsync(""" 553=> VerifyItemExistsAsync(""" 579await VerifyItemExistsAsync(markup, "dbContext", glyph: Glyph.Parameter); 580await VerifyItemExistsAsync(markup, "db", glyph: Glyph.Parameter); 584await VerifyItemExistsAsync(markup, "context", glyph: Glyph.Parameter); 588await VerifyItemExistsAsync(markup, "context1", glyph: Glyph.Parameter); 610await VerifyItemExistsAsync(markup, "dbContext", glyph: Glyph.Parameter); 611await VerifyItemExistsAsync(markup, "db", glyph: Glyph.Parameter); 615await VerifyItemExistsAsync(markup, "context", glyph: Glyph.Parameter); 619await VerifyItemExistsAsync(markup, "context1", glyph: Glyph.Parameter); 641await VerifyItemExistsAsync(markup, "dbContext", glyph: Glyph.Parameter); 642await VerifyItemExistsAsync(markup, "db", glyph: Glyph.Parameter); 646await VerifyItemExistsAsync(markup, "context", glyph: Glyph.Parameter); 650await VerifyItemExistsAsync(markup, "context1", glyph: Glyph.Parameter); 672await VerifyItemExistsAsync(markup, "cancellationToken", glyph: Glyph.Parameter); 688await VerifyItemExistsAsync(markup, "myTok", glyph: Glyph.Parameter); 689await VerifyItemExistsAsync(markup, "cancellationToken", glyph: Glyph.Parameter); 704await VerifyItemExistsAsync(markup, "middleName", glyph: Glyph.Parameter); 705await VerifyItemExistsAsync(markup, "lastName", glyph: Glyph.Parameter); 731await VerifyItemExistsAsync(markup, "cancellationToken", glyph: Glyph.Parameter); 769await VerifyItemExistsAsync(markup, "stringBuilder", glyph: Glyph.Parameter); 770await VerifyItemExistsAsync(markup, "@string", glyph: Glyph.Parameter); 771await VerifyItemExistsAsync(markup, "builder", glyph: Glyph.Parameter); 776=> VerifyItemExistsAsync(""" 786=> VerifyItemExistsAsync(""" 810await VerifyItemExistsAsync(markup, "stringBuilder"); 811await VerifyItemExistsAsync(markup, "@string"); 812await VerifyItemExistsAsync(markup, "builder"); 829await VerifyItemExistsAsync(markup, "item"); 830await VerifyItemExistsAsync(markup, "Item"); 831await VerifyItemExistsAsync(markup, "GetItem"); 848await VerifyItemExistsAsync(markup, "items"); 849await VerifyItemExistsAsync(markup, "Items"); 850await VerifyItemExistsAsync(markup, "GetItems"); 1005await VerifyItemExistsAsync(markup, "MyClasses"); 1029=> VerifyItemExistsAsync(""" 1072await VerifyItemExistsAsync(markup, "myClass", glyph: Glyph.FieldPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1073await VerifyItemExistsAsync(markup, "MyClass", glyph: Glyph.PropertyPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1074await VerifyItemExistsAsync(markup, "GetMyClass", glyph: Glyph.MethodPublic, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1089await VerifyItemExistsAsync(markup, "myClass", glyph: Glyph.Local, expectedDescriptionOrNull: CSharpFeaturesResources.Suggested_name); 1104await VerifyItemExistsAsync(markup, "my"); 1105await VerifyItemExistsAsync(markup, "type"); 1106await VerifyItemExistsAsync(markup, "myType"); 1118await VerifyItemExistsAsync(markup, "my"); 1119await VerifyItemExistsAsync(markup, "type"); 1120await VerifyItemExistsAsync(markup, "myType"); 1145=> VerifyItemExistsAsync(""" 1157=> VerifyItemExistsAsync(""" 1169=> VerifyItemExistsAsync(""" 1181=> VerifyItemExistsAsync(""" 1205=> VerifyItemExistsAsync(""" 1217=> VerifyItemExistsAsync(""" 1229=> VerifyItemExistsAsync(""" 1241=> VerifyItemExistsAsync(""" 1250=> VerifyItemExistsAsync(""" 1259=> VerifyItemExistsAsync(""" 1268=> VerifyItemExistsAsync(""" 1277=> VerifyItemExistsAsync(""" 1286=> VerifyItemExistsAsync(""" 1308=> VerifyItemExistsAsync(""" 1333=> VerifyItemExistsAsync(""" 1343=> VerifyItemExistsAsync(""" 1362await VerifyItemExistsAsync(markup, "cancellationTokens"); 1363await VerifyItemExistsAsync(markup, "cancellations"); 1364await VerifyItemExistsAsync(markup, "tokens"); 1378await VerifyItemExistsAsync(markup, "cancellationTokens"); 1379await VerifyItemExistsAsync(markup, "cancellations"); 1380await VerifyItemExistsAsync(markup, "tokens"); 1394await VerifyItemExistsAsync(markup, "cancellationTokens"); 1395await VerifyItemExistsAsync(markup, "cancellations"); 1396await VerifyItemExistsAsync(markup, "tokens"); 1410await VerifyItemExistsAsync(markup, "tests"); 1415=> VerifyItemExistsAsync(""" 1440=> VerifyItemExistsAsync(""" 1467=> VerifyItemExistsAsync(""" 1497await VerifyItemExistsAsync(markup, "myClasses"); 1515await VerifyItemExistsAsync(markup, "cancellationToken"); 1516await VerifyItemExistsAsync(markup, "cancellation"); 1517await VerifyItemExistsAsync(markup, "token"); 1535await VerifyItemExistsAsync(markup, "cancellationToken"); 1536await VerifyItemExistsAsync(markup, "cancellation"); 1537await VerifyItemExistsAsync(markup, "token"); 1558await VerifyItemExistsAsync(markup, "cancellationToken"); 1559await VerifyItemExistsAsync(markup, "cancellation"); 1560await VerifyItemExistsAsync(markup, "token"); 1578await VerifyItemExistsAsync(markup, "cancellationToken"); 1579await VerifyItemExistsAsync(markup, "cancellation"); 1597await VerifyItemExistsAsync(markup, "cancellationToken"); 1598await VerifyItemExistsAsync(markup, "token"); 1619await VerifyItemExistsAsync(markup, "cancellationToken"); 1620await VerifyItemExistsAsync(markup, "token"); 1625=> VerifyItemExistsAsync(""" 1639=> VerifyItemExistsAsync(""" 1653=> VerifyItemExistsAsync(""" 1667=> VerifyItemExistsAsync(""" 1695=> VerifyItemExistsAsync(""" 1709=> VerifyItemExistsAsync(""" 1723=> VerifyItemExistsAsync(""" 1749=> VerifyItemExistsAsync(""" 1766=> VerifyItemExistsAsync(""" 1783=> VerifyItemExistsAsync(""" 1799=> VerifyItemExistsAsync(""" 1818=> VerifyItemExistsAsync(""" 1835=> VerifyItemExistsAsync(""" 1852=> VerifyItemExistsAsync(""" 1871=> VerifyItemExistsAsync(""" 1887=> VerifyItemExistsAsync(""" 1904=> VerifyItemExistsAsync(""" 1921=> VerifyItemExistsAsync(""" 1938=> VerifyItemExistsAsync(""" 1954=> VerifyItemExistsAsync(""" 1968=> VerifyItemExistsAsync(""" 1983=> VerifyItemExistsAsync(""" 1996=> VerifyItemExistsAsync(""" 2009=> VerifyItemExistsAsync(""" 2022=> VerifyItemExistsAsync(""" 2035=> VerifyItemExistsAsync(""" 2048=> VerifyItemExistsAsync(""" 2061=> VerifyItemExistsAsync(""" 2090await VerifyItemExistsAsync(markup, "ConfigurationField", glyph: Glyph.FieldPublic, 2092await VerifyItemExistsAsync(markup, "ConfigurationProperty", glyph: Glyph.PropertyPublic, 2094await VerifyItemExistsAsync(markup, "ConfigurationMethod", glyph: Glyph.MethodPublic, 2121await VerifyItemExistsAsync(markup, "ConfigurationLocal", glyph: Glyph.Local, 2123await VerifyItemExistsAsync(markup, "ConfigurationLocalFunction", glyph: Glyph.MethodPublic, 2150await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2169await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2175=> VerifyItemExistsAsync(""" 2192=> VerifyItemExistsAsync(""" 2223await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2245await VerifyItemExistsAsync(markup, "classB2", glyph: Glyph.Local, 2268await VerifyItemExistsAsync(markup, "classB1", glyph: Glyph.Local, 2274=> VerifyItemExistsAsync(""" 2287=> VerifyItemExistsAsync(""" 2327await VerifyItemExistsAsync(markup, "classB", glyph: Glyph.Parameter, 2402=> VerifyItemExistsAsync(""" 2417=> VerifyItemExistsAsync(""" 2435=> VerifyItemExistsAsync(""" 2453=> VerifyItemExistsAsync(""" 2497await VerifyItemExistsAsync(""" 2538await VerifyItemExistsAsync(markup, "interestingName"); 2539await VerifyItemExistsAsync(markup, "cancellationToken"); 2544=> VerifyItemExistsAsync(""" 2569=> VerifyItemExistsAsync(""" 2582=> VerifyItemExistsAsync(""" 2595=> 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 (8)
2072=> VerifyItemExistsAsync( 2100=> VerifyItemExistsAsync( 2128=> VerifyItemExistsAsync( 2160=> VerifyItemExistsAsync( 2188=> VerifyItemExistsAsync( 2216=> VerifyItemExistsAsync( 2248=> VerifyItemExistsAsync( 2283=> VerifyItemExistsAsync(markup, expectedItem, displayTextSuffix: displayTextSuffix, glyph: glyph, inlineDescription: inlineDescription, expectedDescriptionOrNull: expectedDescriptionOrNull, isComplexTextEdit: true, matchingFilters: expectedFilters);
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)
64=> VerifyItemExistsAsync(""" 79=> VerifyItemExistsAsync(""" 94=> VerifyItemExistsAsync(""" 106=> VerifyItemExistsAsync(""" 118=> VerifyItemExistsAsync(""" 162await VerifyItemExistsAsync(markup, "declaring", displayTextSuffix: ":"); 183await VerifyItemExistsAsync(markup, "declaring", displayTextSuffix: ":"); 231await VerifyItemExistsAsync(markup, "str", displayTextSuffix: ":"); 254await VerifyItemExistsAsync(markup, "boolean", displayTextSuffix: ":"); 255await VerifyItemExistsAsync(markup, "character", displayTextSuffix: ":"); 285await VerifyItemExistsAsync(markup, "str", displayTextSuffix: ":"); 286await VerifyItemExistsAsync(markup, "num", displayTextSuffix: ":"); 287await VerifyItemExistsAsync(markup, "b", displayTextSuffix: ":"); 314await VerifyItemExistsAsync(markup, "str", displayTextSuffix: ":"); 315await VerifyItemExistsAsync(markup, "num", displayTextSuffix: ":"); 316await VerifyItemExistsAsync(markup, "b", displayTextSuffix: ":"); 345await VerifyItemExistsAsync(markup, "num", displayTextSuffix: ":"); 346await VerifyItemExistsAsync(markup, "b", displayTextSuffix: ":"); 353=> VerifyItemExistsAsync(""" 365=> VerifyItemExistsAsync(""" 384=> VerifyItemExistsAsync(""" 404=> VerifyItemExistsAsync("""
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (24)
25=> VerifyItemExistsAsync(""" 60=> VerifyItemExistsAsync(""" 75=> VerifyItemExistsAsync(""" 91=> VerifyItemExistsAsync(MakeMarkup(""" 154=> VerifyItemExistsAsync(""" 167=> VerifyItemExistsAsync(""" 205=> VerifyItemExistsAsync(""" 226=> VerifyItemExistsAsync(""" 239=> VerifyItemExistsAsync(""" 253=> VerifyItemExistsAsync(""" 267=> VerifyItemExistsAsync(""" 369=> VerifyItemExistsAsync(""" 378=> VerifyItemExistsAsync(""" 387=> VerifyItemExistsAsync(""" 399=> VerifyItemExistsAsync(""" 419=> VerifyItemExistsAsync(""" 439=> VerifyItemExistsAsync(""" 460=> VerifyItemExistsAsync(""" 476=> VerifyItemExistsAsync(""" 492=> VerifyItemExistsAsync(""" 513=> VerifyItemExistsAsync(""" 533=> VerifyItemExistsAsync(""" 550=> VerifyItemExistsAsync(""" 567=> 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"); 745await VerifyItemExistsAsync(markup, "S"); 746await VerifyItemExistsAsync(markup, "D"); 789await VerifyItemExistsAsync(markup, "S"); 790await VerifyItemExistsAsync(markup, "D"); 814await VerifyItemExistsAsync(markup, "Items"); 815await VerifyItemExistsAsync(markup, "Bar"); 841await VerifyItemExistsAsync(markup, "Items"); 842await VerifyItemExistsAsync(markup, "Bar"); 881await VerifyItemExistsAsync(markup, "S"); 882await VerifyItemExistsAsync(markup, "D"); 887=> VerifyItemExistsAsync(""" 930await VerifyItemExistsAsync(markup, "A"); 931await VerifyItemExistsAsync(markup, "B"); 968await VerifyItemExistsAsync(markup, "Method"); 1069await VerifyItemExistsAsync(markup, "@new"); 1070await VerifyItemExistsAsync(markup, "@this"); 1071await VerifyItemExistsAsync(markup, "now"); 1096await VerifyItemExistsAsync(markup, "RequiredField", inlineDescription: FeaturesResources.Required, matchPriority: MatchPriority.Preselect); 1097await VerifyItemExistsAsync(markup, "RequiredProperty", inlineDescription: FeaturesResources.Required); 1102=> VerifyItemExistsAsync(""" 1125=> VerifyItemExistsAsync(""" 1153=> VerifyItemExistsAsync(""" 1195=> VerifyItemExistsAsync(""" 1223=> VerifyItemExistsAsync(""" 1250=> 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)
762return 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)
56=> VerifyItemExistsAsync(""" 65=> VerifyItemExistsAsync(""" 74=> VerifyItemExistsAsync(""" 101=> VerifyItemExistsAsync(""" 128=> VerifyItemExistsAsync(""" 139=> VerifyItemExistsAsync(""" 150=> VerifyItemExistsAsync(""" 161=> VerifyItemExistsAsync(""" 172=> VerifyItemExistsAsync(""" 183=> VerifyItemExistsAsync(""" 194=> VerifyItemExistsAsync(""" 205=> VerifyItemExistsAsync(""" 216=> VerifyItemExistsAsync(""" 227=> VerifyItemExistsAsync(""" 239=> VerifyItemExistsAsync(""" 251=> VerifyItemExistsAsync(""" 263=> VerifyItemExistsAsync(""" 275=> VerifyItemExistsAsync(""" 287=> VerifyItemExistsAsync(""" 299=> VerifyItemExistsAsync(""" 310=> VerifyItemExistsAsync(""" 321=> VerifyItemExistsAsync(""" 335=> VerifyItemExistsAsync(""" 350=> VerifyItemExistsAsync(""" 364=> VerifyItemExistsAsync(""" 393=> VerifyItemExistsAsync(""" 415=> VerifyItemExistsAsync(""" 426=> VerifyItemExistsAsync(""" 437=> VerifyItemExistsAsync(""" 448=> VerifyItemExistsAsync(""" 459=> VerifyItemExistsAsync(""" 481=> VerifyItemExistsAsync(""" 503=> VerifyItemExistsAsync(""" 525=> VerifyItemExistsAsync(""" 536=> VerifyItemExistsAsync(""" 547=> VerifyItemExistsAsync(""" 558=> VerifyItemExistsAsync(""" 569=> VerifyItemExistsAsync(""" 580=> VerifyItemExistsAsync(""" 591=> VerifyItemExistsAsync(""" 601=> VerifyItemExistsAsync(""" 611=> VerifyItemExistsAsync(""" 621=> VerifyItemExistsAsync(@"$$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 633=> VerifyItemExistsAsync(""" 640=> VerifyItemExistsAsync(""" 647=> VerifyItemExistsAsync(""" 675=> VerifyItemExistsAsync(""" 724=> VerifyItemExistsAsync(""" 735=> VerifyItemExistsAsync(""" 748=> VerifyItemExistsAsync(""" 761=> 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: "<>"); 13238await VerifyItemExistsAsync(source, "val"); 13256await VerifyItemExistsAsync(source, "String"); 13257await VerifyItemExistsAsync(source, "System"); 13258await VerifyItemExistsAsync(source, "field"); 13270await VerifyItemExistsAsync(source, "val"); 13288await VerifyItemExistsAsync(source, "String"); 13289await VerifyItemExistsAsync(source, "System"); 13290await VerifyItemExistsAsync(source, "field"); 13306await VerifyItemExistsAsync(source, "System"); 13307await VerifyItemExistsAsync(source, "strings"); 13323await VerifyItemExistsAsync(source, "System"); 13324await VerifyItemExistsAsync(source, "strings"); 13342await VerifyItemExistsAsync(source, "String"); 13343await VerifyItemExistsAsync(source, "System"); 13344await VerifyItemExistsAsync(source, "field"); 13362await VerifyItemExistsAsync(source, "String"); 13363await VerifyItemExistsAsync(source, "System"); 13364await VerifyItemExistsAsync(source, "field"); 13380await VerifyItemExistsAsync(source, "System"); 13381await VerifyItemExistsAsync(source, "strings"); 13397await VerifyItemExistsAsync(source, "System"); 13398await VerifyItemExistsAsync(source, "strings"); 13598=> 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("""