6 references to TryGetServiceByLayer
Microsoft.CodeAnalysis.Workspaces (6)
MefLanguageServices.cs (6)
85if (TryGetServiceByLayer(ServiceLayer.Test, services, out service)) 91if (TryGetServiceByLayer(_workspaceServices.WorkspaceKind, services, out service)) 97if (TryGetServiceByLayer(ServiceLayer.Host, services, out service)) 103if (TryGetServiceByLayer(ServiceLayer.Editor, services, out service)) 109if (TryGetServiceByLayer(ServiceLayer.Desktop, services, out service)) 115if (TryGetServiceByLayer(ServiceLayer.Default, services, out service))