1 write to Attribute
Microsoft.CodeAnalysis (1)
Diagnostic\SuppressionInfo.cs (1)
38
Attribute
= attribute;
5 references to Attribute
Microsoft.CodeAnalysis (2)
CommandLine\SarifV2ErrorLogger.cs (2)
80
string? justification = suppressionInfo?.
Attribute
?.DecodeNamedArgument<string>("Justification", SpecialType.System_String);
97
suppressionType = suppressionInfo.
Attribute
!= null ? "SuppressMessageAttribute" : "Pragma Directive";
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
530
if (suppressionInfo.
Attribute
is { } attribute)
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (1)
33
var attribute = diagnostic.GetSuppressionInfo(compilation).
Attribute
;
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
530
if (suppressionInfo.
Attribute
is { } attribute)