7 references to CreateCollectionElement
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (7)
483
yield return
CreateCollectionElement
(useSpread: true, spreadElement.Expression);
487
yield return
CreateCollectionElement
(useSpread: false, expressionElement.Expression);
494
yield return
CreateCollectionElement
(match.UseSpread, expression);
500
yield return
CreateCollectionElement
(
517
yield return
CreateCollectionElement
(match.UseSpread, expression);
527
yield return
CreateCollectionElement
(match.UseSpread, expression);
532
yield return
CreateCollectionElement
(match.UseSpread, IndentExpression(parentStatement: null, expression, preferredIndentation));