11 references to TryGetNonEnumeratedCount
Aspire.Dashboard (1)
Components\Controls\ResourceSelect.razor.cs (1)
45if (Resources?.TryGetNonEnumeratedCount(out var count) is false or null)
System.Linq (10)
System\Linq\Concat.SpeedOpt.cs (4)
16if (!_first.TryGetNonEnumeratedCount(out firstCount)) 26if (!_second.TryGetNonEnumeratedCount(out secondCount)) 99if (TryGetNonEnumeratedCount(source, out int count)) 280if (TryGetNonEnumeratedCount(source, out int count))
System\Linq\ElementAt.cs (2)
62if (source.TryGetNonEnumeratedCount(out int count)) 107if (source.TryGetNonEnumeratedCount(out int count))
System\Linq\Reverse.SpeedOpt.cs (1)
28TryGetNonEnumeratedCount(_source, out int count) ? count :
System\Linq\Take.cs (1)
84if (source.TryGetNonEnumeratedCount(out int count))
System\Linq\ToCollection.cs (2)
155if (source.TryGetNonEnumeratedCount(out int capacity)) 213if (source.TryGetNonEnumeratedCount(out int capacity))