4 references to ShouldUseKnownLength
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
305
else if (
ShouldUseKnownLength
(node, out _))
414
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);
724
if (!
ShouldUseKnownLength
(node, out numberIncludingLastSpread))
1031
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);