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