Implemented interface member:
property
Language
Microsoft.CodeAnalysis.Host.Mef.ILanguageMetadata.Language
2 writes to Language
Microsoft.CodeAnalysis.Workspaces (2)
OrderableLanguageMetadata.cs (2)
19this.Language = (string)data.GetValueOrDefault("Language"); 25this.Language = language;
30 references to Language
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (5)
29var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 62var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 102var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 113var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 124var csharpArgumentProviders = argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp);
Completion\CompletionProviders\CompletionProviderOrderTests.cs (5)
30var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 94var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 134var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 145var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 156var csharpCompletionProviders = completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp);
Completion\CompletionProviders\LoadDirectiveCompletionProviderTests.cs (1)
81var provider = workspace.ExportProvider.GetExports<CompletionProvider, CompletionProviderMetadata>().Single(p => p.Metadata.Language == LanguageNames.CSharp && p.Metadata.Name == nameof(LoadDirectiveCompletionProvider)).Value;
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
118var 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)
120return 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)
52var providers = _allProviders.Where(p => p.Metadata.Language == document.Project.Language);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (10)
Completion\ArgumentProviderOrderTests.vb (5)
21Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 44Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 74Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 84Dim orderedVisualBasicArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 94Dim visualBasicArgumentProviders = argumentProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)
Completion\CompletionProviderOrderTests.vb (5)
21Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 62Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 92Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 102Dim orderedVisualBasicCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)) 112Dim visualBasicCompletionProviders = completionProviderExports.Where(Function(export) export.Metadata.Language = LanguageNames.VisualBasic)