7 references to CreateCollectionElement
Microsoft.CodeAnalysis.CSharp.Features (7)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (7)
481yield return CreateCollectionElement(useSpread: true, spreadElement.Expression); 485yield return CreateCollectionElement(useSpread: false, expressionElement.Expression); 492yield return CreateCollectionElement(match.UseSpread, expression); 520yield return CreateCollectionElement(match.UseSpread, indentedExpression); 535yield return CreateCollectionElement(match.UseSpread, expression); 545yield return CreateCollectionElement(match.UseSpread, expression); 550yield return CreateCollectionElement(match.UseSpread, IndentExpression(parentStatement: null, expression, preferredIndentation));