28 references to IsSuppressed
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineDiagnostics\AbstractDiagnosticsTaggerProvider.SingleDiagnosticKindPullTaggerProvider.cs (1)
147if (_callback.IncludeDiagnostic(diagnosticData) && !diagnosticData.IsSuppressed)
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
47!diagnostic.IsSuppressed;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CodeFixes\CodeFixServiceTests.cs (1)
1130cachedDiagnostics = cachedDiagnostics.WhereAsArray(d => !d.IsSuppressed);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
480Assert.Equal(includeSuppressor, diagnostic.IsSuppressed);
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Cohost\Handlers\Diagnostics.cs (1)
34if (!diagnostic.IsSuppressed)
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Service\CodeFixService.cs (4)
116allDiagnostics = allDiagnostics.WhereAsArray(d => !d.IsSuppressed); 205diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed); 273if (diagnostic.IsSuppressed) 306diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed);
CodeFixes\Service\CodeFixService.FixAllDiagnosticProvider.cs (1)
42=> diagnostics.WhereAsArray(d => _includeSuppressedDiagnostics || !d.IsSuppressed);
Copilot\ICopilotChangeAnalysisService.cs (1)
221if (IsVisibleDiagnostic(diagnostic.IsSuppressed, diagnostic.Severity))
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (2)
125!d.IsSuppressed && d.DataLocation.DocumentId == documentId, documentId); 145!d.IsSuppressed && d.ProjectId == projectId && d.DataLocation.DocumentId == null, projectId);
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
221diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticSources\AbstractProjectDiagnosticSource.cs (1)
54return diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (2)
45documentDiagnostics = documentDiagnostics.WhereAsArray(d => !d.IsSuppressed); 80return allDiagnostics.Where(d => !d.IsSuppressed && d.DocumentId != null).ToLookup(d => d.DocumentId!);
Handler\Diagnostics\DiagnosticSources\DocumentDiagnosticSource.cs (1)
41allSpanDiagnostics = allSpanDiagnostics.WhereAsArray(diagnostic => !diagnostic.IsSuppressed);
Handler\Diagnostics\DiagnosticSources\NonLocalDocumentDiagnosticSource.cs (1)
33return diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticsPullCache.cs (1)
108writer.WriteBoolean(diagnosticData.IsSuppressed);
Microsoft.CodeAnalysis.Workspaces (6)
Diagnostics\DiagnosticData.cs (6)
103Language, Title, Description, HelpLink, IsSuppressed); 108Language, Title, Description, HelpLink, IsSuppressed); 134IsSuppressed == other.IsSuppressed && 147Hash.Combine(IsSuppressed, 167IsEnabledByDefault, WarningLevel, IsSuppressed, Title, Description, HelpLink,
Microsoft.VisualStudio.LanguageServices (2)
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
373if (!diagnostic.IsSuppressed && 379else if (diagnostic.IsSuppressed)