389 references to VerifyItemIsAbsentAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (389)
Completion\CompletionProviders\AttributeNamedParameterCompletionProviderTests.cs (1)
128
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)
104
await
VerifyItemIsAbsentAsync
(text, "goo(int)");
Completion\CompletionProviders\DeclarationNameCompletionProviderTests.cs (34)
351
=>
VerifyItemIsAbsentAsync
($$"""
402
await
VerifyItemIsAbsentAsync
(markup, "C");
403
await
VerifyItemIsAbsentAsync
(markup, "c");
673
await
VerifyItemIsAbsentAsync
(markup, "CancellationToken");
706
await
VerifyItemIsAbsentAsync
(markup, "firstName");
711
=>
VerifyItemIsAbsentAsync
("""
730
await
VerifyItemIsAbsentAsync
(markup, "myTok");
991
await
VerifyItemIsAbsentAsync
(markup, "C");
992
await
VerifyItemIsAbsentAsync
(markup, "c");
1006
await
VerifyItemIsAbsentAsync
(markup, "Array");
1090
await
VerifyItemIsAbsentAsync
(markup, "MyClass");
1091
await
VerifyItemIsAbsentAsync
(markup, "GetMyClass");
1193
=>
VerifyItemIsAbsentAsync
("""
1295
=>
VerifyItemIsAbsentAsync
("""
1681
=>
VerifyItemIsAbsentAsync
("""
2096
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationLocal");
2097
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationLocalFunction");
2125
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationField");
2126
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationMethod");
2127
await
VerifyItemIsAbsentAsync
(markup, "ConfigurationProperty");
2149
await
VerifyItemIsAbsentAsync
(markup, "classB");
2168
await
VerifyItemIsAbsentAsync
(markup, "classB");
2222
await
VerifyItemIsAbsentAsync
(markup, "classB");
2243
await
VerifyItemIsAbsentAsync
(markup, "classB");
2244
await
VerifyItemIsAbsentAsync
(markup, "classB1");
2267
await
VerifyItemIsAbsentAsync
(markup, "classB");
2332
await
VerifyItemIsAbsentAsync
(markup, "classB");
2358
await
VerifyItemIsAbsentAsync
(markup, "classB");
2363
=>
VerifyItemIsAbsentAsync
("""
2383
=>
VerifyItemIsAbsentAsync
("""
2481
await
VerifyItemIsAbsentAsync
(markup, "async");
2482
await
VerifyItemIsAbsentAsync
(markup, "Async");
2483
await
VerifyItemIsAbsentAsync
(markup, "GetAsync");
2511
=>
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\ExtensionMethodImportCompletionProviderTests.cs (2)
2044
=>
VerifyItemIsAbsentAsync
(
2286
=>
VerifyItemIsAbsentAsync
(markup, expectedItem, displayTextSuffix: displayTextSuffix, inlineDescription: inlineDescription);
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)
163
await
VerifyItemIsAbsentAsync
(markup, "implementing", displayTextSuffix: ":");
184
await
VerifyItemIsAbsentAsync
(markup, "implementing", displayTextSuffix: ":");
232
await
VerifyItemIsAbsentAsync
(markup, "character", displayTextSuffix: ":");
288
await
VerifyItemIsAbsentAsync
(markup, "dbl", displayTextSuffix: ":");
347
await
VerifyItemIsAbsentAsync
(markup, "obj", displayTextSuffix: ":");
348
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
("""
967
await
VerifyItemIsAbsentAsync
(markup, "Target");
1073
await
VerifyItemIsAbsentAsync
(markup, "new");
1074
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)
83
=>
VerifyItemIsAbsentAsync
("""
92
=>
VerifyItemIsAbsentAsync
("""
110
=>
VerifyItemIsAbsentAsync
("""
119
=>
VerifyItemIsAbsentAsync
("""
382
=>
VerifyItemIsAbsentAsync
("""
404
=>
VerifyItemIsAbsentAsync
("""
470
=>
VerifyItemIsAbsentAsync
("""
492
=>
VerifyItemIsAbsentAsync
("""
514
=>
VerifyItemIsAbsentAsync
("""
625
=>
VerifyItemIsAbsentAsync
(@"void $$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
629
=>
VerifyItemIsAbsentAsync
(@"int $$", "T", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
654
=>
VerifyItemIsAbsentAsync
("""
663
=>
VerifyItemIsAbsentAsync
("""
685
=>
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
("""
377
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", """
525
=>
VerifyItemIsAbsentAsync
(@"namespace N$$S", "NS", sourceCodeKind: SourceCodeKind.Regular);
1715
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"Console");
1731
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : $$"), @"String");
1762
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"Console");
1778
=>
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where T : A, $$"), @"String");
1825
await
VerifyItemIsAbsentAsync
(@"class CL<T> where $$", @"System");
1826
await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class CL<T> where $$"), @"String");
1832
await
VerifyItemIsAbsentAsync
(@"class CL<T1> { void M<T2> where $$", @"T1");
1912
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; typeof($$"), @"x");
1927
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; sizeof($$"), @"x");
1942
=> await
VerifyItemIsAbsentAsync
(AddInsideMethod(@"var x = 0; default($$"), @"x");
1974
=>
VerifyItemIsAbsentAsync
(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Script);
2020
=> await
VerifyItemIsAbsentAsync
(@"$$", "args", sourceCodeKind: SourceCodeKind.Regular);
2033
=> await
VerifyItemIsAbsentAsync
(
2045
=> await
VerifyItemIsAbsentAsync
(@"class C { void M() { System.Func<int, string, int> f = (int _, string _) => 1 + $$", "_");
2049
=> await
VerifyItemIsAbsentAsync
(@"class C { void M() { System.Func<int, string, int> f = delegate(int _, string _) { return 1 + $$ }; } }", "_");
2057
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M() { goo.$$"), "Equals");
2061
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M(int x) { typeof($$"), "x");
2065
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"class c { void M(int x) { default($$"), "x");
2069
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M(int x) { unsafe { sizeof($$"), "x");
2073
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class Generic<T> { void M(int x) { Generic<$$"), "x");
2077
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M() { null.$$"), "Equals");
2105
=> await
VerifyItemIsAbsentAsync
(AddUsingDirectives("using System;", @"public class C { void M() { (null).$$"), "Equals");
2307
=>
VerifyItemIsAbsentAsync
("""
2317
=>
VerifyItemIsAbsentAsync
("""
2327
=>
VerifyItemIsAbsentAsync
("""
2338
=>
VerifyItemIsAbsentAsync
("""
2359
=>
VerifyItemIsAbsentAsync
("""
2380
=>
VerifyItemIsAbsentAsync
("""
2906
await
VerifyItemIsAbsentAsync
(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
2922
await
VerifyItemIsAbsentAsync
(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Script);
3036
=>
VerifyItemIsAbsentAsync
("""
3063
=>
VerifyItemIsAbsentAsync
("""
3090
=>
VerifyItemIsAbsentAsync
("""
3104
=>
VerifyItemIsAbsentAsync
("""
3144
=>
VerifyItemIsAbsentAsync
("""
3238
=>
VerifyItemIsAbsentAsync
("""
3504
=>
VerifyItemIsAbsentAsync
("""
3777
=>
VerifyItemIsAbsentAsync
("""
3790
=>
VerifyItemIsAbsentAsync
("""
3823
=>
VerifyItemIsAbsentAsync
("""
3934
=>
VerifyItemIsAbsentAsync
(
3941
=>
VerifyItemIsAbsentAsync
(
3951
=>
VerifyItemIsAbsentAsync
(
3961
=>
VerifyItemIsAbsentAsync
(
3971
=>
VerifyItemIsAbsentAsync
(
3977
=>
VerifyItemIsAbsentAsync
(AddInsideMethod(
4016
=>
VerifyItemIsAbsentAsync
(
4027
=>
VerifyItemIsAbsentAsync
(
4038
=>
VerifyItemIsAbsentAsync
(
4049
=>
VerifyItemIsAbsentAsync
(
4060
=>
VerifyItemIsAbsentAsync
(
4071
=>
VerifyItemIsAbsentAsync
(
4084
=>
VerifyItemIsAbsentAsync
(
4119
=>
VerifyItemIsAbsentAsync
(
4130
=>
VerifyItemIsAbsentAsync
(
4142
=>
VerifyItemIsAbsentAsync
(
4188
=>
VerifyItemIsAbsentAsync
(
4199
=>
VerifyItemIsAbsentAsync
(
4210
=>
VerifyItemIsAbsentAsync
("""
4348
=>
VerifyItemIsAbsentAsync
("""
4361
=>
VerifyItemIsAbsentAsync
("""
7532
=>
VerifyItemIsAbsentAsync
("""
7713
=>
VerifyItemIsAbsentAsync
("""
7818
=> await
VerifyItemIsAbsentAsync
(@"base.$$", @"ToString", sourceCodeKind: SourceCodeKind.Script);
7822
=>
VerifyItemIsAbsentAsync
("""
7887
await
VerifyItemIsAbsentAsync
(markup, "C");
7904
await
VerifyItemIsAbsentAsync
(markup, "N");
7909
=>
VerifyItemIsAbsentAsync
("""
7929
=>
VerifyItemIsAbsentAsync
($$"""
8674
=>
VerifyItemIsAbsentAsync
("""
8722
=>
VerifyItemIsAbsentAsync
("""
8741
=>
VerifyItemIsAbsentAsync
("""
8761
=>
VerifyItemIsAbsentAsync
("""
9700
=>
VerifyItemIsAbsentAsync
("""
9718
=>
VerifyItemIsAbsentAsync
("""
10325
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefault", displayTextSuffix: "<>");
10350
await
VerifyItemIsAbsentAsync
(markup, "Task");
10465
await
VerifyItemIsAbsentAsync
(markup, "Substring");
10487
await
VerifyItemIsAbsentAsync
(markup, "Substring");
10603
await
VerifyItemIsAbsentAsync
(markup, "MyProperty");
11006
=>
VerifyItemIsAbsentAsync
(
11323
await
VerifyItemIsAbsentAsync
(markup, "Equals");
11521
=>
VerifyItemIsAbsentAsync
("""
11736
=>
VerifyItemIsAbsentAsync
("""
11904
await
VerifyItemIsAbsentAsync
(source, "goo");
11905
await
VerifyItemIsAbsentAsync
(source, "Bar");
11935
=>
VerifyItemIsAbsentAsync
(MakeMarkup("""
12153
=>
VerifyItemIsAbsentAsync
(MakeMarkup("""
12190
await
VerifyItemIsAbsentAsync
(source, "System", sourceCodeKind: SourceCodeKind.Regular);
12193
await
VerifyItemIsAbsentAsync
(source, underlyingType);
12290
=>
VerifyItemIsAbsentAsync
("""
12332
=>
VerifyItemIsAbsentAsync
($"""
12340
=>
VerifyItemIsAbsentAsync
($"""
12348
=>
VerifyItemIsAbsentAsync
($"""
12764
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
12798
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
12835
await
VerifyItemIsAbsentAsync
(markup, "FirstOrDefaultOnHashSet", displayTextSuffix: "<>");
12869
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);
232
=>
VerifyItemIsAbsentAsync
("""
254
=>
VerifyItemIsAbsentAsync
("""
276
=>
VerifyItemIsAbsentAsync
("""
298
=>
VerifyItemIsAbsentAsync
("""
441
=>
VerifyItemIsAbsentAsync
("""
464
=>
VerifyItemIsAbsentAsync
("""
781
await
VerifyItemIsAbsentAsync
(source, keywordText);
1068
await
VerifyItemIsAbsentAsync
("""
1082
await
VerifyItemIsAbsentAsync
("""