1 instantiation of BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6536var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors);
38 references to BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Attributes.cs (1)
889if (node is BoundCollectionExpressionSpreadElement spread)
Binder\Binder_Expressions.cs (2)
6510private BoundCollectionExpressionSpreadElement BindCollectionExpressionSpreadElementAddMethod( 6512BoundCollectionExpressionSpreadElement element,
Binder\Semantics\Conversions\Conversions.cs (2)
222BoundCollectionExpressionSpreadElement spreadElement => GetCollectionExpressionSpreadElementConversion(spreadElement, elementType, ref useSiteInfo), 229BoundCollectionExpressionSpreadElement element,
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
661if (element is BoundCollectionExpressionSpreadElement spread) 673BoundCollectionExpressionSpreadElement argument,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3079if (element is BoundCollectionExpressionSpreadElement spread)
BoundTree\BoundCollectionExpression.cs (1)
22if (Elements[i] is BoundCollectionExpressionSpreadElement spreadElement)
FlowAnalysis\AbstractFlowPass.cs (1)
2095public override BoundNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.cs (2)
3709case BoundCollectionExpressionSpreadElement spread: 3825public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
131if (element is BoundCollectionExpressionSpreadElement spread)
Generated\BoundNodes.xml.Generated.cs (8)
6532public BoundCollectionExpressionSpreadElement Update(BoundExpression expression, BoundCollectionExpressionSpreadExpressionPlaceholder? expressionPlaceholder, BoundExpression? conversion, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundExpression? lengthOrCount, BoundValuePlaceholder? elementPlaceholder, BoundStatement? iteratorBody) 6536var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors); 9173return VisitCollectionExpressionSpreadElement((BoundCollectionExpressionSpreadElement)node, arg); 9474public virtual R VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, A arg) => this.DefaultVisit(node, arg); 9710public virtual BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) => this.DefaultVisit(node); 10498public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 11793public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 16491public override TreeDumperNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, object? arg) => new TreeDumperNode("collectionExpressionSpreadElement", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (15)
117if (element is BoundCollectionExpressionSpreadElement spreadElement) 135if (element is BoundCollectionExpressionSpreadElement spreadElement) 164if (node.Elements is not [BoundCollectionExpressionSpreadElement singleSpread]) 221Elements: [BoundCollectionExpressionSpreadElement { Expression: { Type: NamedTypeSymbol spreadType } expr }], 347var rewrittenElement = element is BoundCollectionExpressionSpreadElement spreadElement ? 653if (node is { Elements: [BoundCollectionExpressionSpreadElement { Expression: { } spreadExpression } spreadElement] } 769tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression arrayTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 896BoundCollectionExpressionSpreadElement spreadElement, 1106tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression spanTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1131tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression listTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1161var expression = element is BoundCollectionExpressionSpreadElement spreadElement ? 1190Func<ArrayBuilder<BoundExpression>, BoundExpression, BoundCollectionExpressionSpreadElement, BoundExpression, bool> tryOptimizeSpreadElement) 1199if (element is BoundCollectionExpressionSpreadElement spreadElement) 1239if (element is BoundCollectionExpressionSpreadElement spreadElement) 1278BoundCollectionExpressionSpreadElement node,
Operations\CSharpOperationFactory.cs (2)
1260return element is BoundCollectionExpressionSpreadElement spreadElement ? 1265private ISpreadOperation CreateBoundCollectionExpressionSpreadElement(BoundCollectionExpression expr, BoundCollectionExpressionSpreadElement element)