1 instantiation of BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6672var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors);
44 references to BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder_Attributes.cs (1)
897if (node is BoundCollectionExpressionSpreadElement spread)
Binder\Binder_Conversions.cs (5)
1058builder.Add(element is BoundCollectionExpressionSpreadElement spreadElement 1148builder.Add(element is BoundCollectionExpressionSpreadElement spreadElement ? 1169static BoundCollectionExpressionSpreadElement bindSpreadElement( 1170ref readonly CollectionExpressionConverter @this, BoundCollectionExpressionSpreadElement element, TypeSymbol elementType, Conversion elementConversion) 2381if (element is BoundCollectionExpressionSpreadElement spreadElement)
Binder\Binder_Expressions.cs (2)
6735private BoundCollectionExpressionSpreadElement BindCollectionExpressionSpreadElementAddMethod( 6737BoundCollectionExpressionSpreadElement element,
Binder\Semantics\Conversions\Conversions.cs (2)
225BoundCollectionExpressionSpreadElement spreadElement => GetCollectionExpressionSpreadElementConversion(spreadElement, elementType, ref useSiteInfo), 232BoundCollectionExpressionSpreadElement element,
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
689if (element is BoundCollectionExpressionSpreadElement spread) 701BoundCollectionExpressionSpreadElement argument,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3139if (element is BoundCollectionExpressionSpreadElement spread)
BoundTree\BoundCollectionExpression.cs (1)
87if (Elements[i] is BoundCollectionExpressionSpreadElement spreadElement)
FlowAnalysis\AbstractFlowPass.cs (1)
2151public override BoundNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.cs (2)
4100case BoundCollectionExpressionSpreadElement spread: 4219public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
131if (element is BoundCollectionExpressionSpreadElement spread) 152public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
Generated\BoundNodes.xml.Generated.cs (8)
6668public BoundCollectionExpressionSpreadElement Update(BoundExpression expression, BoundCollectionExpressionSpreadExpressionPlaceholder? expressionPlaceholder, BoundExpression? conversion, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundExpression? lengthOrCount, BoundValuePlaceholder? elementPlaceholder, BoundStatement? iteratorBody) 6672var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors); 9444return VisitCollectionExpressionSpreadElement((BoundCollectionExpressionSpreadElement)node, arg); 9752public virtual R VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, A arg) => this.DefaultVisit(node, arg); 9993public virtual BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) => this.DefaultVisit(node); 10797public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 12238public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 17033public override TreeDumperNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, object? arg) => new TreeDumperNode("collectionExpressionSpreadElement", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (15)
126if (element is BoundCollectionExpressionSpreadElement spreadElement) 144if (element is BoundCollectionExpressionSpreadElement spreadElement) 173if (node.Elements is not [BoundCollectionExpressionSpreadElement singleSpread]) 233Elements: [BoundCollectionExpressionSpreadElement { Expression: { Type: NamedTypeSymbol spreadType } expr }], 441var rewrittenElement = element is BoundCollectionExpressionSpreadElement spreadElement ? 760if (node is { Elements: [BoundCollectionExpressionSpreadElement { Expression: { } spreadExpression } spreadElement] } 944tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression arrayTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1073BoundCollectionExpressionSpreadElement spreadElement, 1315tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression spanTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1343tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression listTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1373var expression = element is BoundCollectionExpressionSpreadElement spreadElement ? 1402Func<ArrayBuilder<BoundExpression>, BoundExpression, BoundCollectionExpressionSpreadElement, BoundExpression, bool> tryOptimizeSpreadElement) 1411if (element is BoundCollectionExpressionSpreadElement spreadElement) 1451if (element is BoundCollectionExpressionSpreadElement spreadElement) 1490BoundCollectionExpressionSpreadElement node,
Operations\CSharpOperationFactory.cs (2)
1335return element is BoundCollectionExpressionSpreadElement spreadElement ? 1340private ISpreadOperation CreateBoundCollectionExpressionSpreadElement(BoundCollectionExpression expr, BoundCollectionExpressionSpreadElement element)