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);
797
if (!
ShouldUseKnownLength
(node, out numberIncludingLastSpread))
1130
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);