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