27 references to IDiagnosticSourceProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (27)
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (7)
26
/// Document level <see cref="
IDiagnosticSourceProvider
"/> providers ordered by name.
28
private readonly ImmutableDictionary<string,
IDiagnosticSourceProvider
> _nameToDocumentProviderMap;
31
/// Workspace level <see cref="
IDiagnosticSourceProvider
"/> providers ordered by name.
33
private readonly ImmutableDictionary<string,
IDiagnosticSourceProvider
> _nameToWorkspaceProviderMap;
37
public DiagnosticSourceManager([ImportMany] IEnumerable<
IDiagnosticSourceProvider
> sourceProviders)
63
ImmutableDictionary<string,
IDiagnosticSourceProvider
> nameToProviderMap,
71
if (nameToProviderMap.TryGetValue(providerName, out
var
provider))
Handler\Diagnostics\DiagnosticSourceProviders\DocumentSyntaxAndSemanticDiagnosticSourceProvider.cs (5)
18
:
IDiagnosticSourceProvider
35
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
44
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
53
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
62
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
Handler\Diagnostics\DiagnosticSourceProviders\IDiagnosticSourceManager.cs (3)
13
/// Provides centralized/singleton management of MEF based <see cref="
IDiagnosticSourceProvider
"/>s.
19
/// Returns the names of document level <see cref="
IDiagnosticSourceProvider
"/>s.
24
/// Returns the names of workspace level <see cref="
IDiagnosticSourceProvider
"/>s.
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDocumentsAndProjectDiagnosticSourceProvider.cs (2)
21
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
27
:
IDiagnosticSourceProvider
Handler\Diagnostics\Public\PublicDocumentNonLocalDiagnosticSourceProvider.cs (2)
18
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
24
:
IDiagnosticSourceProvider
Handler\EditAndContinue\DocumentEditAndContinueDiagnosticSourceProvider.cs (2)
16
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
19
internal sealed class DocumentEditAndContinueDiagnosticSourceProvider() :
IDiagnosticSourceProvider
Handler\EditAndContinue\WorkspaceEditAndContinueDiagnosticSourceProvider.cs (2)
17
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
20
internal sealed class WorkspaceEditAndContinueDiagnosticSourceProvider() :
IDiagnosticSourceProvider
Handler\Tasks\DocumentTaskDiagnosticSourceProvider.cs (2)
16
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
19
internal sealed class DocumentTaskDiagnosticSourceProvider([Import] IGlobalOptionService globalOptions) :
IDiagnosticSourceProvider
Handler\Tasks\WorkspaceTaskDiagnosticSourceProvider.cs (2)
19
[Export(typeof(
IDiagnosticSourceProvider
)), Shared]
22
internal sealed class WorkspaceTaskDiagnosticSourceProvider([Import] IGlobalOptionService globalOptions) :
IDiagnosticSourceProvider