32 references to TupleLiteral
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
4052
case BoundKind.
TupleLiteral
:
4740
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)
2745
case BoundKind.
TupleLiteral
:
Binder\Binder_Operators.cs (1)
3716
case BoundKind.
TupleLiteral
:
Binder\Binder_Statements.cs (1)
2296
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)
1066
case BoundKind.
TupleLiteral
:
1394
if (sourceExpression.Kind == BoundKind.
TupleLiteral
)
1929
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)
2953
if (node.Kind == BoundKind.
TupleLiteral
)
BoundTree\BoundExpression.cs (2)
76
case BoundKind.
TupleLiteral
:
731
if (argument.Kind == BoundKind.
TupleLiteral
)
FlowAnalysis\AbstractFlowPass.cs (1)
600
case BoundKind.
TupleLiteral
:
FlowAnalysis\DefiniteAssignment.cs (2)
943
case BoundKind.
TupleLiteral
:
1652
case BoundKind.
TupleLiteral
:
FlowAnalysis\NullableWalker.cs (4)
2064
case BoundKind.
TupleLiteral
:
8813
if (operandType.Type?.IsTupleType == true || conversionOperand.Kind == BoundKind.
TupleLiteral
)
10208
case BoundKind.
TupleLiteral
:
10226
case BoundKind.
TupleLiteral
:
Generated\BoundNodes.xml.Generated.cs (2)
6565
: base(BoundKind.
TupleLiteral
, syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, hasErrors || arguments.HasErrors())
9172
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
: