16 references to LanguageServiceMetadata
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
MefLanguageServices.cs (14)
23private readonly ImmutableArray<Lazy<ILanguageService, LanguageServiceMetadata>> _services; 25private ImmutableDictionary<Type, Lazy<ILanguageService, LanguageServiceMetadata>> _serviceMap 26= ImmutableDictionary<Type, Lazy<ILanguageService, LanguageServiceMetadata>>.Empty; 37var services = hostServices.GetExports<ILanguageService, LanguageServiceMetadata>(); 38var factories = hostServices.GetExports<ILanguageServiceFactory, LanguageServiceMetadata>() 39.Select(lz => new Lazy<ILanguageService, LanguageServiceMetadata>(() => lz.Value.CreateLanguageService(this), lz.Metadata)); 65internal bool TryGetService(Type serviceType, out Lazy<ILanguageService, LanguageServiceMetadata> service) 80private Lazy<ILanguageService, LanguageServiceMetadata> PickLanguageService(IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> services) 82Lazy<ILanguageService, LanguageServiceMetadata> service; 124private static bool TryGetServiceByLayer(string layer, IEnumerable<Lazy<ILanguageService, LanguageServiceMetadata>> services, out Lazy<ILanguageService, LanguageServiceMetadata> service) 132private readonly ImmutableArray<Lazy<ILanguageService, LanguageServiceMetadata>> _services; 134public LazyServiceMetadataDebuggerProxy(ImmutableArray<Lazy<ILanguageService, LanguageServiceMetadata>> services)
MefWorkspaceServices.cs (2)
152var list = _exportProvider.GetExports<ILanguageService, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language).Concat( 153_exportProvider.GetExports<ILanguageServiceFactory, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language))