Implemented interface member:
property
Language
Microsoft.CodeAnalysis.Host.Mef.ILanguageMetadata.Language
2 writes to Language
Microsoft.CodeAnalysis.Workspaces (2)
OrderableLanguageMetadata.cs (2)
19
this.
Language
= (string)data.GetValueOrDefault("Language");
25
this.
Language
= language;
30 references to Language
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (5)
29
var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
62
var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
102
var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
113
var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
124
var csharpArgumentProviders = argumentProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp);
Completion\CompletionProviders\CompletionProviderOrderTests.cs (5)
30
var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
94
var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
134
var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
145
var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp));
156
var csharpCompletionProviders = completionProviderExports.Where(export => export.Metadata.
Language
== LanguageNames.CSharp);
Completion\CompletionProviders\LoadDirectiveCompletionProviderTests.cs (1)
81
var provider = workspace.ExportProvider.GetExports<CompletionProvider, CompletionProviderMetadata>().Single(p => p.Metadata.
Language
== LanguageNames.CSharp && p.Metadata.Name == nameof(LoadDirectiveCompletionProvider)).Value;
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
118
var provider = workspace.ExportProvider.GetExports<CompletionProvider, CompletionProviderMetadata>().Single(p => p.Metadata.
Language
== LanguageNames.CSharp && p.Metadata.Name == nameof(ReferenceDirectiveCompletionProvider)).Value;
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\HostWorkspaceServicesExtensions.cs (1)
120
return LanguageMatches(metadata.
Language
, contentType, workspaceServices) &&
Microsoft.CodeAnalysis.Features (3)
CodeRefactorings\CodeRefactoringService.cs (1)
43
.GroupBy(lz => lz.Metadata.
Language
)
Completion\CompletionService.ProviderManager.cs (1)
74
.Where(lz => lz.Metadata.
Language
== language)
QuickInfo\QuickInfoServiceWithProviders.cs (1)
39
.Where(lz => lz.Metadata.
Language
== _services.Language))
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
DefaultCapabilitiesProvider.cs (1)
30
.Where(lz => lz.Metadata.
Language
is LanguageNames.CSharp or LanguageNames.VisualBasic)
Handler\Completion\CompletionHandler.cs (2)
54
_csharpTriggerCharacters = completionProviders.Where(lz => lz.Metadata.
Language
== LanguageNames.CSharp).SelectMany(
56
_vbTriggerCharacters = completionProviders.Where(lz => lz.Metadata.
Language
== LanguageNames.VisualBasic).SelectMany(
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
52
var providers = _allProviders.Where(p => p.Metadata.
Language
== document.Project.Language);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (10)
Completion\ArgumentProviderOrderTests.vb (5)
21
Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
44
Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
74
Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
84
Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
94
Dim visualBasicArgumentProviders = argumentProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic)
Completion\CompletionProviderOrderTests.vb (5)
21
Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
62
Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
92
Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
102
Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic))
112
Dim visualBasicCompletionProviders = completionProviderExports.Where(Function(export) export.Metadata.
Language
= LanguageNames.VisualBasic)