32 references to TupleLiteral
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
4066
case BoundKind.
TupleLiteral
:
4759
case BoundKind.
TupleLiteral
:
Binder\Binder_Deconstruct.cs (2)
212
if (boundRHS.Kind == BoundKind.
TupleLiteral
)
488
if (element.Kind == BoundKind.
TupleLiteral
)
Binder\Binder_Expressions.cs (1)
2786
case BoundKind.
TupleLiteral
:
Binder\Binder_Operators.cs (1)
3723
case BoundKind.
TupleLiteral
:
Binder\Binder_Statements.cs (1)
2331
case BoundKind.
TupleLiteral
:
Binder\Binder_TupleOperators.cs (2)
217
Debug.Assert((object)left.Type != null || left.Kind == BoundKind.
TupleLiteral
);
218
Debug.Assert((object)right.Type != null || right.Kind == BoundKind.
TupleLiteral
);
Binder\Semantics\Conversions\ConversionsBase.cs (3)
1082
case BoundKind.
TupleLiteral
:
1410
if (sourceExpression.Kind == BoundKind.
TupleLiteral
)
1951
if (sourceExpressionOpt?.Kind == BoundKind.
TupleLiteral
)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
618
else if (argument.Kind != BoundKind.
TupleLiteral
||
851
if (argument.Kind == BoundKind.
TupleLiteral
&& (object)argument.Type == null)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3236
if (node.Kind == BoundKind.
TupleLiteral
)
BoundTree\BoundExpression.cs (2)
76
case BoundKind.
TupleLiteral
:
731
if (argument.Kind == BoundKind.
TupleLiteral
)
FlowAnalysis\AbstractFlowPass.cs (1)
599
case BoundKind.
TupleLiteral
:
FlowAnalysis\DefiniteAssignment.cs (2)
945
case BoundKind.
TupleLiteral
:
1672
case BoundKind.
TupleLiteral
:
FlowAnalysis\NullableWalker.cs (4)
2138
case BoundKind.
TupleLiteral
:
9029
if (operandType.Type?.IsTupleType == true || conversionOperand.Kind == BoundKind.
TupleLiteral
)
10423
case BoundKind.
TupleLiteral
:
10441
case BoundKind.
TupleLiteral
:
Generated\BoundNodes.xml.Generated.cs (2)
6566
: base(BoundKind.
TupleLiteral
, syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, hasErrors || arguments.HasErrors())
9211
case BoundKind.
TupleLiteral
:
Lowering\DiagnosticsPass_Warnings.cs (1)
904
if (right.Kind != BoundKind.ConvertedTupleLiteral && right.Kind != BoundKind.
TupleLiteral
)
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (4)
114
Debug.Assert(right is not ({ Kind: BoundKind.
TupleLiteral
} or BoundConversion { Operand.Kind: BoundKind.
TupleLiteral
}));
330
return kind == BoundKind.
TupleLiteral
|| kind == BoundKind.ConvertedTupleLiteral;
455
case BoundKind.
TupleLiteral
:
Operations\CSharpOperationFactory.cs (1)
213
case BoundKind.
TupleLiteral
: