13 instantiations of BoundUnaryOperator
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\Binder_Operators.vb (2)
1151Return New BoundUnaryOperator(node, preliminaryOperatorKind Or UnaryOperatorKind.Error, operand, CheckOverflow, ErrorTypeSymbol.UnknownResultType, HasErrors:=True) 1204Return New BoundUnaryOperator(node, operatorKind, operand, CheckOverflow, constantValue, resultType)
BoundTree\BoundUnaryOperator.vb (1)
21Me.New(syntax, operatorKind, operand, checked, constantValueOpt:=Nothing, type:=type, hasErrors:=hasErrors OrElse operand.HasErrors())
Generated\BoundNodes.xml.Generated.vb (1)
1411Dim result = New BoundUnaryOperator(Me.Syntax, operatorKind, operand, checked, constantValueOpt, type, Me.HasErrors)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (4)
1003New BoundUnaryOperator(node.Syntax, 1129New BoundUnaryOperator(syntax, UnaryOperatorKind.Not, 1272New BoundUnaryOperator(node.Syntax, 1358result = New BoundUnaryOperator(result.Syntax,
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
319New BoundUnaryOperator(originalOperator.Syntax,
Lowering\SyntheticBoundNodeFactory.vb (1)
1052Return New BoundUnaryOperator(expression.Syntax, UnaryOperatorKind.Not, expression, False, expression.Type)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Semantics\OverloadResolution.vb (3)
198Dim intVal As BoundExpression = New BoundUnaryOperator(_syntaxNode, UnaryOperatorKind.Minus, intZero, False, intZero.Type) 203Dim doubleVal As BoundExpression = New BoundUnaryOperator(_syntaxNode, UnaryOperatorKind.Minus, doubleConst, False, doubleConst.Type) 3076Dim intVal As BoundExpression = New BoundUnaryOperator(_syntaxNode, UnaryOperatorKind.Minus, IntegerMaxValue, False, IntegerMaxValue.Type)
32 references to BoundUnaryOperator
Microsoft.CodeAnalysis.VisualBasic (32)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2270Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode
Binding\Binder_Utils.vb (1)
1346boundExpression = DirectCast(boundExpression, BoundUnaryOperator).Operand
BoundTree\BoundTreeVisitor.vb (1)
30Return VisitUnaryOperator(CType(node, BoundUnaryOperator), arg)
CodeGen\EmitConversion.vb (1)
130Select Case (DirectCast(conversion.Operand, BoundUnaryOperator).OperatorKind And UnaryOperatorKind.IntrinsicOpMask)
CodeGen\EmitExpression.vb (1)
142EmitUnaryOperatorExpression(DirectCast(expression, BoundUnaryOperator), used)
CodeGen\EmitOperators.vb (3)
14Private Sub EmitUnaryOperatorExpression(expression As BoundUnaryOperator, used As Boolean) 86Private Shared Function OperatorHasSideEffects(expression As BoundUnaryOperator) As Boolean 595Dim unOp = DirectCast(condition, BoundUnaryOperator)
CodeGen\EmitStatement.vb (1)
757Dim unOp = DirectCast(condition, BoundUnaryOperator)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
999Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode
Generated\BoundNodes.xml.Generated.vb (7)
1409Public Function Update(operatorKind As UnaryOperatorKind, operand As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundUnaryOperator 9361Return VisitUnaryOperator(CType(node, BoundUnaryOperator), arg) 9769Public Overridable Function VisitUnaryOperator(node As BoundUnaryOperator, arg As A) As R 10472Public Overridable Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode 11187Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode 12161Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode 13300Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
808Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode 809Dim rewritten = DirectCast(MyBase.VisitUnaryOperator(node), BoundUnaryOperator)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
249Return VisitUnaryOperator(DirectCast(node, BoundUnaryOperator))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
21Private Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
393Dim unaryOperator = DirectCast(nodeToCheck, BoundUnaryOperator)
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (7)
79Public Overrides Function VisitUnaryOperator(node As BoundUnaryOperator) As BoundNode 84result = RewriteUnaryOperator(DirectCast(result, BoundUnaryOperator)) 93Private Function RewriteUnaryOperator(node As BoundUnaryOperator) As BoundExpression 110Private Function RewriteObjectUnaryOperator(node As BoundUnaryOperator) As BoundExpression 138Private Function RewriteDecimalUnaryOperator(node As BoundUnaryOperator) As BoundExpression 163Private Function RewriteLiftedUnaryOperator(node As BoundUnaryOperator) As BoundNode 312Private Function ApplyUnliftedUnaryOp(originalOperator As BoundUnaryOperator, operandValue As BoundExpression) As BoundExpression
Operations\VisualBasicOperationFactory.vb (3)
90Return CreateBoundUnaryOperatorOperation(DirectCast(boundNode, BoundUnaryOperator)) 485Return Create(DirectCast(boundOperator, BoundUnaryOperator).Operand) 498Private Function CreateBoundUnaryOperatorOperation(boundUnaryOperator As BoundUnaryOperator) As IUnaryOperation