3 references to IsEnabled
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (3)
49=> _nameToDocumentProviderMap.Where(kvp => kvp.Value.IsEnabled(clientCapabilities)).SelectAsArray(kvp => kvp.Key); 52=> _nameToWorkspaceProviderMap.Where(kvp => kvp.Value.IsEnabled(clientCapabilities)).SelectAsArray(kvp => kvp.Key); 73Contract.ThrowIfFalse(provider.IsEnabled(context.GetRequiredClientCapabilities()));