1 instantiation of BoundCollectionExpressionSpreadElement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6537
var 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)
889
if (node is
BoundCollectionExpressionSpreadElement
spread)
Binder\Binder_Expressions.cs (2)
6513
private
BoundCollectionExpressionSpreadElement
BindCollectionExpressionSpreadElementAddMethod(
6515
BoundCollectionExpressionSpreadElement
element,
Binder\Semantics\Conversions\Conversions.cs (2)
222
BoundCollectionExpressionSpreadElement
spreadElement => GetCollectionExpressionSpreadElementConversion(spreadElement, elementType, ref useSiteInfo),
229
BoundCollectionExpressionSpreadElement
element,
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
661
if (element is
BoundCollectionExpressionSpreadElement
spread)
673
BoundCollectionExpressionSpreadElement
argument,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3100
if (element is
BoundCollectionExpressionSpreadElement
spread)
BoundTree\BoundCollectionExpression.cs (1)
22
if (Elements[i] is
BoundCollectionExpressionSpreadElement
spreadElement)
FlowAnalysis\AbstractFlowPass.cs (1)
2095
public override BoundNode VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node)
FlowAnalysis\NullableWalker.cs (2)
3709
case
BoundCollectionExpressionSpreadElement
spread:
3825
public override BoundNode? VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
131
if (element is
BoundCollectionExpressionSpreadElement
spread)
Generated\BoundNodes.xml.Generated.cs (8)
6533
public
BoundCollectionExpressionSpreadElement
Update(BoundExpression expression, BoundCollectionExpressionSpreadExpressionPlaceholder? expressionPlaceholder, BoundExpression? conversion, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundExpression? lengthOrCount, BoundValuePlaceholder? elementPlaceholder, BoundStatement? iteratorBody)
6537
var
result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.HasErrors);
9174
return VisitCollectionExpressionSpreadElement((
BoundCollectionExpressionSpreadElement
)node, arg);
9475
public virtual R VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node, A arg) => this.DefaultVisit(node, arg);
9711
public virtual BoundNode? VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node) => this.DefaultVisit(node);
10499
public override BoundNode? VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node)
11794
public override BoundNode? VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node)
16492
public override TreeDumperNode VisitCollectionExpressionSpreadElement(
BoundCollectionExpressionSpreadElement
node, object? arg) => new TreeDumperNode("collectionExpressionSpreadElement", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (15)
117
if (element is
BoundCollectionExpressionSpreadElement
spreadElement)
135
if (element is
BoundCollectionExpressionSpreadElement
spreadElement)
164
if (node.Elements is not [
BoundCollectionExpressionSpreadElement
singleSpread])
224
Elements: [
BoundCollectionExpressionSpreadElement
{ Expression: { Type: NamedTypeSymbol spreadType } expr }],
354
var rewrittenElement = element is
BoundCollectionExpressionSpreadElement
spreadElement ?
661
if (node is { Elements: [
BoundCollectionExpressionSpreadElement
{ Expression: { } spreadExpression } spreadElement] }
815
tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression arrayTemp,
BoundCollectionExpressionSpreadElement
spreadElement, BoundExpression rewrittenSpreadOperand) =>
941
BoundCollectionExpressionSpreadElement
spreadElement,
1151
tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression spanTemp,
BoundCollectionExpressionSpreadElement
spreadElement, BoundExpression rewrittenSpreadOperand) =>
1176
tryOptimizeSpreadElement: (ArrayBuilder<BoundExpression> sideEffects, BoundExpression listTemp,
BoundCollectionExpressionSpreadElement
spreadElement, BoundExpression rewrittenSpreadOperand) =>
1206
var expression = element is
BoundCollectionExpressionSpreadElement
spreadElement ?
1235
Func<ArrayBuilder<BoundExpression>, BoundExpression,
BoundCollectionExpressionSpreadElement
, BoundExpression, bool> tryOptimizeSpreadElement)
1244
if (element is
BoundCollectionExpressionSpreadElement
spreadElement)
1284
if (element is
BoundCollectionExpressionSpreadElement
spreadElement)
1323
BoundCollectionExpressionSpreadElement
node,
Operations\CSharpOperationFactory.cs (2)
1260
return element is
BoundCollectionExpressionSpreadElement
spreadElement ?
1265
private ISpreadOperation CreateBoundCollectionExpressionSpreadElement(BoundCollectionExpression expr,
BoundCollectionExpressionSpreadElement
element)