Implemented interface member:
25 references to Count
Microsoft.CodeAnalysis.PublicApiAnalyzers (25)
DeclarePublicApiAnalyzer.cs (8)
206if (allShippedData.Count == 0 && allUnshippedData.Count == 0) 222if (allShippedData.Count > 0 && allUnshippedData.Count > 0) 230var missingFileName = (allShippedData.Count == 0, isPublic) switch 247Debug.Assert(allData.Count > 0); 251if (allData.Count == 1) 257for (int i = 0, n = allData.Count; i < n; i++)
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ArrayBuilder.cs (16)
36var result = new T[_builder.Count]; 154=> FindIndex(0, this.Count, match); 157=> FindIndex(startIndex, this.Count - startIndex, match); 238if (Count == 0) 252if (Count == 0) 257var tmp = ArrayBuilder<U>.GetInstance(Count); 272if (_builder.Capacity == Count) 314if (this.Count != 0) 335Debug.Assert(builder.Count == 0); 391if (this.Count == 1) 399if (this.Count == 0) 406var accumulator = new Dictionary<K, ArrayBuilder<T>>(Count, comparer); 407for (int i = 0; i < Count; i++) 481Debug.Assert(limit <= Count); 504for (int i = 0; i < Count; i++) 518using var result = ArrayBuilder<S>.GetInstance(Count);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\ArrayBuilder.Enumerator.cs (1)
32return _index < _builder.Count;