3 types derived from TupleBinaryOperatorInfo
Microsoft.CodeAnalysis.CSharp (3)
BoundTree\TupleBinaryOperatorInfo.cs (3)
45internal class Single : TupleBinaryOperatorInfo 101internal class Multiple : TupleBinaryOperatorInfo 138internal class NullNull : TupleBinaryOperatorInfo
29 references to TupleBinaryOperatorInfo
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_TupleOperators.cs (13)
28TupleBinaryOperatorInfo.Multiple operators = BindTupleBinaryOperatorNestedInfo(node, kind, left, right, diagnostics); 38private BoundExpression ApplyConvertedTypes(BoundExpression expr, TupleBinaryOperatorInfo @operator, bool isRight, BindingDiagnosticBag diagnostics) 48var multiple = (TupleBinaryOperatorInfo.Multiple)@operator; 82private TupleBinaryOperatorInfo BindTupleBinaryOperatorInfo(BinaryExpressionSyntax node, BinaryOperatorKind kind, 103return new TupleBinaryOperatorInfo.NullNull(kind); 111return new TupleBinaryOperatorInfo.Single(binary.Left.Type, binary.Right.Type, binary.OperatorKind, binary.Method, binary.ConstrainedToType, 179private TupleBinaryOperatorInfo BindTupleDynamicBinaryOperatorSingleInfo(BinaryExpressionSyntax node, BinaryOperatorKind kind, 198return new TupleBinaryOperatorInfo.Single(dynamicType, dynamicType, elementOperatorKind, 202private TupleBinaryOperatorInfo.Multiple BindTupleBinaryOperatorNestedInfo(BinaryExpressionSyntax node, BinaryOperatorKind kind, 212return TupleBinaryOperatorInfo.Multiple.ErrorInstance; 226return TupleBinaryOperatorInfo.Multiple.ErrorInstance; 236var operatorsBuilder = ArrayBuilder<TupleBinaryOperatorInfo>.GetInstance(length); 254return new TupleBinaryOperatorInfo.Multiple(operators, leftTupleType, rightTupleType);
BoundTree\TupleBinaryOperatorInfo.cs (3)
103internal readonly ImmutableArray<TupleBinaryOperatorInfo> Operators; 106new Multiple(operators: ImmutableArray<TupleBinaryOperatorInfo>.Empty, leftConvertedTypeOpt: null, rightConvertedTypeOpt: null); 108internal Multiple(ImmutableArray<TupleBinaryOperatorInfo> operators, TypeSymbol? leftConvertedTypeOpt, TypeSymbol? rightConvertedTypeOpt)
Generated\BoundNodes.xml.Generated.cs (3)
1694public BoundTupleBinaryOperator(SyntaxNode syntax, BoundExpression left, BoundExpression right, BinaryOperatorKind operatorKind, TupleBinaryOperatorInfo.Multiple operators, TypeSymbol type, bool hasErrors = false) 1713public TupleBinaryOperatorInfo.Multiple Operators { get; } 1718public BoundTupleBinaryOperator Update(BoundExpression left, BoundExpression right, BinaryOperatorKind operatorKind, TupleBinaryOperatorInfo.Multiple operators, TypeSymbol type)
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (10)
140TupleBinaryOperatorInfo operators, 151var multiple = (TupleBinaryOperatorInfo.Multiple)operators; 245private BoundExpression RewriteTupleOperator(TupleBinaryOperatorInfo @operator, 252return RewriteTupleNestedOperators((TupleBinaryOperatorInfo.Multiple)@operator, left, right, boolType, temps, operatorKind); 255return RewriteTupleSingleOperator((TupleBinaryOperatorInfo.Single)@operator, left, right, boolType, operatorKind); 258var nullnull = (TupleBinaryOperatorInfo.NullNull)@operator; 266private BoundExpression RewriteTupleNestedOperators(TupleBinaryOperatorInfo.Multiple operators, BoundExpression left, BoundExpression right, 484private BoundExpression RewriteNonNullableNestedTupleOperators(TupleBinaryOperatorInfo.Multiple operators, 488ImmutableArray<TupleBinaryOperatorInfo> nestedOperators = operators.Operators; 541private BoundExpression RewriteTupleSingleOperator(TupleBinaryOperatorInfo.Single single,