27 references to OperatorKind
Microsoft.CodeAnalysis.VisualBasic (27)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2287If node.OperatorKind = UnaryOperatorKind.Not Then
BoundTree\BoundUnaryOperator.vb (3)
34If (OperatorKind And UnaryOperatorKind.Error) = 0 Then 35Dim op As UnaryOperatorKind = (OperatorKind And UnaryOperatorKind.OpMask) 40Dim opName As String = OverloadResolution.TryGetOperatorName(OperatorKind, isChecked)
CodeGen\EmitConversion.vb (1)
130Select Case (DirectCast(conversion.Operand, BoundUnaryOperator).OperatorKind And UnaryOperatorKind.IntrinsicOpMask)
CodeGen\EmitOperators.vb (6)
15Debug.Assert((expression.OperatorKind And Not UnaryOperatorKind.IntrinsicOpMask) = 0 AndAlso expression.OperatorKind <> 0) 22Select Case expression.OperatorKind 80Throw ExceptionUtilities.UnexpectedValue(expression.OperatorKind) 88expression.OperatorKind = UnaryOperatorKind.Minus AndAlso 689Debug.Assert(unOp.OperatorKind = UnaryOperatorKind.Not AndAlso unOp.Type.IsBooleanType())
CodeGen\EmitStatement.vb (1)
758If (unOp.OperatorKind = UnaryOperatorKind.Not) Then
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
1001If node.Checked AndAlso (node.OperatorKind And UnaryOperatorKind.OpMask) = UnaryOperatorKind.Minus Then 1006Return node.Update(node.OperatorKind, operand, node.Checked, node.ConstantValueOpt, node.Type)
Generated\BoundNodes.xml.Generated.vb (3)
1429If operatorKind <> Me.OperatorKind OrElse operand IsNot Me.Operand OrElse checked <> Me.Checked OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse type IsNot Me.Type Then 12198Return node.Update(node.OperatorKind, operand, node.Checked, node.ConstantValueOpt, type) 13339New TreeDumperNode("operatorKind", node.OperatorKind, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
929rewritten.Update(rewritten.OperatorKind,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (2)
31Dim opKind As UnaryOperatorKind = node.OperatorKind And UnaryOperatorKind.OpMask 34Debug.Assert((node.OperatorKind And UnaryOperatorKind.UserDefined) = 0)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
395If (unaryOperator.OperatorKind And UnaryOperatorKind.UserDefined) = 0 Then 396Select Case (unaryOperator.OperatorKind And UnaryOperatorKind.IntrinsicOpMask)
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (5)
80If (node.OperatorKind And UnaryOperatorKind.Lifted) = 0 OrElse _inExpressionLambda Then 95Dim kind As UnaryOperatorKind = node.OperatorKind 114Dim opKind = (node.OperatorKind And UnaryOperatorKind.IntrinsicOpMask) 142Dim opKind = (node.OperatorKind And UnaryOperatorKind.IntrinsicOpMask) 316Dim unliftedOpKind = originalOperator.OperatorKind And (Not UnaryOperatorKind.Lifted)