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