478 references to Regular
GenerateDocumentationAndConfigFiles (4)
Metrics (4)
Metrics.Legacy (4)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.Analyzers (4)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp (17)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (113)
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (2)
823await BaseVerifyWorkerAsync(code, position, "@class()", "void Base.@class()", SourceCodeKind.Regular, false, deletedCharTrigger: null, false, null, null, null, null, null, null);
842await BaseVerifyWorkerAsync(code, position, "@class", "int Base.@class { get; set; }", SourceCodeKind.Regular, false, deletedCharTrigger: null, false, null, null, null, null, null, null);
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (13)
37=> await VerifyItemExistsAsync(@"$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
41=> await VerifyItemExistsAsync(@"$$", MockSnippetInfoService.SnippetShortcut, MockSnippetInfoService.SnippetTitle + Environment.NewLine + MockSnippetInfoService.SnippetDescription + Environment.NewLine + string.Format(FeaturesResources.Note_colon_Tab_twice_to_insert_the_0_snippet, MockSnippetInfoService.SnippetShortcut), SourceCodeKind.Regular);
45=> await VerifyItemExistsAsync(@"namespace NS { $$ }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
49=> await VerifyItemExistsAsync(@"namespace NS { class C { $$ } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
53=> await VerifyItemExistsAsync(@"namespace NS { class C { void M() { $$ } } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
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);
65=> await VerifyItemExistsAsync(@"namespace NS { class C { void M() { bool b = true && $$ } } }", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
69=> await VerifyItemExistsAsync(@"#$$", MockSnippetInfoService.PreProcessorSnippetShortcut[1..], sourceCodeKind: SourceCodeKind.Regular);
73=> await VerifyItemIsAbsentAsync(@"#$$", MockSnippetInfoService.SnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
77=> await VerifyItemIsAbsentAsync(@"#region $$", MockSnippetInfoService.PreProcessorSnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
81=> await VerifyItemExistsAsync(@"#r$$", MockSnippetInfoService.PreProcessorSnippetShortcut[1..], sourceCodeKind: SourceCodeKind.Regular);
85=> await VerifyItemIsAbsentAsync(@"#line (1, 2) - (3, 4) $$", MockSnippetInfoService.PreProcessorSnippetShortcut, sourceCodeKind: SourceCodeKind.Regular);
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (44)
29[InlineData(SourceCodeKind.Regular)]
38[InlineData(SourceCodeKind.Regular)]
452=> VerifyItemExistsAsync(@"namespace $$ { }", "System", sourceCodeKind: SourceCodeKind.Regular);
462""", "Runtime", sourceCodeKind: SourceCodeKind.Regular);
475sourceCodeKind: SourceCodeKind.Regular);
488sourceCodeKind: SourceCodeKind.Regular);
496""", "A", sourceCodeKind: SourceCodeKind.Regular);
505""", sourceCodeKind: SourceCodeKind.Regular);
521sourceCodeKind: SourceCodeKind.Regular);
525=> VerifyItemIsAbsentAsync(@"namespace N$$S", "NS", sourceCodeKind: SourceCodeKind.Regular);
542sourceCodeKind: SourceCodeKind.Regular);
561sourceCodeKind: SourceCodeKind.Regular);
570sourceCodeKind: SourceCodeKind.Regular);
605SourceCodeKind.Regular);
609=> VerifyNoItemsExistAsync(@"namespace A.$$", sourceCodeKind: SourceCodeKind.Regular);
617""", "B", sourceCodeKind: SourceCodeKind.Regular);
625""", "B", sourceCodeKind: SourceCodeKind.Regular);
642sourceCodeKind: SourceCodeKind.Regular);
656sourceCodeKind: SourceCodeKind.Regular);
672sourceCodeKind: SourceCodeKind.Regular);
681sourceCodeKind: SourceCodeKind.Regular);
685=> VerifyItemExistsAsync(@"name$$space System { }", "System", sourceCodeKind: SourceCodeKind.Regular);
699sourceCodeKind: SourceCodeKind.Regular);
735SourceCodeKind.Regular);
1966=> VerifyItemExistsAsync(prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Regular);
1985""", "args", sourceCodeKind: SourceCodeKind.Regular);
1995""" + prefix + "$$", "args", sourceCodeKind: SourceCodeKind.Regular);
2008""", "args", sourceCodeKind: SourceCodeKind.Regular);
2016=> VerifyItemExistsAsync("call(" + prefix + "$$)", "args", sourceCodeKind: SourceCodeKind.Regular);
2020=> await VerifyItemIsAbsentAsync(@"$$", "args", sourceCodeKind: SourceCodeKind.Regular);
2029""", "args", sourceCodeKind: SourceCodeKind.Regular);
2037""", "args", sourceCodeKind: SourceCodeKind.Regular);
2041=> await VerifyItemExistsAsync(@"string first = $$", "args", sourceCodeKind: SourceCodeKind.Regular);
2905await VerifyItemExistsAsync(markup, "Q", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
2906await VerifyItemIsAbsentAsync(markup, "R", expectedDescriptionOrNull: null, sourceCodeKind: SourceCodeKind.Regular);
3413SourceCodeKind.Regular);
3427SourceCodeKind.Regular);
7747""", "ForSchemaSet", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
8788""", "Class1", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
8810""", "Class1", displayTextSuffix: "<>", sourceCodeKind: SourceCodeKind.Regular);
10701""", "Length", sourceCodeKind: SourceCodeKind.Regular);
12190await VerifyItemIsAbsentAsync(source, "System", sourceCodeKind: SourceCodeKind.Regular);
12522sourceCodeKind: SourceCodeKind.Regular);
13604sourceCodeKind: SourceCodeKind.Regular,
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (167)
Recommendations\EventKeywordRecommenderTests.cs (16)
62=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"$$");
66=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
80=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
94=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
108=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
115=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
122=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
156=> VerifyAbsenceAsync(SourceCodeKind.Regular,
172=> VerifyAbsenceAsync(SourceCodeKind.Regular,
188=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
202=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
274=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"internal $$");
290=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"public $$");
306=> VerifyAbsenceAsync(SourceCodeKind.Regular,
357=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"static $$");
373=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"static public $$");
Recommendations\NamespaceKeywordRecommenderTests.cs (19)
55=> VerifyKeywordAsync(SourceCodeKind.Regular,
69=> VerifyKeywordAsync(SourceCodeKind.Regular,
77=> VerifyAbsenceAsync(SourceCodeKind.Regular,
85=> VerifyAbsenceAsync(SourceCodeKind.Regular,
94=> VerifyKeywordAsync(SourceCodeKind.Regular,
113=> VerifyKeywordAsync(SourceCodeKind.Regular,
129=> VerifyAbsenceAsync(SourceCodeKind.Regular,
138=> VerifyKeywordAsync(SourceCodeKind.Regular,
149=> VerifyKeywordAsync(SourceCodeKind.Regular,
157=> VerifyKeywordAsync(SourceCodeKind.Regular,
181=> VerifyKeywordAsync(SourceCodeKind.Regular,
197=> VerifyKeywordAsync(SourceCodeKind.Regular,
213=> VerifyKeywordAsync(SourceCodeKind.Regular,
229=> VerifyKeywordAsync(SourceCodeKind.Regular,
262=> VerifyKeywordAsync(SourceCodeKind.Regular,
285=> VerifyKeywordAsync(SourceCodeKind.Regular,
311=> VerifyKeywordAsync(SourceCodeKind.Regular,
386=> VerifyKeywordAsync(SourceCodeKind.Regular,
419=> VerifyKeywordAsync(SourceCodeKind.Regular,
Recommendations\PrivateKeywordRecommenderTests.cs (13)
60=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"$$");
64=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
78=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
92=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
106=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
113=> VerifyAbsenceAsync(SourceCodeKind.Regular,
121=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
128=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
162=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
176=> VerifyAbsenceAsync(SourceCodeKind.Regular,
192=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
206=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
314=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"static $$");
Recommendations\StructKeywordRecommenderTests.cs (12)
168=> VerifyAbsenceAsync(SourceCodeKind.Regular,
176=> VerifyAbsenceAsync(SourceCodeKind.Regular,
184=> VerifyKeywordAsync(SourceCodeKind.Regular,
189=> VerifyKeywordAsync(SourceCodeKind.Regular,
194=> VerifyKeywordAsync(SourceCodeKind.Regular,
199=> VerifyKeywordAsync(SourceCodeKind.Regular,
204=> VerifyKeywordAsync(SourceCodeKind.Regular,
209=> VerifyKeywordAsync(SourceCodeKind.Regular,
214=> VerifyAbsenceAsync(SourceCodeKind.Regular,
219=> VerifyAbsenceAsync(SourceCodeKind.Regular,
307=> VerifyKeywordAsync(SourceCodeKind.Regular,
322=> VerifyKeywordAsync(SourceCodeKind.Regular,
Recommendations\VolatileKeywordRecommenderTests.cs (16)
60=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"$$");
64=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
78=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
92=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
106=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
113=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
120=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
154=> VerifyAbsenceAsync(SourceCodeKind.Regular,
170=> VerifyAbsenceAsync(SourceCodeKind.Regular,
186=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
200=> VerifyAbsenceAsync(SourceCodeKind.Regular, """
261=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"internal $$");
277=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"public $$");
293=> VerifyAbsenceAsync(SourceCodeKind.Regular,
336=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"static $$");
352=> await VerifyAbsenceAsync(SourceCodeKind.Regular, @"static public $$");
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (19)
Completion\AbstractCompletionProviderTests.cs (7)
114=> document.SourceCodeKind == SourceCodeKind.Regular ? [] : [PredefinedInteractiveTextViewRoles.InteractiveTextViewRole];
319SourceCodeKind[] evaluatedSourceCodeKinds = sourceCodeKind.HasValue ? [sourceCodeKind.Value] : [SourceCodeKind.Regular, SourceCodeKind.Script];
345SourceCodeKind[] evaluatedSourceCodeKinds = sourceCodeKind.HasValue ? [sourceCodeKind.Value] : [SourceCodeKind.Regular, SourceCodeKind.Script];
392await VerifyCustomCommitProviderWorkerAsync(code, position, itemToCommit, expectedCodeAfterCommit, SourceCodeKind.Regular, commitChar);
419await VerifyProviderCommitWorkerAsync(code, position, itemToCommit, expectedCodeAfterCommit, commitChar, SourceCodeKind.Regular);
1243SourceCodeKind sourceCodeKind = SourceCodeKind.Regular,
1301protected async Task VerifyCommitCharactersAsync(string initialMarkup, string textTypedSoFar, char[] validChars, char[] invalidChars = null, SourceCodeKind sourceCodeKind = SourceCodeKind.Regular)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (7)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces (13)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (12)
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
Microsoft.VisualStudio.LanguageServices (5)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Roslyn.Diagnostics.Analyzers (4)
Roslyn.Diagnostics.CSharp.Analyzers (1)
StackDepthTest (1)
Test.Utilities (4)
Text.Analyzers (4)