Base:
property
ConversionKind
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.BoundConversionOrCast.ConversionKind
23 references to ConversionKind
Microsoft.CodeAnalysis.VisualBasic (23)
Binding\Binder_Attributes.vb (1)
779
Not Conversions.IsWideningConversion(conv.
ConversionKind
) OrElse
CodeGen\EmitConversion.vb (1)
483
If Not Conversions.IsIdentityConversion(conversion.
ConversionKind
) Then
CodeGen\EmitExpression.vb (1)
1522
Dim conversionKind = conversion.
ConversionKind
Generated\BoundNodes.xml.Generated.vb (3)
2440
If operand IsNot Me.Operand OrElse conversionKind <> Me.
ConversionKind
OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse relaxationLambdaOpt IsNot Me.RelaxationLambdaOpt OrElse type IsNot Me.Type Then
12314
Return node.Update(operand, node.
ConversionKind
, node.ConstantValueOpt, relaxationLambdaOpt, type)
13495
New TreeDumperNode("conversionKind", node.
ConversionKind
, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
435
rewritten.
ConversionKind
,
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
340
If (node.
ConversionKind
And ConversionKind.ConvertedToExpressionTree) <> 0 Then
344
If Me.IsInExpressionLambda AndAlso (node.
ConversionKind
And ConversionKind.Lambda) <> 0 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (2)
39
If Conversions.IsIdentityConversion(node.
ConversionKind
) Then
44
Return ConvertExpression(node.Operand, node.
ConversionKind
, node.Operand.Type, node.Type, False, True, ConversionSemantics.TryCast)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
346
Return VisitLambda(lambda, (node.
ConversionKind
And ConversionKind.ConvertedToExpressionTree) <> 0)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
935
Dim result As BoundExpression = RewriteLambda(lambda, VisitType(node.Type), (node.
ConversionKind
And ConversionKind.ConvertedToExpressionTree) <> 0)
937
result = node.Update(result, node.
ConversionKind
, node.ConstantValueOpt, node.RelaxationLambdaOpt, node.Type)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
419
conversionKind = conversion.
ConversionKind
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (8)
287
node.
ConversionKind
,
293
node.
ConversionKind
,
1313
If Not _inExpressionLambda AndAlso Conversions.IsIdentityConversion(node.
ConversionKind
) Then
1320
If (node.
ConversionKind
And (ConversionKind.Lambda Or ConversionKind.ConvertedToExpressionTree)) = (ConversionKind.Lambda Or ConversionKind.ConvertedToExpressionTree) Then
1327
If Conversions.IsWideningConversion(node.
ConversionKind
) AndAlso
1328
Not Conversions.IsIdentityConversion(node.
ConversionKind
) Then
1338
Debug.Assert(node.
ConversionKind
= Conversions.ClassifyDirectCastConversion(operand.Type, node.Type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
1339
returnValue = New BoundDirectCast(node.Syntax, DirectCast(Visit(operand), BoundExpression), node.
ConversionKind
, typeTo, Nothing)