Base:
property
Operand
Microsoft.CodeAnalysis.VisualBasic.BoundConversionOrCast.Operand
44 references to Operand
Microsoft.CodeAnalysis.VisualBasic (44)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2333VisitRvalue(node.Operand)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1651value = DirectCast(value, BoundDirectCast).Operand
Binding\Binder_Attributes.vb (4)
763Not _binder.IsValidTypeForAttributeArgument(conv.Operand.Type) Then 766ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.Operand.Type, conv.Type) 770node = conv.Operand
Binding\Binder_Operators.vb (1)
918cast = conv.Operand
Binding\Binder_Utils.vb (1)
1321Dim result = CheckConversionForConstantExpression(conv, conv.Operand, diagnostics, context)
Binding\MemberSemanticModel.vb (1)
2370Return Visit(node.Operand)
BoundTree\BoundDirectCast.vb (1)
47Operand.AssertRValue()
BoundTree\BoundExpressionExtensions.vb (1)
48constValue = DirectCast(node, BoundDirectCast).Operand.ConstantValueOpt
CodeGen\EmitConversion.vb (10)
285Dim typeFrom As TypeSymbol = conversion.Operand.Type 287Return Not conversion.Operand.IsNothingLiteral AndAlso 297EmitExpression(conversion.Operand, False) 305If conversion.Operand.IsNothingLiteral Then 311EmitExpression(conversion.Operand, True) 322EmitExpression(conversion.Operand, True) 326Dim typeFrom = conversion.Operand.Type 335EmitBox(typeFrom, conversion.Operand.Syntax) 361EmitBox(typeFrom, conversion.Operand.Syntax) 369EmitBox(typeFrom, conversion.Operand.Syntax)
CodeGen\EmitExpression.vb (3)
721EmitExpression(DirectCast(receiver, BoundDirectCast).Operand, True) 895Dim convOperand = DirectCast(receiver, BoundDirectCast).Operand 1394Return StackMergeType(conversion.Operand)
Generated\BoundNodes.xml.Generated.vb (4)
2357If operand IsNot Me.Operand OrElse conversionKind <> Me.ConversionKind OrElse suppressVirtualCalls <> Me.SuppressVirtualCalls OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse relaxationLambdaOpt IsNot Me.RelaxationLambdaOpt OrElse type IsNot Me.Type Then 11280Me.Visit(node.Operand) 12270Dim operand As BoundExpression = DirectCast(Me.Visit(node.Operand), BoundExpression) 13446New TreeDumperNode("operand", Nothing, new TreeDumperNode() {Visit(node.Operand, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
331Dim operand As BoundExpression = rewritten.Operand
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
358VisitLambdaConversion(node.Operand, node.RelaxationLambdaOpt)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (3)
31Return Me.VisitInternal(node.Operand) 35Return ConvertExpression(node.Operand, node.ConversionKind, node.Operand.Type, node.Type, False, True, ConversionSemantics.DirectCast)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
352Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
925Dim lambda As BoundLambda = TryCast(node.Operand, BoundLambda)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
416nodeToCheck = conversion.Operand
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (5)
188Return cast.Update(ReplaceMyGroupCollectionPropertyGetWithUnderlyingField(cast.Operand), 568If cast.Operand.Type.IsBooleanType() Then 570left = cast.Operand 576If cast.Operand.Type.IsBooleanType() Then 578right = cast.Operand
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (3)
259NoParameterRelaxation(node.Operand, node.RelaxationLambdaOpt.LambdaSymbol) Then 263node.Update(node.Operand, 1374Return VisitExpressionNode(node.Operand)