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