32 references to OperandTypes
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Operators.cs (3)
635
if (foundOperator && (resultOperatorKind.
OperandTypes
() != BinaryOperatorKind.NullableNull))
1000
var resultKind = kind | signature.Kind.
OperandTypes
();
1106
Debug.Assert(signature.Kind.
OperandTypes
() == BinaryOperatorKind.UserDefined);
Binder\Semantics\Operators\OperatorKindExtensions.cs (3)
197
return kind.
OperandTypes
() == BinaryOperatorKind.Dynamic;
270
switch (kind.
OperandTypes
())
288
switch (kind.
OperandTypes
())
CodeGen\EmitOperators.cs (4)
649
switch (expression.OperatorKind.Operator() | expression.OperatorKind.
OperandTypes
())
781
BinaryOperatorKind type = opKind.
OperandTypes
();
829
return opKind.
OperandTypes
() == BinaryOperatorKind.Bool;
837
var type = opKind.
OperandTypes
();
Compilation\BuiltInOperators.cs (5)
679
switch (op.Kind.
OperandTypes
())
746
switch (kind.
OperandTypes
())
778
switch (kind.
OperandTypes
())
810
switch (kind.
OperandTypes
())
837
var typeArgument = kind.
OperandTypes
() switch
Compilation\CSharpSemanticModel.cs (2)
3842
BinaryOperatorKind operandType = binaryOperator.OperatorKind.
OperandTypes
();
3915
BinaryOperatorKind operandType = compoundAssignment.Operator.Kind.
OperandTypes
();
FlowAnalysis\AbstractFlowPass.cs (1)
2475
var isBool = kind.
OperandTypes
() == BinaryOperatorKind.Bool;
FlowAnalysis\NullableWalker.cs (1)
4859
switch (operatorKind.Operator() | operatorKind.
OperandTypes
())
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
503
switch (opKind.
OperandTypes
())
509
var enumOperand = (opKind.
OperandTypes
() == BinaryOperatorKind.UnderlyingAndEnum) ? right : left;
Lowering\DiagnosticsPass_Warnings.cs (1)
751
if (node.OperatorKind.
OperandTypes
() != BinaryOperatorKind.NullableNull)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.ValueDispatchNode.cs (2)
88
Debug.Assert(op.
OperandTypes
() != 0);
142
Debug.Assert(op.
OperandTypes
() != 0);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
412
if (operatorKind.
OperandTypes
() == BinaryOperatorKind.Int && comparisonType.SpecialType != SpecialType.System_Int32)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
206
switch (operatorKind.Operator() | operatorKind.
OperandTypes
())
250
switch (operatorKind.OperatorWithLogical() | operatorKind.
OperandTypes
())
1057
operatorKind: leftOperator.WithType(kind.
OperandTypes
()),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (4)
744
Debug.Assert(binaryOperatorKind.
OperandTypes
() != 0);
771
Debug.Assert(binaryOperatorKind.
OperandTypes
() == BinaryOperatorKind.PointerAndInt);
1089
switch (binaryOperatorKind.
OperandTypes
())
1120
throw ExceptionUtilities.UnexpectedValue(binaryOperatorKind.
OperandTypes
());