1 instantiation of BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6528var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors);
42 references to BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder_Attributes.cs (1)
889if (node is BoundCollectionExpressionSpreadElement spread)
Binder\Binder_Conversions.cs (4)
912BoundNode convertedElement = element is BoundCollectionExpressionSpreadElement spreadElement ? 953var convertedElement = element is BoundCollectionExpressionSpreadElement spreadElement ? 986BoundNode bindSpreadElement(BoundCollectionExpressionSpreadElement element, TypeSymbol elementType, Conversion elementConversion, BindingDiagnosticBag diagnostics) 1810if (element is BoundCollectionExpressionSpreadElement spreadElement)
Binder\Binder_Expressions.cs (2)
6566private BoundCollectionExpressionSpreadElement BindCollectionExpressionSpreadElementAddMethod( 6568BoundCollectionExpressionSpreadElement element,
Binder\Semantics\Conversions\Conversions.cs (2)
224BoundCollectionExpressionSpreadElement spreadElement => GetCollectionExpressionSpreadElementConversion(spreadElement, elementType, ref useSiteInfo), 231BoundCollectionExpressionSpreadElement element,
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
687if (element is BoundCollectionExpressionSpreadElement spread) 699BoundCollectionExpressionSpreadElement argument,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3122if (element is BoundCollectionExpressionSpreadElement spread)
BoundTree\BoundCollectionExpression.cs (1)
22if (Elements[i] is BoundCollectionExpressionSpreadElement spreadElement)
FlowAnalysis\AbstractFlowPass.cs (1)
2101public override BoundNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.cs (2)
3933case BoundCollectionExpressionSpreadElement spread: 4037public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
129if (element is BoundCollectionExpressionSpreadElement spread)
Generated\BoundNodes.xml.Generated.cs (8)
6524public BoundCollectionExpressionSpreadElement Update(BoundExpression expression, BoundCollectionExpressionSpreadExpressionPlaceholder? expressionPlaceholder, BoundExpression? conversion, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundExpression? lengthOrCount, BoundValuePlaceholder? elementPlaceholder, BoundStatement? iteratorBody) 6528var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors); 9201return VisitCollectionExpressionSpreadElement((BoundCollectionExpressionSpreadElement)node, arg); 9502public virtual R VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, A arg) => this.DefaultVisit(node, arg); 9738public virtual BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) => this.DefaultVisit(node); 10526public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 11937public override BoundNode? VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node) 16644public override TreeDumperNode VisitCollectionExpressionSpreadElement(BoundCollectionExpressionSpreadElement node, object? arg) => new TreeDumperNode("collectionExpressionSpreadElement", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (15)
116if (element is BoundCollectionExpressionSpreadElement spreadElement) 134if (element is BoundCollectionExpressionSpreadElement spreadElement) 163if (node.Elements is not [BoundCollectionExpressionSpreadElement singleSpread]) 223Elements: [BoundCollectionExpressionSpreadElement { Expression: { Type: NamedTypeSymbol spreadType } expr }], 353var rewrittenElement = element is BoundCollectionExpressionSpreadElement spreadElement ? 660if (node is { Elements: [BoundCollectionExpressionSpreadElement { Expression: { } spreadExpression } spreadElement] } 814tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression arrayTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 940BoundCollectionExpressionSpreadElement spreadElement, 1150tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression spanTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1175tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression listTemp, BoundCollectionExpressionSpreadElement spreadElement, BoundExpression rewrittenSpreadOperand) => 1205var expression = element is BoundCollectionExpressionSpreadElement spreadElement ? 1234Func<ArrayBuilder<BoundExpression>, BoundExpression, BoundCollectionExpressionSpreadElement, BoundExpression, bool> tryOptimizeSpreadElement) 1243if (element is BoundCollectionExpressionSpreadElement spreadElement) 1283if (element is BoundCollectionExpressionSpreadElement spreadElement) 1322BoundCollectionExpressionSpreadElement node,
Operations\CSharpOperationFactory.cs (2)
1260return element is BoundCollectionExpressionSpreadElement spreadElement ? 1265private ISpreadOperation CreateBoundCollectionExpressionSpreadElement(BoundCollectionExpression expr, BoundCollectionExpressionSpreadElement element)