1 write to Justification
Microsoft.CodeAnalysis (1)
Diagnostic\SuppressionDescriptor.cs (1)
70this.Justification = justification ?? throw new ArgumentNullException(nameof(justification));
15 references to Justification
Microsoft.CodeAnalysis (4)
Diagnostic\SuppressionDescriptor.cs (3)
84this.Justification.Equals(other.Justification); 95Hash.Combine(this.SuppressedDiagnosticId.GetHashCode(), this.Justification.GetHashCode()));
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1087set.Add((programmaticSuppression.Descriptor.Id, programmaticSuppression.Descriptor.Justification));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (4)
12250suppressor.SuppressionDescriptor.Justification); 12290suppressor.SuppressionDescriptor.Justification); 12346suppressor.SuppressionDescriptor.Justification); 12450suppressor.SuppressionDescriptor.Justification);
SarifV2ErrorLoggerTests.cs (1)
563suppressionType: $"DiagnosticSuppressor {{ Suppression Id: {SuppressorForErrorLogTest.Descriptor1.Id}, Suppression Justification: {SuppressorForErrorLogTest.Descriptor1.Justification} }}"),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Diagnostics\DiagnosticSuppressorTests.cs (3)
557Assert.Equal(suppressor.SuppressionDescriptor.Justification, suppressionInfo.Justification); 568Assert.Equal(suppressor.SuppressionDescriptor.Justification, orderedSuppressions[0].Justification); 570Assert.Equal(suppressor2.SuppressionDescriptor.Justification, orderedSuppressions[1].Justification);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
9677suppressor.SuppressionDescriptor.Justification) 9734suppressor.SuppressionDescriptor.Justification) 9794suppressor.SuppressionDescriptor.Justification)