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