3 references to TryOptimizeSingleSpreadToArray
Microsoft.CodeAnalysis.CSharp (3)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
302
if (
TryOptimizeSingleSpreadToArray
(node, arrayType) is { } optimizedArray)
461
if (
TryOptimizeSingleSpreadToArray
(node, arrayType) is { } optimizedArray)
732
Debug.Assert(
TryOptimizeSingleSpreadToArray
(node, arrayType) is null);