33 references to TupleLiteral
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder.ValueChecks.cs (3)
809case BoundKind.TupleLiteral: 4370case BoundKind.TupleLiteral: 5034case BoundKind.TupleLiteral:
Binder\Binder_Deconstruct.cs (2)
212if (boundRHS.Kind == BoundKind.TupleLiteral) 488if (element.Kind == BoundKind.TupleLiteral)
Binder\Binder_Expressions.cs (1)
2849case BoundKind.TupleLiteral:
Binder\Binder_Operators.cs (1)
5323case BoundKind.TupleLiteral:
Binder\Binder_Statements.cs (1)
2375case BoundKind.TupleLiteral:
Binder\Binder_TupleOperators.cs (2)
224Debug.Assert((object)left.Type != null || left.Kind == BoundKind.TupleLiteral); 225Debug.Assert((object)right.Type != null || right.Kind == BoundKind.TupleLiteral);
Binder\Semantics\Conversions\ConversionsBase.cs (3)
1082case BoundKind.TupleLiteral: 1410if (sourceExpression.Kind == BoundKind.TupleLiteral) 1949if (sourceExpressionOpt?.Kind == BoundKind.TupleLiteral)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
646else if (argument.Kind != BoundKind.TupleLiteral || 879if (argument.Kind == BoundKind.TupleLiteral && (object)argument.Type == null)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3268if (node.Kind == BoundKind.TupleLiteral)
BoundTree\BoundExpression.cs (2)
76case BoundKind.TupleLiteral: 739if (argument.Kind == BoundKind.TupleLiteral)
FlowAnalysis\AbstractFlowPass.cs (1)
598case BoundKind.TupleLiteral:
FlowAnalysis\DefiniteAssignment.cs (2)
897case BoundKind.TupleLiteral: 1624case BoundKind.TupleLiteral:
FlowAnalysis\NullableWalker.cs (4)
2199case BoundKind.TupleLiteral: 9605if (operandType.Type?.IsTupleType == true || conversionOperand.Kind == BoundKind.TupleLiteral) 11034case BoundKind.TupleLiteral: 11052case BoundKind.TupleLiteral:
Generated\BoundNodes.xml.Generated.cs (2)
6575: base(BoundKind.TupleLiteral, syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, hasErrors || arguments.HasErrors()) 9220case 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: