1 write to Descriptor
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\Suppression.cs (1)
19Descriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor));
11 references to Descriptor
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.cs (2)
567var suppressionDiag = new SuppressionDiagnostic(diag, suppression.Descriptor.Id, suppression.Descriptor.Justification);
CommandLine\SarifV2ErrorLogger.cs (3)
90.OrderBy(suppression => suppression.Descriptor.Id) 91.Select(suppression => $"Suppression Id: {suppression.Descriptor.Id}, Suppression Justification: {suppression.Descriptor.Justification}")
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (3)
1944if (!_isSupportedSuppressionDescriptor(suppression.Descriptor)) 1947var message = string.Format(CodeAnalysisResources.UnsupportedSuppressionReported, suppression.Descriptor.Id); 1951if (suppression.Descriptor.IsDisabled(Compilation.Options))
DiagnosticAnalyzer\Suppression.cs (3)
72return EqualityComparer<SuppressionDescriptor>.Default.Equals(Descriptor, other.Descriptor) 79EqualityComparer<SuppressionDescriptor>.Default.GetHashCode(Descriptor),