Base:
property
ConversionKind
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.BoundConversionOrCast.ConversionKind
22 references to ConversionKind
Microsoft.CodeAnalysis.VisualBasic (22)
Binding\Binder_Attributes.vb (1)
765Not Conversions.IsWideningConversion(conv.ConversionKind) OrElse
CodeGen\EmitConversion.vb (3)
288Not Conversions.IsIdentityConversion(conversion.ConversionKind) AndAlso 324If Not Conversions.IsIdentityConversion(conversion.ConversionKind) Then 389If Conversions.IsWideningConversion(conversion.ConversionKind) Then
CodeGen\EmitExpression.vb (1)
1515Dim conversionKind = conversion.ConversionKind
Generated\BoundNodes.xml.Generated.vb (3)
2376If 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 12307Return node.Update(operand, node.ConversionKind, node.SuppressVirtualCalls, node.ConstantValueOpt, relaxationLambdaOpt, type) 13484New TreeDumperNode("conversionKind", node.ConversionKind, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
414rewritten.ConversionKind,
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
356If (node.ConversionKind And ConversionKind.ConvertedToExpressionTree) <> 0 Then 360If Me.IsInExpressionLambda AndAlso (node.ConversionKind And ConversionKind.Lambda) <> 0 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (2)
30If Conversions.IsIdentityConversion(node.ConversionKind) Then 35Return ConvertExpression(node.Operand, node.ConversionKind, node.Operand.Type, node.Type, False, True, ConversionSemantics.DirectCast)
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
357Return VisitLambda(lambda, (node.ConversionKind And ConversionKind.ConvertedToExpressionTree) <> 0)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
950Dim result As BoundExpression = RewriteLambda(lambda, VisitType(node.Type), (node.ConversionKind And ConversionKind.ConvertedToExpressionTree) <> 0) 952result = node.Update(result, node.ConversionKind, node.SuppressVirtualCalls, node.ConstantValueOpt, node.RelaxationLambdaOpt, node.Type)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
415conversionKind = conversion.ConversionKind
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
184cast.ConversionKind, cast.SuppressVirtualCalls, cast.ConstantValueOpt, cast.RelaxationLambdaOpt, cast.Type)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (4)
264node.ConversionKind, node.SuppressVirtualCalls, 270node.ConversionKind, node.SuppressVirtualCalls, 1287If Not _inExpressionLambda AndAlso Conversions.IsIdentityConversion(node.ConversionKind) Then 1294If (node.ConversionKind And (ConversionKind.Lambda Or ConversionKind.ConvertedToExpressionTree)) = (ConversionKind.Lambda Or ConversionKind.ConvertedToExpressionTree) Then