4 references to ShouldUseKnownLength
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
306
else if (
ShouldUseKnownLength
(node, out _))
415
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);
725
if (!
ShouldUseKnownLength
(node, out numberIncludingLastSpread))
1032
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);