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)
1131cachedDiagnostics = 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)
50if (!diagnostic.IsSuppressed)
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Service\CodeFixService.cs (4)
111allDiagnostics = allDiagnostics.WhereAsArray(d => !d.IsSuppressed); 200diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed); 268if (diagnostic.IsSuppressed) 301diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed);
CodeFixes\Service\CodeFixService.FixAllDiagnosticProvider.cs (1)
41=> diagnostics.WhereAsArray(d => _includeSuppressedDiagnostics || !d.IsSuppressed);
Copilot\ICopilotChangeAnalysisService.cs (1)
221if (IsVisibleDiagnostic(diagnostic.IsSuppressed, diagnostic.Severity))
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (2)
126!d.IsSuppressed && d.DataLocation.DocumentId == documentId, documentId); 146!d.IsSuppressed && d.ProjectId == projectId && d.DataLocation.DocumentId == null, projectId);
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
222diagnostics = diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticSources\AbstractProjectDiagnosticSource.cs (1)
55return diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (2)
45documentDiagnostics = documentDiagnostics.WhereAsArray(d => !d.IsSuppressed); 79return 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)
31return diagnostics.WhereAsArray(d => !d.IsSuppressed);
Handler\Diagnostics\DiagnosticsPullCache.cs (1)
108writer.WriteBoolean(diagnosticData.IsSuppressed);
Microsoft.CodeAnalysis.Workspaces (6)
Diagnostics\DiagnosticData.cs (6)
104Language, Title, Description, HelpLink, IsSuppressed); 109Language, Title, Description, HelpLink, IsSuppressed); 135IsSuppressed == other.IsSuppressed && 148Hash.Combine(IsSuppressed, 168IsEnabledByDefault, WarningLevel, IsSuppressed, Title, Description, HelpLink,
Microsoft.VisualStudio.LanguageServices (2)
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
373if (!diagnostic.IsSuppressed && 379else if (diagnostic.IsSuppressed)