396 references to VerifyItemIsAbsentAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (396)
Completion\CompletionProviders\AppDirectiveCompletionProviderTests.cs (7)
129
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
135
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
147
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
153
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
171
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
177
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
183
=>
VerifyItemIsAbsentAsync
(GetMarkup("""
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (1)
124
await
VerifyItemIsAbsentAsync
(markup, "Color", displayTextSuffix: " =");
Completion\CompletionProviders\AwaitCompletionProviderTests.cs (5)
32
await
VerifyItemIsAbsentAsync
(code, CompletionDisplayTextAwait);
33
await
VerifyItemIsAbsentAsync
(code, CompletionDisplayTextAwaitAndConfigureAwait);
39
await
VerifyItemIsAbsentAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwait);
40
await
VerifyItemIsAbsentAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait);
58
await
VerifyItemIsAbsentAsync
(GetMarkup(code, languageVersion), CompletionDisplayTextAwaitAndConfigureAwait);
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (1)
143
: (markup, expectedItem) =>
VerifyItemIsAbsentAsync
(markup, expectedItem, displayTextPrefix: "(", displayTextSuffix: ")");
Completion\CompletionProviders\CrefCompletionProviderTests.cs (1)
107
await
VerifyItemIsAbsentAsync
(text, "goo(int)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (34)
351
=>
VerifyItemIsAbsentAsync
($$"""
403
await
VerifyItemIsAbsentAsync
(markup, "C");
404
await
VerifyItemIsAbsentAsync
(markup, "c");
674
await
VerifyItemIsAbsentAsync
(markup, "CancellationToken");
707
await
VerifyItemIsAbsentAsync
(markup, "firstName");
712
=>
VerifyItemIsAbsentAsync
("""
731
await
VerifyItemIsAbsentAsync
(markup, "myTok");
1099
await
VerifyItemIsAbsentAsync
(markup, "C");
1100
await
VerifyItemIsAbsentAsync
(markup, "c");
1114
await
VerifyItemIsAbsentAsync
(markup, "Array");
1198
await
VerifyItemIsAbsentAsync
(markup, "MyClass");
1199
await
VerifyItemIsAbsentAsync
(markup, "GetMyClass");
1301
=>
VerifyItemIsAbsentAsync
("""
1403
=>
VerifyItemIsAbsentAsync
("""
1917
=>
VerifyItemIsAbsentAsync
("""
2332
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationLocal");
2333
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationLocalFunction");
2361
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationField");
2362
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationMethod");
2363
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationProperty");
2385
await
VerifyItemIsAbsentAsync
(markup, "classB");
2404
await
VerifyItemIsAbsentAsync
(markup, "classB");
2458
await
VerifyItemIsAbsentAsync
(markup, "classB");
2479
await
VerifyItemIsAbsentAsync
(markup, "classB");
2480
await
VerifyItemIsAbsentAsync
(markup, "classB1");
2503
await
VerifyItemIsAbsentAsync
(markup, "classB");
2568
await
VerifyItemIsAbsentAsync
(markup, "classB");
2594
await
VerifyItemIsAbsentAsync
(markup, "classB");
2599
=>
VerifyItemIsAbsentAsync
("""
2619
=>
VerifyItemIsAbsentAsync
("""
2717
await
VerifyItemIsAbsentAsync
(markup, "async");
2718
await
VerifyItemIsAbsentAsync
(markup, "Async");
2719
await
VerifyItemIsAbsentAsync
(markup, "GetAsync");
2747
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProviderTests.cs (39)
51
await
VerifyItemIsAbsentAsync
(markup + colorsLike, "Colors");
208
await
VerifyItemIsAbsentAsync
(markup, typeName);
236
await
VerifyItemIsAbsentAsync
(markup, typeName);
262
await
VerifyItemIsAbsentAsync
(markup, typeName);
286
await
VerifyItemIsAbsentAsync
(markup, typeName);
310
await
VerifyItemIsAbsentAsync
(markup, typeName);
317
=>
VerifyItemIsAbsentAsync
($$"""
333
=>
VerifyItemIsAbsentAsync
($$"""
349
=>
VerifyItemIsAbsentAsync
($$"""
365
=>
VerifyItemIsAbsentAsync
($$"""
381
=>
VerifyItemIsAbsentAsync
($$"""
397
=>
VerifyItemIsAbsentAsync
($$"""
413
=>
VerifyItemIsAbsentAsync
($$"""
447
await
VerifyItemIsAbsentAsync
(markup, typeName);
472
await
VerifyItemIsAbsentAsync
(markup, typeName);
651
await
VerifyItemIsAbsentAsync
(markup, "D");
677
await
VerifyItemIsAbsentAsync
(markup, "D");
707
await
VerifyItemIsAbsentAsync
(markup, "D");
735
await
VerifyItemIsAbsentAsync
(enumE + markup, "E");
737
await
VerifyItemIsAbsentAsync
(enumLikeE + markup, "E");
768
await
VerifyItemIsAbsentAsync
(markup + colorsLike, "Colors");
799
await
VerifyItemIsAbsentAsync
(markup + colorsLike, "Colors");
997
=>
VerifyItemIsAbsentAsync
("""
1025
=>
VerifyItemIsAbsentAsync
("""
1039
=>
VerifyItemIsAbsentAsync
("""
1053
=>
VerifyItemIsAbsentAsync
("""
1081
=>
VerifyItemIsAbsentAsync
("""
1095
=>
VerifyItemIsAbsentAsync
("""
1308
await
VerifyItemIsAbsentAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: true);
1344
await
VerifyItemIsAbsentAsync
(markup + gooLike, "Goo.AMember", usePreviousCharAsTrigger: true);
1384
await
VerifyItemIsAbsentAsync
(eLike + markup, "E.A", usePreviousCharAsTrigger: true);
1505
await
VerifyItemIsAbsentAsync
(markup, $"{typeName}.A", usePreviousCharAsTrigger: true);
1514
=>
VerifyItemIsAbsentAsync
($$"""
1584
await
VerifyItemIsAbsentAsync
(markup, "e as E");
1853
await
VerifyItemIsAbsentAsync
(markup, "Color.Red");
1886
=>
VerifyItemIsAbsentAsync
($$"""
1968
await
VerifyItemIsAbsentAsync
(markup, "Color.Green");
1991
await
VerifyItemIsAbsentAsync
(markup, "Color.Green");
2029
await
VerifyItemIsAbsentAsync
(markup, "Color.Red");
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProviderTests.cs (33)
189
await
VerifyItemIsAbsentAsync
(markup, "Equals(object obj)");
190
await
VerifyItemIsAbsentAsync
(markup, "Goo()");
191
await
VerifyItemIsAbsentAsync
(markup, "GetHashCode()");
192
await
VerifyItemIsAbsentAsync
(markup, "GetType()");
193
await
VerifyItemIsAbsentAsync
(markup, "ToString()");
216
await
VerifyItemIsAbsentAsync
(markup, "Prop.get");
217
await
VerifyItemIsAbsentAsync
(markup, "TestEvent.add");
218
await
VerifyItemIsAbsentAsync
(markup, "TestEvent.remove");
241
await
VerifyItemIsAbsentAsync
(markup, "Goo()");
242
await
VerifyItemIsAbsentAsync
(markup, "Prop");
261
await
VerifyItemIsAbsentAsync
(markup, "Goo()");
262
await
VerifyItemIsAbsentAsync
(markup, "Prop");
281
await
VerifyItemIsAbsentAsync
(markup, "Goo()");
282
await
VerifyItemIsAbsentAsync
(markup, "Prop");
301
await
VerifyItemIsAbsentAsync
(markup, "Goo()");
302
await
VerifyItemIsAbsentAsync
(markup, "Prop");
307
=>
VerifyItemIsAbsentAsync
("""
323
=>
VerifyItemIsAbsentAsync
("""
368
await
VerifyItemIsAbsentAsync
(markup, "Goo1", displayTextSuffix: "()");
369
await
VerifyItemIsAbsentAsync
(markup, "Prop1");
405
await
VerifyItemIsAbsentAsync
(markup, "Goo1", displayTextSuffix: "()");
406
await
VerifyItemIsAbsentAsync
(markup, "Prop1");
1097
=>
VerifyItemIsAbsentAsync
("""
1386
await
VerifyItemIsAbsentAsync
(markup, "Method1", displayTextSuffix: "()");
1387
await
VerifyItemIsAbsentAsync
(markup, "Method2", displayTextSuffix: "()");
1388
await
VerifyItemIsAbsentAsync
(markup, "IInner");
1451
await
VerifyItemIsAbsentAsync
(markup, "Method", displayTextSuffix: "()");
1454
await
VerifyItemIsAbsentAsync
(markup, "IInner");
1457
await
VerifyItemIsAbsentAsync
(markup, "IInner.Method1", displayTextSuffix: "()");
1501
=>
VerifyItemIsAbsentAsync
("""
1521
=>
VerifyItemIsAbsentAsync
("""
1535
=>
VerifyItemIsAbsentAsync
("""
1555
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\ExtensionMemberImportCompletionProviderTests.cs (2)
101
=>
VerifyItemIsAbsentAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, inlineDescription: inlineDescription);
2054
=>
VerifyItemIsAbsentAsync
(
Completion\CompletionProviders\KeywordCompletionProviderTests.cs (38)
333
=>
VerifyItemIsAbsentAsync
("""
342
=>
VerifyItemIsAbsentAsync
("""
382
await
VerifyItemIsAbsentAsync
(markup, "readonly");
408
await
VerifyItemIsAbsentAsync
(markup, "readonly");
434
await
VerifyItemIsAbsentAsync
(markup, "readonly");
460
await
VerifyItemIsAbsentAsync
(markup, "readonly");
478
await
VerifyItemIsAbsentAsync
(markup, "void");
519
await
VerifyItemIsAbsentAsync
(markup, "new");
520
await
VerifyItemIsAbsentAsync
(markup, "this");
521
await
VerifyItemIsAbsentAsync
(markup, "null");
522
await
VerifyItemIsAbsentAsync
(markup, "base");
523
await
VerifyItemIsAbsentAsync
(markup, "true");
524
await
VerifyItemIsAbsentAsync
(markup, "false");
525
await
VerifyItemIsAbsentAsync
(markup, "typeof");
526
await
VerifyItemIsAbsentAsync
(markup, "sizeof");
527
await
VerifyItemIsAbsentAsync
(markup, "nameof");
546
await
VerifyItemIsAbsentAsync
(markup, "new");
547
await
VerifyItemIsAbsentAsync
(markup, "this");
548
await
VerifyItemIsAbsentAsync
(markup, "null");
549
await
VerifyItemIsAbsentAsync
(markup, "base");
550
await
VerifyItemIsAbsentAsync
(markup, "true");
551
await
VerifyItemIsAbsentAsync
(markup, "false");
552
await
VerifyItemIsAbsentAsync
(markup, "typeof");
553
await
VerifyItemIsAbsentAsync
(markup, "sizeof");
554
await
VerifyItemIsAbsentAsync
(markup, "nameof");
584
=>
VerifyItemIsAbsentAsync
($$"""
595
=>
VerifyItemIsAbsentAsync
($$"""
606
=>
VerifyItemIsAbsentAsync
($$"""
614
=>
VerifyItemIsAbsentAsync
($$"""
628
=>
VerifyItemIsAbsentAsync
($$"""
654
=>
VerifyItemIsAbsentAsync
($$"""
663
=>
VerifyItemIsAbsentAsync
($$"""
676
=>
VerifyItemIsAbsentAsync
($$"""
686
=>
VerifyItemIsAbsentAsync
($$"""
718
=>
VerifyItemIsAbsentAsync
("using unsafe $$", keyword);
723
=>
VerifyItemIsAbsentAsync
("using static unsafe $$", keyword);
728
=>
VerifyItemIsAbsentAsync
("global using unsafe $$", keyword);
733
=>
VerifyItemIsAbsentAsync
("global using static unsafe $$", keyword);
Completion\CompletionProviders\NamedParameterCompletionProviderTests.cs (6)
159
await
VerifyItemIsAbsentAsync
(markup, "implementing", displayTextSuffix: ":");
180
await
VerifyItemIsAbsentAsync
(markup, "implementing", displayTextSuffix: ":");
228
await
VerifyItemIsAbsentAsync
(markup, "character", displayTextSuffix: ":");
284
await
VerifyItemIsAbsentAsync
(markup, "dbl", displayTextSuffix: ":");
343
await
VerifyItemIsAbsentAsync
(markup, "obj", displayTextSuffix: ":");
344
await
VerifyItemIsAbsentAsync
(markup, "str", displayTextSuffix: ":");
Completion\CompletionProviders\ObjectCreationCompletionProviderTests.cs (2)
36
=>
VerifyItemIsAbsentAsync
("""
48
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (15)
79
await
VerifyItemIsAbsentAsync
(markup, "<value>k__BackingField");
99
await
VerifyItemIsAbsentAsync
(markup, "<value>k__BackingField");
119
await
VerifyItemIsAbsentAsync
(markup, "<value>k__BackingField");
139
await
VerifyItemIsAbsentAsync
(markup, "<value>k__BackingField");
159
await
VerifyItemIsAbsentAsync
(markup, "<value>k__BackingField");
243
await
VerifyItemIsAbsentAsync
(markup, "value");
312
await
VerifyItemIsAbsentAsync
(markup, "myValue");
417
await
VerifyItemIsAbsentAsync
(markup, "BasePrivate");
468
await
VerifyItemIsAbsentAsync
(markup, "Count");
486
await
VerifyItemIsAbsentAsync
(markup, "this[]");
506
await
VerifyItemIsAbsentAsync
(markup, "goo");
512
=>
VerifyItemIsAbsentAsync
("""
963
await
VerifyItemIsAbsentAsync
(markup, "Target");
1069
await
VerifyItemIsAbsentAsync
(markup, "new");
1070
await
VerifyItemIsAbsentAsync
(markup, "this");
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (25)
99
=>
VerifyItemIsAbsentAsync
("""
127
await
VerifyItemIsAbsentAsync
(markup, "bar()");
154
=>
VerifyItemIsAbsentAsync
("""
172
=>
VerifyItemIsAbsentAsync
("""
271
=>
VerifyItemIsAbsentAsync
("""
313
=>
VerifyItemIsAbsentAsync
("""
405
await
VerifyItemIsAbsentAsync
(markup, "goo()");
406
await
VerifyItemIsAbsentAsync
(markup, "bar()");
407
await
VerifyItemIsAbsentAsync
(markup, "bor()");
443
await
VerifyItemIsAbsentAsync
(protectedinternal, "bar()");
459
await
VerifyItemIsAbsentAsync
(internalprotected, "bar()");
635
=>
VerifyItemIsAbsentAsync
("""
654
=>
VerifyItemIsAbsentAsync
("""
681
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t)");
699
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t)");
717
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t, S s)");
735
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t)");
753
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t)");
773
await
VerifyItemIsAbsentAsync
(markup, "Goo(T t, S s)");
3625
=>
VerifyItemIsAbsentAsync
("""
3644
await
VerifyItemIsAbsentAsync
("""
3666
await
VerifyItemIsAbsentAsync
("""
3685
await
VerifyItemIsAbsentAsync
("""
3737
=>
VerifyItemIsAbsentAsync
("""
3752
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\PartialTypeCompletionProviderTests.cs (1)
23
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\PropertySubPatternCompletionProviderTests.cs (10)
307
await
VerifyItemIsAbsentAsync
(markup, "P1");
308
await
VerifyItemIsAbsentAsync
(markup, "P2");
334
await
VerifyItemIsAbsentAsync
(markup, "P1");
335
await
VerifyItemIsAbsentAsync
(markup, "F2");
361
await
VerifyItemIsAbsentAsync
(markup, "P1");
362
await
VerifyItemIsAbsentAsync
(markup, "P2");
435
await
VerifyItemIsAbsentAsync
(markup, "P2");
614
=>
VerifyItemIsAbsentAsync
("""
626
=>
VerifyItemIsAbsentAsync
("""
640
=>
VerifyItemIsAbsentAsync
("""
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);
124
await
VerifyItemIsAbsentAsync
(@"#r f$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script);
125
await
VerifyItemIsAbsentAsync
(@"#load f$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script);
126
await
VerifyItemIsAbsentAsync
(@"#!$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Script);
Completion\CompletionProviders\SpeculativeTCompletionProviderTests.cs (14)
79
=>
VerifyItemIsAbsentAsync
("""
88
=>
VerifyItemIsAbsentAsync
("""
106
=>
VerifyItemIsAbsentAsync
("""
115
=>
VerifyItemIsAbsentAsync
("""
378
=>
VerifyItemIsAbsentAsync
("""
400
=>
VerifyItemIsAbsentAsync
("""
466
=>
VerifyItemIsAbsentAsync
("""
488
=>
VerifyItemIsAbsentAsync
("""
510
=>
VerifyItemIsAbsentAsync
("""
621
=>
VerifyItemIsAbsentAsync
(@"void $$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
625
=>
VerifyItemIsAbsentAsync
(@"int $$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
650
=>
VerifyItemIsAbsentAsync
("""
659
=>
VerifyItemIsAbsentAsync
("""
681
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (126)
33
await
VerifyItemIsAbsentAsync
(@"$$", @"String", expectedDescriptionOrNull: null, sourceCodeKind: sourceCodeKind);
54
=> await
VerifyItemIsAbsentAsync
(@"#r $$", "@System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
58
=> await
VerifyItemIsAbsentAsync
(@"#load $$", "@System", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
63
await
VerifyItemIsAbsentAsync
(@"using $$", @"String");
64
await
VerifyItemIsAbsentAsync
(@"using $$ = System", @"System");
72
await
VerifyItemIsAbsentAsync
("""
78
await
VerifyItemIsAbsentAsync
("""
89
await
VerifyItemIsAbsentAsync
("""
106
await
VerifyItemIsAbsentAsync
("""
114
await
VerifyItemIsAbsentAsync
("""
148
await
VerifyItemIsAbsentAsync
("""
154
await
VerifyItemIsAbsentAsync
("""
165
await
VerifyItemIsAbsentAsync
("""
171
await
VerifyItemIsAbsentAsync
("""
177
await
VerifyItemIsAbsentAsync
("""
188
await
VerifyItemIsAbsentAsync
("""
194
await
VerifyItemIsAbsentAsync
("""
200
await
VerifyItemIsAbsentAsync
("""
206
await
VerifyItemIsAbsentAsync
("""
235
await
VerifyItemIsAbsentAsync
("""
241
await
VerifyItemIsAbsentAsync
("""
252
await
VerifyItemIsAbsentAsync
("""
258
await
VerifyItemIsAbsentAsync
("""
264
await
VerifyItemIsAbsentAsync
("""
275
await
VerifyItemIsAbsentAsync
("""
281
await
VerifyItemIsAbsentAsync
("""
375
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", """
1192
=>
VerifyItemIsAbsentAsync
(@"namespace N$$S", "NS", sourceCodeKind: SourceCodeKind.Regular);
2382
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"Console");
2398
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"String");
2429
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"Console");
2445
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"String");
2492
await
VerifyItemIsAbsentAsync
(@"class CL<T> where $$", @"System");
2493
await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where $$"), @"String");
2499
await
VerifyItemIsAbsentAsync
(@"class CL<T1> { void M<T2> where $$", @"T1");
2579
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; typeof($$"), @"x");
2594
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; sizeof($$"), @"x");
2609
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; default($$"), @"x");
2641
=>
VerifyItemIsAbsentAsync
(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Script);
2687
=> await
VerifyItemIsAbsentAsync
(@"$$", "args", sourceCodeKind: SourceCodeKind.Regular);
2700
=> await
VerifyItemIsAbsentAsync
(
2712
=> await
VerifyItemIsAbsentAsync
(@"class C { void M() { System.Func<int, string, int> f = (int _, string _) => 1 + $$", "_");
2716
=> await
VerifyItemIsAbsentAsync
(@"class C { void M() { System.Func<int, string, int> f = delegate(int _, string _) { return 1 + $$ }; } }", "_");
2724
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M() { goo.$$"), "Equals");
2728
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M(int x) { typeof($$"), "x");
2732
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M(int x) { default($$"), "x");
2736
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M(int x) { unsafe { sizeof($$"), "x");
2740
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class Generic<T> { void M(int x) { Generic<$$"), "x");
2744
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M() { null.$$"), "Equals");
2772
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (null).$$"), "Equals");
2974
=>
VerifyItemIsAbsentAsync
("""
2984
=>
VerifyItemIsAbsentAsync
("""
2994
=>
VerifyItemIsAbsentAsync
("""
3005
=>
VerifyItemIsAbsentAsync
("""
3026
=>
VerifyItemIsAbsentAsync
("""
3047
=>
VerifyItemIsAbsentAsync
("""
3573
await
VerifyItemIsAbsentAsync
(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
3589
await
VerifyItemIsAbsentAsync
(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
3703
=>
VerifyItemIsAbsentAsync
("""
3730
=>
VerifyItemIsAbsentAsync
("""
3757
=>
VerifyItemIsAbsentAsync
("""
3771
=>
VerifyItemIsAbsentAsync
("""
3811
=>
VerifyItemIsAbsentAsync
("""
3905
=>
VerifyItemIsAbsentAsync
("""
4171
=>
VerifyItemIsAbsentAsync
("""
4444
=>
VerifyItemIsAbsentAsync
("""
4457
=>
VerifyItemIsAbsentAsync
("""
4490
=>
VerifyItemIsAbsentAsync
("""
4601
=>
VerifyItemIsAbsentAsync
(
4608
=>
VerifyItemIsAbsentAsync
(
4618
=>
VerifyItemIsAbsentAsync
(
4628
=>
VerifyItemIsAbsentAsync
(
4638
=>
VerifyItemIsAbsentAsync
(
4644
=>
VerifyItemIsAbsentAsync
(AddInsideMethod(
4683
=>
VerifyItemIsAbsentAsync
(
4694
=>
VerifyItemIsAbsentAsync
(
4705
=>
VerifyItemIsAbsentAsync
(
4716
=>
VerifyItemIsAbsentAsync
(
4727
=>
VerifyItemIsAbsentAsync
(
4738
=>
VerifyItemIsAbsentAsync
(
4751
=>
VerifyItemIsAbsentAsync
(
4786
=>
VerifyItemIsAbsentAsync
(
4797
=>
VerifyItemIsAbsentAsync
(
4809
=>
VerifyItemIsAbsentAsync
(
4855
=>
VerifyItemIsAbsentAsync
(
4866
=>
VerifyItemIsAbsentAsync
(
4877
=>
VerifyItemIsAbsentAsync
("""
5015
=>
VerifyItemIsAbsentAsync
("""
5028
=>
VerifyItemIsAbsentAsync
("""
8199
=>
VerifyItemIsAbsentAsync
("""
8380
=>
VerifyItemIsAbsentAsync
("""
8485
=> await
VerifyItemIsAbsentAsync
(@"base.$$", @"ToString", sourceCodeKind: SourceCodeKind.Script);
8489
=>
VerifyItemIsAbsentAsync
("""
8554
await
VerifyItemIsAbsentAsync
(markup, "C");
8571
await
VerifyItemIsAbsentAsync
(markup, "N");
8576
=>
VerifyItemIsAbsentAsync
("""
8596
=>
VerifyItemIsAbsentAsync
($$"""
9341
=>
VerifyItemIsAbsentAsync
("""
9389
=>
VerifyItemIsAbsentAsync
("""
9408
=>
VerifyItemIsAbsentAsync
("""
9428
=>
VerifyItemIsAbsentAsync
("""
10367
=>
VerifyItemIsAbsentAsync
("""
10385
=>
VerifyItemIsAbsentAsync
("""
10992
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
11017
await
VerifyItemIsAbsentAsync
(markup, "Task");
11132
await
VerifyItemIsAbsentAsync
(markup, "Substring");
11154
await
VerifyItemIsAbsentAsync
(markup, "Substring");
11270
await
VerifyItemIsAbsentAsync
(markup, "MyProperty");
11673
=>
VerifyItemIsAbsentAsync
(
11990
await
VerifyItemIsAbsentAsync
(markup, "Equals");
12188
=>
VerifyItemIsAbsentAsync
("""
12403
=>
VerifyItemIsAbsentAsync
("""
12571
await
VerifyItemIsAbsentAsync
(source, "goo");
12572
await
VerifyItemIsAbsentAsync
(source, "Bar");
12602
=>
VerifyItemIsAbsentAsync
(MakeMarkup("""
12820
=>
VerifyItemIsAbsentAsync
(MakeMarkup("""
12857
await
VerifyItemIsAbsentAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
12860
await
VerifyItemIsAbsentAsync
(source, underlyingType);
12957
=>
VerifyItemIsAbsentAsync
("""
12999
=>
VerifyItemIsAbsentAsync
($"""
13007
=>
VerifyItemIsAbsentAsync
($"""
13015
=>
VerifyItemIsAbsentAsync
($"""
13431
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
13465
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
13502
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
13536
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
Completion\CompletionProviders\SymbolCompletionProviderTests_NoInteractive.cs (17)
81
=> await
VerifyItemIsAbsentAsync
(@"using System.Console.$$", @"Beep");
85
=>
VerifyItemIsAbsentAsync
("""
94
=>
VerifyItemIsAbsentAsync
("""
103
=>
VerifyItemIsAbsentAsync
("""
112
=>
VerifyItemIsAbsentAsync
("""
121
=>
VerifyItemIsAbsentAsync
("""
130
=>
VerifyItemIsAbsentAsync
("""
143
=>
VerifyItemIsAbsentAsync
("""
154
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", AddInsideMethod("string s = \"Console.$$")), @"Beep");
158
=> await
VerifyItemIsAbsentAsync
(@"[assembly: System.Console.$$]", @"Beep");
162
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", """
169
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<[Console.$$]T> {}"), @"Beep");
173
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", """
182
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<Console.$$"), @"Beep");
186
=>
VerifyItemIsAbsentAsync
("""
199
=>
VerifyItemIsAbsentAsync
("""
213
=>
VerifyItemIsAbsentAsync
("""
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (1)
1900
=>
VerifyItemIsAbsentAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, inlineDescription: inlineDescription);
Completion\CompletionProviders\XmlDocumentationCommentCompletionProviderTests.cs (10)
38
await
VerifyItemIsAbsentAsync
(markup, item);
274
=>
VerifyItemIsAbsentAsync
("""
296
=>
VerifyItemIsAbsentAsync
("""
318
=>
VerifyItemIsAbsentAsync
("""
340
=>
VerifyItemIsAbsentAsync
("""
483
=>
VerifyItemIsAbsentAsync
("""
506
=>
VerifyItemIsAbsentAsync
("""
823
await
VerifyItemIsAbsentAsync
(source, keywordText);
1110
await
VerifyItemIsAbsentAsync
("""
1124
await
VerifyItemIsAbsentAsync
("""