6 references to Count
Microsoft.CodeAnalysis (6)
CommandLine\SarifV2ErrorLogger.cs (6)
232
var effectiveSeveritiesBuilder = ArrayBuilder<(string DescriptorId, int DescriptorIndex, ImmutableHashSet<ReportDiagnostic> EffectiveSeverities)>.GetInstance(_descriptors.
Count
);
234
if (_descriptors.
Count
> 0)
488
_distinctDescriptors.Add(descriptor, new(Index:
Count
, info ?? default));
489
return
Count
- 1;
498
Debug.Assert(
Count
> 0);
500
var list = new List<(int Index, DiagnosticDescriptor Descriptor, DiagnosticDescriptorErrorLoggerInfo Info)>(
Count
);