4 references to ShouldUseKnownLength
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
367
else if (
ShouldUseKnownLength
(node, out _))
471
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);
794
if (!
ShouldUseKnownLength
(node, out numberIncludingLastSpread))
1102
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);