861 references to VerifyItemIsAbsentAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (577)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (1)
131await VerifyItemIsAbsentAsync(markup, "Color", displayTextSuffix: " =");
Completion\CompletionProviders\AwaitCompletionProviderTests.cs (5)
32await VerifyItemIsAbsentAsync(code, CompletionDisplayTextAwait); 33await VerifyItemIsAbsentAsync(code, CompletionDisplayTextAwaitAndConfigureAwait); 38await VerifyItemIsAbsentAsync(GetMarkup(code, languageVersion), CompletionDisplayTextAwait); 39await VerifyItemIsAbsentAsync(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait); 56await VerifyItemIsAbsentAsync(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait);
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (1)
150: (markup, expectedItem) => VerifyItemIsAbsentAsync(markup, expectedItem, displayTextPrefix: "(", displayTextSuffix: ")");
Completion\CompletionProviders\CrefCompletionProviderTests.cs (1)
107await VerifyItemIsAbsentAsync(text, "goo(int)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (33)
359await VerifyItemIsAbsentAsync(markup, "MyClass"); 411await VerifyItemIsAbsentAsync(markup, "C"); 412await VerifyItemIsAbsentAsync(markup, "c"); 719await VerifyItemIsAbsentAsync(markup, "CancellationToken", options: options); 752await VerifyItemIsAbsentAsync(markup, "firstName"); 764await VerifyItemIsAbsentAsync(markup, "name"); 779await VerifyItemIsAbsentAsync(markup, "myTok"); 1091await VerifyItemIsAbsentAsync(markup, "C"); 1092await VerifyItemIsAbsentAsync(markup, "c"); 1106await VerifyItemIsAbsentAsync(markup, "Array"); 1202await VerifyItemIsAbsentAsync(markup, "MyClass"); 1203await VerifyItemIsAbsentAsync(markup, "GetMyClass"); 1333await VerifyItemIsAbsentAsync(markup, "action"); 1466await VerifyItemIsAbsentAsync(markup, "action"); 2373await VerifyItemIsAbsentAsync(markup, "ConfigurationLocal", options: options); 2374await VerifyItemIsAbsentAsync(markup, "ConfigurationLocalFunction", options: options); 2402await VerifyItemIsAbsentAsync(markup, "ConfigurationField", options: options); 2403await VerifyItemIsAbsentAsync(markup, "ConfigurationMethod", options: options); 2404await VerifyItemIsAbsentAsync(markup, "ConfigurationProperty", options: options); 2426await VerifyItemIsAbsentAsync(markup, "classB"); 2445await VerifyItemIsAbsentAsync(markup, "classB"); 2505await VerifyItemIsAbsentAsync(markup, "classB"); 2526await VerifyItemIsAbsentAsync(markup, "classB"); 2527await VerifyItemIsAbsentAsync(markup, "classB1"); 2550await VerifyItemIsAbsentAsync(markup, "classB"); 2621await VerifyItemIsAbsentAsync(markup, "classB"); 2647await VerifyItemIsAbsentAsync(markup, "classB"); 2670await VerifyItemIsAbsentAsync(markup, "classB"); 2692await VerifyItemIsAbsentAsync(markup, "classB"); 2788await VerifyItemIsAbsentAsync(markup, "async"); 2789await VerifyItemIsAbsentAsync(markup, "Async"); 2790await VerifyItemIsAbsentAsync(markup, "GetAsync"); 2828await VerifyItemIsAbsentAsync(markup, "consoleColor");
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (38)
50await VerifyItemIsAbsentAsync(markup + colorsLike, "Colors"); 201await VerifyItemIsAbsentAsync(markup, typeName); 227await VerifyItemIsAbsentAsync(markup, typeName); 251await VerifyItemIsAbsentAsync(markup, typeName); 273await VerifyItemIsAbsentAsync(markup, typeName); 295await VerifyItemIsAbsentAsync(markup, typeName); 313await VerifyItemIsAbsentAsync(markup, typeName); 331await VerifyItemIsAbsentAsync(markup, typeName); 349await VerifyItemIsAbsentAsync(markup, typeName); 367await VerifyItemIsAbsentAsync(markup, typeName); 385await VerifyItemIsAbsentAsync(markup, typeName); 403await VerifyItemIsAbsentAsync(markup, typeName); 421await VerifyItemIsAbsentAsync(markup, typeName); 444await VerifyItemIsAbsentAsync(markup, typeName); 467await VerifyItemIsAbsentAsync(markup, typeName); 656await VerifyItemIsAbsentAsync(markup, "D"); 682await VerifyItemIsAbsentAsync(markup, "D"); 712await VerifyItemIsAbsentAsync(markup, "D"); 740await VerifyItemIsAbsentAsync(enumE + markup, "E"); 742await VerifyItemIsAbsentAsync(enumLikeE + markup, "E"); 772await VerifyItemIsAbsentAsync(markup + colorsLike, "Colors"); 802await VerifyItemIsAbsentAsync(markup + colorsLike, "Colors"); 1028await VerifyItemIsAbsentAsync(markup, "ConsoleColor"); 1062await VerifyItemIsAbsentAsync(markup, "ConsoleColor"); 1079await VerifyItemIsAbsentAsync(markup, "ConsoleColor"); 1096await VerifyItemIsAbsentAsync(markup, "ConsoleColor"); 1130await VerifyItemIsAbsentAsync(markup, "ConsoleColor"); 1326await VerifyItemIsAbsentAsync(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: true); 1362await VerifyItemIsAbsentAsync(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: true); 1402await VerifyItemIsAbsentAsync(eLike + markup, "E.A", usePreviousCharAsTrigger: true); 1539await VerifyItemIsAbsentAsync(markup, $"{typeName}.A", usePreviousCharAsTrigger: true); 1571await VerifyItemIsAbsentAsync(markup, $"{typeName}.A", usePreviousCharAsTrigger: true); 1622await VerifyItemIsAbsentAsync(markup, "e as E"); 1925await VerifyItemIsAbsentAsync(markup, "Color.Red"); 1979await VerifyItemIsAbsentAsync(markup, "Color.Red"); 2052await VerifyItemIsAbsentAsync(markup, "Color.Green"); 2075await VerifyItemIsAbsentAsync(markup, "Color.Green"); 2113await VerifyItemIsAbsentAsync(markup, "Color.Red");
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (22)
186await VerifyItemIsAbsentAsync(markup, "Equals(object obj)"); 187await VerifyItemIsAbsentAsync(markup, "Goo()"); 188await VerifyItemIsAbsentAsync(markup, "GetHashCode()"); 189await VerifyItemIsAbsentAsync(markup, "GetType()"); 190await VerifyItemIsAbsentAsync(markup, "ToString()"); 213await VerifyItemIsAbsentAsync(markup, "Prop.get"); 214await VerifyItemIsAbsentAsync(markup, "TestEvent.add"); 215await VerifyItemIsAbsentAsync(markup, "TestEvent.remove"); 237await VerifyItemIsAbsentAsync(markup, "Goo()"); 238await VerifyItemIsAbsentAsync(markup, "Prop"); 256await VerifyItemIsAbsentAsync(markup, "Goo()"); 257await VerifyItemIsAbsentAsync(markup, "Prop"); 275await VerifyItemIsAbsentAsync(markup, "Goo()"); 276await VerifyItemIsAbsentAsync(markup, "Prop"); 294await VerifyItemIsAbsentAsync(markup, "Goo()"); 295await VerifyItemIsAbsentAsync(markup, "Prop"); 314await VerifyItemIsAbsentAsync(markup, "Goo"); 333await VerifyItemIsAbsentAsync(markup, "Goo"); 365await VerifyItemIsAbsentAsync(markup, "Goo1", displayTextSuffix: "()"); 366await VerifyItemIsAbsentAsync(markup, "Prop1"); 400await VerifyItemIsAbsentAsync(markup, "Goo1", displayTextSuffix: "()"); 401await VerifyItemIsAbsentAsync(markup, "Prop1");
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (1)
1985=> VerifyItemIsAbsentAsync(markup, expectedItem, displayTextSuffix: displayTextSuffix, inlineDescription: inlineDescription);
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (34)
383await VerifyItemIsAbsentAsync(markup, "event"); 395await VerifyItemIsAbsentAsync(markup, "event"); 434await VerifyItemIsAbsentAsync(markup, "readonly"); 459await VerifyItemIsAbsentAsync(markup, "readonly"); 484await VerifyItemIsAbsentAsync(markup, "readonly"); 509await VerifyItemIsAbsentAsync(markup, "readonly"); 526await VerifyItemIsAbsentAsync(markup, "void"); 570await VerifyItemIsAbsentAsync(markup, "new"); 571await VerifyItemIsAbsentAsync(markup, "this"); 572await VerifyItemIsAbsentAsync(markup, "null"); 573await VerifyItemIsAbsentAsync(markup, "base"); 574await VerifyItemIsAbsentAsync(markup, "true"); 575await VerifyItemIsAbsentAsync(markup, "false"); 576await VerifyItemIsAbsentAsync(markup, "typeof"); 577await VerifyItemIsAbsentAsync(markup, "sizeof"); 578await VerifyItemIsAbsentAsync(markup, "nameof"); 595await VerifyItemIsAbsentAsync(markup, "new"); 596await VerifyItemIsAbsentAsync(markup, "this"); 597await VerifyItemIsAbsentAsync(markup, "null"); 598await VerifyItemIsAbsentAsync(markup, "base"); 599await VerifyItemIsAbsentAsync(markup, "true"); 600await VerifyItemIsAbsentAsync(markup, "false"); 601await VerifyItemIsAbsentAsync(markup, "typeof"); 602await VerifyItemIsAbsentAsync(markup, "sizeof"); 603await VerifyItemIsAbsentAsync(markup, "nameof"); 644await VerifyItemIsAbsentAsync(markup, "required"); 659await VerifyItemIsAbsentAsync(markup, "required"); 674await VerifyItemIsAbsentAsync(markup, keyword); 686await VerifyItemIsAbsentAsync(markup, "required"); 706await VerifyItemIsAbsentAsync(markup, "file"); 754await VerifyItemIsAbsentAsync(markup, "file"); 767await VerifyItemIsAbsentAsync(markup, "file"); 781await VerifyItemIsAbsentAsync(markup, "file"); 795await VerifyItemIsAbsentAsync(markup, keyword);
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (6)
180await VerifyItemIsAbsentAsync(markup, "implementing", displayTextSuffix: ":"); 201await VerifyItemIsAbsentAsync(markup, "implementing", displayTextSuffix: ":"); 257await VerifyItemIsAbsentAsync(markup, "character", displayTextSuffix: ":"); 313await VerifyItemIsAbsentAsync(markup, "dbl", displayTextSuffix: ":"); 372await VerifyItemIsAbsentAsync(markup, "obj", displayTextSuffix: ":"); 373await VerifyItemIsAbsentAsync(markup, "str", displayTextSuffix: ":");
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (2)
49await VerifyItemIsAbsentAsync(markup, "<anonymous type: string Goo, int Bar>"); 64await VerifyItemIsAbsentAsync(markup, "void");
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (14)
77await VerifyItemIsAbsentAsync(markup, "<value>k__BackingField"); 96await VerifyItemIsAbsentAsync(markup, "<value>k__BackingField"); 115await VerifyItemIsAbsentAsync(markup, "<value>k__BackingField"); 134await VerifyItemIsAbsentAsync(markup, "<value>k__BackingField"); 153await VerifyItemIsAbsentAsync(markup, "<value>k__BackingField"); 198await VerifyItemIsAbsentAsync(markup, "value"); 268await VerifyItemIsAbsentAsync(markup, "myValue"); 378await VerifyItemIsAbsentAsync(markup, "BasePrivate"); 432await VerifyItemIsAbsentAsync(markup, "Count"); 449await VerifyItemIsAbsentAsync(markup, "this[]"); 468await VerifyItemIsAbsentAsync(markup, "goo"); 489await VerifyItemIsAbsentAsync(markup, "Gibberish"); 969await VerifyItemIsAbsentAsync(markup, "new"); 970await VerifyItemIsAbsentAsync(markup, "this");
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (25)
105await VerifyItemIsAbsentAsync(@" 132await VerifyItemIsAbsentAsync(markup, "bar()"); 159await VerifyItemIsAbsentAsync(@" 178await VerifyItemIsAbsentAsync(@" 284await VerifyItemIsAbsentAsync(@" 329await VerifyItemIsAbsentAsync(@" 422await VerifyItemIsAbsentAsync(markup, "goo()"); 423await VerifyItemIsAbsentAsync(markup, "bar()"); 424await VerifyItemIsAbsentAsync(markup, "bor()"); 458await VerifyItemIsAbsentAsync(protectedinternal, "bar()"); 473await VerifyItemIsAbsentAsync(internalprotected, "bar()"); 674await VerifyItemIsAbsentAsync(markup, "Goo()", "void Base.Goo()"); 690await VerifyItemIsAbsentAsync(markup, "Goo()", "void Base.Goo()"); 706await VerifyItemIsAbsentAsync(markup, "Goo(T t)"); 722await VerifyItemIsAbsentAsync(markup, "Goo(T t)"); 738await VerifyItemIsAbsentAsync(markup, "Goo(T t, S s)"); 754await VerifyItemIsAbsentAsync(markup, "Goo(T t)"); 770await VerifyItemIsAbsentAsync(markup, "Goo(T t)"); 788await VerifyItemIsAbsentAsync(markup, "Goo(T t, S s)"); 3367await VerifyItemIsAbsentAsync(@"record Program 3385await VerifyItemIsAbsentAsync(@" 3407await VerifyItemIsAbsentAsync(@" 3424await VerifyItemIsAbsentAsync(@" 3479await VerifyItemIsAbsentAsync(""" 3496await VerifyItemIsAbsentAsync("""
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (1)
29await VerifyItemIsAbsentAsync(text, "C");
Completion\CompletionProviders\PropertySubPatternCompletionProviderTests.cs (10)
319await VerifyItemIsAbsentAsync(markup, "P1"); 320await VerifyItemIsAbsentAsync(markup, "P2"); 346await VerifyItemIsAbsentAsync(markup, "P1"); 347await VerifyItemIsAbsentAsync(markup, "F2"); 373await VerifyItemIsAbsentAsync(markup, "P1"); 374await VerifyItemIsAbsentAsync(markup, "P2"); 459await VerifyItemIsAbsentAsync(markup, "P2"); 685await VerifyItemIsAbsentAsync(markup, "Empty"); 703await VerifyItemIsAbsentAsync(markup, "x"); 719await VerifyItemIsAbsentAsync(markup, "MaxValue");
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (8)
57=> await VerifyItemIsAbsentAsync(@"namespace NS { class C { void M() { int $$ } } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular); 61=> await VerifyItemIsAbsentAsync(@"namespace NS { enum E { $$ } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular); 73=> await VerifyItemIsAbsentAsync(@"#$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular); 77=> await VerifyItemIsAbsentAsync(@"#region $$", MockSnippetInfoService.PreProcessorSnippetShortcut, sourceCodeKind: SourceCodeKind.Regular); 85=> await VerifyItemIsAbsentAsync(@"#line (1, 2) - (3, 4) $$", MockSnippetInfoService.PreProcessorSnippetShortcut, sourceCodeKind: SourceCodeKind.Regular); 125await VerifyItemIsAbsentAsync(@"#r f$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script); 126await VerifyItemIsAbsentAsync(@"#load f$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script); 127await VerifyItemIsAbsentAsync(@"#!$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script);
Completion\CompletionProviders\Snippets\AbstractCSharpAutoPropertyCompletionProviderTests.cs (1)
155private Task VerifyPropertyAbsenceAsync(string markup) => VerifyItemIsAbsentAsync(markup, ItemToCommit);
Completion\CompletionProviders\Snippets\AbstractCSharpConditionalBlockSnippetCompletionProviderTests.cs (9)
77await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 94await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 245await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 261await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 277await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 303await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 318await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 333await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 349await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpClassSnippetCompletionProviderTests.cs (3)
203await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 217await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 231await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpConsoleSnippetCompletionProviderTests.cs (9)
109await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 126await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 261await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 275await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 290await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 315await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 329await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 343await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 358await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpConstructorSnippetCompletionProviderTests.cs (4)
30await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 41await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 51await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 143await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpElseSnippetCompletionProviderTests.cs (3)
64await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 117await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 137await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpEnumSnippetCompletionProviderTests.cs (3)
182await VerifyItemIsAbsentAsync(""" 193await VerifyItemIsAbsentAsync(""" 207await VerifyItemIsAbsentAsync("""
Completion\CompletionProviders\Snippets\CSharpInterfaceSnippetCompletionProviderTests.cs (3)
203await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 217await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 231await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\Snippets\CSharpStructSnippetCompletionProviderTests.cs (3)
212await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 227await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit); 242await VerifyItemIsAbsentAsync(markupBeforeCommit, ItemToCommit);
Completion\CompletionProviders\SpeculativeTCompletionProviderTests.cs (14)
98await VerifyItemIsAbsentAsync(markup, "T"); 110await VerifyItemIsAbsentAsync(markup, "T"); 134await VerifyItemIsAbsentAsync(markup, "T"); 146await VerifyItemIsAbsentAsync(markup, "T"); 475await VerifyItemIsAbsentAsync(markup, "T"); 503await VerifyItemIsAbsentAsync(markup, "T"); 587await VerifyItemIsAbsentAsync(markup, "T"); 615await VerifyItemIsAbsentAsync(markup, "T"); 643await VerifyItemIsAbsentAsync(markup, "T"); 783await VerifyItemIsAbsentAsync(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 791await VerifyItemIsAbsentAsync(markup, "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 836await VerifyItemIsAbsentAsync(markup, "T"); 851await VerifyItemIsAbsentAsync(markup, "T"); 877await VerifyItemIsAbsentAsync(markup, "T");
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (298)
34await VerifyItemIsAbsentAsync(@"$$", @"String", expectedDescriptionOrNull: null, sourceCodeKind: sourceCodeKind); 51=> await VerifyItemIsAbsentAsync(@"#r $$", "@System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 55=> await VerifyItemIsAbsentAsync(@"#load $$", "@System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 60await VerifyItemIsAbsentAsync(@"using $$", @"String"); 61await VerifyItemIsAbsentAsync(@"using $$ = System", @"System"); 69await VerifyItemIsAbsentAsync(@"class C { 73await VerifyItemIsAbsentAsync(@"class C { 82await VerifyItemIsAbsentAsync(@"class C { 95await VerifyItemIsAbsentAsync(@"using System; 101await VerifyItemIsAbsentAsync(@"using System; 129await VerifyItemIsAbsentAsync(@"using System; 133await VerifyItemIsAbsentAsync(@"using System; 142await VerifyItemIsAbsentAsync(@"using System; 147await VerifyItemIsAbsentAsync(@"using System; 152await VerifyItemIsAbsentAsync(@"using System; 162await VerifyItemIsAbsentAsync(@"using System; 166await VerifyItemIsAbsentAsync(@"using System; 170await VerifyItemIsAbsentAsync(@"using System; 174await VerifyItemIsAbsentAsync(@"using System; 197await VerifyItemIsAbsentAsync(@"using System; 201await VerifyItemIsAbsentAsync(@"using System; 210await VerifyItemIsAbsentAsync(@"using System; 215await VerifyItemIsAbsentAsync(@"using System; 220await VerifyItemIsAbsentAsync(@"using System; 230await VerifyItemIsAbsentAsync(@"using System; 234await VerifyItemIsAbsentAsync(@"using System; 257await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("string s = \"$$")), @"String"); 258await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("string s = \"$$")), @"System"); 264await VerifyItemIsAbsentAsync("#r \"$$", "String", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 265await VerifyItemIsAbsentAsync("#r \"$$", "System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 271await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("string s = \"$$\";")), @"System"); 272await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("string s = \"$$\";")), @"String"); 278await VerifyItemIsAbsentAsync("#r \"$$\"", "String", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 279await VerifyItemIsAbsentAsync("#r \"$$\"", "System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 285await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("char c = '$$")), @"System"); 286await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("char c = '$$")), @"String"); 293await VerifyItemIsAbsentAsync(@"[assembly: $$]", @"String"); 309await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"Attribute"); 388await VerifyItemIsAbsentAsync(source, "String", sourceCodeKind: SourceCodeKind.Regular); 399await VerifyItemIsAbsentAsync(source, "String", sourceCodeKind: SourceCodeKind.Regular); 436await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 445await VerifyItemIsAbsentAsync(source, "NS", sourceCodeKind: SourceCodeKind.Regular); 460await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 461await VerifyItemIsAbsentAsync(source, "B", sourceCodeKind: SourceCodeKind.Regular); 478await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 488await VerifyItemIsAbsentAsync(source, "Runtime", sourceCodeKind: SourceCodeKind.Regular); 517await VerifyItemIsAbsentAsync(source, "C1", sourceCodeKind: SourceCodeKind.Regular); 518await VerifyItemIsAbsentAsync(source, "C2", sourceCodeKind: SourceCodeKind.Regular); 519await VerifyItemIsAbsentAsync(source, "C3", sourceCodeKind: SourceCodeKind.Regular); 521await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 569await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 570await VerifyItemIsAbsentAsync(source, "B", sourceCodeKind: SourceCodeKind.Regular); 584await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 585await VerifyItemIsAbsentAsync(source, "B", sourceCodeKind: SourceCodeKind.Regular); 600await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 610await VerifyItemIsAbsentAsync(source, "Runtime", sourceCodeKind: SourceCodeKind.Regular); 630await VerifyItemIsAbsentAsync(source, "System", sourceCodeKind: SourceCodeKind.Regular); 631await VerifyItemIsAbsentAsync(source, "Runtime", sourceCodeKind: SourceCodeKind.Regular); 652await VerifyItemIsAbsentAsync(source, "A", sourceCodeKind: SourceCodeKind.Regular); 653await VerifyItemIsAbsentAsync(source, "B", sourceCodeKind: SourceCodeKind.Regular); 654await VerifyItemIsAbsentAsync(source, "C", sourceCodeKind: SourceCodeKind.Regular); 664await VerifyItemIsAbsentAsync(source, "D1", sourceCodeKind: SourceCodeKind.Regular); 665await VerifyItemIsAbsentAsync(source, "D2", sourceCodeKind: SourceCodeKind.Regular); 666await VerifyItemIsAbsentAsync(source, "D3", sourceCodeKind: SourceCodeKind.Regular); 672await VerifyItemIsAbsentAsync(@"namespace NS { $$", @"String"); 673await VerifyItemIsAbsentAsync(@"namespace NS { $$", @"System"); 679await VerifyItemIsAbsentAsync(@"namespace NS { 682await VerifyItemIsAbsentAsync(@"namespace NS { 693await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"String"); 694await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"System"); 715await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"[assembly: A.$$"), @"String"); 716await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"[assembly: A.$$"), @"System"); 722await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"using MyType = $$"), @"String"); 756await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<$$"), @"String"); 757await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<$$"), @"System"); 763await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T, $$"), @"String"); 764await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T, $$"), @"System"); 833await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod(@"foreach $$")), @"String"); 834await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod(@"foreach $$")), @"System"); 876await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"String"); 877await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"System"); 1330await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"Console"); 1348await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"String"); 1379await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"Console"); 1397await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"String"); 1422await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : A where$$"), @"System"); 1423await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where T : A where$$"), @"String"); 1437await VerifyItemIsAbsentAsync(@"class CL<T> where $$", @"System"); 1438await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> where $$"), @"String"); 1444await VerifyItemIsAbsentAsync(@"class CL<T1> { void M<T2> where $$", @"T1"); 1465await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> : B where$$"), @"String"); 1466await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<T> : B where$$"), @"System"); 1472await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod(@"global::$$")), @"String"); 1487await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class C { C() : $$"), @"String"); 1488await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class C { C() : $$"), @"System"); 1500=> await VerifyItemIsAbsentAsync(AddInsideMethod(@"var x = 0; typeof($$"), @"x"); 1511=> await VerifyItemIsAbsentAsync(AddInsideMethod(@"var x = 0; sizeof($$"), @"x"); 1522=> await VerifyItemIsAbsentAsync(AddInsideMethod(@"var x = 0; default($$"), @"x"); 1557await VerifyItemIsAbsentAsync(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Script); 1611=> await VerifyItemIsAbsentAsync(@"$$", "args", sourceCodeKind: SourceCodeKind.Regular); 1624=> await VerifyItemIsAbsentAsync( 1634=> await VerifyItemIsAbsentAsync(@"class C { void M() { System.Func<int, string, int> f = (int _, string _) => 1 + $$", "_"); 1638=> await VerifyItemIsAbsentAsync(@"class C { void M() { System.Func<int, string, int> f = delegate(int _, string _) { return 1 + $$ }; } }", "_"); 1646=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class c { void M() { goo.$$"), "Equals"); 1650=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class c { void M(int x) { typeof($$"), "x"); 1654=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class c { void M(int x) { default($$"), "x"); 1658=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"public class C { void M(int x) { unsafe { sizeof($$"), "x"); 1662=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"public class Generic<T> { void M(int x) { Generic<$$"), "x"); 1666=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"public class C { void M() { null.$$"), "Equals"); 1698=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"public class C { void M() { (null).$$"), "Equals"); 1749await VerifyItemIsAbsentAsync(markup, "Hidden"); 1770await VerifyItemIsAbsentAsync(markup, "Hidden"); 1791await VerifyItemIsAbsentAsync(markup, "Hidden"); 1793await VerifyItemIsAbsentAsync(markup, "Bar"); 1813await VerifyItemIsAbsentAsync(markup, "Hidden"); 1834await VerifyItemIsAbsentAsync(markup, "Hidden"); 1855await VerifyItemIsAbsentAsync(markup, "Hidden"); 1879await VerifyItemIsAbsentAsync(markup, "HiddenStatic"); 1881await VerifyItemIsAbsentAsync(markup, "HiddenInstance"); 1922await VerifyItemIsAbsentAsync(markup, "Dispose"); 1935await VerifyItemIsAbsentAsync(markup, "Dispose"); 1950await VerifyItemIsAbsentAsync(markup, "Dispose"); 1965await VerifyItemIsAbsentAsync(markup, "Dispose"); 1992await VerifyItemIsAbsentAsync(markup, "ReferenceEquals"); 2022await VerifyItemIsAbsentAsync(markup, "ReferenceEquals"); 2051await VerifyItemIsAbsentAsync(markup, "parameter"); 2068await VerifyItemIsAbsentAsync(markup, "parameter"); 2085await VerifyItemIsAbsentAsync(markup, "parameter"); 2102await VerifyItemIsAbsentAsync(markup, "field"); 2119await VerifyItemIsAbsentAsync(markup, "field"); 2136await VerifyItemIsAbsentAsync(markup, "field"); 2221await VerifyItemIsAbsentAsync(markup, "parameter"); 2238await VerifyItemIsAbsentAsync(markup, "parameter"); 2255await VerifyItemIsAbsentAsync(markup, "parameter"); 2272await VerifyItemIsAbsentAsync(markup, "parameter"); 2289await VerifyItemIsAbsentAsync(markup, "parameter"); 2306await VerifyItemIsAbsentAsync(markup, "parameter"); 2344await VerifyItemIsAbsentAsync(markup, "GetType"); 2345await VerifyItemIsAbsentAsync(markup, "Equals"); 2346await VerifyItemIsAbsentAsync(markup, "GetHashCode"); 2383await VerifyItemIsAbsentAsync(markup, "parameter"); 2409await VerifyItemIsAbsentAsync(markup, "parameter"); 2432await VerifyItemIsAbsentAsync(markup, "String"); 2433await VerifyItemIsAbsentAsync(markup, "parameter"); 2449await VerifyItemIsAbsentAsync(markup, "String"); 2450await VerifyItemIsAbsentAsync(markup, "parameter"); 2473await VerifyItemIsAbsentAsync(markup, "String"); 2474await VerifyItemIsAbsentAsync(markup, "parameter"); 2489await VerifyItemIsAbsentAsync(markup, "field"); 2504await VerifyItemIsAbsentAsync(markup, "field"); 2575await VerifyItemIsAbsentAsync(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular); 2590await VerifyItemIsAbsentAsync(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 2731await VerifyItemIsAbsentAsync(markup, "ToString"); 2758await VerifyItemIsAbsentAsync(markup, "Console", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script); 2798await VerifyItemIsAbsentAsync(markup, "case 0:"); 2815await VerifyItemIsAbsentAsync(markup, "default:"); 2862await VerifyItemIsAbsentAsync(markup, "Goo"); 2873await VerifyItemIsAbsentAsync(markup, "CLSCompliantAttribute"); 2885await VerifyItemIsAbsentAsync(markup, "CLSCompliantAttribute"); 2896await VerifyItemIsAbsentAsync(markup, "CLSCompliantAttribute"); 2908await VerifyItemIsAbsentAsync(markup, "CLSCompliantAttribute"); 2920await VerifyItemIsAbsentAsync(markup, "CLSCompliantAttribute"); 2932await VerifyItemIsAbsentAsync(markup, "CLSCompliant"); 2943await VerifyItemIsAbsentAsync(markup, "CLSCompliant"); 2969await VerifyItemIsAbsentAsync(markup, "Alias"); 2997await VerifyItemIsAbsentAsync(markup, "MyAttribute"); 3014await VerifyItemIsAbsentAsync(markup, "MyAttribute"); 3028await VerifyItemIsAbsentAsync(markup, "namespace"); 3029await VerifyItemIsAbsentAsync(markup, "@namespace"); 3043await VerifyItemIsAbsentAsync(markup, "namespace"); 3044await VerifyItemIsAbsentAsync(markup, "@namespace"); 3064await VerifyItemIsAbsentAsync(markup, "@error"); 3068await VerifyItemIsAbsentAsync(markup, "@method"); 3072await VerifyItemIsAbsentAsync(markup, "int"); 3089await VerifyItemIsAbsentAsync(markup, "from"); 3108await VerifyItemIsAbsentAsync(markup, "from"); 3110await VerifyItemIsAbsentAsync(markup, "where"); 3129await VerifyItemIsAbsentAsync(markup, "from"); 3131await VerifyItemIsAbsentAsync(markup, "where"); 3142await VerifyItemIsAbsentAsync(markup, "MyAttribute", sourceCodeKind: SourceCodeKind.Regular); 3153await VerifyItemIsAbsentAsync(markup, "namespace", sourceCodeKind: SourceCodeKind.Regular); 3154await VerifyItemIsAbsentAsync(markup, "@namespace", sourceCodeKind: SourceCodeKind.Regular); 3182await VerifyItemIsAbsentAsync(markup, "Namespace2"); 3231await VerifyItemIsAbsentAsync(markup, "Namespace2Alias"); 3247await VerifyItemIsAbsentAsync(markup, "Namespace1"); 3597await VerifyItemIsAbsentAsync(markup, "x"); 3611await VerifyItemIsAbsentAsync(markup, "x"); 3662await VerifyItemIsAbsentAsync(markup, "i"); 3702await VerifyItemIsAbsentAsync(markup, "Equals"); 3720await VerifyItemIsAbsentAsync(markup, "a"); 3721await VerifyItemIsAbsentAsync(markup, "b"); 3722await VerifyItemIsAbsentAsync(markup, "c"); 3752await VerifyItemIsAbsentAsync( 3761await VerifyItemIsAbsentAsync( 3771await VerifyItemIsAbsentAsync( 3781await VerifyItemIsAbsentAsync( 3791await VerifyItemIsAbsentAsync( 3799await VerifyItemIsAbsentAsync(AddInsideMethod( 3840await VerifyItemIsAbsentAsync( 3851await VerifyItemIsAbsentAsync( 3862await VerifyItemIsAbsentAsync( 3873await VerifyItemIsAbsentAsync( 3884await VerifyItemIsAbsentAsync( 3895await VerifyItemIsAbsentAsync( 3908await VerifyItemIsAbsentAsync( 3943await VerifyItemIsAbsentAsync( 3954await VerifyItemIsAbsentAsync( 3966await VerifyItemIsAbsentAsync( 4012await VerifyItemIsAbsentAsync( 4023await VerifyItemIsAbsentAsync( 4034await VerifyItemIsAbsentAsync(@" 4186await VerifyItemIsAbsentAsync(@" 4200await VerifyItemIsAbsentAsync(@" 7202await VerifyItemIsAbsentAsync(markup, "Console"); 7218await VerifyItemIsAbsentAsync(markup, "Test"); 7234await VerifyItemIsAbsentAsync(markup, "Task"); 7357await VerifyItemIsAbsentAsync(markup, "Result"); 7358await VerifyItemIsAbsentAsync(markup, "ReadAsStreamAsync"); 7385await VerifyItemIsAbsentAsync(markup, "Result"); 7442await VerifyItemIsAbsentAsync(markup, "Finalize"); 7562=> await VerifyItemIsAbsentAsync(@"base.$$", @"ToString", sourceCodeKind: SourceCodeKind.Script); 7580await VerifyItemIsAbsentAsync(markup, "D"); 7641await VerifyItemIsAbsentAsync(markup, "C"); 7657await VerifyItemIsAbsentAsync(markup, "N"); 7668await VerifyItemIsAbsentAsync(markup, "C"); 7692await VerifyItemIsAbsentAsync(markup, "C"); 8226await VerifyItemIsAbsentAsync(markup, "value"); 8248await VerifyItemIsAbsentAsync(markup, "value"); 8264await VerifyItemIsAbsentAsync(markup, "Value"); 8280await VerifyItemIsAbsentAsync(markup, "Day"); 8470await VerifyItemIsAbsentAsync(markup, "M"); 8516await VerifyItemIsAbsentAsync(markup, "Q"); 8538await VerifyItemIsAbsentAsync(markup, "X"); 8548await VerifyItemIsAbsentAsync(markup, "T"); 8924await VerifyItemIsAbsentAsync(markup, "A"); 8925await VerifyItemIsAbsentAsync(markup, "B"); 8946await VerifyItemIsAbsentAsync(markup, "C"); 8947await VerifyItemIsAbsentAsync(markup, "D"); 9057await VerifyItemIsAbsentAsync(markup, "B"); 9079await VerifyItemIsAbsentAsync(markup, "D"); 9101await VerifyItemIsAbsentAsync(markup, "I"); 9123await VerifyItemIsAbsentAsync(markup, "I"); 9153await VerifyItemIsAbsentAsync(markup, "Goo"); 9154await VerifyItemIsAbsentAsync(markup, "Bar"); 9185await VerifyItemIsAbsentAsync(markup, "Goo"); 9186await VerifyItemIsAbsentAsync(markup, "Bar"); 9286await VerifyItemIsAbsentAsync(markup, "Bar"); 9318await VerifyItemIsAbsentAsync(markup, "Goo"); 9530await VerifyItemIsAbsentAsync(markup, "abc"); 9554await VerifyItemIsAbsentAsync(markup, "abc"); 9765await VerifyItemIsAbsentAsync(markup, "Item1"); 9766await VerifyItemIsAbsentAsync(markup, "Item9"); 9767await VerifyItemIsAbsentAsync(markup, "Rest"); 9768await VerifyItemIsAbsentAsync(markup, "Item3"); 10213await VerifyItemIsAbsentAsync(markup, "FirstOrDefault", displayTextSuffix: "<>"); 10238await VerifyItemIsAbsentAsync(markup, "Task"); 10331await VerifyItemIsAbsentAsync(markup, "Substring"); 10353await VerifyItemIsAbsentAsync(markup, "Substring"); 10374await VerifyItemIsAbsentAsync(markup, "Substring"); 10493await VerifyItemIsAbsentAsync(markup, "MyProperty"); 10648await VerifyItemIsAbsentAsync(markup, "BeginInvoke"); 10649await VerifyItemIsAbsentAsync(markup, "Clone"); 10650await VerifyItemIsAbsentAsync(markup, "Method"); 10651await VerifyItemIsAbsentAsync(markup, "Target"); 10683await VerifyItemIsAbsentAsync(markup, "BeginInvoke"); 10684await VerifyItemIsAbsentAsync(markup, "Clone"); 10685await VerifyItemIsAbsentAsync(markup, "Method"); 10686await VerifyItemIsAbsentAsync(markup, "Target"); 10713await VerifyItemIsAbsentAsync(markup, "AbsoluteUri"); 10714await VerifyItemIsAbsentAsync(markup, "Fragment"); 10715await VerifyItemIsAbsentAsync(markup, "Query"); 10718await VerifyItemIsAbsentAsync(markup, "BeginInvoke"); 10719await VerifyItemIsAbsentAsync(markup, "Clone"); 10720await VerifyItemIsAbsentAsync(markup, "Method"); 10721await VerifyItemIsAbsentAsync(markup, "Target"); 10753await VerifyItemIsAbsentAsync(markup, "AnotherSomething"); 10754await VerifyItemIsAbsentAsync(markup, "FirstOrDefault"); 10784await VerifyItemIsAbsentAsync(markup, "Something"); 10785await VerifyItemIsAbsentAsync(markup, "FirstOrDefault"); 10892await VerifyItemIsAbsentAsync(markup, "DoSomething", displayTextSuffix: "<>"); 10923await VerifyItemIsAbsentAsync( 11171await VerifyItemIsAbsentAsync(markup, "Equals"); 11199await VerifyItemIsAbsentAsync(markup, "Equals"); 11227await VerifyItemIsAbsentAsync(markup, "Equals"); 11248await VerifyItemIsAbsentAsync(markup, "Equals"); 11274await VerifyItemIsAbsentAsync(markup, "Equals"); 11302await VerifyItemIsAbsentAsync(markup, "Equals"); 11404await VerifyItemIsAbsentAsync(@" 11622await VerifyItemIsAbsentAsync(source, "Y"); 11644await VerifyItemIsAbsentAsync(source, "X"); 11679await VerifyItemIsAbsentAsync(source, "X"); 11680await VerifyItemIsAbsentAsync(source, "Y"); 11715await VerifyItemIsAbsentAsync(source, "X"); 11716await VerifyItemIsAbsentAsync(source, "Y"); 11801await VerifyItemIsAbsentAsync(source, "goo"); 11802await VerifyItemIsAbsentAsync(source, "Bar"); 11831await VerifyItemIsAbsentAsync(MakeMarkup(source), "parameter"); 12023await VerifyItemIsAbsentAsync(MakeMarkup(source), "ExtMethod");
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (17)
82=> await VerifyItemIsAbsentAsync(@"using System.Console.$$", @"Beep"); 87await VerifyItemIsAbsentAsync(@"class C { 96await VerifyItemIsAbsentAsync(@"class C { 105await VerifyItemIsAbsentAsync(@"using System; 114await VerifyItemIsAbsentAsync(@"using System; 123await VerifyItemIsAbsentAsync(@"using System; 132await VerifyItemIsAbsentAsync(@"using System; 145await VerifyItemIsAbsentAsync(@"using System; 155=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", AddInsideMethod("string s = \"Console.$$")), @"Beep"); 159=> await VerifyItemIsAbsentAsync(@"[assembly: System.Console.$$]", @"Beep"); 167await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"Beep"); 172=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<[Console.$$]T> {}"), @"Beep"); 181await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", content), @"Beep"); 186=> await VerifyItemIsAbsentAsync(AddUsingDirectives("using System;", @"class CL<Console.$$"), @"Beep"); 191await VerifyItemIsAbsentAsync(@"using System; 204await VerifyItemIsAbsentAsync(@"using System; 218await VerifyItemIsAbsentAsync(@"using System;
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (1)
1805=> VerifyItemIsAbsentAsync(markup, expectedItem, displayTextSuffix: displayTextSuffix, inlineDescription: inlineDescription);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (7)
38await VerifyItemIsAbsentAsync(markup, item); 247await VerifyItemIsAbsentAsync(@" 271await VerifyItemIsAbsentAsync(@" 295await VerifyItemIsAbsentAsync(@" 319await VerifyItemIsAbsentAsync(@" 456await VerifyItemIsAbsentAsync(@" 484await VerifyItemIsAbsentAsync(@"
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (284)
Completion\CompletionProviders\AwaitCompletionProviderTests.vb (1)
23Await VerifyItemIsAbsentAsync(markup, "Awaitf")
Completion\CompletionProviders\CompletionListTagCompletionProviderTests.vb (2)
310Await VerifyItemIsAbsentAsync(markup, "Program.Goo") 345Await VerifyItemIsAbsentAsync(markup, "e As E")
Completion\CompletionProviders\CrefCompletionProviderTests.vb (3)
104Await VerifyItemIsAbsentAsync(text, "Integer") 121Await VerifyItemIsAbsentAsync(text, "Goo(Integer") 406Await VerifyItemIsAbsentAsync(text, "Of")
Completion\CompletionProviders\EnumCompletionProviderTests.vb (1)
332Await VerifyItemIsAbsentAsync(markup, "DayOfWeek.A", usePreviousCharAsTrigger:=True)
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.vb (5)
113Await VerifyItemIsAbsentAsync(markup, "ExtensionMethod7", inlineDescription:="Foo") 189Await VerifyItemIsAbsentAsync(markup, "ExtensionMethod1", inlineDescription:="Foo") 190Await VerifyItemIsAbsentAsync(markup, "ExtensionMethod2", inlineDescription:="Foo") 225Await VerifyItemIsAbsentAsync(markup, "ExtentionMethod", inlineDescription:="NS") 260Await VerifyItemIsAbsentAsync(markup, "ExtentionMethod", inlineDescription:="NS")
Completion\CompletionProviders\HandlesClauseCompletionProviderTests.vb (1)
199Await VerifyItemIsAbsentAsync(text, "B", "Event Base.B()")
Completion\CompletionProviders\ImplementsClauseCompletionProviderTests.vb (17)
97Await VerifyItemIsAbsentAsync(text, "Bar") 113Await VerifyItemIsAbsentAsync(text, "Goo") 181Await VerifyItemIsAbsentAsync(text, "Goo") 198Await VerifyItemIsAbsentAsync(text, "Goo") 257Await VerifyItemIsAbsentAsync(text, "I", Nothing, Nothing, True) 278Await VerifyItemIsAbsentAsync(text, "Inner") 279Await VerifyItemIsAbsentAsync(text, "I") 280Await VerifyItemIsAbsentAsync(text, "J") 298Await VerifyItemIsAbsentAsync(text, "I") 311Await VerifyItemIsAbsentAsync(text, "I") 351Await VerifyItemIsAbsentAsync(text, "Equals") 528Await VerifyItemIsAbsentAsync(test, "F1") 529Await VerifyItemIsAbsentAsync(test, "P1") 546Await VerifyItemIsAbsentAsync(test, "S1") 548Await VerifyItemIsAbsentAsync(test, "P1") 565Await VerifyItemIsAbsentAsync(test, "S1") 566Await VerifyItemIsAbsentAsync(test, "F1")
Completion\CompletionProviders\KeywordCompletionProviderTests.vb (16)
50Await VerifyItemIsAbsentAsync(code, "Boolean") 51Await VerifyItemIsAbsentAsync(code, "Byte") 52Await VerifyItemIsAbsentAsync(code, "Char") 53Await VerifyItemIsAbsentAsync(code, "Date") 54Await VerifyItemIsAbsentAsync(code, "Decimal") 55Await VerifyItemIsAbsentAsync(code, "Double") 56Await VerifyItemIsAbsentAsync(code, "Integer") 57Await VerifyItemIsAbsentAsync(code, "Long") 58Await VerifyItemIsAbsentAsync(code, "Object") 59Await VerifyItemIsAbsentAsync(code, "SByte") 60Await VerifyItemIsAbsentAsync(code, "Short") 61Await VerifyItemIsAbsentAsync(code, "Single") 62Await VerifyItemIsAbsentAsync(code, "String") 63Await VerifyItemIsAbsentAsync(code, "UInteger") 64Await VerifyItemIsAbsentAsync(code, "ULong") 65Await VerifyItemIsAbsentAsync(code, "UShort")
Completion\CompletionProviders\NamedParameterCompletionProviderTests.vb (4)
51Await VerifyItemIsAbsentAsync( 83Await VerifyItemIsAbsentAsync( 272Await VerifyItemIsAbsentAsync(markup, "obj", displayTextSuffix:=":=") 273Await VerifyItemIsAbsentAsync(markup, "str", displayTextSuffix:=":=")
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.vb (9)
196Await VerifyItemIsAbsentAsync(text, "goo") 274Await VerifyItemIsAbsentAsync(text, "_Goo") 293Await VerifyItemIsAbsentAsync(text, "Bar") 304Await VerifyItemIsAbsentAsync(text, "Data") 316Await VerifyItemIsAbsentAsync(text, "Item") 360Await VerifyItemIsAbsentAsync(text, "P") 388Await VerifyItemIsAbsentAsync(text, "Q") 496Await VerifyItemIsAbsentAsync(text, "Wend") 497Await VerifyItemIsAbsentAsync(text, "New")
Completion\CompletionProviders\OverrideCompletionProviderTests.vb (32)
39Await VerifyItemIsAbsentAsync(text.Value, "Goo()", "Sub Base.Goo()") 69Await VerifyItemIsAbsentAsync(text.Value, "Finalize()") 86Await VerifyItemIsAbsentAsync(text.Value, "goo.Finalize()") 164Await VerifyItemIsAbsentAsync(text.Value, "bar()") 184Await VerifyItemIsAbsentAsync(text.Value, "goo()") 221Await VerifyItemIsAbsentAsync(text.Value, "goo()") 237Await VerifyItemIsAbsentAsync(text.Value, "goo()") 253Await VerifyItemIsAbsentAsync(text.Value, "goo()") 269Await VerifyItemIsAbsentAsync(text.Value, "goo()") 285Await VerifyItemIsAbsentAsync(text.Value, "goo()") 323Await VerifyItemIsAbsentAsync(text.Value, "s1()") 345Await VerifyItemIsAbsentAsync(text.Value, "s1()") 346Await VerifyItemIsAbsentAsync(text.Value, "t1()") 347Await VerifyItemIsAbsentAsync(text.Value, "u1()") 369Await VerifyItemIsAbsentAsync(text.Value, "r1()") 370Await VerifyItemIsAbsentAsync(text.Value, "s1()") 371Await VerifyItemIsAbsentAsync(text.Value, "u1()") 393Await VerifyItemIsAbsentAsync(text.Value, "r1()") 394Await VerifyItemIsAbsentAsync(text.Value, "s1()") 395Await VerifyItemIsAbsentAsync(text.Value, "t1()") 419Await VerifyItemIsAbsentAsync(text.Value, "u1()") 420Await VerifyItemIsAbsentAsync(text.Value, "r1()") 421Await VerifyItemIsAbsentAsync(text.Value, "s1()") 422Await VerifyItemIsAbsentAsync(text.Value, "t1()") 437Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T)") 452Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T)") 467Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T, s As S)") 482Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T)") 497Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T)") 514Await VerifyItemIsAbsentAsync(markup.Value, "Goo(t As T, s As S)") 616Await VerifyItemIsAbsentAsync(text.Value, "Function") 1822Await VerifyItemIsAbsentAsync(text.Value, "w")
Completion\CompletionProviders\SymbolCompletionProviderTests.vb (177)
26Await VerifyItemIsAbsentAsync(markup, "System") 29Await VerifyItemIsAbsentAsync(markup, "String") 57Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As $$"), "Console") 62Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As $$"), "String") 72Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As { II, $$"), "Console") 77Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As { II, $$"), "String") 87Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As $$)"), "Console") 92Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As $$)"), "String") 102Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As { II, $$})"), "Console") 107Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Class A(Of T As { II, $$})"), "String") 674Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Imports T = $$"), "String") 680Await VerifyItemIsAbsentAsync("Imports $$ = S", "String") 686Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Imports $$"), "String") 692Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "Imports System, $$"), "String") 811Await VerifyItemIsAbsentAsync( 860Await VerifyItemIsAbsentAsync( 963Await VerifyItemIsAbsentAsync( 977Await VerifyItemIsAbsentAsync( 991Await VerifyItemIsAbsentAsync( 1008Await VerifyItemIsAbsentAsync( 1086Await VerifyItemIsAbsentAsync(source, "XEventHandler") 1087Await VerifyItemIsAbsentAsync(source, "XEvent") 1088Await VerifyItemIsAbsentAsync(source, "add_X") 1089Await VerifyItemIsAbsentAsync(source, "remove_X") 1104Await VerifyItemIsAbsentAsync(source, "XEventHandler") 1105Await VerifyItemIsAbsentAsync(source, "XEvent") 1106Await VerifyItemIsAbsentAsync(source, "add_X") 1107Await VerifyItemIsAbsentAsync(source, "remove_X") 1133Await VerifyItemIsAbsentAsync(source, "_w") 1147Await VerifyItemIsAbsentAsync(source, "_X") 1160Await VerifyItemIsAbsentAsync(code, "Main") 1273Await VerifyItemIsAbsentAsync( 1281Await VerifyItemIsAbsentAsync( 1292Await VerifyItemIsAbsentAsync( 1300Await VerifyItemIsAbsentAsync( 1320Await VerifyItemIsAbsentAsync(test, "MaxValue") 1321Await VerifyItemIsAbsentAsync(test, "ReferenceEquals") 1345Await VerifyItemIsAbsentAsync(test, "Goo") 1490Await VerifyItemIsAbsentAsync(test.Value, "Del") 1536Await VerifyItemIsAbsentAsync(test.Value, "Goo") 1560Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1571Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1582Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1593Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1606Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1619Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliantAttribute") 1632Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliant") 1645Await VerifyItemIsAbsentAsync(test.Value, "CLSCompliant") 1684Await VerifyItemIsAbsentAsync(test.Value, "New") 1699Await VerifyItemIsAbsentAsync(test.Value, "New") 1739Await VerifyItemIsAbsentAsync(test.Value, "New") 1754Await VerifyItemIsAbsentAsync(test.Value, "New") 1787Await VerifyItemIsAbsentAsync(markup, "D") 1819Await VerifyItemIsAbsentAsync(markup, "C1") 1851Await VerifyItemIsAbsentAsync(markup, "C2") 1893Await VerifyItemIsAbsentAsync(markup, "Namespace2") 1963Await VerifyItemIsAbsentAsync(markup, "Namespace2Alias") 1986Await VerifyItemIsAbsentAsync(markup, "Namespace1") 2024Await VerifyItemIsAbsentAsync(markup, "MyClass3") 2359Await VerifyItemIsAbsentAsync(markup, "Goo2") 2360Await VerifyItemIsAbsentAsync(markup, "Bar2") 2380Await VerifyItemIsAbsentAsync(markup, "Goo2") 2381Await VerifyItemIsAbsentAsync(markup, "Bar2") 2402Await VerifyItemIsAbsentAsync(markup, "Configure", "Sub Base.Configure()") 2427Await VerifyItemIsAbsentAsync("MyBase.$$", "ToString", sourceCodeKind:=SourceCodeKind.Script) 2449Await VerifyItemIsAbsentAsync(markup, "Bar") 2483Await VerifyItemIsAbsentAsync(markup, "baseEvent") 2526Await VerifyItemIsAbsentAsync(markup, "x") 2538Await VerifyItemIsAbsentAsync(markup, "x") 2580Await VerifyItemIsAbsentAsync(markup, "i") 2618Await VerifyItemIsAbsentAsync(markup, "Equals") 2633Await VerifyItemIsAbsentAsync(markup, "[dim]") 2635Await VerifyItemIsAbsentAsync(markup, "[Structure]") 2653Await VerifyItemIsAbsentAsync(markup, "[dim]") 2655Await VerifyItemIsAbsentAsync(markup, "[New]") 2657Await VerifyItemIsAbsentAsync(markup, "[rem]") 2673Await VerifyItemIsAbsentAsync(markup, "[Structure]") 2688Await VerifyItemIsAbsentAsync(markup, "[class]") 2768Await VerifyItemIsAbsentAsync(text, "goo") 2783Await VerifyItemIsAbsentAsync(text, "goo") 2843Await VerifyItemIsAbsentAsync(text, "bar") 3001Await VerifyItemIsAbsentAsync( 3036Await VerifyItemIsAbsentAsync("System.Console.$$", "Beep") 3041Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", "System.Console.$$"), "Beep") 3046Await VerifyItemIsAbsentAsync("Imports System.Console.$$", "Beep") 3051Await VerifyItemIsAbsentAsync( 3059Await VerifyItemIsAbsentAsync(AddImportsStatement("Imports System", AddInsideMethod("Dim d = ""Console.$$")), "Beep") 3064Await VerifyItemIsAbsentAsync("<System.Console.$$>", "Beep") 5033Await VerifyItemIsAbsentAsync(markup, "Derived") 5191Await VerifyItemIsAbsentAsync(markup, "Base") 5247Await VerifyItemIsAbsentAsync(markup, "D") 5306Await VerifyItemIsAbsentAsync(markup, "Module1") 5321Await VerifyItemIsAbsentAsync(markup, "N") 5339Await VerifyItemIsAbsentAsync(markup, "S2") 5372Await VerifyItemIsAbsentAsync(markup, "TestClass") 5393Await VerifyItemIsAbsentAsync(markup, "TestClass") 5409Await VerifyItemIsAbsentAsync(markup, "ITestInterface") 5410Await VerifyItemIsAbsentAsync(markup, "TestClass") 5821Await VerifyItemIsAbsentAsync(source, "String") 5865Await VerifyItemIsAbsentAsync(source, "A") 5873Await VerifyItemIsAbsentAsync(source, "NS") 5892Await VerifyItemIsAbsentAsync(source, "A") 5893Await VerifyItemIsAbsentAsync(source, "B") 5915Await VerifyItemIsAbsentAsync(source, "A") 5928Await VerifyItemIsAbsentAsync(source, "Runtime") 5963Await VerifyItemIsAbsentAsync(source, "C1") 5964Await VerifyItemIsAbsentAsync(source, "C2") 5965Await VerifyItemIsAbsentAsync(source, "C3") 5967Await VerifyItemIsAbsentAsync(source, "A") 6010Await VerifyItemIsAbsentAsync(source, "A") 6011Await VerifyItemIsAbsentAsync(source, "B") 6028Await VerifyItemIsAbsentAsync(source, "A") 6029Await VerifyItemIsAbsentAsync(source, "B") 6048Await VerifyItemIsAbsentAsync(source, "A") 6061Await VerifyItemIsAbsentAsync(source, "Runtime") 6089Await VerifyItemIsAbsentAsync(source, "A") 6090Await VerifyItemIsAbsentAsync(source, "B") 6091Await VerifyItemIsAbsentAsync(source, "C") 6101Await VerifyItemIsAbsentAsync(source, "D1") 6102Await VerifyItemIsAbsentAsync(source, "D2") 6103Await VerifyItemIsAbsentAsync(source, "D3") 6114Await VerifyItemIsAbsentAsync(source, "System") 6127Await VerifyItemIsAbsentAsync(source, "System") 6128Await VerifyItemIsAbsentAsync(source, "Runtime") 6211Await VerifyItemIsAbsentAsync(text, "Value") 6224Await VerifyItemIsAbsentAsync(text, "Day") 6241Await VerifyItemIsAbsentAsync(text, "_p") 6242Await VerifyItemIsAbsentAsync(text, "e") 6258Await VerifyItemIsAbsentAsync(text, "HasValue") 6300Await VerifyItemIsAbsentAsync(text, "c") 6327Await VerifyItemIsAbsentAsync(text, "c") 6619Await VerifyItemIsAbsentAsync(text, "Goo") 6639Await VerifyItemIsAbsentAsync(text, "Bar") 6867Await VerifyItemIsAbsentAsync(text, "Y") 6930Await VerifyItemIsAbsentAsync(text, "M") 6974Await VerifyItemIsAbsentAsync(text, "Q") 6993Await VerifyItemIsAbsentAsync(text, "X") 7011Await VerifyItemIsAbsentAsync(text, "y") 7031Await VerifyItemIsAbsentAsync(text, "x") 7050Await VerifyItemIsAbsentAsync(text, "value__") 7068Await VerifyItemIsAbsentAsync(text, "value__") 7157Await VerifyItemIsAbsentAsync(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7174Await VerifyItemIsAbsentAsync(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7191Await VerifyItemIsAbsentAsync(text, "Func", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7290Await VerifyItemIsAbsentAsync(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7307Await VerifyItemIsAbsentAsync(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7324Await VerifyItemIsAbsentAsync(text, "Action", displayTextSuffix:="(Of " & s_unicodeEllipsis & ")") 7484Await VerifyItemIsAbsentAsync(text, "x") 7498Await VerifyItemIsAbsentAsync(text, "x") 7512Await VerifyItemIsAbsentAsync(text, "x") 7596Await VerifyItemIsAbsentAsync(text, "Item1") 7597Await VerifyItemIsAbsentAsync(text, "Item9") 7598Await VerifyItemIsAbsentAsync(text, "Rest") 7838Await VerifyItemIsAbsentAsync(source, "FirstOrDefault") 7861Await VerifyItemIsAbsentAsync(source, "Task") 7956Await VerifyItemIsAbsentAsync(source, "Substring") 7982Await VerifyItemIsAbsentAsync(source, "Substring") 8007Await VerifyItemIsAbsentAsync(source, "Substring") 8121Await VerifyItemIsAbsentAsync(source, "BeginInvoke") 8122Await VerifyItemIsAbsentAsync(source, "Clone") 8123Await VerifyItemIsAbsentAsync(source, "Method") 8124Await VerifyItemIsAbsentAsync(source, "Target") 8160Await VerifyItemIsAbsentAsync(source, "BeginInvoke") 8161Await VerifyItemIsAbsentAsync(source, "Clone") 8162Await VerifyItemIsAbsentAsync(source, "Method") 8163Await VerifyItemIsAbsentAsync(source, "Target") 8194Await VerifyItemIsAbsentAsync(source, "AbsoluteUri") 8195Await VerifyItemIsAbsentAsync(source, "Fragment") 8196Await VerifyItemIsAbsentAsync(source, "Query") 8199Await VerifyItemIsAbsentAsync(source, "BeginInvoke") 8200Await VerifyItemIsAbsentAsync(source, "Clone") 8201Await VerifyItemIsAbsentAsync(source, "Method") 8202Await VerifyItemIsAbsentAsync(source, "Target") 8229Await VerifyItemIsAbsentAsync(source, "AnotherSomething") 8230Await VerifyItemIsAbsentAsync(source, "FirstOrDefault") 8258Await VerifyItemIsAbsentAsync(source, "Something") 8259Await VerifyItemIsAbsentAsync(source, "FirstOrDefault")
Completion\CompletionProviders\TypeImportCompletionProviderTests.vb (8)
52Await VerifyItemIsAbsentAsync(markup, "MyAttributeWithoutSuffix", inlineDescription:="Foo") ' We intentionally ignore attribute types without proper suffix for perf reason 53Await VerifyItemIsAbsentAsync(markup, "MyAttribute", inlineDescription:="Foo") 54Await VerifyItemIsAbsentAsync(markup, "MyVBClass", inlineDescription:="Foo") 84Await VerifyItemIsAbsentAsync(markup, "My", inlineDescription:="Foo") 108Await VerifyItemIsAbsentAsync(markup, "Myattribute", inlineDescription:="Foo") 131Await VerifyItemIsAbsentAsync(markup, "Myattribute", inlineDescription:="Foo") 219Await VerifyItemIsAbsentAsync(markup, "Foo4", inlineDescription:="Foo1.Foo2.Foo3") 220Await VerifyItemIsAbsentAsync(markup, "Foo5", inlineDescription:="Foo1.Foo2.Foo3")
Completion\CompletionProviders\XmlDocCommentCompletionProviderTests.vb (8)
41Await VerifyItemIsAbsentAsync(markup, item) 303Await VerifyItemIsAbsentAsync(text, "param name=""bar""") 317Await VerifyItemIsAbsentAsync(text, "typeparam name=""T""") 332Await VerifyItemIsAbsentAsync(text, "param name=""bar""") 347Await VerifyItemIsAbsentAsync(text, "typeparam name=""T""") 625Await VerifyItemIsAbsentAsync(text, "returns") 657Await VerifyItemIsAbsentAsync(text, "returns") 687Await VerifyItemIsAbsentAsync(text, "returns")