1474 references to VisualBasic
AnalyzerRunner (10)
CodeRefactoringRunner.cs (1)
130
(LanguageNames.
VisualBasic
, typeof(Microsoft.CodeAnalysis.VisualBasic.SyntaxKind)),
DiagnosticAnalyzerRunner.cs (6)
46
if (project.Language is not LanguageNames.CSharp and not LanguageNames.
VisualBasic
)
97
if (project.Language is not LanguageNames.CSharp and not LanguageNames.
VisualBasic
)
108
if (project.Language is not LanguageNames.CSharp and not LanguageNames.
VisualBasic
)
308
var basicAnalyzers = analyzerReference.GetAnalyzers(LanguageNames.
VisualBasic
);
311
.Add(LanguageNames.
VisualBasic
, basicAnalyzers);
329
if (project.Language is not LanguageNames.CSharp and not LanguageNames.
VisualBasic
)
IncrementalAnalyzerRunner.cs (1)
43
globalOptions.SetGlobalOption(SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
, _options.AnalysisScope);
Program.cs (2)
145
var projects = solution.Projects.Where(project => project.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
).ToList();
176
var projects = solution.Projects.Where(project => project.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
).ToList();
CodeStyleConfigFileGenerator (1)
Program.cs (1)
50
var languageForGetAnalyzers = language == "CSharp" ? LanguageNames.CSharp : LanguageNames.
VisualBasic
;
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
116
Debug.Assert (parenthesizedOperation.Language == LanguageNames.
VisualBasic
);
Microsoft.AspNetCore.Components.Analyzers.Tests (4)
Helpers\DiagnosticVerifier.Helper.cs (1)
111
if (language != LanguageNames.CSharp && language != LanguageNames.
VisualBasic
)
Verifiers\CodeFixVerifier.cs (1)
60
VerifyFix(LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), GetBasicCodeFixProvider(), oldSource, newSource, codeFixIndex, allowNewCompilerDiagnostics);
Verifiers\DiagnosticVerifier.cs (2)
57
VerifyDiagnostics(new[] { source }, LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), expected);
79
VerifyDiagnostics(sources, LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), expected);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (4)
Helpers\DiagnosticVerifier.Helper.cs (1)
111
if (language != LanguageNames.CSharp && language != LanguageNames.
VisualBasic
)
Verifiers\CodeFixVerifier.cs (1)
60
VerifyFix(LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), GetBasicCodeFixProvider(), oldSource, newSource, codeFixIndex, allowNewCompilerDiagnostics);
Verifiers\DiagnosticVerifier.cs (2)
57
VerifyDiagnostics(new[] { source }, LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), expected);
79
VerifyDiagnostics(sources, LanguageNames.
VisualBasic
, GetBasicDiagnosticAnalyzer(), expected);
Microsoft.CodeAnalysis (2)
Operations\IOperation.cs (1)
59
/// The source language of the IOperation. Possible values are <see cref="LanguageNames.CSharp"/> and <see cref="LanguageNames.
VisualBasic
"/>.
Operations\Operation.cs (1)
78
/// The source language of the IOperation. Possible values are <see cref="LanguageNames.CSharp"/> and <see cref="LanguageNames.
VisualBasic
"/>.
Microsoft.CodeAnalysis.CodeStyle (19)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
567
if (result.Property.Language == LanguageNames.
VisualBasic
)
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
14
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
src\Analyzers\Core\Analyzers\UseSystemHashCode\UseSystemHashCodeDiagnosticAnalyzer.cs (1)
13
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
src\Workspaces\Core\Portable\Formatting\VisualBasic\VisualBasicSyntaxFormattingOptions.cs (1)
23
: base(options, LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\VisualBasic\VisualBasicCodeStyleOptions.cs (1)
24
return s_allOptionsBuilder.CreateEditorConfigOption(name, defaultValue, group, LanguageNames.
VisualBasic
, serializerFactory);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
591
var caseSensitive = containingType.Language != LanguageNames.
VisualBasic
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
148
Debug.Assert(parenthesizedOperation.Language == LanguageNames.
VisualBasic
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (4)
476
if (languageName == LanguageNames.
VisualBasic
)
486
if (languageName == LanguageNames.
VisualBasic
)
523
if (languageName == LanguageNames.
VisualBasic
)
533
if (languageName == LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
73
Debug.Assert(LanguageName is LanguageNames.
VisualBasic
== Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\VisualBasic\VisualBasicSimplifierOptions.cs (1)
22
: base(options, LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (2)
22
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
27
failureReason = $"({nameof(DynamicTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (2)
84
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
86
failureReason = $"({nameof(FunctionPointerTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (2)
27
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
29
failureReason = $"({nameof(PointerTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
Host\Mef\CodeStyleHostLanguageServices.cs (1)
46
case LanguageNames.
VisualBasic
:
src\Analyzers\Core\CodeFixes\AddRequiredParentheses\AddRequiredParenthesesCodeFixProvider.cs (1)
18
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.AddRequiredParentheses), Shared]
src\Analyzers\Core\CodeFixes\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.ConsecutiveStatementPlacement), Shared]
src\Analyzers\Core\CodeFixes\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveBlankLines), Shared]
src\Analyzers\Core\CodeFixes\RemoveRedundantEquality\RemoveRedundantEqualityCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveRedundantEquality), Shared]
src\Analyzers\Core\CodeFixes\RemoveUnnecessarySuppressions\RemoveUnnecessaryAttributeSuppressionsCodeFixProvider.cs (1)
19
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveUnnecessaryAttributeSuppressions), Shared]
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
410
Debug.Assert(semanticModel.Language != LanguageNames.
VisualBasic
);
src\Analyzers\Core\CodeFixes\SimplifyBooleanExpression\SimplifyConditionalCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.SimplifyConditionalExpression), Shared]
src\Analyzers\Core\CodeFixes\SimplifyLinqExpression\SimplifyLinqExpressionCodeFixProvider.cs (1)
19
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.SimplifyLinqExpression), Shared]
src\Analyzers\Core\CodeFixes\UpdateLegacySuppressions\UpdateLegacySuppressionsCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UpdateLegacySuppressions), Shared]
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseCoalesceExpressionForNullableTernaryConditionalCheck), Shared]
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseCoalesceExpressionForTernaryConditionalCheck), Shared]
src\Analyzers\Core\CodeFixes\UseExplicitTupleName\UseExplicitTupleNameCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseExplicitTupleName), Shared]
src\Analyzers\Core\CodeFixes\UseSystemHashCode\UseSystemHashCodeCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseSystemHashCode), Shared]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
21
: base(options, LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
326
if (compilation.Language == LanguageNames.
VisualBasic
)
Microsoft.CodeAnalysis.Compiler.Test.Resources (3)
Analyzers\DoNothingAnalyzer.cs (1)
11
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Analyzers\DoNothingGenerator.cs (1)
9
[Generator(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Analyzers\DoNothingSuppressor.cs (1)
11
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (4)
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (2)
7121
["Assembly1", LanguageNames.
VisualBasic
] =
7185
["Assembly1", LanguageNames.
VisualBasic
] =
src\Analyzers\CSharp\Tests\UnsealClass\UnsealClassTests.cs (2)
281
["Project2", LanguageNames.
VisualBasic
] =
293
["Project2", LanguageNames.
VisualBasic
] =
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
15918
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
15930
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
15955
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
15982
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
16023
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (17)
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (1)
930
var markup = GetMarkup(file2, file1, ReferenceType.Project, currentLanguage: LanguageNames.CSharp, referencedLanguage: LanguageNames.
VisualBasic
);
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (1)
729
referencedLanguage: LanguageNames.
VisualBasic
);
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (1)
2461
</Workspace>", LanguageNames.CSharp, csharpFile, LanguageNames.
VisualBasic
, vbFile);
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (3)
7410
referencedLanguage: LanguageNames.
VisualBasic
);
7438
referencedLanguage: LanguageNames.
VisualBasic
);
8096
referencedLanguage: LanguageNames.
VisualBasic
);
Completion\CompletionProviders\TypeImportCompletionProviderTests.cs (1)
1297
var markup = CreateMarkupForProjectWithProjectReference(file2, file1, LanguageNames.CSharp, LanguageNames.
VisualBasic
);
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (2)
834
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
843
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Formatting\CodeCleanupTests.cs (2)
628
[InlineData(LanguageNames.
VisualBasic
)]
841
if (language == LanguageNames.
VisualBasic
)
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
5593
referencedLanguage: LanguageNames.
VisualBasic
,
SignatureHelp\ElementAccessExpressionSignatureHelpProviderTests.cs (1)
783
referencedLanguage: LanguageNames.
VisualBasic
);
Workspaces\WorkspaceTests_EditorFeatures.cs (4)
456
var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.
VisualBasic
, name: "project2", projectReferences: [project1]);
489
var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.
VisualBasic
, name: "project2", projectReferences: [project1]);
543
var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.
VisualBasic
, name: "project2", projectReferences: [project1]);
611
var project2 = new EditorTestHostProject(workspace, document2, language: LanguageNames.
VisualBasic
, name: "project2", projectReferences: [project1]);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
869
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (2)
7121
["Assembly1", LanguageNames.
VisualBasic
] =
7185
["Assembly1", LanguageNames.
VisualBasic
] =
src\Analyzers\CSharp\Tests\UnsealClass\UnsealClassTests.cs (2)
281
["Project2", LanguageNames.
VisualBasic
] =
293
["Project2", LanguageNames.
VisualBasic
] =
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
938
return property.Language == LanguageNames.
VisualBasic
? property : null;
Microsoft.CodeAnalysis.EditorFeatures (8)
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
118
TryAddProviderForLanguage(LanguageNames.
VisualBasic
);
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProvider.cs (1)
42
IEnumerable<DiagnosticAnalyzer> visualBasicAnalyzers = analyzerReference.GetAnalyzers(LanguageNames.
VisualBasic
);
EditorConfigSettings\Updater\NamingStyles\SourceTextExtensions.cs (2)
75
return LanguageNames.
VisualBasic
;
106
var vbNamingStylePreferences = globalOptions.GetOption(NamingStyleOptions.NamingPreferences, LanguageNames.
VisualBasic
);
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
84
LanguageNames.
VisualBasic
=> Language.VisualBasic,
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
396
var filterSet = new FilterSet(document.Project.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
);
RenameTracking\RenameTrackingCodeRefactoringProvider.cs (1)
15
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
Structure\AbstractStructureTaggerProvider.cs (1)
129
if (language == LanguageNames.
VisualBasic
)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (7)
ChangeSignature\AddedParameterOrExistingIndex.cs (1)
69
LanguageNames.
VisualBasic
=> semanticModel.GetSpeculativeTypeInfo(0, VisualBasic.SyntaxFactory.ParseTypeName(_addedParameterFullyQualifiedTypeName!), SpeculativeBindingOption.BindAsTypeOrNamespace).Type,
Completion\AbstractCompletionProviderTests.cs (1)
926
</Workspace>", sourceLanguage, SecurityElement.Escape(markup), LanguageNames.
VisualBasic
, SecurityElement.Escape(referencedCode), rootNamespace);
Diagnostics\DiagnosticTaggerWrapper.cs (1)
46
workspace.GlobalOptions.SetGlobalOption(SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
, BackgroundAnalysisScope.OpenFiles);
ExtractInterface\AbstractExtractInterfaceTests.cs (2)
66
LanguageNames.
VisualBasic
,
83
LanguageNames.
VisualBasic
,
Workspaces\EditorTestWorkspace_Create.cs (1)
164
return Create(LanguageNames.
VisualBasic
, compilationOptions, parseOptions, files, sourceGeneratedFiles, composition, metadataReferences, openDocuments: openDocuments);
Workspaces\VisualBasicTestWorkspaceFixture.cs (1)
17
LanguageNames.
VisualBasic
,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Intellisense\TestStateFactory.vb (2)
47
testState.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.
VisualBasic
, False)
61
testState.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.
VisualBasic
, False)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (82)
CodeActions\CodeChangeProviderMetadataTests.cs (3)
49
[InlineData(typeof(CodeFixProvider), LanguageNames.
VisualBasic
)]
51
[InlineData(typeof(CodeRefactoringProvider), LanguageNames.
VisualBasic
)]
53
[InlineData(typeof(IConfigurationFixProvider), LanguageNames.
VisualBasic
)]
CodeFixes\ExtensionOrderingTests.cs (4)
48
var vbProviders = providersPerLanguage[LanguageNames.
VisualBasic
];
66
TestCore(LanguageNames.
VisualBasic
);
106
var vbProviders = providersPerLanguage[LanguageNames.
VisualBasic
];
114
[InlineData(LanguageNames.
VisualBasic
)]
CodeGeneration\AbstractCodeGenerationTests.cs (4)
102
var codeDefFactory = workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetRequiredService<SyntaxGenerator>();
109
TokenUtilities.AssertTokensEqual(vb, node.ToFullString(), LanguageNames.
VisualBasic
);
114
var simplifiedRootNode = Simplify(workspace, WrapExpressionInBoilerplate(node, codeDefFactory), LanguageNames.
VisualBasic
);
117
TokenUtilities.AssertTokensEqual(vbSimple, expression.NormalizeWhitespace().ToFullString(), LanguageNames.
VisualBasic
);
CodeGeneration\CodeGenerationTests.cs (3)
862
this.IsVisualBasic = _language == LanguageNames.
VisualBasic
;
874
var isVisualBasic = language == LanguageNames.
VisualBasic
;
974
? LanguageNames.
VisualBasic
: LanguageNames.CSharp;
CodeGeneration\CodeGenerationTests.Shared.cs (1)
514
forceLanguage: LanguageNames.
VisualBasic
);
CodeGeneration\CodeGenerationTests.VisualBasic.cs (2)
1476
CreateModifierTokens(new DeclarationModifiers(isSealed: true, isPartial: true), LanguageNames.
VisualBasic
));
1675
forceLanguage: LanguageNames.
VisualBasic
,
Diagnostics\AnalyzerLoadFailureTests.cs (1)
15
[CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
, null)] string? languageName)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (2)
703
VerifyConfigureSeverityCore(expected, LanguageNames.
VisualBasic
);
1007
VerifyConfigureCodeStyleOptionsCore(expected, LanguageNames.
VisualBasic
);
InheritanceMargin\InheritanceMarginTests.cs (16)
1528
return VerifyNoItemForDocumentAsync(markup, LanguageNames.
VisualBasic
, testHost);
1559
return VerifyInSingleDocumentAsync(markup, LanguageNames.
VisualBasic
, testHost, itemForBar, itemForGetEnumerator);
1589
LanguageNames.
VisualBasic
,
1620
return VerifyInSingleDocumentAsync(markup, LanguageNames.
VisualBasic
, testHost, itemForIBar2, itemForIBar);
1648
return VerifyInSingleDocumentAsync(markup, LanguageNames.
VisualBasic
, testHost, itemForBar2, itemForBar);
1666
return VerifyNoItemForDocumentAsync(markup, LanguageNames.
VisualBasic
, testHost);
1679
LanguageNames.
VisualBasic
,
1745
LanguageNames.
VisualBasic
,
1799
LanguageNames.
VisualBasic
,
1879
LanguageNames.
VisualBasic
,
1936
LanguageNames.
VisualBasic
,
2073
LanguageNames.
VisualBasic
,
2153
LanguageNames.
VisualBasic
,
2218
(markup2, LanguageNames.
VisualBasic
),
2290
(markup1, LanguageNames.
VisualBasic
),
2356
(markup2, LanguageNames.
VisualBasic
),
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
241
? LanguageNames.
VisualBasic
: LanguageNames.CSharp;
MetadataAsSource\MetadataAsSourceTests.cs (9)
35
OriginatingProjectLanguage.VisualBasic => LanguageNames.
VisualBasic
,
1865
await TestSymbolIdMatchesMetadataAsync(LanguageNames.
VisualBasic
);
1872
await TestNotReusedOnAssemblyDiffersAsync(LanguageNames.
VisualBasic
);
1939
var project = context.CurrentSolution.AddProject(projectId, "ProjectB", "ProjectB", LanguageNames.
VisualBasic
).GetRequiredProject(projectId)
2998
LanguageNames.
VisualBasic
,
3645
await GenerateAndVerifySourceLineAsync(source, LanguageNames.
VisualBasic
, expected);
3676
await GenerateAndVerifySourceLineAsync(source, LanguageNames.
VisualBasic
, expected);
3707
await GenerateAndVerifySourceLineAsync(source, LanguageNames.
VisualBasic
, expected);
3738
await GenerateAndVerifySourceLineAsync(source, LanguageNames.
VisualBasic
, expected);
MetadataAsSource\MetadataAsSourceTests.VisualBasic.cs (4)
67
await GenerateAndVerifySourceAsync(metadataSource, "M+D", LanguageNames.
VisualBasic
, expected, signaturesOnly: signaturesOnly);
90
await GenerateAndVerifySourceAsync(metadataSource, "M+D", LanguageNames.
VisualBasic
, expected, signaturesOnly: signaturesOnly);
176
using var context = TestContext.Create(LanguageNames.
VisualBasic
);
199
using var context = TestContext.Create(LanguageNames.
VisualBasic
);
Options\GlobalOptionsTests.cs (2)
166
property.DeclaringType == typeof(AddImportPlacementOptions) && property.Name == nameof(AddImportPlacementOptions.UsingDirectivePlacement) && language == LanguageNames.
VisualBasic
||
181
[InlineData(LanguageNames.
VisualBasic
)]
RenameTracking\RenameTrackingTaggerProviderTests.cs (15)
209
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
653
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
676
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
699
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
818
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
833
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
852
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
868
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
961
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1191
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1258
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1296
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1334
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1372
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
1406
using var state = RenameTrackingTestState.Create(code, LanguageNames.
VisualBasic
);
RenameTracking\RenameTrackingTestState.cs (1)
108
LanguageNames.
VisualBasic
)
Structure\AbstractStructureTaggerProviderTests.cs (3)
86
TextContainsRegionOrUsing(input, true, LanguageNames.
VisualBasic
);
96
TextContainsRegionOrUsing(input, true, LanguageNames.
VisualBasic
);
126
TextContainsRegionOrUsing(input, true, LanguageNames.
VisualBasic
);
Structure\StructureTaggerTests.cs (3)
268
globalOptions.SetGlobalOption(BlockStructureOptionsStorage.CollapseRegionsWhenCollapsingToDefinitions, LanguageNames.
VisualBasic
, collapseRegionsWhenCollapsingToDefinitions);
269
globalOptions.SetGlobalOption(BlockStructureOptionsStorage.ShowBlockStructureGuidesForDeclarationLevelConstructs, LanguageNames.
VisualBasic
, showBlockStructureGuidesForDeclarationLevelConstructs);
270
globalOptions.SetGlobalOption(BlockStructureOptionsStorage.ShowBlockStructureGuidesForCodeLevelConstructs, LanguageNames.
VisualBasic
, showBlockStructureGuidesForCodeLevelConstructs);
SymbolFinder\DependentTypeFinderTests.cs (6)
230
solution = AddProjectWithMetadataReferences(solution, "PortableProject", LanguageNames.
VisualBasic
, @"
240
solution = AddProjectWithMetadataReferences(solution, "NormalProject", LanguageNames.
VisualBasic
, @"
282
solution = AddProjectWithMetadataReferences(solution, "NormalProject", LanguageNames.
VisualBasic
, @"
354
solution = AddProjectWithMetadataReferences(solution, "PortableProject", LanguageNames.
VisualBasic
, @"
364
solution = AddProjectWithMetadataReferences(solution, "NormalProject", LanguageNames.
VisualBasic
, @"
395
solution = AddProjectWithMetadataReferences(solution, "PortableProject", LanguageNames.
VisualBasic
, @"
SymbolKey\SymbolKeyCrossLanguageTests.cs (1)
49
var vbProject = solution.Projects.Single(p => p.Language == LanguageNames.
VisualBasic
);
Workspaces\DefaultMefHostTests.cs (1)
29
var vbservice = ws.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetService<Microsoft.CodeAnalysis.Completion.CompletionService>();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
NavigateTo\NavigateToItemProvider.Callback.cs (1)
119
LanguageNames.
VisualBasic
=> "vb",
Suggestions\SuggestedActionsSource.cs (1)
99
case LanguageNames.
VisualBasic
:
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (52)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
144
New AnalyzerFileReference(DiagnosticExtensions.GetCompilerDiagnosticAnalyzer(LanguageNames.
VisualBasic
).GetType().Assembly.Location, TestAnalyzerAssemblyLoader.LoadFromFile)
Diagnostics\DiagnosticProviderTests.vb (1)
362
language:=LanguageNames.
VisualBasic
,
Diagnostics\DiagnosticServiceTests.vb (5)
343
Dim p2 = solution.Projects.Single(Function(p) p.Language = LanguageNames.
VisualBasic
)
384
{LanguageNames.
VisualBasic
, ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer2)}
1439
<DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)>
1468
<DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)>
2375
<DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)>
Diagnostics\UseAutoProperty\UseAutoPropertyTests.vb (1)
18
ElseIf language = LanguageNames.
VisualBasic
Then
GoToBase\VisuaBasicGoToBaseTests.vb (1)
12
Await GoToBaseTestsBase.TestAsync(source, LanguageNames.
VisualBasic
, shouldSucceed, metadataDefinitions)
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (12)
406
Dim completionService = state.Workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetRequiredService(Of CompletionService)()
444
Dim completionService = state.Workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetRequiredService(Of CompletionService)()
478
Dim completionService = state.Workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetRequiredService(Of CompletionService)()
967
<ExportCompletionProvider(NameOf(TriggeredCompletionProvider), LanguageNames.
VisualBasic
)>
986
Return LanguageNames.
VisualBasic
1802
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.
VisualBasic
, EnterKeyRule.AfterFullyTypedWord)
1827
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.
VisualBasic
, EnterKeyRule.AfterFullyTypedWord)
2134
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.TriggerOnTyping, LanguageNames.
VisualBasic
, False)
2612
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
2633
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
2655
state.Workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
3413
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.
VisualBasic
, ServiceLayer.Test), [Shared], PartNotDiscoverable>
IntelliSense\VisualBasicSignatureHelpCommandHandlerTests.vb (1)
281
state.Workspace.GetService(Of IGlobalOptionService).SetGlobalOption(SignatureHelpViewOptionsStorage.ShowSignatureHelp, LanguageNames.
VisualBasic
, False)
ReferenceHighlighting\DocumentHighlightsServiceTests.vb (1)
43
Dim vbDocument = solution.Projects.Single(Function(p) p.Language = LanguageNames.
VisualBasic
).Documents.Single()
Simplification\BlockSimplificationTests.vb (1)
15
Private Shared ReadOnly DoNotPreferBraces As New OptionsCollection(LanguageNames.
VisualBasic
) From
Simplification\TypeNameSimplifierTest.vb (22)
5150
Await TestAsync(input, expected, QualifyFieldAccessOption(LanguageNames.
VisualBasic
))
5182
Await TestAsync(input, expected, QualifyFieldAccessOption(LanguageNames.
VisualBasic
))
5214
Await TestAsync(input, expected, QualifyFieldAccessOption(LanguageNames.
VisualBasic
))
5246
Await TestAsync(input, expected, QualifyFieldAccessOption(LanguageNames.
VisualBasic
))
5278
Await TestAsync(input, expected, QualifyFieldAccessOption(LanguageNames.
VisualBasic
))
5310
Await TestAsync(input, expected, QualifyPropertyAccessOption(LanguageNames.
VisualBasic
))
5342
Await TestAsync(input, expected, QualifyPropertyAccessOption(LanguageNames.
VisualBasic
))
5374
Await TestAsync(input, expected, QualifyPropertyAccessOption(LanguageNames.
VisualBasic
))
5406
Await TestAsync(input, expected, QualifyPropertyAccessOption(LanguageNames.
VisualBasic
))
5438
Await TestAsync(input, expected, QualifyPropertyAccessOption(LanguageNames.
VisualBasic
))
5468
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5498
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5530
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5560
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5602
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5638
Await TestAsync(input, expected, QualifyEventAccessOption(LanguageNames.
VisualBasic
))
5670
Await TestAsync(input, expected, QualifyPropertyAccessOptionWithNotification(LanguageNames.
VisualBasic
, NotificationOption2.Silent))
5702
Await TestAsync(input, expected, QualifyPropertyAccessOptionWithNotification(LanguageNames.
VisualBasic
, NotificationOption2.Suggestion))
5734
Await TestAsync(input, expected, QualifyPropertyAccessOptionWithNotification(LanguageNames.
VisualBasic
, NotificationOption2.Warning))
5766
Await TestAsync(input, expected, QualifyPropertyAccessOptionWithNotification(LanguageNames.
VisualBasic
, NotificationOption2.Error))
5870
Await TestAsync(input, expected, QualifyMethodAccessOption(LanguageNames.
VisualBasic
))
5897
Private Shared ReadOnly DoNotPreferIntrinsicPredefinedTypeKeywordInDeclaration As New OptionsCollection(LanguageNames.
VisualBasic
) From
Workspaces\SymbolDescriptionServiceTests.vb (1)
49
Await TestAsync(GetLanguageServiceProvider(workspace, LanguageNames.
VisualBasic
), workspace, expectedDescription)
Workspaces\TryFindSourceDefinitionTests.vb (5)
69
Assert.Equal(LanguageNames.
VisualBasic
, mappedType.Language)
107
Assert.Equal(LanguageNames.
VisualBasic
, fieldType.Language)
144
Assert.Equal(LanguageNames.
VisualBasic
, member.Language)
181
Assert.Equal(LanguageNames.
VisualBasic
, member.Language)
218
Assert.Equal(LanguageNames.
VisualBasic
, member.Language)
Microsoft.CodeAnalysis.Features (57)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (1)
26
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
AddImport\References\ProjectSymbolReference.cs (1)
40
: _project.Language == LanguageNames.
VisualBasic
ChangeSignature\AbstractChangeSignatureCodeRefactoringProvider.cs (1)
15
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
CodeFixes\Configuration\ConfigurationUpdater.cs (5)
618
if ((_language.Equals(LanguageNames.CSharp) || _language.Equals(LanguageNames.
VisualBasic
)) &&
630
else if (_language.Equals(LanguageNames.
VisualBasic
) && splicedFileExtensions.Contains("vb"))
643
(_language.Equals(LanguageNames.
VisualBasic
) && splicedFileExtensions.Contains("vb")))
737
if (_language is LanguageNames.CSharp or LanguageNames.
VisualBasic
)
759
else if (_language.Equals(LanguageNames.
VisualBasic
) && compilerDiagOrNotPerLang)
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
25
[ExportConfigurationFixProvider(PredefinedConfigurationFixProviderNames.ConfigureCodeStyleOption, LanguageNames.CSharp, LanguageNames.
VisualBasic
), Shared]
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
20
[ExportConfigurationFixProvider(PredefinedConfigurationFixProviderNames.ConfigureSeverity, LanguageNames.CSharp, LanguageNames.
VisualBasic
), Shared]
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
22
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
CodeRefactorings\MoveType\MoveTypeCodeRefactoringProvider.cs (1)
12
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
Common\GlyphExtensions.cs (2)
47
return allTags.Contains(LanguageNames.
VisualBasic
) ? Glyph.BasicFile : Glyph.CSharpFile;
50
return allTags.Contains(LanguageNames.
VisualBasic
) ? Glyph.BasicProject : Glyph.CSharpProject;
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
21
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeRefactoringProviderNames.ConvertToInterpolatedString), Shared]
EditAndContinue\Utilities\Extensions.cs (1)
107
LanguageNames.
VisualBasic
=> filePath.EndsWith(".g.i.vb", StringComparison.OrdinalIgnoreCase),
EmbeddedLanguages\Json\LanguageServices\JsonBraceMatcher.cs (1)
24
[LanguageNames.CSharp, LanguageNames.
VisualBasic
],
EmbeddedLanguages\Json\LanguageServices\JsonClassifier.cs (1)
26
[LanguageNames.CSharp, LanguageNames.
VisualBasic
],
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexBraceMatcher.cs (1)
27
[LanguageNames.CSharp, LanguageNames.
VisualBasic
],
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexClassifier.cs (1)
28
[LanguageNames.CSharp, LanguageNames.
VisualBasic
],
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (1)
24
[LanguageNames.CSharp, LanguageNames.
VisualBasic
],
EncapsulateField\EncapsulateFieldRefactoringProvider.cs (1)
13
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeRefactoringProviderNames.EncapsulateField), Shared]
ExtractInterface\ExtractInterfaceCodeRefactoringProvider.cs (1)
16
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
23
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeRefactoringProviderNames.GenerateComparisonOperators), Shared]
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
30
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
GenerateOverrides\GenerateOverridesCodeRefactoringProvider.cs (1)
17
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
GenerateType\AbstractGenerateTypeService.Editor.cs (4)
195
Debug.Assert(targetProject.Language == LanguageNames.
VisualBasic
);
197
if (_semanticDocument.Project.Language == LanguageNames.
VisualBasic
)
526
if ((_semanticDocument.Project == _generateTypeOptionsResult.Project && _semanticDocument.Project.Language == LanguageNames.
VisualBasic
) ||
527
(_semanticDocument.Project != _generateTypeOptionsResult.Project && _targetProjectChangeInLanguage == TargetProjectChangeInLanguage.NoChange && _generateTypeOptionsResult.Project.Language == LanguageNames.
VisualBasic
) ||
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
220
LanguageNames.
VisualBasic
=> Glyph.BasicFile,
571
LanguageNames.
VisualBasic
=> Glyph.BasicFile,
IntroduceVariable\IntroduceVariableCodeRefactoringProvider.cs (1)
18
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeRefactoringProviderNames.IntroduceVariable), Shared]
Options\EditorConfig\EditorConfigFileGenerator.cs (1)
33
else if (language == LanguageNames.
VisualBasic
)
PreferFrameworkType\PreferFrameworkTypeCodeFixProvider.cs (1)
18
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.PreferFrameworkType), Shared]
Rename\SymbolicRenameInfo.cs (1)
171
symbol.Language == LanguageNames.
VisualBasic
&&
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
26
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeRefactoringProviderNames.ReplaceMethodWithProperty), Shared]
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
27
[ExportCodeRefactoringProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
Shared\Extensions\ProjectExtensions.cs (1)
15
project.Language == LanguageNames.
VisualBasic
? Glyph.BasicProject :
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
567
if (result.Property.Language == LanguageNames.
VisualBasic
)
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
14
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
src\Analyzers\Core\Analyzers\UseSystemHashCode\UseSystemHashCodeDiagnosticAnalyzer.cs (1)
13
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
src\Analyzers\Core\CodeFixes\AddRequiredParentheses\AddRequiredParenthesesCodeFixProvider.cs (1)
18
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.AddRequiredParentheses), Shared]
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (1)
30
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
,
src\Analyzers\Core\CodeFixes\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.ConsecutiveStatementPlacement), Shared]
src\Analyzers\Core\CodeFixes\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveBlankLines), Shared]
src\Analyzers\Core\CodeFixes\RemoveRedundantEquality\RemoveRedundantEqualityCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveRedundantEquality), Shared]
src\Analyzers\Core\CodeFixes\RemoveUnnecessarySuppressions\RemoveUnnecessaryAttributeSuppressionsCodeFixProvider.cs (1)
19
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveUnnecessaryAttributeSuppressions), Shared]
src\Analyzers\Core\CodeFixes\RemoveUnnecessarySuppressions\RemoveUnnecessaryPragmaSuppressionsCodeFixProvider.cs (1)
23
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.RemoveUnnecessaryPragmaSuppressions), Shared]
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
410
Debug.Assert(semanticModel.Language != LanguageNames.
VisualBasic
);
src\Analyzers\Core\CodeFixes\SimplifyBooleanExpression\SimplifyConditionalCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.SimplifyConditionalExpression), Shared]
src\Analyzers\Core\CodeFixes\SimplifyLinqExpression\SimplifyLinqExpressionCodeFixProvider.cs (1)
19
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.SimplifyLinqExpression), Shared]
src\Analyzers\Core\CodeFixes\UpdateLegacySuppressions\UpdateLegacySuppressionsCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UpdateLegacySuppressions), Shared]
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseCoalesceExpressionForNullableTernaryConditionalCheck), Shared]
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseCoalesceExpressionForTernaryConditionalCheck), Shared]
src\Analyzers\Core\CodeFixes\UseExplicitTupleName\UseExplicitTupleNameCodeFixProvider.cs (1)
20
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseExplicitTupleName), Shared]
src\Analyzers\Core\CodeFixes\UseSystemHashCode\UseSystemHashCodeCodeFixProvider.cs (1)
21
[ExportCodeFixProvider(LanguageNames.CSharp, LanguageNames.
VisualBasic
, Name = PredefinedCodeFixProviderNames.UseSystemHashCode), Shared]
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\Extensions.cs (2)
96
LanguageNames.
VisualBasic
=> VisualBasicParseOptions.Default,
104
LanguageNames.
VisualBasic
=> ".vbproj",
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
377
public async Task DesignTimeOnlyDocument_Wpf([CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
)] string language, bool delayLoad, bool open, bool designTimeOnlyAddedAfterSessionStarts)
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
DefaultCapabilitiesProvider.cs (1)
31
.Where(lz => lz.Metadata.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
)
Extensions\Extensions.cs (1)
226
case LanguageNames.
VisualBasic
:
Extensions\ProtocolConversions.cs (2)
826
else if (project.Language == LanguageNames.
VisualBasic
)
959
(LanguageNames.
VisualBasic
) => VisualBasicMarkdownLanguageName,
Features\Options\CompletionOptionsStorage.cs (1)
22
LanguageNames.
VisualBasic
=> options.GetOption(TriggerOnDeletion, language) is not false,
Handler\Configuration\DidChangeConfigurationNotificationHandler.cs (2)
44
.Add(LanguageNames.
VisualBasic
, "visual_basic");
46
public static readonly ImmutableArray<string> SupportedLanguages = [LanguageNames.CSharp, LanguageNames.
VisualBasic
];
LanguageInfoProvider.cs (1)
20
private static readonly LanguageInformation s_vbLanguageInformation = new(LanguageNames.
VisualBasic
, ".vbx");
ProtocolConstants.cs (1)
13
public static ImmutableArray<string> RoslynLspLanguages = [LanguageNames.CSharp, LanguageNames.
VisualBasic
, LanguageNames.FSharp];
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (22)
Diagnostics\AbstractPullDiagnosticTestsBase.cs (4)
50
builder.Add(LanguageNames.
VisualBasic
, ImmutableArray.Create(DiagnosticExtensions.GetCompilerDiagnosticAnalyzer(LanguageNames.
VisualBasic
)));
349
globalOptions.SetGlobalOption(SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
, analyzerDiagnosticsScope);
352
globalOptions.SetGlobalOption(SolutionCrawlerOptionsStorage.CompilerDiagnosticsScopeOption, LanguageNames.
VisualBasic
, compilerDiagnosticsScope.Value);
Diagnostics\BuildOnlyDiagnosticIdsHandlerTests.cs (6)
46
var expectedBuildOnlyDiagnosticIds = GetExpectedBuildOnlyDiagnosticIds(LanguageNames.
VisualBasic
);
57
builder.Add(LanguageNames.
VisualBasic
, ImmutableArray.Create(
58
DiagnosticExtensions.GetCompilerDiagnosticAnalyzer(LanguageNames.
VisualBasic
),
74
LanguageNames.
VisualBasic
=> typeof(VisualBasic.LanguageServer.VisualBasicLspBuildOnlyDiagnostics),
88
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
100
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
InlayHint\VisualBasicInlayHintTests.cs (1)
66
testLspServer.TestWorkspace.GlobalOptions.SetGlobalOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.
VisualBasic
, true);
OnAutoInsert\OnAutoInsertTests.cs (2)
114
await VerifyMarkupAndExpected("'", markup, expected, mutatingLspWorkspace, languageName: LanguageNames.
VisualBasic
);
395
else if (languageName == LanguageNames.
VisualBasic
)
Options\SolutionAnalyzerConfigOptionsUpdaterTests.cs (9)
46
Assert.Equal(4, globalOptions.GetOption(FormattingOptions2.IndentationSize, LanguageNames.
VisualBasic
));
61
new KeyValuePair<OptionKey2, object?>(new OptionKey2(FormattingOptions2.IndentationSize, LanguageNames.
VisualBasic
), 5)
73
workspace.AddTestProject(new TestHostProject(workspace, "proj2", LanguageNames.
VisualBasic
));
75
AssertOptionValue(FormattingOptions2.InsertFinalNewLine, LanguageNames.
VisualBasic
, "true");
76
AssertOptionValue(FormattingOptions2.IndentationSize, LanguageNames.
VisualBasic
, "5");
84
AssertOptionValue(FormattingOptions2.InsertFinalNewLine, LanguageNames.
VisualBasic
, "true");
86
AssertOptionValue(FormattingOptions2.IndentationSize, LanguageNames.
VisualBasic
, "5");
91
AssertOptionValue(FormattingOptions2.InsertFinalNewLine, LanguageNames.
VisualBasic
, "false");
93
AssertOptionValue(FormattingOptions2.IndentationSize, LanguageNames.
VisualBasic
, "5");
Microsoft.CodeAnalysis.Rebuild (2)
CompilationFactory.cs (1)
39
LanguageNames.
VisualBasic
=> VisualBasicCompilationFactory.Create(assemblyFileName, optionsReader),
VisualBasicCompilationFactory.cs (1)
39
Debug.Assert(optionsReader.GetLanguageName() == LanguageNames.
VisualBasic
);
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Host\RemoteDocumentDifferenceService.cs (1)
36
[ExportLanguageService(typeof(IDocumentDifferenceService), LanguageNames.
VisualBasic
, layer: ServiceLayer.Host), Shared]
Services\SourceGeneration\RemoteSourceGenerationService.cs (2)
79
{ LanguageNames.
VisualBasic
, (new(), static analyzerReference => HasSourceGenerators(analyzerReference, LanguageNames.
VisualBasic
)) },
Microsoft.CodeAnalysis.Test.Utilities (66)
Compilation\CompilationExtensions.cs (1)
235
if (declaration.DeclaredSymbol.Kind == SymbolKind.Method && compilation.Language == LanguageNames.
VisualBasic
)
Compilation\ControlFlowGraphVerifier.cs (10)
347
if (graph.OriginalOperation.Language == LanguageNames.
VisualBasic
)
536
if (graph.OriginalOperation.Language != LanguageNames.
VisualBasic
)
563
if (graph.OriginalOperation.Language != LanguageNames.
VisualBasic
)
624
case LanguageNames.
VisualBasic
:
662
case LanguageNames.
VisualBasic
:
683
if (graph.OriginalOperation.Language != LanguageNames.
VisualBasic
)
844
case LanguageNames.
VisualBasic
:
962
else if (reference.Language == LanguageNames.
VisualBasic
)
1057
case LanguageNames.
VisualBasic
:
1202
case LanguageNames.
VisualBasic
:
Compilation\TestOperationVisitor.cs (1)
854
case LanguageNames.
VisualBasic
:
Diagnostics\CommonDiagnosticAnalyzers.cs (46)
28
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
511
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
530
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
572
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
632
[DiagnosticAnalyzer(LanguageNames.
VisualBasic
)]
698
[DiagnosticAnalyzer(LanguageNames.
VisualBasic
)]
732
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
747
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
771
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
803
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
810
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
829
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
839
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
860
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
881
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
915
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
980
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
987
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1026
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1048
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1086
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1115
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1187
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1225
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1374
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1399
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1450
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1680
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1714
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1844
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
1868
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2156
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2181
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2217
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2240
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2258
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2282
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2314
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2346
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2382
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2466
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2490
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2549
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2616
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
2665
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
3223
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Diagnostics\DiagnosticExtensions.cs (4)
405
builder.Add(LanguageNames.
VisualBasic
, ImmutableArray.Create(GetCompilerDiagnosticAnalyzer(LanguageNames.
VisualBasic
)));
419
builder.Add(LanguageNames.
VisualBasic
, ImmutableArray.Create(GetCompilerDiagnosticAnalyzerReference(LanguageNames.
VisualBasic
)));
Diagnostics\SuppressMessageAttributeTests.cs (4)
1274
new[] { new WarningOnCodeBodyAnalyzer(LanguageNames.
VisualBasic
) });
1377
await VerifyAsync(source, LanguageNames.
VisualBasic
, analyzers, diagnostics, rootNamespace: rootNamespace);
1382
await VerifyAsync(source, LanguageNames.
VisualBasic
, analyzers, diagnostics);
1387
return VerifyTokenDiagnosticsAsync(markup, LanguageNames.
VisualBasic
, diagnostics);
Microsoft.CodeAnalysis.UnitTests (65)
Analyzers\AnalyzerFileReferenceTests.cs (23)
111
Assert.Equal(6, analyzerTypeNameMap[LanguageNames.
VisualBasic
].Count);
112
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.AnalyzerFileReferenceTests+TestAnalyzerVB", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
113
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.TestAnalyzerCSVB", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
114
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.AnalyzerFileReferenceTests+TestAnalyzer", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
115
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.AnalyzerFileReferenceTests+SomeType+NestedAnalyzer", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
116
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.AbstractAnalyzer", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
117
Assert.Contains("Microsoft.CodeAnalysis.UnitTests.OpenGenericAnalyzer`1", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
118
Assert.DoesNotContain("Microsoft.CodeAnalysis.UnitTests.Test.NotAnAnalyzer", analyzerTypeNameMap[LanguageNames.
VisualBasic
]);
133
analyzers = reference.GetAnalyzers(LanguageNames.
VisualBasic
);
427
var generators = reference.GetGenerators(LanguageNames.
VisualBasic
);
526
var vbAnalyzers = reference.GetAnalyzers(LanguageNames.
VisualBasic
).Select(a => a.GetType().FullName).ToArray();
565
var vbGenerators = reference.GetGenerators(LanguageNames.
VisualBasic
).Select(g => g.GetGeneratorType().FullName).ToArray();
595
[DiagnosticAnalyzer(LanguageNames.CSharp, new string[] { LanguageNames.
VisualBasic
})]
609
[DiagnosticAnalyzer(LanguageNames.
VisualBasic
, new string[] { })]
625
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
658
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
668
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
675
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
714
[Generator(LanguageNames.
VisualBasic
)]
717
[Generator(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
720
[Generator(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
726
[Generator(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
737
[Generator(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (42)
35
LanguageNames.
VisualBasic
, false, "N");
61
LanguageNames.
VisualBasic
, false, "A.B.C");
87
LanguageNames.
VisualBasic
, false, "IGoo");
113
LanguageNames.
VisualBasic
, false, "A+B", "A#B");
128
LanguageNames.
VisualBasic
, false, "C");
137
LanguageNames.
VisualBasic
, false, "C");
148
LanguageNames.
VisualBasic
, false, "M+C");
159
LanguageNames.
VisualBasic
, false, "M.C");
172
LanguageNames.
VisualBasic
, false, "M+C+D");
198
LanguageNames.
VisualBasic
, false, "N1.N2.C");
223
LanguageNames.
VisualBasic
, false, "C+D");
258
LanguageNames.
VisualBasic
, false, "N.C+D+E");
284
LanguageNames.
VisualBasic
, false, "D`3");
305
LanguageNames.
VisualBasic
, false, "D");
317
LanguageNames.
VisualBasic
, true, "RootNamespace.M+C");
343
LanguageNames.
VisualBasic
, false, "A.B");
368
LanguageNames.
VisualBasic
, false,
414
LanguageNames.
VisualBasic
, false,
441
LanguageNames.
VisualBasic
, false,
466
LanguageNames.
VisualBasic
, false, "e:C.E");
496
LanguageNames.
VisualBasic
, false,
568
LanguageNames.
VisualBasic
, false,
602
LanguageNames.
VisualBasic
, false,
642
LanguageNames.
VisualBasic
, false,
654
LanguageNames.
VisualBasic
, false, "C.Goo():System.Int32");
688
LanguageNames.
VisualBasic
, false, "I.#M`2()");
696
LanguageNames.
VisualBasic
, false, "I.M():System.Void");
722
LanguageNames.
VisualBasic
, false,
750
LanguageNames.
VisualBasic
, false,
782
LanguageNames.
VisualBasic
, false,
827
LanguageNames.
VisualBasic
, false,
902
LanguageNames.
VisualBasic
, false,
936
LanguageNames.
VisualBasic
, false,
968
LanguageNames.
VisualBasic
, false,
1005
LanguageNames.
VisualBasic
, false,
1044
LanguageNames.
VisualBasic
, false,
1083
LanguageNames.
VisualBasic
, false,
1120
LanguageNames.
VisualBasic
, false,
1151
LanguageNames.
VisualBasic
, false,
1181
LanguageNames.
VisualBasic
, false,
1230
LanguageNames.
VisualBasic
, false,
1266
LanguageNames.
VisualBasic
, false, names);
Microsoft.CodeAnalysis.VisualBasic (14)
CommandLine\VisualBasicCompiler.vb (1)
264
Arguments.ResolveAnalyzersFromArguments(LanguageNames.
VisualBasic
, diagnostics, messageProvider, AssemblyLoader, compilationOptions, skipAnalyzers, analyzers, generators)
Compilation\SemanticModel.vb (1)
3057
Return LanguageNames.
VisualBasic
Compilation\VisualBasicCompilation.vb (1)
188
Return LanguageNames.
VisualBasic
Compilation\VisualBasicCompilerDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Symbols\Symbol.vb (1)
1291
Return LanguageNames.
VisualBasic
Syntax\InternalSyntax\SyntaxNode.vb (1)
34
Return LanguageNames.
VisualBasic
Syntax\VisualBasicSyntaxNode.vb (1)
110
Return LanguageNames.
VisualBasic
VisualBasicCompilationOptions.vb (1)
339
Return LanguageNames.
VisualBasic
VisualBasicExtensions.vb (5)
1388
If conversionExpression.Language = LanguageNames.
VisualBasic
Then
1405
If argument.Language = LanguageNames.
VisualBasic
Then
1423
If argument.Language = LanguageNames.
VisualBasic
Then
1446
If compoundAssignment.Language = LanguageNames.
VisualBasic
Then
1468
If compoundAssignment.Language = LanguageNames.
VisualBasic
Then
VisualBasicParseOptions.vb (1)
74
Return LanguageNames.
VisualBasic
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (40)
src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\AddRequiredParentheses\VisualBasicAddRequiredParenthesesDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\CodeStyle\VisualBasicAnalyzerOptionsProvider.vb (1)
68
Return New AnalyzerOptionsProvider(provider._options, LanguageNames.
VisualBasic
)
src\Analyzers\VisualBasic\Analyzers\ConvertTypeofToNameof\VisualBasicConvertTypeOfToNameOfDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\FileHeaders\VisualBasicFileHeaderDiagnosticAnalyzer.vb (1)
9
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\Formatting\VisualBasicFormattingAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\MakeFieldReadonly\VisualBasicMakeFieldReadonlyDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NamingStyle\VisualBasicNamingStyleDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NewLines\ConsecutiveStatementPlacement\VisualBasicConsecutiveStatementPlacementDiagnosticAnalyzer.vb (1)
29
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NewLines\MultipleBlankLines\VisualBasicMultipleBlankLinesDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\OrderModifiers\VisualBasicOrderModifiersDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\PopulateSwitch\VisualBasicPopulateSwitchStatementDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\QualifyMemberAccess\VisualBasicQualifyMemberAccessDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveRedundantEquality\VisualBasicRemoveRedundantEqualityDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryByVal\VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsDiagnosticAnalyzer.vb (1)
17
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryParentheses\VisualBasicRemoveUnnecessaryParenthesesDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessarySuppressions\VisualBasicRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessarySuppressions\VisualBasicRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedParametersAndValues\VisualBasicRemoveUnusedParametersAndValuesDiagnosticAnalyzer.vb (1)
16
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyBooleanExpression\VisualBasicSimplifyConditionalDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyInterpolation\VisualBasicSimplifyInterpolationDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyLinqExpression\VisualBasicSimplifyLinqExpressionDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyObjectCreation\VisualBasicSimplifyObjectCreationDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForIfNullStatementCheckDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCollectionInitializer\VisualBasicUseCollectionInitializerDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCompoundAssignment\VisualBasicUseCompoundAssignmentDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseConditionalExpression\VisualBasicUseConditionalExpressionForAssignmentDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseConditionalExpression\VisualBasicUseConditionalExpressionForReturnDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseInferredMemberName\VisualBasicUseInferredMemberNameDiagnosticAnalyzer.vb (1)
18
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseIsNotExpression\VisualBasicUseIsNotDiagnosticAnalyzer.vb (1)
22
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseIsNullCheck\VisualBasicUseIsNullCheckForReferenceEqualsDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseNullPropagation\VisualBasicUseNullPropagationDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseObjectInitializer\VisualBasicUseObjectInitializerDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\ValidateFormatString\VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (79)
src\Analyzers\VisualBasic\CodeFixes\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAccessibilityModifiers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersService.vb (1)
10
<ExportLanguageService(GetType(IAddAccessibilityModifiersService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddAnonymousTypeMemberName\VisualBasicAddAnonymousTypeMemberNameCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAnonymousTypeMemberName), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddExplicitCast), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddObsoleteAttribute\VisualBasicAddObsoleteAttributeCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddObsoleteAttribute), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddParameter\VisualBasicAddParameterCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddParameter), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AliasAmbiguousType\VisualBasicAliasAmbiguousTypeCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AliasAmbiguousType), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConflictMarkerResolution\VisualBasicResolveConflictMarkerCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConflictMarkerResolution), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConvertToAsync\VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertToAsync), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConvertTypeOfToNameOf\VisualBasicConvertGetTypeToNameOfCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertTypeOfToNameOf), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\DocumentationComments\VisualBasicRemoveDocCommentNodeCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveDocCommentNode), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\FileHeaders\VisualBasicFileHeaderCodeFixProvider.vb (1)
11
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FileHeader)>
src\Analyzers\VisualBasic\CodeFixes\Formatting\VisualBasicFormattingCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FixFormatting)>
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\GenerateConstructorCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateConstructor), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
15
<ExportLanguageService(GetType(IGenerateConstructorService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateDefaultConstructors), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsService.vb (1)
14
<ExportLanguageService(GetType(IGenerateDefaultConstructorsService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateEnumMember\GenerateEnumMemberCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateEnumMember), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateEnumMember\VisualBasicGenerateEnumMemberService.vb (1)
13
<ExportLanguageService(GetType(IGenerateEnumMemberService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\GenerateConversionCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateConversion), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\GenerateParameterizedMemberCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateMethod), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
15
<ExportLanguageService(GetType(IGenerateConversionService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
15
<ExportLanguageService(GetType(IGenerateParameterizedMemberService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateVariable\VisualBasicGenerateVariableCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateVariable), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ImplementAbstractClass\VisualBasicImplementAbstractClassCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
,
src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ImplementInterface), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceService.vb (1)
18
<ExportLanguageService(GetType(IImplementInterfaceService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicChangeToYieldCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ChangeToYield), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicConvertToIteratorCodeFixProvider.vb (1)
19
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertToIterator), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeFieldReadonly\VisualBasicMakeFieldReadonlyCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeFieldReadonly), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeMethodAsynchronous\VisualBasicMakeMethodAsynchronousCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAsync), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeMethodSynchronous\VisualBasicMakeMethodSynchronousCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeMethodSynchronous), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeTypeAbstract\VisualBasicMakeTypeAbstractCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeTypeAbstract), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeTypePartial\VisualBasicMakeTypePartialCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeTypePartial), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\OrderModifiers\VisualBasicOrderModifiersCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.OrderModifiers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\PopulateSwitch\VisualBasicPopulateSwitchStatementCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
,
src\Analyzers\VisualBasic\CodeFixes\QualifyMemberAccess\VisualBasicQualifyMemberAccessCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.QualifyMemberAccess), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveAsyncModifier\VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveAsyncModifier), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryByVal\VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryByVal), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (1)
20
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryCast), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryImports), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryParentheses\VisualBasicRemoveUnnecessaryParenthesesCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryParentheses), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnusedMembers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnusedParametersAndValues\VisualBasicRemoveUnusedValuesCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnusedValues), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\SimplifyInterpolation\VisualBasicSimplifyInterpolationCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyInterpolation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\SimplifyObjectCreation\VisualBasicSimplifyObjectCreationCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyObjectCreation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UnsealClass\VisualBasicUnsealClassCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UnsealClass), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForIfNullStatementCheckCodeFixProvider.vb (1)
11
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCoalesceExpressionForIfNullStatementCheck), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCollectionInitializer), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCompoundAssignment\VisualBasicUseCompoundAssignmentCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCompoundAssignment), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseConditionalExpression\VisualBasicUseConditionalExpressionForAssignmentCodeFixProvider.vb (1)
20
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseConditionalExpressionForAssignment), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseConditionalExpression\VisualBasicUseConditionalExpressionForReturnCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseConditionalExpressionForReturn), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseInferredMemberName\VisualBasicUseInferredMemberNameCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseInferredMemberName), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseIsNotExpression\VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseIsNotExpression), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseIsNullCheck\VisualBasicUseIsNullCheckForReferenceEqualsCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseIsNullCheck), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseNullPropagation\VisualBasicUseNullPropagationCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseNullPropagation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
19
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseObjectInitializer), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ICodeGenerationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeRefactorings\VisualBasicRefactoringHelpersService.vb (1)
14
<ExportLanguageService(GetType(IRefactoringHelpersService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Editing\VisualBasicImportAdder.vb (1)
16
<ExportLanguageService(GetType(ImportAdderService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\EmbeddedLanguages\VirtualChars\VisualBasicVirtualCharLanguageServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(IVirtualCharLanguageService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextService.vb (1)
11
<ExportLanguageService(GetType(ISyntaxContextService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Indentation\VisualBasicIndentationService.vb (1)
16
<ExportLanguageService(GetType(IIndentationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\InitializeParameter\VisualBasicInitializeParameterService.vb (1)
14
<ExportLanguageService(GetType(IInitializeParameterService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (2)
19
<ExportLanguageService(GetType(IAddImportsService), LanguageNames.
VisualBasic
), [Shared]>
36
Return LanguageNames.
VisualBasic
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicBlockFactsService.vb (1)
11
<ExportLanguageService(GetType(IBlockFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicCommandLineParserService.vb (1)
12
<ExportLanguageService(GetType(ICommandLineParserService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicFileBannerFactsService.vb (1)
10
<ExportLanguageService(GetType(IFileBannerFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicGeneratedCodeRecognitionService.vb (1)
10
<ExportLanguageService(GetType(IGeneratedCodeRecognitionService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicHeaderFactsService.vb (1)
10
<ExportLanguageService(GetType(IHeaderFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicMoveDeclarationNearReferenceService.vb (1)
12
<ExportLanguageService(GetType(IMoveDeclarationNearReferenceService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicRemoveUnnecessaryImportsService.vb (1)
15
<ExportLanguageService(GetType(IRemoveUnnecessaryImportsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
16
<ExportLanguageServiceFactory(GetType(ISemanticFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSymbolDeclarationService.vb (1)
13
<ExportLanguageService(GetType(ISymbolDeclarationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxFactsServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISyntaxFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
16
<ExportLanguageService(GetType(SyntaxGeneratorInternal), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxKindsServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISyntaxKindsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.vb (1)
13
<ExportLanguageService(GetType(ITypeInferenceService), LanguageNames.
VisualBasic
), [Shared]>
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (3)
src\Analyzers\VisualBasic\Tests\GenerateConstructor\GenerateConstructorTests.vb (1)
20
Private ReadOnly options As NamingStylesTestOptionSets = New NamingStylesTestOptionSets(LanguageNames.
VisualBasic
)
src\Analyzers\VisualBasic\Tests\NamingStyles\NamingStylesTests.vb (1)
17
Private Shared ReadOnly s_options As NamingStylesTestOptionSets = New NamingStylesTestOptionSets(LanguageNames.
VisualBasic
)
src\Features\VisualBasicTest\Diagnostics\AbstractVisualBasicDiagnosticProviderBasedUserDiagnosticTest_NoEditor.vb (1)
47
Return LanguageNames.
VisualBasic
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (5)
10955
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
10971
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
10995
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
11020
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
11070
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (18)
AutomaticCompletion\VisualBasicBraceCompletionServiceFactory.vb (2)
11
<ExportLanguageService(GetType(IBraceCompletionServiceFactory), LanguageNames.
VisualBasic
), [Shared]>
19
MyBase.New(braceCompletionServices, LanguageNames.
VisualBasic
)
AutomaticEndConstructCorrection\ViewCreationListener.vb (1)
39
If Not _globalOptions.GetOption(EndConstructGenerationOptionsStorage.EndConstruct, LanguageNames.
VisualBasic
) Then
CodeCleanup\VisualBasicCodeCleanupService.vb (1)
14
<ExportLanguageService(GetType(ICodeCleanupService), LanguageNames.
VisualBasic
), [Shared]>
EndConstructGeneration\EndConstructCommandHandler.vb (2)
73
If Not _editorOptionsService.GlobalOptions.GetOption(EndConstructGenerationOptionsStorage.EndConstruct, LanguageNames.
VisualBasic
) Then
114
If Not _editorOptionsService.GlobalOptions.GetOption(EndConstructGenerationOptionsStorage.EndConstruct, LanguageNames.
VisualBasic
) OrElse
EndConstructGeneration\VisualBasicEndConstructGenerationService.vb (1)
21
<ExportLanguageService(GetType(IEndConstructGenerationService), LanguageNames.
VisualBasic
), [Shared]>
GoToBase\VisualBasicGoToBaseService.vb (1)
12
<ExportLanguageService(GetType(IGoToBaseService), LanguageNames.
VisualBasic
), [Shared]>
InlineRename\VisualBasicEditorInlineRenameService.vb (1)
11
<ExportLanguageService(GetType(IEditorInlineRenameService), LanguageNames.
VisualBasic
), [Shared]>
LanguageServices\VisualBasicContentTypeLanguageService.vb (1)
10
<ExportContentTypeLanguageService(ContentTypeNames.VisualBasicContentType, LanguageNames.
VisualBasic
), [Shared]>
LineCommit\CommitCommandHandler.vb (2)
124
If Not _globalOptions.GetOption(LineCommitOptionsStorage.PrettyListing, LanguageNames.
VisualBasic
) Then
236
If Not _globalOptions.GetOption(FormattingOptionsStorage.FormatOnPaste, LanguageNames.
VisualBasic
) Then
LineCommit\CommitFormatter.vb (1)
63
If Not (isExplicitFormat OrElse _editorOptionsService.GlobalOptions.GetOption(LineCommitOptionsStorage.PrettyListing, LanguageNames.
VisualBasic
)) Then
Navigation\VisualBasicDefinitionLocationService.vb (1)
13
<ExportLanguageService(GetType(IDefinitionLocationService), LanguageNames.
VisualBasic
), [Shared]>
NavigationBar\VisualBasicEditorNavigationBarItemService.vb (1)
18
<ExportLanguageService(GetType(INavigationBarItemService), LanguageNames.
VisualBasic
), [Shared]>
RenameTracking\BasicRenameTrackingLanguageHeuristicsService.vb (1)
10
<ExportLanguageService(GetType(IRenameTrackingLanguageHeuristicsService), LanguageNames.
VisualBasic
), [Shared]>
SplitComment\VisualBasicSplitCommentService.vb (1)
10
<ExportLanguageService(GetType(ISplitCommentService), LanguageNames.
VisualBasic
), [Shared]>
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (1)
124
If Not _globalOptions.GetOption(AutomaticInsertionOfAbstractOrInterfaceMembersOptionsStorage.AutomaticInsertionOfAbstractOrInterfaceMembers, LanguageNames.
VisualBasic
) Then
Microsoft.CodeAnalysis.VisualBasic.Features (342)
AddDebuggerDisplay\VisualBasicAddDebuggerDisplayCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.AddDebuggerDisplay), [Shared]>
AddFileBanner\VisualBasicAddFileBannerCodeRefactoringProvider.vb (1)
11
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
,
AddFileBanner\VisualBasicAddFileBannerNewDocumentFormattingProvider.vb (1)
15
<ExportNewDocumentFormattingProvider(LanguageNames.
VisualBasic
), [Shared]>
AddImport\VisualBasicAddImportCodeFixProvider.vb (1)
104
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddImport), [Shared]>
AddImport\VisualBasicAddImportFeatureService.vb (1)
18
<ExportLanguageService(GetType(IAddImportFeatureService), LanguageNames.
VisualBasic
), [Shared]>
AddImport\VisualBasicAddMissingImportsFeatureService.vb (1)
14
<ExportLanguageService(GetType(IAddMissingImportsFeatureService), LanguageNames.
VisualBasic
), [Shared]>
AddPackage\VisualBasicAddSpecificPackageCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddPackage), [Shared]>
BraceCompletion\BracketBraceCompletionService.vb (1)
15
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\CurlyBraceCompletionService.vb (1)
12
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\InterpolatedStringBraceCompletionService.vb (1)
13
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\InterpolationBraceCompletionService.vb (1)
13
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\LessAndGreaterThanCompletionService.vb (1)
14
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\ParenthesisBraceCompletionService.vb (1)
15
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceCompletion\StringLiteralBraceCompletionService.vb (1)
12
<ExportBraceCompletionService(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\InterpolatedStringBraceMatcher.vb (1)
13
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\LessThanGreaterThanBraceMatcher.vb (1)
10
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\OpenCloseBraceBraceMatcher.vb (1)
10
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\OpenCloseParenBraceMatcher.vb (1)
10
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\StringLiteralBraceMatcher.vb (1)
12
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\VisualBasicDirectiveTriviaBraceMatcher.vb (1)
14
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
BraceMatching\VisualBasicEmbeddedLanguageBraceMatcher.vb (2)
13
<ExportBraceMatcher(LanguageNames.
VisualBasic
), [Shared]>
21
MyBase.New(LanguageNames.
VisualBasic
, VisualBasicEmbeddedLanguagesProvider.Info, VisualBasicSyntaxKinds.Instance, services)
BracePairs\VisualBasicBracePairsService.vb (1)
11
<ExportLanguageService(GetType(IBracePairsService), LanguageNames.
VisualBasic
), [Shared]>
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
24
<ExportLanguageService(GetType(AbstractChangeSignatureService), LanguageNames.
VisualBasic
), [Shared]>
CodeFixes\AddMissingReference\VisualBasicAddMissingReferenceCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddMissingReference), [Shared]>
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.CorrectNextControlVariable), [Shared]>
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateEndConstruct), [Shared]>
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateEvent), [Shared]>
CodeFixes\GenerateType\GenerateTypeCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateType), [Shared]>
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (1)
19
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FixIncorrectExitContinue), [Shared]>
CodeFixes\IncorrectFunctionReturnType\IncorrectFunctionReturnTypeCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FixIncorrectFunctionReturnType), [Shared]>
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MoveToTopOfFile), [Shared]>
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddOverloads), [Shared]>
CodeFixes\Suppression\VisualBasicSuppressionCodeFixProvider.vb (1)
19
<ExportConfigurationFixProvider(PredefinedConfigurationFixProviderNames.Suppression, LanguageNames.
VisualBasic
), [Shared]>
CodeLens\VisualBasicCodeLensMemberFinder.vb (1)
15
<ExportLanguageService(GetType(ICodeLensMemberFinder), LanguageNames.
VisualBasic
), [Shared]>
CodeLens\VisualBasicDisplayInfoService.vb (1)
12
<ExportLanguageService(GetType(ICodeLensDisplayInfoService), LanguageNames.
VisualBasic
), [Shared]>
CodeRefactorings\AddAwait\VisualBasicAddAwaitCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.AddAwait), [Shared]>
CodeRefactorings\AddMissingImports\VisualBasicAddMissingImportsRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.AddMissingImports), [Shared]>
CodeRefactorings\InlineMethod\VisualBasicInlineMethodRefactoringProvider.vb (1)
15
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InlineMethod), [Shared]>
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
20
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InlineTemporary), [Shared]>
CodeRefactorings\MoveStaticMembers\VisualBasicMoveStaticMembersRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.MoveStaticMembers), [Shared]>
CodeRefactorings\MoveType\VisualBasicMoveTypeService.vb (1)
14
<ExportLanguageService(GetType(IMoveTypeService), LanguageNames.
VisualBasic
), [Shared]>
CodeRefactorings\SyncNamespace\VisualBasicChangeNamespaceService.vb (1)
15
<ExportLanguageService(GetType(IChangeNamespaceService), LanguageNames.
VisualBasic
), [Shared]>
CommentSelection\VisualBasicCommentSelectionService.vb (1)
10
<ExportLanguageService(GetType(ICommentSelectionService), LanguageNames.
VisualBasic
), [Shared]>
Completion\CompletionProviders\AggregateEmbeddedLanguageCompletionProvider.vb (3)
12
<ExportCompletionProvider(NameOf(AggregateEmbeddedLanguageCompletionProvider), LanguageNames.
VisualBasic
)>
21
MyBase.New(languageServices, LanguageNames.
VisualBasic
)
26
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\AwaitCompletionProvider.vb (2)
16
<ExportCompletionProvider(NameOf(AwaitCompletionProvider), LanguageNames.
VisualBasic
), [Shared]>
27
Friend Overrides ReadOnly Property Language As String = LanguageNames.
VisualBasic
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
17
<ExportCompletionProvider(NameOf(CompletionListTagCompletionProvider), LanguageNames.
VisualBasic
)>
Completion\CompletionProviders\CrefCompletionProvider.vb (2)
20
<ExportCompletionProvider(NameOf(CrefCompletionProvider), LanguageNames.
VisualBasic
)>
45
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\EnumCompletionProvider.vb (2)
18
<ExportCompletionProvider(NameOf(EnumCompletionProvider), LanguageNames.
VisualBasic
)>
33
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\FirstBuiltInCompletionProvider.vb (1)
14
<ExportCompletionProvider(NameOf(FirstBuiltInCompletionProvider), LanguageNames.
VisualBasic
)>
Completion\CompletionProviders\HandlesClauseCompletionProvider.vb (2)
18
<ExportCompletionProvider(NameOf(HandlesClauseCompletionProvider), LanguageNames.
VisualBasic
)>
31
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ImplementsClauseCompletionProvider.vb (2)
19
<ExportCompletionProvider(NameOf(ImplementsClauseCompletionProvider), LanguageNames.
VisualBasic
)>
42
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ImportCompletionProvider\ExtensionMethodImportCompletionProvider.vb (2)
14
<ExportCompletionProvider(NameOf(ExtensionMethodImportCompletionProvider), LanguageNames.
VisualBasic
)>
28
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ImportCompletionProvider\TypeImportCompletionProvider.vb (2)
16
<ExportCompletionProvider(NameOf(TypeImportCompletionProvider), LanguageNames.
VisualBasic
)>
29
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ImportCompletionProvider\TypeImportCompletionServiceFactory.vb (2)
12
<ExportLanguageServiceFactory(GetType(ITypeImportCompletionService), LanguageNames.
VisualBasic
), [Shared]>
46
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.vb (2)
15
<ExportCompletionProvider(NameOf(InternalsVisibleToCompletionProvider), LanguageNames.
VisualBasic
)>
28
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\KeywordCompletionProvider.vb (2)
17
<ExportCompletionProvider(NameOf(KeywordCompletionProvider), LanguageNames.
VisualBasic
)>
172
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\LastBuiltInCompletionProvider.vb (1)
14
<ExportCompletionProvider(NameOf(LastBuiltInCompletionProvider), LanguageNames.
VisualBasic
)>
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (2)
19
<ExportCompletionProvider(NameOf(NamedParameterCompletionProvider), LanguageNames.
VisualBasic
)>
34
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ObjectCreationCompletionProvider.vb (2)
17
<ExportCompletionProvider(NameOf(ObjectCreationCompletionProvider), LanguageNames.
VisualBasic
)>
30
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\ObjectInitializerCompletionProvider.vb (2)
16
<ExportCompletionProvider(NameOf(ObjectInitializerCompletionProvider), LanguageNames.
VisualBasic
), [Shared]>
28
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\OverrideCompletionProvider.vb (2)
18
<ExportCompletionProvider(NameOf(OverrideCompletionProvider), LanguageNames.
VisualBasic
)>
35
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\PartialTypeCompletionProvider.vb (2)
17
<ExportCompletionProvider(NameOf(PartialTypeCompletionProvider), LanguageNames.
VisualBasic
)>
47
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\PreprocessorCompletionProvider.vb (2)
14
<ExportCompletionProvider(NameOf(PreprocessorCompletionProvider), LanguageNames.
VisualBasic
)>
27
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\SymbolCompletionProvider.vb (2)
16
<ExportCompletionProvider(NameOf(SymbolCompletionProvider), LanguageNames.
VisualBasic
)>
64
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\VisualBasicSuggestionModeCompletionProvider.vb (2)
16
<ExportCompletionProvider(NameOf(VisualBasicSuggestionModeCompletionProvider), LanguageNames.
VisualBasic
)>
29
Return LanguageNames.
VisualBasic
Completion\CompletionProviders\XmlDocCommentCompletionProvider.vb (2)
17
<ExportCompletionProvider(NameOf(XmlDocCommentCompletionProvider), LanguageNames.
VisualBasic
)>
43
Return LanguageNames.
VisualBasic
Completion\Providers\ContextVariableArgumentProvider.vb (1)
12
<ExportArgumentProvider(NameOf(ContextVariableArgumentProvider), LanguageNames.
VisualBasic
)>
Completion\Providers\DefaultArgumentProvider.vb (1)
10
<ExportArgumentProvider(NameOf(DefaultArgumentProvider), LanguageNames.
VisualBasic
)>
Completion\Providers\FirstBuiltInArgumentProvider.vb (1)
14
<ExportArgumentProvider(NameOf(FirstBuiltInArgumentProvider), LanguageNames.
VisualBasic
)>
Completion\Providers\LastBuiltInArgumentProvider.vb (1)
14
<ExportArgumentProvider(NameOf(LastBuiltInArgumentProvider), LanguageNames.
VisualBasic
)>
Completion\VisualBasicCompletionService.vb (2)
20
<ExportLanguageServiceFactory(GetType(CompletionService), LanguageNames.
VisualBasic
), [Shared]>
49
Return LanguageNames.
VisualBasic
ConvertAnonymousType\VisualBasicConvertAnonymousTypeToClassCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertAnonymousTypeToClass), [Shared]>
ConvertAnonymousType\VisualBasicConvertAnonymousTypeToTupleCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertAnonymousTypeToTuple), [Shared]>
ConvertAutoPropertyToFullProperty\VisualBasicConvertAutoPropertyToFullProperty.vb (1)
15
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertAutoPropertyToFullProperty), [Shared]>
ConvertCast\VisualBasicConvertDirectCastToTryCastCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertDirectCastToTryCast), [Shared]>
ConvertCast\VisualBasicConvertTryCastToDirectCastCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertTryCastToDirectCast), [Shared]>
ConvertForEachToFor\VisualBasicConvertForEachToForCodeRefactoringProvider.vb (1)
16
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertForEachToFor), [Shared]>
ConvertForToForEach\VisualBasicConvertForToForEachCodeRefactoringProvider.vb (1)
14
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertForToForEach), [Shared]>
ConvertIfToSwitch\VisualBasicConvertIfToSwitchCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertIfToSwitch), [Shared]>
ConvertNumericLiteral\VisualBasicConvertNumericLiteralCodeRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertNumericLiteral), [Shared]>
ConvertToInterpolatedString\VisualBasicConvertConcatenationToInterpolatedStringRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertConcatenationToInterpolatedString), [Shared]>
ConvertToInterpolatedString\VisualBasicConvertPlaceholderToInterpolatedStringRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertPlaceholderToInterpolatedString), [Shared]>
ConvertTupleToStruct\VisualBasicConvertTupleToStructCodeRefactoringProvider.vb (2)
14
<ExportLanguageService(GetType(IConvertTupleToStructCodeRefactoringProvider), LanguageNames.
VisualBasic
)>
15
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ConvertTupleToStruct), [Shared]>
Debugging\BreakpointResolver.vb (1)
18
MyBase.New(solution, text, LanguageNames.
VisualBasic
, s_identifierComparer)
Debugging\ProximityExpressionsGetter.vb (1)
15
<ExportLanguageService(GetType(IProximityExpressionsService), LanguageNames.
VisualBasic
), [Shared]>
Debugging\VisualBasicBreakpointService.vb (1)
17
<ExportLanguageService(GetType(IBreakpointResolutionService), LanguageNames.
VisualBasic
), [Shared]>
Debugging\VisualBasicLanguageDebugInfoService.vb (1)
12
<ExportLanguageService(GetType(ILanguageDebugInfoService), LanguageNames.
VisualBasic
), [Shared]>
Diagnostics\Analyzers\VisualBasicPreferFrameworkTypeDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Diagnostics\Analyzers\VisualBasicSimplifyTypeNamesDiagnosticAnalyzer.vb (1)
19
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Diagnostics\Analyzers\VisualBasicUnboundIdentifiersDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Diagnostics\LanguageServer\VisualBasicLspBuildOnlyDiagnostics.vb (1)
13
LanguageNames.
VisualBasic
,
Diagnostics\VisualBasicAnalyzerDriverService.vb (1)
13
<ExportLanguageService(GetType(IAnalyzerDriverService), LanguageNames.
VisualBasic
), [Shared]>
DocumentationComments\VisualBasicDocumentationCommentFormattingService.vb (1)
12
<ExportLanguageService(GetType(IDocumentationCommentFormattingService), LanguageNames.
VisualBasic
), [Shared]>
DocumentationComments\VisualBasicDocumentationCommentSnippetService.vb (1)
13
<ExportLanguageService(GetType(IDocumentationCommentSnippetService), LanguageNames.
VisualBasic
), [Shared]>
DocumentHighlighting\VisualBasicDocumentHighlightsService.vb (2)
13
<ExportLanguageService(GetType(IDocumentHighlightsService), LanguageNames.
VisualBasic
), [Shared]>
22
LanguageNames.
VisualBasic
,
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
22
<ExportLanguageServiceFactory(GetType(IEditAndContinueAnalyzer), LanguageNames.
VisualBasic
), [Shared]>
EmbeddedLanguages\Classification\VisualBasicEmbeddedLanguageClassificationServiceFactory.vb (2)
13
<ExportLanguageService(GetType(IEmbeddedLanguageClassificationService), LanguageNames.
VisualBasic
), [Shared]>
21
MyBase.New(LanguageNames.
VisualBasic
, VisualBasicEmbeddedLanguagesProvider.Info, VisualBasicSyntaxKinds.Instance, VisualBasicFallbackEmbeddedLanguageClassifier.Instance, classifiers)
EmbeddedLanguages\VisualBasicEmbeddedLanguagesProvider.vb (1)
13
<ExportLanguageService(GetType(IEmbeddedLanguagesProvider), LanguageNames.
VisualBasic
, ServiceLayer.Default), [Shared]>
EmbeddedLanguages\VisualBasicJsonDetectionAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
EmbeddedLanguages\VisualBasicJsonDetectionCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.JsonDetection), [Shared]>
EmbeddedLanguages\VisualBasicJsonDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
EmbeddedLanguages\VisualBasicRegexDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
EncapsulateField\VisualBasicEncapsulateFieldService.vb (1)
15
<ExportLanguageService(GetType(IEncapsulateFieldService), LanguageNames.
VisualBasic
), [Shared]>
ExtractInterface\VisualBasicExtractInterfaceService.vb (1)
16
<ExportLanguageService(GetType(AbstractExtractInterfaceService), LanguageNames.
VisualBasic
), [Shared]>
ExtractMethod\VisualBasicExtractMethodService.vb (1)
12
<Export(GetType(IExtractMethodService)), ExportLanguageService(GetType(IExtractMethodService), LanguageNames.
VisualBasic
), [Shared]>
ExtractMethod\VisualBasicSyntaxTriviaServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISyntaxTriviaService), LanguageNames.
VisualBasic
), [Shared]>
FindUsages\VisualBasicFindUsagesLSPService.vb (1)
10
<ExportLanguageService(GetType(IFindUsagesLSPService), LanguageNames.
VisualBasic
), [Shared]>
FindUsages\VisualBasicFindUsagesService.vb (1)
10
<ExportLanguageService(GetType(IFindUsagesService), LanguageNames.
VisualBasic
), [Shared]>
Formatting\VisualBasicNewDocumentFormattingService.vb (2)
10
<ExportLanguageService(GetType(INewDocumentFormattingService), LanguageNames.
VisualBasic
), [Shared]>
20
Protected Overrides ReadOnly Property Language As String = LanguageNames.
VisualBasic
Formatting\VisualBasicOrganizeUsingsNewDocumentFormattingProvider.vb (1)
13
<ExportNewDocumentFormattingProvider(LanguageNames.
VisualBasic
), [Shared]>
FullyQualify\VisualBasicFullyQualifyCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FullyQualify), [Shared]>
FullyQualify\VisualBasicFullyQualifyService.vb (1)
16
<ExportLanguageService(GetType(IFullyQualifyService), LanguageNames.
VisualBasic
), [Shared]>
GenerateConstructors\VisualBasicGenerateConstructorsCodeRefactoringProvider.vb (1)
14
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.GenerateConstructorFromMembers), [Shared]>
GenerateEqualsAndGetHashCodeFromMembers\VisualBasicGenericEqualsAndGetHashCodeService.vb (1)
11
<ExportLanguageService(GetType(IGenerateEqualsAndGetHashCodeService), LanguageNames.
VisualBasic
), [Shared]>
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (1)
15
<ExportLanguageService(GetType(IGenerateVariableService), LanguageNames.
VisualBasic
), [Shared]>
GenerateType\VisualBasicGenerateTypeService.vb (1)
22
<ExportLanguageService(GetType(IGenerateTypeService), LanguageNames.
VisualBasic
), [Shared]>
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
15
<ExportLanguageService(GetType(IGoToDefinitionSymbolService), LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\AccessorDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\ConditionalPreprocessorHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\ConstructorDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\DoLoopBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\EnumBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\EventBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\EventDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\ForLoopBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\MethodDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\MultiLineIfBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\MultiLineLambdaExpressionHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\NamespaceBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\OperatorDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\PropertyBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\PropertyDeclarationHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\RegionHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\SelectBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\SingleLineIfBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\SyncLockBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\TryBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\TypeBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\UsingBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\WhileBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\WithBlockHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlCDataHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlCommentHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlDocumentPrologueHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlElementHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlEmbeddedExpressionHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
Highlighting\KeywordHighlighters\XmlProcessingInstructionHighlighter.vb (1)
13
<ExportHighlighter(LanguageNames.
VisualBasic
), [Shared]>
InheritanceMargin\VisualBasicInheritanceMarginService.vb (1)
15
<ExportLanguageService(GetType(IInheritanceMarginService), LanguageNames.
VisualBasic
), [Shared]>
InitializeParameter\VisualBasicAddParameterCheckCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.AddParameterCheck), [Shared]>
InitializeParameter\VisualBasicInitializeMemberFromParameterCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InitializeMemberFromParameter), [Shared]>
InlineHints\VisualBasicInlineHintsService.vb (1)
13
<ExportLanguageService(GetType(IInlineHintsService), LanguageNames.
VisualBasic
), [Shared]>
InlineHints\VisualBasicInlineParameterNameHintsService.vb (1)
15
<ExportLanguageService(GetType(IInlineParameterNameHintsService), LanguageNames.
VisualBasic
), [Shared]>
IntroduceParameter\VisualBasicIntroduceParameterCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.IntroduceParameter), [Shared]>
IntroduceUsingStatement\VisualBasicIntroduceUsingStatementCodeRefactoringProvider.vb (1)
14
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.IntroduceUsingStatement), [Shared]>
IntroduceVariable\VisualBasicIntroduceLocalForExpressionCodeRefactoringProvider.vb (1)
16
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.IntroduceLocalForExpression), [Shared]>
IntroduceVariable\VisualBasicIntroduceVariableService.vb (1)
14
<ExportLanguageService(GetType(IIntroduceVariableService), LanguageNames.
VisualBasic
), [Shared]>
InvertConditional\VisualBasicInvertConditionalCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InvertConditional), [Shared]>
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.MultiLine.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InvertMultiLineIf), [Shared]>
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.SingleLine.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InvertIf), [Shared]>
InvertLogical\VisualBasicInvertLogicalCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.InvertLogical), [Shared]>
LanguageServices\VisualBasicStructuralTypeDisplayService.vb (1)
15
<ExportLanguageService(GetType(IStructuralTypeDisplayService), LanguageNames.
VisualBasic
)>
LanguageServices\VisualBasicSymbolDisplayServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISymbolDisplayService), LanguageNames.
VisualBasic
), [Shared]>
LineSeparators\VisualBasicLineSeparatorService.vb (1)
16
<ExportLanguageService(GetType(ILineSeparatorService), LanguageNames.
VisualBasic
), [Shared]>
MetadataAsSource\VisualBasicMetadataAsSourceServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(IMetadataAsSourceService), LanguageNames.
VisualBasic
), [Shared]>
MoveDeclarationNearReference\VisualBasicMoveDeclarationNearRefactoringProvider.vb (1)
12
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.MoveDeclarationNearReference), [Shared]>
NameTupleElement\VisualBasicNameTupleElementCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.NameTupleElement), [Shared]>
NavigateTo\VisualBasicNavigateToSearchService.vb (1)
10
<ExportLanguageService(GetType(INavigateToSearchService), LanguageNames.
VisualBasic
), [Shared]>
Navigation\VisualBasicFindDefinitionService.vb (1)
10
<ExportLanguageService(GetType(INavigableItemsService), LanguageNames.
VisualBasic
), [Shared]>
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
21
<ExportLanguageService(GetType(INavigationBarItemService), LanguageNames.
VisualBasic
), [Shared]>
Options\VisualBasicEditorConfigOptionsEnumerator.vb (1)
12
<EditorConfigOptionsEnumerator(LanguageNames.
VisualBasic
), [Shared]>
Organizing\Organizers\TypeBlockOrganizer.vb (1)
12
<ExportSyntaxNodeOrganizer(LanguageNames.
VisualBasic
), [Shared]>
Organizing\VisualBasicOrganizerService.vb (2)
12
<ExportLanguageService(GetType(IOrganizingService), LanguageNames.
VisualBasic
), [Shared]>
19
MyBase.New(organizers.Where(Function(o) o.Metadata.Language = LanguageNames.
VisualBasic
).Select(Function(o) o.Value))
QuickInfo\VisualBasicEmbeddedLanguageQuickInfoProvider.vb (2)
17
<ExportQuickInfoProvider(QuickInfoProviderNames.EmbeddedLanguages, LanguageNames.
VisualBasic
), [Shared]>
25
MyBase.New(LanguageNames.
VisualBasic
, VisualBasicEmbeddedLanguagesProvider.Info, VisualBasicSyntaxKinds.Instance, services)
QuickInfo\VisualBasicQuickInfoService.vb (1)
11
<ExportLanguageServiceFactory(GetType(QuickInfoService), LanguageNames.
VisualBasic
), [Shared]>
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (1)
19
<ExportQuickInfoProvider(QuickInfoProviderNames.Semantic, LanguageNames.
VisualBasic
), [Shared]>
RemoveSharedFromModuleMembers\VisualBasicRemoveSharedFromModuleMembersCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveSharedFromModuleMembers), [Shared]>
RemoveUnusedVariable\VisualBasicRemoveUnusedVariableCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnusedVariable), [Shared]>
Rename\VisualBasicRenameIssuesService.vb (1)
10
<ExportLanguageService(GetType(IRenameIssuesService), LanguageNames.
VisualBasic
), [Shared]>
ReplaceConditionalWithStatementsCodeRefactoringProvider\VisualBasicReplaceConditionalWithStatementsCodeRefactoringProvider.vb (1)
18
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.ReplaceConditionalWithStatements), [Shared]>
ReplaceDocCommentTextWithTag\VisualBasicReplaceDocCommentTextWithTagCodeRefactoringProvider.vb (1)
11
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
,
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
17
<ExportLanguageService(GetType(IReplaceMethodWithPropertyService), LanguageNames.
VisualBasic
), [Shared]>
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (1)
17
<ExportLanguageService(GetType(IReplacePropertyWithMethodsService), LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\AddRemoveHandlerSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("AddRemoveHandlerSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\AttributeSignatureHelpProvider.vb (1)
17
<ExportSignatureHelpProvider("AttributeSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\CastExpressionSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("CastExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\CollectionInitializerSignatureHelpProvider.vb (1)
15
<ExportSignatureHelpProvider(NameOf(CollectionInitializerSignatureHelpProvider), LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\ConditionalExpressionSignatureHelpProvider.vb (2)
42
<ExportSignatureHelpProvider("BinaryConditionalExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
58
<ExportSignatureHelpProvider("TernaryConditionalExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\FunctionAggregationSignatureHelpProvider.vb (1)
16
<ExportSignatureHelpProvider("FunctionAggregationSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\GenericNameSignatureHelpProvider.vb (1)
16
<ExportSignatureHelpProvider("GenericNameSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\GetTypeExpressionSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("GetTypeExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\GetXmlNamespaceExpressionSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("GetXmlNamespaceExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\InvocationExpressionSignatureHelpProvider.vb (1)
17
<ExportSignatureHelpProvider("InvocationExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\MidAssignmentSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("MidAssignmentSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\NameOfExpressionSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider(NameOf(NameOfExpressionSignatureHelpProvider), LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\ObjectCreationExpressionSignatureHelpProvider.vb (1)
16
<ExportSignatureHelpProvider("ObjectCreationExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\PredefinedCastExpressionSignatureHelpProvider.vb (1)
13
<ExportSignatureHelpProvider("PredefinedCastExpressionSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SignatureHelp\RaiseEventStatementSignatureHelpProvider.vb (1)
15
<ExportSignatureHelpProvider("RaiseEventSignatureHelpProvider", LanguageNames.
VisualBasic
), [Shared]>
SimplifyThisOrMe\VisualBasicSimplifyThisOrMeCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyThisOrMe), [Shared]>
SimplifyThisOrMe\VisualBasicSimplifyThisOrMeDiagnosticAnalyzer.vb (1)
16
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
SimplifyTypeNames\SimplifyTypeNamesCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyNames), [Shared]>
Snippets\VisualBasicSnippetFunctionService.vb (1)
13
<ExportLanguageService(GetType(SnippetFunctionService), LanguageNames.
VisualBasic
), [Shared]>
SolutionCrawler\VisualBasicDocumentDifferenceService.vb (1)
10
<ExportLanguageService(GetType(IDocumentDifferenceService), LanguageNames.
VisualBasic
), [Shared]>
SpellCheck\VisualBasicSpellCheckCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SpellCheck), [Shared]>
SpellCheck\VisualBasicSpellCheckSpanService.vb (1)
10
<ExportLanguageService(GetType(ISpellCheckSpanService), LanguageNames.
VisualBasic
), [Shared]>
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
13
<ExportLanguageService(GetType(IIfLikeStatementGenerator), LanguageNames.
VisualBasic
), [Shared]>
SplitOrMergeIfStatements\VisualBasicMergeConsecutiveIfStatementsCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.MergeConsecutiveIfStatements), [Shared]>
SplitOrMergeIfStatements\VisualBasicMergeNestedIfStatementsCodeRefactoringProvider.vb (1)
13
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.MergeNestedIfStatements), [Shared]>
SplitOrMergeIfStatements\VisualBasicSplitIntoConsecutiveIfStatementsCodeRefactoringProvider.vb (1)
11
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.SplitIntoConsecutiveIfStatements), [Shared]>
SplitOrMergeIfStatements\VisualBasicSplitIntoNestedIfStatementsCodeRefactoringProvider.vb (1)
11
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.SplitIntoNestedIfStatements), [Shared]>
src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\AddRequiredParentheses\VisualBasicAddRequiredParenthesesDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\CodeStyle\VisualBasicAnalyzerOptionsProvider.vb (1)
68
Return New AnalyzerOptionsProvider(provider._options, LanguageNames.
VisualBasic
)
src\Analyzers\VisualBasic\Analyzers\ConvertTypeofToNameof\VisualBasicConvertTypeOfToNameOfDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\FileHeaders\VisualBasicFileHeaderDiagnosticAnalyzer.vb (1)
9
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\Formatting\VisualBasicFormattingAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\MakeFieldReadonly\VisualBasicMakeFieldReadonlyDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NamingStyle\VisualBasicNamingStyleDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NewLines\ConsecutiveStatementPlacement\VisualBasicConsecutiveStatementPlacementDiagnosticAnalyzer.vb (1)
29
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\NewLines\MultipleBlankLines\VisualBasicMultipleBlankLinesDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\OrderModifiers\VisualBasicOrderModifiersDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\PopulateSwitch\VisualBasicPopulateSwitchStatementDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\QualifyMemberAccess\VisualBasicQualifyMemberAccessDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveRedundantEquality\VisualBasicRemoveRedundantEqualityDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryByVal\VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
10
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsDiagnosticAnalyzer.vb (1)
17
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryParentheses\VisualBasicRemoveUnnecessaryParenthesesDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessarySuppressions\VisualBasicRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessarySuppressions\VisualBasicRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\RemoveUnusedParametersAndValues\VisualBasicRemoveUnusedParametersAndValuesDiagnosticAnalyzer.vb (1)
16
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyBooleanExpression\VisualBasicSimplifyConditionalDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyInterpolation\VisualBasicSimplifyInterpolationDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyLinqExpression\VisualBasicSimplifyLinqExpressionDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\SimplifyObjectCreation\VisualBasicSimplifyObjectCreationDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForIfNullStatementCheckDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCollectionInitializer\VisualBasicUseCollectionInitializerDiagnosticAnalyzer.vb (1)
15
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseCompoundAssignment\VisualBasicUseCompoundAssignmentDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseConditionalExpression\VisualBasicUseConditionalExpressionForAssignmentDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseConditionalExpression\VisualBasicUseConditionalExpressionForReturnDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseInferredMemberName\VisualBasicUseInferredMemberNameDiagnosticAnalyzer.vb (1)
18
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseIsNotExpression\VisualBasicUseIsNotDiagnosticAnalyzer.vb (1)
22
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseIsNullCheck\VisualBasicUseIsNullCheckForReferenceEqualsDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseNullPropagation\VisualBasicUseNullPropagationDiagnosticAnalyzer.vb (1)
14
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\UseObjectInitializer\VisualBasicUseObjectInitializerDiagnosticAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\Analyzers\ValidateFormatString\VisualBasicValidateFormatStringDiagnosticAnalyzer.vb (1)
13
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
src\Analyzers\VisualBasic\CodeFixes\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAccessibilityModifiers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersService.vb (1)
10
<ExportLanguageService(GetType(IAddAccessibilityModifiersService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddAnonymousTypeMemberName\VisualBasicAddAnonymousTypeMemberNameCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAnonymousTypeMemberName), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddExplicitCast), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddObsoleteAttribute\VisualBasicAddObsoleteAttributeCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddObsoleteAttribute), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AddParameter\VisualBasicAddParameterCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddParameter), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\AliasAmbiguousType\VisualBasicAliasAmbiguousTypeCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AliasAmbiguousType), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConflictMarkerResolution\VisualBasicResolveConflictMarkerCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConflictMarkerResolution), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConvertToAsync\VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertToAsync), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ConvertTypeOfToNameOf\VisualBasicConvertGetTypeToNameOfCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertTypeOfToNameOf), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\DocumentationComments\VisualBasicRemoveDocCommentNodeCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveDocCommentNode), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\FileHeaders\VisualBasicFileHeaderCodeFixProvider.vb (1)
11
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FileHeader)>
src\Analyzers\VisualBasic\CodeFixes\Formatting\VisualBasicFormattingCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.FixFormatting)>
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\GenerateConstructorCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateConstructor), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
15
<ExportLanguageService(GetType(IGenerateConstructorService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateDefaultConstructors), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsService.vb (1)
14
<ExportLanguageService(GetType(IGenerateDefaultConstructorsService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateEnumMember\GenerateEnumMemberCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateEnumMember), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateEnumMember\VisualBasicGenerateEnumMemberService.vb (1)
13
<ExportLanguageService(GetType(IGenerateEnumMemberService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\GenerateConversionCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateConversion), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\GenerateParameterizedMemberCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateMethod), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateConversionService.vb (1)
15
<ExportLanguageService(GetType(IGenerateConversionService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
15
<ExportLanguageService(GetType(IGenerateParameterizedMemberService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\GenerateVariable\VisualBasicGenerateVariableCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.GenerateVariable), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ImplementAbstractClass\VisualBasicImplementAbstractClassCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
,
src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ImplementInterface), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\ImplementInterface\VisualBasicImplementInterfaceService.vb (1)
18
<ExportLanguageService(GetType(IImplementInterfaceService), LanguageNames.
VisualBasic
), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicChangeToYieldCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ChangeToYield), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicConvertToIteratorCodeFixProvider.vb (1)
19
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.ConvertToIterator), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeFieldReadonly\VisualBasicMakeFieldReadonlyCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeFieldReadonly), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeMethodAsynchronous\VisualBasicMakeMethodAsynchronousCodeFixProvider.vb (1)
15
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.AddAsync), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeMethodSynchronous\VisualBasicMakeMethodSynchronousCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeMethodSynchronous), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeTypeAbstract\VisualBasicMakeTypeAbstractCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeTypeAbstract), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\MakeTypePartial\VisualBasicMakeTypePartialCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.MakeTypePartial), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\OrderModifiers\VisualBasicOrderModifiersCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.OrderModifiers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\PopulateSwitch\VisualBasicPopulateSwitchStatementCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
,
src\Analyzers\VisualBasic\CodeFixes\QualifyMemberAccess\VisualBasicQualifyMemberAccessCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.QualifyMemberAccess), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveAsyncModifier\VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveAsyncModifier), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryByVal\VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryByVal), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastCodeFixProvider.vb (1)
20
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryCast), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryImports\VisualBasicRemoveUnnecessaryImportsCodeFixProvider.vb (1)
14
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryImports), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnnecessaryParentheses\VisualBasicRemoveUnnecessaryParenthesesCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnnecessaryParentheses), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnusedMembers\VisualBasicRemoveUnusedMembersCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnusedMembers), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\RemoveUnusedParametersAndValues\VisualBasicRemoveUnusedValuesCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.RemoveUnusedValues), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\SimplifyInterpolation\VisualBasicSimplifyInterpolationCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyInterpolation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\SimplifyObjectCreation\VisualBasicSimplifyObjectCreationCodeFixProvider.vb (1)
16
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.SimplifyObjectCreation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UnsealClass\VisualBasicUnsealClassCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UnsealClass), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCoalesceExpression\VisualBasicUseCoalesceExpressionForIfNullStatementCheckCodeFixProvider.vb (1)
11
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCoalesceExpressionForIfNullStatementCheck), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCollectionInitializer), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseCompoundAssignment\VisualBasicUseCompoundAssignmentCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseCompoundAssignment), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseConditionalExpression\VisualBasicUseConditionalExpressionForAssignmentCodeFixProvider.vb (1)
20
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseConditionalExpressionForAssignment), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseConditionalExpression\VisualBasicUseConditionalExpressionForReturnCodeFixProvider.vb (1)
18
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseConditionalExpressionForReturn), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseInferredMemberName\VisualBasicUseInferredMemberNameCodeFixProvider.vb (1)
13
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseInferredMemberName), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseIsNotExpression\VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseIsNotExpression), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseIsNullCheck\VisualBasicUseIsNullCheckForReferenceEqualsCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseIsNullCheck), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseNullPropagation\VisualBasicUseNullPropagationCodeFixProvider.vb (1)
12
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseNullPropagation), [Shared]>
src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\VisualBasicUseObjectInitializerCodeFixProvider.vb (1)
19
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseObjectInitializer), [Shared]>
Structure\VisualBasicBlockStructureService.vb (2)
12
<ExportLanguageServiceFactory(GetType(BlockStructureService), LanguageNames.
VisualBasic
), [Shared]>
35
Return LanguageNames.
VisualBasic
TaskList\VisualBasicTaskListService.vb (1)
13
<ExportLanguageService(GetType(ITaskListService), LanguageNames.
VisualBasic
), [Shared]>
UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (1)
17
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeFixProviderNames.UseAutoProperty), [Shared]>
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
14
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.UseNamedArguments), [Shared]>
Wrapping\VisualBasicWrappingCodeRefactoringProvider.vb (1)
18
<ExportCodeRefactoringProvider(LanguageNames.
VisualBasic
, Name:=PredefinedCodeRefactoringProviderNames.Wrapping), [Shared]>
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (13)
CodeActions\AbstractVisualBasicCodeActionTest_NoEditor.vb (1)
47
Return LanguageNames.
VisualBasic
Diagnostics\AbstractVisualBasicDiagnosticProviderBasedUserDiagnosticTest_NoEditor.vb (1)
47
Return LanguageNames.
VisualBasic
Diagnostics\Configuration\ConfigureCodeStyle\BooleanCodeStyleOptionConfigurationTests.vb (1)
21
Return LanguageNames.
VisualBasic
Diagnostics\Configuration\ConfigureSeverity\CodeStyleOptionBasedSeverityConfigurationTests.vb (1)
21
Return LanguageNames.
VisualBasic
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.vb (1)
45
Return LanguageNames.
VisualBasic
Diagnostics\Configuration\ConfigureSeverity\MultipleCodeStyleOptionBasedConfigureSeverityTests.vb (1)
20
Return LanguageNames.
VisualBasic
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.vb (1)
37
Return LanguageNames.
VisualBasic
Diagnostics\Suppression\SuppressionTests.vb (1)
32
Return LanguageNames.
VisualBasic
EditAndContinue\Helpers\VisualBasicEditAndContinueTestVerifier.vb (1)
32
Return LanguageNames.
VisualBasic
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (1)
29
AddProject(ProjectInfo.Create(pid, VersionStamp.Create(), "proj", "proj", LanguageNames.
VisualBasic
)).GetProject(pid).
ExtractMethod\ExtractMethodTests.vb (3)
1112
options:=New OptionsCollection(LanguageNames.
VisualBasic
) From {
1150
options:=New OptionsCollection(LanguageNames.
VisualBasic
) From {
1180
options:=New OptionsCollection(LanguageNames.
VisualBasic
) From {
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1334
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Diagnostics\GetDiagnosticsTests.vb (2)
583
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
707
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
SourceGeneration\GeneratorDriverTests.vb (3)
746
<Generator(LanguageNames.
VisualBasic
)>
782
<Generator(LanguageNames.
VisualBasic
)>
793
<Generator(LanguageNames.
VisualBasic
)>
Microsoft.CodeAnalysis.VisualBasic.Workspaces (49)
CaseCorrection\VisualBasicCaseCorrectionServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ICaseCorrectionService), LanguageNames.
VisualBasic
), [Shared]>
Classification\SyntaxClassification\VisualBasicSyntaxClassificationService.vb (1)
16
<ExportLanguageService(GetType(ISyntaxClassificationService), LanguageNames.
VisualBasic
), Export, [Shared]>
Classification\VisualBasicClassificationService.vb (1)
13
<ExportLanguageService(GetType(IClassificationService), LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
13
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.AddMissingTokens, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\CaseCorrectionCodeCleanupProvider.vb (1)
15
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.CaseCorrection, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (1)
15
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.FixIncorrectTokens, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
19
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.NormalizeModifiersOrOperators, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (1)
17
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.ReduceTokens, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\Providers\RemoveUnnecessaryLineContinuationCodeCleanupProvider.vb (1)
16
<ExportCodeCleanupProvider(PredefinedCodeCleanupProviderNames.RemoveUnnecessaryLineContinuation, LanguageNames.
VisualBasic
), [Shared]>
CodeCleanup\VisualBasicCodeCleanerServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ICodeCleanerService), LanguageNames.
VisualBasic
), [Shared]>
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
17
<ExportLanguageService(GetType(SyntaxGenerator), LanguageNames.
VisualBasic
), [Shared]>
Diagnostics\VisualBasicDiagnosticPropertiesService.vb (1)
10
<ExportLanguageService(GetType(IDiagnosticPropertiesService), LanguageNames.
VisualBasic
), [Shared]>
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (1)
18
<ExportLanguageService(GetType(IDeclaredSymbolInfoFactoryService), LanguageNames.
VisualBasic
), [Shared]>
FindSymbols\VisualBasicReferenceFinder.vb (1)
13
<ExportLanguageService(GetType(ILanguageServiceReferenceFinder), LanguageNames.
VisualBasic
), [Shared]>
Formatting\VisualBasicFormattingService.vb (1)
10
<ExportLanguageService(GetType(IFormattingService), LanguageNames.
VisualBasic
), [Shared]>
Formatting\VisualBasicSyntaxFormattingService.vb (1)
14
<ExportLanguageService(GetType(ISyntaxFormattingService), LanguageNames.
VisualBasic
), [Shared]>
LanguageServices\FixAllSpanMappingService\VisualBasicFixAllSpanMappingService.vb (1)
13
<ExportLanguageService(GetType(IFixAllSpanMappingService), LanguageNames.
VisualBasic
), [Shared]>
ObsoleteSymbol\VisualBasicObsoleteSymbolService.vb (1)
14
<ExportLanguageService(GetType(IObsoleteSymbolService), LanguageNames.
VisualBasic
)>
OrganizeImports\VisualBasicOrganizeImportsService.vb (1)
11
<ExportLanguageService(GetType(IOrganizeImportsService), LanguageNames.
VisualBasic
), [Shared]>
ReassignedVariable\VisualBasicReassignedVariableService.vb (1)
11
<ExportLanguageService(GetType(IReassignedVariableService), LanguageNames.
VisualBasic
), [Shared]>
Recommendations\VisualBasicRecommendationService.vb (1)
13
<ExportLanguageService(GetType(IRecommendationService), LanguageNames.
VisualBasic
), [Shared]>
Rename\VisualBasicRenameRewriterLanguageServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(IRenameRewriterLanguageService), LanguageNames.
VisualBasic
), [Shared]>
SemanticModelReuse\VisualBasicSemanticModelReuseLanguageService.vb (1)
14
<ExportLanguageService(GetType(ISemanticModelReuseLanguageService), LanguageNames.
VisualBasic
), [Shared]>
Serialization\VisualBasicOptionsSerializationService.vb (1)
12
<ExportLanguageService(GetType(IOptionsSerializationService), LanguageNames.
VisualBasic
), [Shared]>
Simplification\VisualBasicSimplificationService.vb (1)
18
<ExportLanguageService(GetType(ISimplificationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ICodeGenerationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeRefactorings\VisualBasicRefactoringHelpersService.vb (1)
14
<ExportLanguageService(GetType(IRefactoringHelpersService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Editing\VisualBasicImportAdder.vb (1)
16
<ExportLanguageService(GetType(ImportAdderService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\EmbeddedLanguages\VirtualChars\VisualBasicVirtualCharLanguageServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(IVirtualCharLanguageService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextService.vb (1)
11
<ExportLanguageService(GetType(ISyntaxContextService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Indentation\VisualBasicIndentationService.vb (1)
16
<ExportLanguageService(GetType(IIndentationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\InitializeParameter\VisualBasicInitializeParameterService.vb (1)
14
<ExportLanguageService(GetType(IInitializeParameterService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicAddImportsService.vb (2)
19
<ExportLanguageService(GetType(IAddImportsService), LanguageNames.
VisualBasic
), [Shared]>
36
Return LanguageNames.
VisualBasic
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicBlockFactsService.vb (1)
11
<ExportLanguageService(GetType(IBlockFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicCommandLineParserService.vb (1)
12
<ExportLanguageService(GetType(ICommandLineParserService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicFileBannerFactsService.vb (1)
10
<ExportLanguageService(GetType(IFileBannerFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicGeneratedCodeRecognitionService.vb (1)
10
<ExportLanguageService(GetType(IGeneratedCodeRecognitionService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicHeaderFactsService.vb (1)
10
<ExportLanguageService(GetType(IHeaderFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicMoveDeclarationNearReferenceService.vb (1)
12
<ExportLanguageService(GetType(IMoveDeclarationNearReferenceService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicRemoveUnnecessaryImportsService.vb (1)
15
<ExportLanguageService(GetType(IRemoveUnnecessaryImportsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
16
<ExportLanguageServiceFactory(GetType(ISemanticFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSymbolDeclarationService.vb (1)
13
<ExportLanguageService(GetType(ISymbolDeclarationService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxFactsServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISyntaxFactsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
16
<ExportLanguageService(GetType(SyntaxGeneratorInternal), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxKindsServiceFactory.vb (1)
11
<ExportLanguageServiceFactory(GetType(ISyntaxKindsService), LanguageNames.
VisualBasic
), [Shared]>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.vb (1)
13
<ExportLanguageService(GetType(ITypeInferenceService), LanguageNames.
VisualBasic
), [Shared]>
Workspace\LanguageServices\VisualBasicCompilationFactoryService.vb (1)
12
<ExportLanguageService(GetType(ICompilationFactoryService), LanguageNames.
VisualBasic
), [Shared]>
Workspace\LanguageServices\VisualBasicSyntaxTreeFactoryService.vb (1)
14
<ExportLanguageService(GetType(ISyntaxTreeFactoryService), LanguageNames.
VisualBasic
), [Shared]>
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (20)
CaseCorrection\VisualBasicCaseCorrectionTestBase.vb (1)
16
Dim project = workspace.CurrentSolution.AddProject("Project", "Project.dll", LanguageNames.
VisualBasic
)
CodeGeneration\AddImportsTests.vb (1)
38
LanguageNames.
VisualBasic
,
CodeGeneration\SyntaxGeneratorTests.vb (1)
30
_g = SyntaxGenerator.GetGenerator(New AdhocWorkspace(), LanguageNames.
VisualBasic
)
Formatting\FormattingTests.vb (13)
1798
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1826
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1854
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1884
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1914
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1940
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1966
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
1992
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
2018
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
2044
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
2114
Dim optionSet = New OptionsCollection(LanguageNames.
VisualBasic
) From
3015
Dim project = workspace.CurrentSolution.AddProject("Project", "Project.dll", LanguageNames.
VisualBasic
)
4198
Dim project = solution.AddProject("proj", "proj", LanguageNames.
VisualBasic
)
Formatting\VisualBasicFormattingTestBase.vb (2)
57
Dim project = workspace.CurrentSolution.AddProject("Project", "Project.dll", LanguageNames.
VisualBasic
)
115
Return AssertFormatAsync(expected, code, spans, LanguageNames.
VisualBasic
, changedOptionSet, testWithTransformation, parseOptions)
OrganizeImports\OrganizeImportsTests.vb (2)
27
Dim project = workspace.CurrentSolution.AddProject("Project", "Project.dll", LanguageNames.
VisualBasic
)
48
Dim project = workspace.CurrentSolution.AddProject("Project", "Project.dll", LanguageNames.
VisualBasic
)
Microsoft.CodeAnalysis.Workspaces (30)
FindSymbols\FindReferences\Finders\ConstructorInitializerSymbolReferenceFinder.cs (3)
43
else if (document.Project.Language == LanguageNames.
VisualBasic
&& index.ProbablyContainsIdentifier("New"))
63
if (state.SemanticModel.Language == LanguageNames.
VisualBasic
)
93
else if (semanticModel.Language == LanguageNames.
VisualBasic
&& token.IsPartOfStructuredTrivia())
FindSymbols\FindReferences\FindReferenceCache.cs (1)
86
LanguageNames.
VisualBasic
=> StringComparer.OrdinalIgnoreCase,
Formatting\VisualBasic\VisualBasicSyntaxFormattingOptions.cs (1)
23
: base(options, LanguageNames.
VisualBasic
)
Remote\RemoteSupportedLanguages.cs (1)
12
=> language is LanguageNames.CSharp or LanguageNames.
VisualBasic
;
Shared\Extensions\SyntaxGeneratorExtensions.cs (1)
80
&& SymbolFinder.FindSourceDefinition(overriddenProperty, document.Project.Solution, cancellationToken) is { Language: LanguageNames.
VisualBasic
})
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\VisualBasic\VisualBasicCodeStyleOptions.cs (1)
24
return s_allOptionsBuilder.CreateEditorConfigOption(name, defaultValue, group, LanguageNames.
VisualBasic
, serializerFactory);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
591
var caseSensitive = containingType.Language != LanguageNames.
VisualBasic
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
148
Debug.Assert(parenthesizedOperation.Language == LanguageNames.
VisualBasic
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (4)
476
if (languageName == LanguageNames.
VisualBasic
)
486
if (languageName == LanguageNames.
VisualBasic
)
523
if (languageName == LanguageNames.
VisualBasic
)
533
if (languageName == LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
73
Debug.Assert(LanguageName is LanguageNames.
VisualBasic
== Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\VisualBasic\VisualBasicSimplifierOptions.cs (1)
22
: base(options, LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (2)
22
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
27
failureReason = $"({nameof(DynamicTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (2)
84
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
86
failureReason = $"({nameof(FunctionPointerTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (2)
27
if (reader.Compilation.Language == LanguageNames.
VisualBasic
)
29
failureReason = $"({nameof(PointerTypeSymbolKey)} is not supported in {LanguageNames.
VisualBasic
})";
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
21
: base(options, LanguageNames.
VisualBasic
)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
326
if (compilation.Language == LanguageNames.
VisualBasic
)
Tags\WellKnownTags.cs (2)
138
internal static readonly ImmutableArray<string> VisualBasicFile = [WellKnownTags.File, LanguageNames.
VisualBasic
];
141
internal static readonly ImmutableArray<string> VisualBasicProject = [WellKnownTags.Project, LanguageNames.
VisualBasic
];
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
225
LanguageNames.
VisualBasic
=> [new(rootPath, [".vb"])],
1138
LanguageNames.
VisualBasic
=> DirectoryNameEndsWith(fullPath, s_visualBasicCodeStyleAnalyzerSdkDirectory),
Workspace\Solution\ProjectState.cs (1)
359
LanguageNames.
VisualBasic
=> ".vb",
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
50
{ LanguageNames.
VisualBasic
, new() },
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (1)
458
LanguageNames.
VisualBasic
=> ".vb",
MSBuild\ProjectFileExtensionRegistry.cs (1)
28
{ "vbproj", LanguageNames.
VisualBasic
}
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (18)
MSBuildWorkspaceTestBase.cs (1)
118
var p2 = sol.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
NewlyCreatedProjectsFromDotNetNew.cs (3)
89
await AssertTemplateProjectLoadsCleanlyAsync(templateName, LanguageNames.
VisualBasic
, ignoredDiagnostics);
169
LanguageNames.
VisualBasic
=> "vbproj",
180
LanguageNames.
VisualBasic
=> "VB",
SolutionGeneration.cs (4)
86
document.FilePath = "Document" + fileIndex + (project.Language == LanguageNames.
VisualBasic
? ".vb" : ".cs");
190
var languageGuid = project.Language == LanguageNames.
VisualBasic
225
return Language == LanguageNames.
VisualBasic
? ".vbproj" : ".csproj";
244
if (Language == LanguageNames.
VisualBasic
)
VisualStudioMSBuildWorkspaceTests.cs (10)
75
var vbProject = solution.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
244
var p2 = sol.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
259
var p2 = sol.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
267
[InlineData(LanguageNames.
VisualBasic
)]
289
[InlineData(LanguageNames.
VisualBasic
)]
313
var p2 = sol.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
345
var p2 = p1.Solution.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
2569
var project = solution.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
2595
var vbproject = workspace.CurrentSolution.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
2962
var project = solution.Projects.First(p => p.Language == LanguageNames.
VisualBasic
);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (14)
Options\OptionsTestHelpers.cs (1)
114
=> option.IsPerLanguage ? [LanguageNames.CSharp, LanguageNames.
VisualBasic
] : [null];
Workspaces\TestWorkspace_Create.cs (1)
164
return Create(LanguageNames.
VisualBasic
, compilationOptions, parseOptions, files, sourceGeneratedFiles, composition, metadataReferences, openDocuments: openDocuments);
Workspaces\TestWorkspace_XmlConsumption.cs (11)
147
language == LanguageNames.
VisualBasic
? ".vbproj" : ("." + language));
235
return language is LanguageNames.CSharp or LanguageNames.
VisualBasic
280
else if (language == LanguageNames.
VisualBasic
)
316
else if (language == LanguageNames.
VisualBasic
)
353
language == LanguageNames.
VisualBasic
? "VisualBasicAssembly" + projectId :
381
if (GetLanguage(projectElement) == LanguageNames.
VisualBasic
)
401
return language is LanguageNames.CSharp or LanguageNames.
VisualBasic
532
if (language == LanguageNames.
VisualBasic
)
848
if (GetLanguage(element) == LanguageNames.
VisualBasic
)
862
if (GetLanguage(element) == LanguageNames.
VisualBasic
)
885
if (GetLanguage(element) == LanguageNames.
VisualBasic
)
Workspaces\TestWorkspace`1.cs (1)
230
else if (language == LanguageNames.
VisualBasic
)
Microsoft.CodeAnalysis.Workspaces.UnitTests (91)
CodeCleanup\AddMissingTokensTests.cs (1)
2718
var document = CreateDocument(codeWithoutMarker, LanguageNames.
VisualBasic
);
CodeCleanup\CodeCleanupTests.cs (10)
83
End Class", LanguageNames.
VisualBasic
);
92
End Class", LanguageNames.
VisualBasic
);
102
End Class", LanguageNames.
VisualBasic
);
112
End Class", LanguageNames.
VisualBasic
);
123
End Class", LanguageNames.
VisualBasic
);
146
End Class", LanguageNames.
VisualBasic
);
280
await VerifyRange(code, LanguageNames.
VisualBasic
);
299
var document = CreateDocument(code, LanguageNames.
VisualBasic
);
307
var newDocument = CreateDocument(code, LanguageNames.
VisualBasic
);
338
await VerifyRange(code, LanguageNames.
VisualBasic
);
CodeCleanup\FixIncorrectTokenTests.cs (1)
743
var document = CreateDocument(codeWithoutMarker, LanguageNames.
VisualBasic
);
CodeCleanup\NormalizeModifiersOrOperatorsTests.cs (1)
1019
var document = CreateDocument(codeWithoutMarker, LanguageNames.
VisualBasic
);
CodeCleanup\ReduceTokenTests.cs (1)
2006
var document = CreateDocument(codeWithoutMarker, LanguageNames.
VisualBasic
);
CodeCleanup\RemoveUnnecessaryLineContinuationTests.cs (1)
1441
var document = CreateDocument(codeWithoutMarker, LanguageNames.
VisualBasic
, langVersion);
CommandLineProject\CommandLineProjectTests.cs (2)
177
var info = CommandLineProject.CreateProjectInfo("TestProject", LanguageNames.
VisualBasic
, commandLine, baseDirectory: @"C:\ProjectDirectory");
189
var info = CommandLineProject.CreateProjectInfo("TestProject", LanguageNames.
VisualBasic
, commandLine, baseDirectory: @"C:\ProjectDirectory");
FindAllDeclarationsTests.cs (2)
141
.AddProject(vbId, "VB", "VB", LanguageNames.
VisualBasic
)
700
.AddProject(pid, "VBProject", "VBProject", LanguageNames.
VisualBasic
)
FindReferencesTests.cs (3)
173
.AddProject(prj1Id, "testDeclareReferences", "testAssembly", LanguageNames.
VisualBasic
)
212
.AddProject(prj1Id, "testDeclareReferences", "testAssembly", LanguageNames.
VisualBasic
)
572
var solution = GetSingleDocumentSolution(workspace, text, LanguageNames.
VisualBasic
);
Formatter\FormatterTests.cs (1)
114
var vbProject = workspace.AddProject("VB", LanguageNames.
VisualBasic
);
FormattingTests.cs (1)
64
var service = workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetService<ISyntaxFormattingService>();
LinkedFileDiffMerging\LinkedFileDiffMergingTests.TextMerging.cs (2)
210
[InlineData(LanguageNames.
VisualBasic
)]
232
[InlineData(LanguageNames.
VisualBasic
)]
Remote\ServiceDescriptorTests.cs (1)
224
[InlineData(LanguageNames.
VisualBasic
)]
SemanticModelReuse\SemanticModelReuseTests.cs (10)
267
var document = CreateDocument("", LanguageNames.
VisualBasic
);
283
var document = CreateDocument(source, LanguageNames.
VisualBasic
);
302
var document = CreateDocument(source, LanguageNames.
VisualBasic
);
328
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
355
var document1 = CreateDocument(source1, LanguageNames.
VisualBasic
);
394
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
434
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
478
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
521
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
552
var document1 = CreateDocument(source, LanguageNames.
VisualBasic
);
Simplifier\SimplifierTests.cs (2)
77
var vbProject = workspace.AddProject("VB", LanguageNames.
VisualBasic
);
114
var languages = option.IsPerLanguage ? [LanguageNames.CSharp, LanguageNames.
VisualBasic
] : new string?[] { null };
SolutionTests\ProjectSemanticVersionTests.cs (8)
153
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
167
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
181
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
195
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
209
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
223
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
237
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
251
var document = AddEmptyProject(workspace.CurrentSolution, LanguageNames.
VisualBasic
)
SolutionTests\SolutionTests.cs (27)
844
.AddProject(projectId2, "proj2", "proj2.dll", LanguageNames.
VisualBasic
).WithProjectParseOptions(projectId2, parseOptions2)
1380
language: LanguageNames.
VisualBasic
,
1732
public void WithProjectCompilationOptionsReplacesSyntaxTreeOptionProvider([CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
)] string languageName)
1811
[InlineData("#if DEBUG", false, LanguageNames.
VisualBasic
)]
1812
[InlineData(@"#region ""goo""", true, LanguageNames.
VisualBasic
)]
1813
[InlineData(@"#ElseIf DEBUG", true, LanguageNames.
VisualBasic
)]
1814
[InlineData("' File", true, LanguageNames.
VisualBasic
)]
2825
.AddProject(pm2, "bar", "bar.dll", LanguageNames.
VisualBasic
)
3213
[InlineData(LanguageNames.
VisualBasic
)]
3669
.AddProject(pid, "goo", "goo.dll", LanguageNames.
VisualBasic
)
3762
[InlineData(LanguageNames.
VisualBasic
)]
3959
.AddProject(pid1, "GooA", "Goo.dll", LanguageNames.
VisualBasic
)
3962
.AddProject(pid2, "GooB", "Goo2.dll", LanguageNames.
VisualBasic
)
4030
LanguageNames.
VisualBasic
,
4060
LanguageNames.
VisualBasic
,
4232
LanguageNames.
VisualBasic
,
4668
public async Task TestAddingEditorConfigFileWithDiagnosticSeverity([CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
)] string languageName)
4704
public async Task TestAddingAndRemovingEditorConfigFileWithDiagnosticSeverity([CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
)] string languageName)
4745
public async Task TestChangingAnEditorConfigFile([CombinatorialValues(LanguageNames.CSharp, LanguageNames.
VisualBasic
)] string languageName)
5273
ProjectInfo.Create(vbProjectId, VersionStamp.Default, "VB1", "VB1", LanguageNames.
VisualBasic
)
5283
(LanguageNames.
VisualBasic
, 1),
5291
(LanguageNames.
VisualBasic
, 1),
5337
LanguageNames.
VisualBasic
,
5346
LanguageNames.
VisualBasic
,
5376
LanguageNames.
VisualBasic
,
5400
var s2 = s1.AddProject("P1", "A1", LanguageNames.
VisualBasic
).Solution;
5412
Assert.Equal(defaultValue, optionSet.GetOption(option, LanguageNames.
VisualBasic
));
SymbolKeyTests.cs (14)
196
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
211
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
226
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
241
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
256
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
271
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
317
var compilation = GetCompilation(source, LanguageNames.
VisualBasic
);
1123
var compilation1 = GetCompilation(source, LanguageNames.
VisualBasic
, "File1.vb", []);
1124
var compilation2 = GetCompilation(source, LanguageNames.
VisualBasic
, "File2.vb", []);
1216
var compilation1 = GetCompilation(source1, LanguageNames.
VisualBasic
, "File1.vb");
1217
var compilation2 = GetCompilation(source2, LanguageNames.
VisualBasic
, "File2.vb",
1311
var compilation2 = GetCompilation("", LanguageNames.
VisualBasic
);
1484
else if (language == LanguageNames.
VisualBasic
)
1556
if (node.Language == LanguageNames.
VisualBasic
)
SyntaxReferenceTests.cs (1)
41
.AddProject(pid, "Test", "Test.dll", LanguageNames.
VisualBasic
)
WorkspaceTests\AdhocWorkspaceTests.cs (1)
123
language: LanguageNames.
VisualBasic
,
WorkspaceTests\WorkspaceReferenceTests.cs (1)
95
LanguageNames.
VisualBasic
,
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ShapeBreakingDiagnosticSuppressor.cs (1)
14
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
Microsoft.VisualStudio.LanguageServices (22)
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (2)
182
case LanguageNames.
VisualBasic
:
235
case LanguageNames.
VisualBasic
:
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (3)
103
.Where(p => p.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
)
209
var visualBasicAnalysisScope = globalOptions.GetOption(SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
);
212
var containsVisualBasicProject = solution.Projects.Any(static project => project.Language == LanguageNames.
VisualBasic
);
EditorConfigSettings\SettingsEditorFactory.cs (1)
84
if (!_workspace.CurrentSolution.Projects.Any(p => p.Language is LanguageNames.CSharp or LanguageNames.
VisualBasic
))
GenerateType\GenerateTypeDialogViewModel.cs (3)
172
Debug.Assert(languageName == LanguageNames.
VisualBasic
, "Currently only C# and VB are supported");
193
PopulateAccessList("Friend", Accessibility.Internal, LanguageNames.
VisualBasic
);
197
PopulateAccessList("Public", Accessibility.Public, LanguageNames.
VisualBasic
);
Implementation\HierarchyItemToProjectIdMap.cs (1)
45
and not LanguageNames.
VisualBasic
)
Library\ObjectBrowser\Lists\ProjectListItem.cs (1)
29
case LanguageNames.
VisualBasic
:
Options\VisualStudioOptionStorage.cs (2)
52
=> (VisualBasicKey != null && language == LanguageNames.
VisualBasic
) ? VisualBasicKey : SubstituteLanguage(Key, language);
58
LanguageNames.
VisualBasic
=> "VisualBasic",
Packaging\PackageInstallerServiceFactory.cs (1)
555
LanguageNames.
VisualBasic
)
PreviewPane\PreviewPaneService.cs (2)
118
else if (optionLanguage == LanguageNames.
VisualBasic
)
129
else if (optionLanguage == LanguageNames.
VisualBasic
)
Progression\GraphNodeIdCreation.cs (1)
527
if (currentNode != null && symbol.Language == LanguageNames.
VisualBasic
)
ProjectSystem\VisualStudioProjectManagementService.cs (1)
35
if (project.Language == LanguageNames.
VisualBasic
)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
1324
LanguageNames.
VisualBasic
=> ".vb",
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
185
return entry.TryGetValue(UnusedReferencesTableKeyNames.Language, out string languageName) && languageName == LanguageNames.
VisualBasic
Venus\ContainedDocument.cs (2)
986
if (_project.Language == LanguageNames.
VisualBasic
)
1062
if (_project.Language == LanguageNames.
VisualBasic
)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\RemoteLanguageServiceWorkspace.cs (1)
358
return LanguageNames.
VisualBasic
;
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
UnifiedSettings\UnifiedSettingsTests.vb (1)
163
Case LanguageNames.
VisualBasic
UnifiedSettings\UnifiedSettingsTests_UnifiedSettingsStorage.vb (1)
50
Case LanguageNames.
VisualBasic
Microsoft.VisualStudio.LanguageServices.UnitTests (103)
AbstractTextViewFilterTests.vb (2)
185
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
216
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
CodeModel\VisualBasic\CodeAccessorFunctionTests.vb (1)
578
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeAttributeTests.vb (1)
1271
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeClassTests.vb (1)
3286
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeDelegateTests.vb (1)
616
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeEnumTests.vb (1)
337
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeEventTests.vb (1)
1194
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeFunctionTests.vb (1)
2898
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeImportTests.vb (1)
302
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeInterfaceTests.vb (1)
455
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeNamespaceTests.vb (1)
981
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeParameterTests.vb (1)
1786
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodePropertyTests.vb (1)
1559
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeStructTests.vb (1)
411
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\CodeVariableTests.vb (1)
2188
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\EventCollectorTests.vb (1)
2378
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\ExternalCodeClassTests.vb (1)
188
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\ExternalCodeFunctionTests.vb (1)
47
Protected Overrides ReadOnly Property LanguageName As String = LanguageNames.
VisualBasic
CodeModel\VisualBasic\ExternalCodeParameterTests.vb (1)
123
Protected Overrides ReadOnly Property LanguageName As String = LanguageNames.
VisualBasic
CodeModel\VisualBasic\ExternalCodePropertyTests.vb (1)
192
Protected Overrides ReadOnly Property LanguageName As String = LanguageNames.
VisualBasic
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
1281
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\ImplementsStatementTests.vb (1)
131
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\InheritsStatementTests.vb (1)
131
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\OptionsStatementTests.vb (1)
117
Return LanguageNames.
VisualBasic
CodeModel\VisualBasic\RootCodeModelTests.vb (1)
278
Return LanguageNames.
VisualBasic
Completion\TestVisualBasicSnippetInfoService.vb (1)
15
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.
VisualBasic
, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Completion\VisualBasicCompletionSnippetNoteTests.vb (1)
87
Dim testSnippetInfoService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.
VisualBasic
).GetService(Of ISnippetInfoService)(), TestVisualBasicSnippetInfoService)
Completion\VisualBasicMockCompletionProvider.vb (2)
11
<ExportCompletionProvider(NameOf(VisualBasicMockCompletionProvider), LanguageNames.
VisualBasic
)>
24
Return LanguageNames.
VisualBasic
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (2)
180
language:=LanguageNames.
VisualBasic
)
295
language:=LanguageNames.
VisualBasic
)
GenerateType\GenerateTypeViewModelTests.vb (6)
338
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Attribute, isAttribute:=True)
353
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Class, isPublicOnlyAccessibility:=False, isAttribute:=True)
364
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Class, isPublicOnlyAccessibility:=False, isAttribute:=True)
432
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Interface, isPublicOnlyAccessibility:=False)
447
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Class, isPublicOnlyAccessibility:=True)
464
Dim viewModel = Await GetViewModelAsync(documentContentMarkup, LanguageNames.
VisualBasic
, typeKindvalue:=TypeKindOptions.Interface, isPublicOnlyAccessibility:=True)
LanguageBlockTests.vb (9)
27
", LanguageNames.
VisualBasic
)
42
", LanguageNames.
VisualBasic
)
56
", LanguageNames.
VisualBasic
, "N")
70
", LanguageNames.
VisualBasic
, "Program")
83
", LanguageNames.
VisualBasic
, "Sub Program.M()")
96
", LanguageNames.
VisualBasic
, "Function Program.F() As Integer")
111
", LanguageNames.
VisualBasic
, "Property Program.P() As Integer")
229
", LanguageNames.
VisualBasic
, SourceCodeKind.Script)
234
", LanguageNames.
VisualBasic
, SourceCodeKind.Regular)
MoveStaticMembers\MoveStaticMembersViewModelTest.vb (3)
49
Dim language = If(cSharp, LanguageNames.CSharp, LanguageNames.
VisualBasic
)
548
Dim cancelledOptions = VisualStudioMoveStaticMembersOptionsService.GenerateOptions(LanguageNames.
VisualBasic
, viewModel, False)
551
Dim options = VisualStudioMoveStaticMembersOptionsService.GenerateOptions(LanguageNames.
VisualBasic
, viewModel, True)
ObjectBrowser\VisualBasic\ObjectBrowerTests.vb (1)
20
Return LanguageNames.
VisualBasic
Options\BasicEditorConfigGeneratorTests.vb (5)
164
Dim editorConfigOptions = workspace.GetService(Of EditorConfigOptionsEnumerator).GetOptions(LanguageNames.
VisualBasic
)
165
Dim actualText = EditorConfigFileGenerator.Generate(editorConfigOptions, options, LanguageNames.
VisualBasic
)
174
options.SetOption(CodeStyleOptions2.PreferExplicitTupleNames, LanguageNames.
VisualBasic
, New CodeStyleOption2(Of Boolean)(False, NotificationOption2.[Error]))
315
Dim editorConfigOptions = workspace.GetService(Of EditorConfigOptionsEnumerator).GetOptions(LanguageNames.
VisualBasic
)
316
Dim actualText = EditorConfigFileGenerator.Generate(editorConfigOptions, options, LanguageNames.
VisualBasic
)
Progression\GraphNodeCreationTests.vb (1)
183
LanguageNames.
VisualBasic
)
Progression\GraphNodeIdTests.vb (1)
129
LanguageNames.
VisualBasic
,
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (1)
253
"Project", LanguageNames.
VisualBasic
, CancellationToken.None)
RQName\RQNameTests.vb (1)
145
Await TestWorkerAsync(markup, LanguageNames.
VisualBasic
, expectedRQName)
Snippets\CSharpSnippetCommandHandlerTests.vb (1)
106
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
Snippets\SnippetCompletionProviderTests.vb (10)
22
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
45
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
68
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
82
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
85
workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
98
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
101
workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
114
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, extraParts:={GetType(MockSnippetInfoService)})
117
workspace.GlobalOptions.SetGlobalOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
, SnippetsRule.AlwaysInclude)
124
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.
VisualBasic
, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Snippets\SnippetTestState.vb (1)
225
<ExportLanguageService(GetType(ISnippetExpansionLanguageHelper), LanguageNames.
VisualBasic
, ServiceLayer.Test), [Shared]>
Snippets\VisualBasicSnippetCommandHandlerTests.vb (23)
19
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
33
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
45
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, startActiveSession:=True)
57
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, startActiveSession:=True)
69
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
81
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
103
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
126
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
140
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, startActiveSession:=True)
161
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
182
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, startActiveSession:=True)
203
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
225
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
, startActiveSession:=True)
246
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
270
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
287
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
304
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
321
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
336
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
352
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
364
Dim testState = SnippetTestState.CreateTestState(markup, LanguageNames.
VisualBasic
)
376
Dim testState = SnippetTestState.CreateSubmissionTestState(markup, LanguageNames.
VisualBasic
)
390
Dim testState = SnippetTestState.CreateSubmissionTestState(markup, LanguageNames.
VisualBasic
)
Snippets\VisualBasicSnippetExpansionClientTests.vb (6)
212
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
240
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
272
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
300
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
331
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
378
<Project Language=<%= LanguageNames.
VisualBasic
%> CommonReferences="true">
SolutionExplorer\CpsDiagnosticItemSourceTests.vb (1)
36
analyzers.Add(LanguageNames.
VisualBasic
, ImmutableArray.Create(Of DiagnosticAnalyzer)(New Microsoft.CodeAnalysis.VisualBasic.UseAutoProperty.VisualBasicUseAutoPropertyAnalyzer()))
UnifiedSettings\VisualBasicUnifiedSettingsTests.vb (1)
90
TestUnifiedSettingsCategory(registrationJsonObject, categoryBasePath:="textEditor.basic.intellisense", languageName:=LanguageNames.
VisualBasic
, pkgDefFile)
Microsoft.VisualStudio.LanguageServices.VisualBasic (106)
ChangeSignature\VisualBasicChangeSignatureViewModelFactoryService.vb (1)
12
<ExportLanguageService(GetType(IChangeSignatureViewModelFactoryService), LanguageNames.
VisualBasic
), [Shared]>
CodeModel\VisualBasicCodeModelNavigationPointServiceFactory.vb (1)
13
<ExportLanguageServiceFactory(GetType(ICodeModelNavigationPointService), LanguageNames.
VisualBasic
), [Shared]>
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (1)
28
Return LanguageNames.
VisualBasic
CodeModel\VisualBasicCodeModelServiceFactory.vb (1)
17
<ExportLanguageServiceFactory(GetType(ICodeModelService), LanguageNames.
VisualBasic
), [Shared]>
Help\VisualBasicHelpContextService.vb (1)
18
<ExportLanguageService(GetType(IHelpContextService), LanguageNames.
VisualBasic
), [Shared]>
LanguageService\VisualBasicCreateServicesOnTextViewConnection.vb (1)
31
MyBase.New(workspace, globalOptions, listenerProvider, threadingContext, languageName:=LanguageNames.
VisualBasic
)
LanguageService\VisualBasicEditorFactory.vb (1)
25
Protected Overrides ReadOnly Property LanguageName As String = LanguageNames.
VisualBasic
LanguageService\VisualBasicLanguageService.vb (1)
53
Return LanguageNames.
VisualBasic
LanguageService\VisualBasicPackage.vb (2)
144
LanguageNames.
VisualBasic
,
150
Return LanguageNames.
VisualBasic
ObjectBrowser\ObjectBrowserLibraryManager.vb (1)
15
MyBase.New(LanguageNames.
VisualBasic
, Guids.VisualBasicLibraryId, serviceProvider, componentModel, workspace)
ObjectBrowser\VisualBasicLibraryService.vb (1)
12
<ExportLanguageService(GetType(ILibraryService), LanguageNames.
VisualBasic
), [Shared]>
Options\AdvancedOptionPageControl.xaml.vb (63)
58
BindToOption(Run_background_code_analysis_for, SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
, label:=Run_background_code_analysis_for_label)
60
BindToOption(Show_compiler_errors_and_warnings_for, SolutionCrawlerOptionsStorage.CompilerDiagnosticsScopeOption, LanguageNames.
VisualBasic
)
61
BindToOption(DisplayDiagnosticsInline, InlineDiagnosticsOptionsStorage.EnableInlineDiagnostics, LanguageNames.
VisualBasic
)
62
BindToOption(at_the_end_of_the_line_of_code, InlineDiagnosticsOptionsStorage.Location, InlineDiagnosticsLocations.PlacedAtEndOfCode, LanguageNames.
VisualBasic
)
63
BindToOption(on_the_right_edge_of_the_editor_window, InlineDiagnosticsOptionsStorage.Location, InlineDiagnosticsLocations.PlacedAtEndOfEditor, LanguageNames.
VisualBasic
)
108
BindToOption(PlaceSystemNamespaceFirst, GenerationOptions.PlaceSystemNamespaceFirst, LanguageNames.
VisualBasic
)
109
BindToOption(SeparateImportGroups, GenerationOptions.SeparateImportDirectiveGroups, LanguageNames.
VisualBasic
)
110
BindToOption(SuggestForTypesInReferenceAssemblies, SymbolSearchOptionsStorage.SearchReferenceAssemblies, LanguageNames.
VisualBasic
)
111
BindToOption(SuggestForTypesInNuGetPackages, SymbolSearchOptionsStorage.SearchNuGetPackages, LanguageNames.
VisualBasic
)
112
BindToOption(AddMissingImportsOnPaste, AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.
VisualBasic
)
115
BindToOption(EnableHighlightReferences, ReferenceHighlightingOptionsStorage.ReferenceHighlighting, LanguageNames.
VisualBasic
)
116
BindToOption(EnableHighlightKeywords, KeywordHighlightingOptionsStorage.KeywordHighlighting, LanguageNames.
VisualBasic
)
119
BindToOption(EnableOutlining, OutliningOptionsStorage.Outlining, LanguageNames.
VisualBasic
)
120
BindToOption(Collapse_regions_on_file_open, BlockStructureOptionsStorage.CollapseRegionsWhenFirstOpened, LanguageNames.
VisualBasic
)
121
BindToOption(Collapse_imports_on_file_open, BlockStructureOptionsStorage.CollapseImportsWhenFirstOpened, LanguageNames.
VisualBasic
)
122
BindToOption(Collapse_sourcelink_embedded_decompiled_files_on_open, BlockStructureOptionsStorage.CollapseSourceLinkEmbeddedDecompiledFilesWhenFirstOpened, LanguageNames.
VisualBasic
)
123
BindToOption(Collapse_metadata_signature_files_on_open, BlockStructureOptionsStorage.CollapseMetadataSignatureFilesWhenFirstOpened, LanguageNames.
VisualBasic
)
124
BindToOption(DisplayLineSeparators, LineSeparatorsOptionsStorage.LineSeparator, LanguageNames.
VisualBasic
)
125
BindToOption(Show_outlining_for_declaration_level_constructs, BlockStructureOptionsStorage.ShowOutliningForDeclarationLevelConstructs, LanguageNames.
VisualBasic
)
126
BindToOption(Show_outlining_for_code_level_constructs, BlockStructureOptionsStorage.ShowOutliningForCodeLevelConstructs, LanguageNames.
VisualBasic
)
127
BindToOption(Show_outlining_for_comments_and_preprocessor_regions, BlockStructureOptionsStorage.ShowOutliningForCommentsAndPreprocessorRegions, LanguageNames.
VisualBasic
)
128
BindToOption(Collapse_regions_when_collapsing_to_definitions, BlockStructureOptionsStorage.CollapseRegionsWhenCollapsingToDefinitions, LanguageNames.
VisualBasic
)
131
BindToOption(Fade_out_unused_imports, FadingOptions.FadeOutUnusedImports, LanguageNames.
VisualBasic
)
132
BindToOption(Fade_out_unused_members, FadingOptions.FadeOutUnusedMembers, LanguageNames.
VisualBasic
)
135
BindToOption(Show_guides_for_declaration_level_constructs, BlockStructureOptionsStorage.ShowBlockStructureGuidesForDeclarationLevelConstructs, LanguageNames.
VisualBasic
)
136
BindToOption(Show_guides_for_code_level_constructs, BlockStructureOptionsStorage.ShowBlockStructureGuidesForCodeLevelConstructs, LanguageNames.
VisualBasic
)
137
BindToOption(Show_guides_for_comments_and_preprocessor_regions, BlockStructureOptionsStorage.ShowBlockStructureGuidesForCommentsAndPreprocessorRegions, LanguageNames.
VisualBasic
)
140
BindToOption(GenerateXmlDocCommentsForTripleApostrophes, DocumentationCommentOptionsStorage.AutoXmlDocCommentGeneration, LanguageNames.
VisualBasic
)
141
BindToOption(InsertApostropheAtTheStartOfNewLinesWhenWritingApostropheComments, SplitCommentOptionsStorage.Enabled, LanguageNames.
VisualBasic
)
144
BindToOption(EnableEndConstruct, EndConstructGenerationOptionsStorage.EndConstruct, LanguageNames.
VisualBasic
)
145
BindToOption(EnableLineCommit, LineCommitOptionsStorage.PrettyListing, LanguageNames.
VisualBasic
)
146
BindToOption(AutomaticInsertionOfInterfaceAndMustOverrideMembers, AutomaticInsertionOfAbstractOrInterfaceMembersOptionsStorage.AutomaticInsertionOfAbstractOrInterfaceMembers, LanguageNames.
VisualBasic
)
147
BindToOption(RenameTrackingPreview, RenameTrackingOptionsStorage.RenameTrackingPreview, LanguageNames.
VisualBasic
)
148
BindToOption(ShowRemarksInQuickInfo, QuickInfoOptionsStorage.ShowRemarksInQuickInfo, LanguageNames.
VisualBasic
)
149
BindToOption(Report_invalid_placeholders_in_string_dot_format_calls, FormatStringValidationOptionStorage.ReportInvalidPlaceholdersInStringDotFormatCalls, LanguageNames.
VisualBasic
)
150
BindToOption(Underline_reassigned_variables, ClassificationOptionsStorage.ClassifyReassignedVariables, LanguageNames.
VisualBasic
)
151
BindToOption(Strike_out_obsolete_symbols, ClassificationOptionsStorage.ClassifyObsoleteSymbols, LanguageNames.
VisualBasic
)
154
BindToOption(NavigateToObjectBrowser, VisualStudioNavigationOptionsStorage.NavigateToObjectBrowser, LanguageNames.
VisualBasic
)
157
BindToOption(Colorize_regular_expressions, ClassificationOptionsStorage.ColorizeRegexPatterns, LanguageNames.
VisualBasic
)
158
BindToOption(Report_invalid_regular_expressions, RegexOptionsStorage.ReportInvalidRegexPatterns, LanguageNames.
VisualBasic
)
159
BindToOption(Highlight_related_regular_expression_components_under_cursor, HighlightingOptionsStorage.HighlightRelatedRegexComponentsUnderCursor, LanguageNames.
VisualBasic
)
160
BindToOption(Show_completion_list, CompletionOptionsStorage.ProvideRegexCompletions, LanguageNames.
VisualBasic
)
162
BindToOption(Colorize_JSON_strings, ClassificationOptionsStorage.ColorizeJsonPatterns, LanguageNames.
VisualBasic
)
163
BindToOption(Report_invalid_JSON_strings, JsonDetectionOptionsStorage.ReportInvalidJsonPatterns, LanguageNames.
VisualBasic
)
164
BindToOption(Highlight_related_JSON_components_under_cursor, HighlightingOptionsStorage.HighlightRelatedJsonComponentsUnderCursor, LanguageNames.
VisualBasic
)
170
BindToOption(with_other_members_of_the_same_kind, ImplementTypeOptionsStorage.InsertionBehavior, ImplementTypeInsertionBehavior.WithOtherMembersOfTheSameKind, LanguageNames.
VisualBasic
)
171
BindToOption(at_the_end, ImplementTypeOptionsStorage.InsertionBehavior, ImplementTypeInsertionBehavior.AtTheEnd, LanguageNames.
VisualBasic
)
173
BindToOption(prefer_throwing_properties, ImplementTypeOptionsStorage.PropertyGenerationBehavior, ImplementTypePropertyGenerationBehavior.PreferThrowingProperties, LanguageNames.
VisualBasic
)
174
BindToOption(prefer_auto_properties, ImplementTypeOptionsStorage.PropertyGenerationBehavior, ImplementTypePropertyGenerationBehavior.PreferAutoProperties, LanguageNames.
VisualBasic
)
178
BindToOption(ColorHints, InlineHintsViewOptionsStorage.ColorHints, LanguageNames.
VisualBasic
)
180
BindToOption(DisplayInlineParameterNameHints, InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.
VisualBasic
)
181
BindToOption(ShowHintsForLiterals, InlineHintsOptionsStorage.ForLiteralParameters, LanguageNames.
VisualBasic
)
182
BindToOption(ShowHintsForNewExpressions, InlineHintsOptionsStorage.ForObjectCreationParameters, LanguageNames.
VisualBasic
)
183
BindToOption(ShowHintsForEverythingElse, InlineHintsOptionsStorage.ForOtherParameters, LanguageNames.
VisualBasic
)
184
BindToOption(ShowHintsForIndexers, InlineHintsOptionsStorage.ForIndexerParameters, LanguageNames.
VisualBasic
)
185
BindToOption(SuppressHintsWhenParameterNameMatchesTheMethodsIntent, InlineHintsOptionsStorage.SuppressForParametersThatMatchMethodIntent, LanguageNames.
VisualBasic
)
186
BindToOption(SuppressHintsWhenParameterNamesDifferOnlyBySuffix, InlineHintsOptionsStorage.SuppressForParametersThatDifferOnlyBySuffix, LanguageNames.
VisualBasic
)
187
BindToOption(SuppressHintsWhenParameterNamesMatchArgumentNames, InlineHintsOptionsStorage.SuppressForParametersThatMatchArgumentName, LanguageNames.
VisualBasic
)
190
BindToOption(ShowInheritanceMargin, InheritanceMarginOptionsStorage.ShowInheritanceMargin, LanguageNames.
VisualBasic
, Function() True)
192
BindToOption(IncludeGlobalImports, InheritanceMarginOptionsStorage.InheritanceMarginIncludeGlobalImports, LanguageNames.
VisualBasic
)
212
Dim enabledForParameters = Me.OptionStore.GetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.
VisualBasic
) <> False
223
Me.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.
VisualBasic
, True)
228
Me.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.
VisualBasic
, False)
Options\AutomationObject\AutomationObject.vb (1)
16
MyBase.New(legacyGlobalOptions, LanguageNames.
VisualBasic
)
Options\Formatting\CodeStylePage.vb (2)
21
enumerator.GetOptions(LanguageNames.
VisualBasic
),
22
LanguageNames.
VisualBasic
)
Options\IntelliSenseOptionPageControl.xaml.vb (14)
17
BindToOption(Show_completion_list_after_a_character_is_typed, CompletionOptionsStorage.TriggerOnTypingLetters, LanguageNames.
VisualBasic
)
18
BindToOption(Show_completion_list_after_a_character_is_deleted, CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.
VisualBasic
, onNullValue:=function() True)
20
BindToOption(Highlight_matching_portions_of_completion_list_items, CompletionViewOptionsStorage.HighlightMatchingPortionsOfCompletionListItems, LanguageNames.
VisualBasic
)
21
BindToOption(Show_completion_item_filters, CompletionViewOptionsStorage.ShowCompletionItemFilters, LanguageNames.
VisualBasic
)
23
BindToOption(Never_include_snippets, CompletionOptionsStorage.SnippetsBehavior, SnippetsRule.NeverInclude, LanguageNames.
VisualBasic
)
24
BindToOption(Always_include_snippets, CompletionOptionsStorage.SnippetsBehavior, SnippetsRule.AlwaysInclude, LanguageNames.
VisualBasic
)
25
BindToOption(Include_snippets_when_question_Tab_is_typed_after_an_identifier, CompletionOptionsStorage.SnippetsBehavior, SnippetsRule.IncludeAfterTypingIdentifierQuestionTab, LanguageNames.
VisualBasic
)
28
BindToOption(Never_add_new_line_on_enter, CompletionOptionsStorage.EnterKeyBehavior, EnterKeyRule.Never, LanguageNames.
VisualBasic
)
29
BindToOption(Only_add_new_line_on_enter_with_whole_word, CompletionOptionsStorage.EnterKeyBehavior, EnterKeyRule.AfterFullyTypedWord, LanguageNames.
VisualBasic
)
30
BindToOption(Always_add_new_line_on_enter, CompletionOptionsStorage.EnterKeyBehavior, EnterKeyRule.Always, LanguageNames.
VisualBasic
)
33
BindToOption(Show_items_from_unimported_namespaces, CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.
VisualBasic
, onNullValue:=function() True)
34
BindToOption(Tab_twice_to_insert_arguments, CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, LanguageNames.
VisualBasic
, onNullValue:=function() False)
38
Dim snippetValue = Me.OptionStore.GetOption(CompletionOptionsStorage.SnippetsBehavior, LanguageNames.
VisualBasic
)
45
Dim enterKeyRule = Me.OptionStore.GetOption(CompletionOptionsStorage.EnterKeyBehavior, LanguageNames.
VisualBasic
)
Options\NamingStylesOptionPage.vb (1)
26
_grid = New NamingStyleOptionPageControl(optionStore, _notificationService, LanguageNames.
VisualBasic
)
Options\StyleViewModel.vb (1)
793
MyBase.New(optionStore, serviceProvider, LanguageNames.
VisualBasic
)
Progression\VisualBasicProgressionLanguageService.vb (1)
15
<ExportLanguageService(GetType(IProgressionLanguageService), LanguageNames.
VisualBasic
), [Shared]>
ProjectSystemShim\VisualBasicEntryPointFinderService.vb (1)
11
<ExportLanguageService(GetType(IEntryPointFinderService), LanguageNames.
VisualBasic
), [Shared]>
ProjectSystemShim\VisualBasicProject.vb (1)
45
MyBase.New(projectSystemName, hierarchy, LanguageNames.
VisualBasic
, isIntellisenseProject, serviceProvider, threadingContext, "VB")
ProjectSystemShim\VisualBasicProjectExistsUIContextProviderLanguageService.vb (1)
12
<ExportLanguageService(GetType(IProjectExistsUIContextProviderLanguageService), LanguageNames.
VisualBasic
), [Shared]>
Snippets\SnippetCompletionProvider.vb (2)
24
<ExportCompletionProviderMef1("SnippetCompletionProvider", LanguageNames.
VisualBasic
)>
36
Return LanguageNames.
VisualBasic
Snippets\VisualBasicSnippetExpansionLanguageHelper.vb (1)
24
<ExportLanguageService(GetType(ISnippetExpansionLanguageHelper), LanguageNames.
VisualBasic
), [Shared]>
Snippets\VisualBasicSnippetInfoService.vb (1)
15
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.
VisualBasic
), [Shared]>
Utilities\VisualBasicCompilationOptionsChangingService.vb (1)
11
<ExportLanguageService(GetType(ICompilationOptionsChangingService), LanguageNames.
VisualBasic
), [Shared]>
Utilities\VisualBasicParseOptionsChangingService.vb (1)
11
<ExportLanguageService(GetType(IParseOptionsChangingService), LanguageNames.
VisualBasic
), [Shared]>
Venus\VisualBasicAdditionalFormattingRuleLanguageService.vb (1)
14
<ExportLanguageService(GetType(IAdditionalFormattingRuleLanguageService), LanguageNames.
VisualBasic
), [Shared]>
Venus\VisualBasicVenusBraceMatchingService.vb (1)
14
<ExportLanguageService(GetType(IVenusBraceMatchingService), LanguageNames.
VisualBasic
), [Shared]>
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
121
AddPerLanguageOption(panel, option, LanguageNames.
VisualBasic
);
Roslyn.VisualStudio.Next.UnitTests (15)
Remote\SnapshotSerializationTests.cs (1)
53
var project2 = document1.Project.Solution.AddProject("Project2", "Project2.dll", LanguageNames.
VisualBasic
);
Services\ServiceHubServicesTests.cs (2)
1670
solution = AddProject(solution, LanguageNames.
VisualBasic
,
1709
solution = AddProject(solution, LanguageNames.
VisualBasic
,
Services\SolutionServiceTests.cs (8)
174
.Add(LanguageNames.
VisualBasic
, StructuredAnalyzerConfigOptions.Create(new DictionaryAnalyzerConfigOptions(ImmutableDictionary<string, string>.Empty
225
.AddProject("VB1", "VB1", LanguageNames.
VisualBasic
).Solution;
233
(LanguageNames.
VisualBasic
, 1),
498
.WithChangedOption(FormattingOptions.NewLine, LanguageNames.
VisualBasic
, newOptionValue));
787
var project2 = solution.AddProject("P2", "P2", LanguageNames.
VisualBasic
);
820
var project2 = solution.AddProject("P2", "P2", LanguageNames.
VisualBasic
);
846
var vbProject = project1SyncedSolution.Projects.Single(p => p.Language == LanguageNames.
VisualBasic
);
858
var vbProject = project2SyncedSolution.Projects.Single(p => p.Language == LanguageNames.
VisualBasic
);
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (4)
76
using var workspace = CreateWorkspace(LanguageNames.
VisualBasic
, code);
78
workspace.SetAnalyzerFallbackOptions(LanguageNames.
VisualBasic
, ("dotnet_style_null_propagation", "false:silent"));
95
workspace.SetAnalyzerFallbackOptions(LanguageNames.
VisualBasic
, ("dotnet_style_null_propagation", "true:error"));
257
workspace.GlobalOptions.SetGlobalOption(SolutionCrawlerOptionsStorage.BackgroundAnalysisScopeOption, LanguageNames.
VisualBasic
, BackgroundAnalysisScope.FullSolution);
System.Windows.Forms.Analyzers (2)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (2)
13
[DiagnosticAnalyzer(LanguageNames.CSharp, LanguageNames.
VisualBasic
)]
72
case LanguageNames.
VisualBasic
:
System.Windows.Forms.Analyzers.CodeFixes.VisualBasic (1)
AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.vb (1)
20
<ExportCodeFixProvider(LanguageNames.
VisualBasic
, Name:=NameOf(AddDesignerSerializationVisibilityCodeFixProvider)), [Shared]>
System.Windows.Forms.Analyzers.VisualBasic (2)
Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.vb (1)
12
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationDiagnosticAnalyzer.vb (1)
11
<DiagnosticAnalyzer(LanguageNames.
VisualBasic
)>
VBCSCompiler (2)
src\Compilers\Server\VBCSCompiler\BuildProtocolUtil.cs (1)
31
language = LanguageNames.
VisualBasic
;
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (1)
91
case LanguageNames.
VisualBasic
: