6 references to TryGetServiceByLayer
Microsoft.CodeAnalysis.Workspaces (6)
MefWorkspaceServices.cs (6)
101if (TryGetServiceByLayer(ServiceLayer.Test, services, out service))
107if (TryGetServiceByLayer(_workspace.Kind, services, out service))
113if (TryGetServiceByLayer(ServiceLayer.Host, services, out service))
119if (TryGetServiceByLayer(ServiceLayer.Editor, services, out service))
125if (TryGetServiceByLayer(ServiceLayer.Desktop, services, out service))
131if (TryGetServiceByLayer(ServiceLayer.Default, services, out service))