4 references to ShouldUseKnownLength
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
299
if (
ShouldUseKnownLength
(node, out _))
408
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);
645
if (!
ShouldUseKnownLength
(node, out numberIncludingLastSpread))
987
bool useKnownLength =
ShouldUseKnownLength
(node, out numberIncludingLastSpread);