32 references to TupleLiteral
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (2)
4066case BoundKind.TupleLiteral: 4759case BoundKind.TupleLiteral:
Binder\Binder_Deconstruct.cs (2)
212if (boundRHS.Kind == BoundKind.TupleLiteral) 488if (element.Kind == BoundKind.TupleLiteral)
Binder\Binder_Expressions.cs (1)
2786case BoundKind.TupleLiteral:
Binder\Binder_Operators.cs (1)
3723case BoundKind.TupleLiteral:
Binder\Binder_Statements.cs (1)
2331case 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)
1082case BoundKind.TupleLiteral: 1410if (sourceExpression.Kind == BoundKind.TupleLiteral) 1951if (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)
3236if (node.Kind == BoundKind.TupleLiteral)
BoundTree\BoundExpression.cs (2)
76case BoundKind.TupleLiteral: 731if (argument.Kind == BoundKind.TupleLiteral)
FlowAnalysis\AbstractFlowPass.cs (1)
599case BoundKind.TupleLiteral:
FlowAnalysis\DefiniteAssignment.cs (2)
945case BoundKind.TupleLiteral: 1672case BoundKind.TupleLiteral:
FlowAnalysis\NullableWalker.cs (4)
2138case BoundKind.TupleLiteral: 9029if (operandType.Type?.IsTupleType == true || conversionOperand.Kind == BoundKind.TupleLiteral) 10423case BoundKind.TupleLiteral: 10441case BoundKind.TupleLiteral:
Generated\BoundNodes.xml.Generated.cs (2)
6566: base(BoundKind.TupleLiteral, syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, hasErrors || arguments.HasErrors()) 9211case 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: