Base:
property
Operand
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.BoundConversionOrCast.Operand
44 references to Operand
Microsoft.CodeAnalysis.VisualBasic (44)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2349
VisitRvalue(node.
Operand
)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1657
value = DirectCast(value, BoundDirectCast).
Operand
Binding\Binder_Attributes.vb (4)
766
Not _binder.IsValidTypeForAttributeArgument(conv.
Operand
.Type) Then
769
ReportDiagnostic(diagBag, conv.
Operand
.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.
Operand
.Type, conv.Type)
773
node = conv.
Operand
Binding\Binder_Operators.vb (1)
948
cast = conv.
Operand
Binding\Binder_Utils.vb (1)
1321
Dim result = CheckConversionForConstantExpression(conv, conv.
Operand
, diagnostics, context)
Binding\MemberSemanticModel.vb (1)
2370
Return Visit(node.
Operand
)
BoundTree\BoundDirectCast.vb (1)
47
Operand
.AssertRValue()
BoundTree\BoundExpressionExtensions.vb (1)
48
constValue = DirectCast(node, BoundDirectCast).
Operand
.ConstantValueOpt
CodeGen\EmitConversion.vb (10)
285
Dim typeFrom As TypeSymbol = conversion.
Operand
.Type
287
Return Not conversion.
Operand
.IsNothingLiteral AndAlso
297
EmitExpression(conversion.
Operand
, False)
305
If conversion.
Operand
.IsNothingLiteral Then
311
EmitExpression(conversion.
Operand
, True)
322
EmitExpression(conversion.
Operand
, True)
326
Dim typeFrom = conversion.
Operand
.Type
335
EmitBox(typeFrom, conversion.
Operand
.Syntax)
361
EmitBox(typeFrom, conversion.
Operand
.Syntax)
369
EmitBox(typeFrom, conversion.
Operand
.Syntax)
CodeGen\EmitExpression.vb (3)
726
EmitExpression(DirectCast(receiver, BoundDirectCast).
Operand
, True)
900
Dim convOperand = DirectCast(receiver, BoundDirectCast).
Operand
1517
Return StackMergeType(conversion.
Operand
)
Generated\BoundNodes.xml.Generated.vb (4)
2376
If 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
11314
Me.Visit(node.
Operand
)
12304
Dim operand As BoundExpression = DirectCast(Me.Visit(node.
Operand
), BoundExpression)
13483
New TreeDumperNode("operand", Nothing, new TreeDumperNode() {Visit(node.
Operand
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
402
Dim operand As BoundExpression = rewritten.
Operand
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
361
VisitLambdaConversion(node.
Operand
, node.RelaxationLambdaOpt)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (3)
31
Return Me.VisitInternal(node.
Operand
)
35
Return ConvertExpression(node.
Operand
, node.ConversionKind, node.
Operand
.Type, node.Type, False, True, ConversionSemantics.DirectCast)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
352
Dim lambda As BoundLambda = TryCast(node.
Operand
, BoundLambda)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
945
Dim lambda As BoundLambda = TryCast(node.
Operand
, BoundLambda)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
416
nodeToCheck = conversion.
Operand
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (5)
183
Return cast.Update(ReplaceMyGroupCollectionPropertyGetWithUnderlyingField(cast.
Operand
),
563
If cast.
Operand
.Type.IsBooleanType() Then
565
left = cast.
Operand
571
If cast.
Operand
.Type.IsBooleanType() Then
573
right = cast.
Operand
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (3)
259
NoParameterRelaxation(node.
Operand
, node.RelaxationLambdaOpt.LambdaSymbol) Then
263
node.Update(node.
Operand
,
1288
Return VisitExpressionNode(node.
Operand
)