32 references to TupleLiteral
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
4052case BoundKind.TupleLiteral: 4740case BoundKind.TupleLiteral:
Binder\Binder_Deconstruct.cs (2)
212if (boundRHS.Kind == BoundKind.TupleLiteral) 488if (element.Kind == BoundKind.TupleLiteral)
Binder\Binder_Expressions.cs (1)
2745case BoundKind.TupleLiteral:
Binder\Binder_Operators.cs (1)
3716case BoundKind.TupleLiteral:
Binder\Binder_Statements.cs (1)
2296case BoundKind.TupleLiteral:
Binder\Binder_TupleOperators.cs (2)
217Debug.Assert((object)left.Type != null || left.Kind == BoundKind.TupleLiteral); 218Debug.Assert((object)right.Type != null || right.Kind == BoundKind.TupleLiteral);
Binder\Semantics\Conversions\ConversionsBase.cs (3)
1066case BoundKind.TupleLiteral: 1394if (sourceExpression.Kind == BoundKind.TupleLiteral) 1929if (sourceExpressionOpt?.Kind == BoundKind.TupleLiteral)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
618else if (argument.Kind != BoundKind.TupleLiteral || 851if (argument.Kind == BoundKind.TupleLiteral && (object)argument.Type == null)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2953if (node.Kind == BoundKind.TupleLiteral)
BoundTree\BoundExpression.cs (2)
76case BoundKind.TupleLiteral: 731if (argument.Kind == BoundKind.TupleLiteral)
FlowAnalysis\AbstractFlowPass.cs (1)
600case BoundKind.TupleLiteral:
FlowAnalysis\DefiniteAssignment.cs (2)
943case BoundKind.TupleLiteral: 1652case BoundKind.TupleLiteral:
FlowAnalysis\NullableWalker.cs (4)
2064case BoundKind.TupleLiteral: 8813if (operandType.Type?.IsTupleType == true || conversionOperand.Kind == BoundKind.TupleLiteral) 10208case BoundKind.TupleLiteral: 10226case BoundKind.TupleLiteral:
Generated\BoundNodes.xml.Generated.cs (2)
6565: base(BoundKind.TupleLiteral, syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, hasErrors || arguments.HasErrors()) 9172case BoundKind.TupleLiteral:
Lowering\DiagnosticsPass_Warnings.cs (1)
904if (right.Kind != BoundKind.ConvertedTupleLiteral && right.Kind != BoundKind.TupleLiteral)
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (4)
114Debug.Assert(right is not ({ Kind: BoundKind.TupleLiteral } or BoundConversion { Operand.Kind: BoundKind.TupleLiteral })); 330return kind == BoundKind.TupleLiteral || kind == BoundKind.ConvertedTupleLiteral; 455case BoundKind.TupleLiteral:
Operations\CSharpOperationFactory.cs (1)
213case BoundKind.TupleLiteral: