1 write to IsSuppressed
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticData.cs (1)
121IsSuppressed = isSuppressed;
28 references to IsSuppressed
Microsoft.CodeAnalysis.EditorFeatures (1)
Diagnostics\DiagnosticsSquiggleTaggerProvider.cs (1)
80if (diagnostic.IsSuppressed)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Squiggles\TestDiagnosticTagProducer.cs (1)
93=> new(includeSuppressedDiagnostics ? _diagnostics : _diagnostics.WhereAsArray(d => !d.IsSuppressed));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
808Assert.Equal(includeSuppressor, diagnostic.IsSuppressed);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineDiagnostics\InlineDiagnosticsTaggerProvider.cs (1)
71!diagnostic.IsSuppressed;
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\CodeFixes\CodeFixService.cs (1)
237if (diagnostic.IsSuppressed)
Features\Diagnostics\DiagnosticService.cs (2)
248: diagnostics.NullToEmpty().WhereAsArray(d => !d.IsSuppressed); 279if (includeSuppressedDiagnostics || !diagnostic.IsSuppressed)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_BuildSynchronization.cs (1)
187isSuppressed: diagnostic.IsSuppressed);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnostics.cs (2)
135=> IncludeSuppressedDiagnostics || !diagnostic.IsSuppressed; 181return IncludeSuppressedDiagnostics ? diagnostics : diagnostics.WhereAsArray(d => !d.IsSuppressed);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
432&& (_includeSuppressedDiagnostics || !diagnostic.IsSuppressed)
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\DiagnosticData.cs (5)
127Language, Title, Description, HelpLink, IsSuppressed); 153IsSuppressed == other.IsSuppressed && 166Hash.Combine(IsSuppressed, 186IsEnabledByDefault, WarningLevel, IsSuppressed, Title, Description, HelpLink,
Microsoft.VisualStudio.LanguageServices (8)
TableDataSource\DiagnosticTableItem.cs (3)
104left.IsSuppressed == right.IsSuppressed && 119Hash.Combine(data.IsSuppressed,
TableDataSource\Suppression\VisualStudioDiagnosticListSuppressionStateService.cs (1)
180isSuppressedEntry = diagnosticData.IsSuppressed;
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
431if (!diagnostic.IsSuppressed && 437else if (diagnostic.IsSuppressed)
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (1)
424content = data.IsSuppressed ? SuppressionState.Suppressed : SuppressionState.Active;
TableDataSource\VisualStudioDiagnosticListTable.BuildTableDataSource.cs (1)
211Contract.ThrowIfTrue(data.IsSuppressed);
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
Diagnostics\DiagnosticTableDataSourceTests.vb (3)
706diagnostic1.IsSuppressed)) 730diagnostic2.IsSuppressed)) 826diagnostics = diagnostics.WhereAsArray(Function(d) Not d.IsSuppressed)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
664Return New ValueTask(Of ImmutableArray(Of DiagnosticData))(If(includeSuppressedDiagnostics, _data, _data.WhereAsArray(Function(d) Not d.IsSuppressed)))