1 write to _descriptors
Microsoft.CodeAnalysis (1)
CommandLine\SarifV2ErrorLogger.cs (1)
38
_descriptors
= new DiagnosticDescriptorSet();
5 references to _descriptors
Microsoft.CodeAnalysis (5)
CommandLine\SarifV2ErrorLogger.cs (5)
60
int ruleIndex =
_descriptors
.Add(diagnostic.Descriptor);
124
_descriptors
.Add(descriptor, info);
232
var effectiveSeveritiesBuilder = ArrayBuilder<(string DescriptorId, int DescriptorIndex, ImmutableHashSet<ReportDiagnostic> EffectiveSeverities)>.GetInstance(
_descriptors
.Count);
234
if (
_descriptors
.Count > 0)
239
foreach (var (index, descriptor, descriptorInfo) in
_descriptors
.ToSortedList())