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