46 references to Conversion
Microsoft.CodeAnalysis.VisualBasic (46)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1653Case BoundKind.Conversion
Binding\Binder_Attributes.vb (1)
790Case BoundKind.Conversion
Binding\Binder_Conversions.vb (5)
454Debug.Assert(argument.Kind <> BoundKind.Conversion, "Associated wrong node with conversion?") 463Debug.Assert(argument.Kind <> BoundKind.Conversion OrElse DirectCast(argument, BoundConversion).ExplicitCastInCode OrElse 1135Debug.Assert(oldArgument IsNot argument AndAlso argument.Kind = BoundKind.Conversion) 1168Debug.Assert(oldArgument IsNot argument AndAlso argument.Kind = BoundKind.Conversion) 1288Return argument.Kind = BoundKind.Conversion
Binding\Binder_Delegates.vb (3)
136Debug.Assert(boundFirstArgument.Kind <> BoundKind.Conversion, "Associated wrong node with conversion?") 138ElseIf boundFirstArgument.Kind = BoundKind.Conversion Then 1240methodGroup.ReceiverOpt.Kind = BoundKind.Conversion Then
Binding\Binder_Invocation.vb (1)
3188If Not (convertedValue.Kind = BoundKind.Conversion AndAlso (DirectCast(convertedValue, BoundConversion).ConversionKind And ConversionKind.UserDefined) <> 0) Then
Binding\Binder_Operators.vb (4)
474If explicitSemanticForConcatArgument AndAlso left IsNot beforeConversion AndAlso left.Kind = BoundKind.Conversion Then 502If explicitSemanticForConcatArgument AndAlso right IsNot beforeConversion AndAlso right.Kind = BoundKind.Conversion Then 931While cast.Kind = BoundKind.Conversion OrElse cast.Kind = BoundKind.DirectCast 940Case BoundKind.Conversion
Binding\Binder_Statements.vb (2)
3178If stepValue IsNot stepValueBeforeConversion AndAlso stepValue.Kind = BoundKind.Conversion AndAlso 4008Debug.Assert(collectionType IsNot Nothing OrElse OptionStrict <> OptionStrict.On AndAlso collection.Kind = BoundKind.Conversion AndAlso DirectCast(collection, BoundConversion).Operand.IsNothingLiteral)
Binding\Binder_Utils.vb (1)
1329Case BoundKind.Conversion
Binding\MemberSemanticModel.vb (2)
794If originalCollection.Kind = BoundKind.Conversion Then 2178Case BoundKind.Conversion
BoundTree\BoundAssignmentOperator.vb (2)
104If rightNode.Kind = BoundKind.Conversion Then 129If leftNode.Kind = BoundKind.Conversion Then
BoundTree\BoundBinaryConditionalExpression.vb (1)
19ElseIf ConvertedTestExpression.Kind <> BoundKind.Conversion Then
BoundTree\BoundConversion.vb (1)
87If expr.Kind = BoundKind.Conversion Then
BoundTree\BoundExpressionExtensions.vb (3)
40Case BoundKind.Conversion 505Case BoundKind.Conversion 546BoundKind.Conversion
BoundTree\BoundTreeVisitor.vb (1)
39Case BoundKind.Conversion
CodeGen\EmitExpression.vb (1)
98Case BoundKind.Conversion
Compilation\SemanticModel.vb (1)
978If highestExpr.Kind = BoundKind.Conversion Then
Generated\BoundNodes.xml.Generated.vb (2)
2086MyBase.New(BoundKind.Conversion, syntax, type, hasErrors OrElse operand.NonNullAndHasErrors() OrElse extendedInfoOpt.NonNullAndHasErrors()) 9418Case BoundKind.Conversion
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
221Case BoundKind.Conversion
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (1)
547If resultType.IsNullableType AndAlso originalRight.Kind = BoundKind.Conversion Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
52Case BoundKind.Conversion
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
409BoundKind.Conversion
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
186Case BoundKind.Conversion
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
28If convertedTestExpression.Kind = BoundKind.Conversion Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (3)
121If returnValue.Kind = BoundKind.Conversion Then 157Case BoundKind.Conversion 367Case BoundKind.Conversion
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (2)
31If node.Collection.Kind = BoundKind.Conversion Then 201If collectionExpression.Kind = BoundKind.Conversion Then
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (2)
165Case BoundKind.Conversion 377Case BoundKind.Conversion
Semantics\Conversions.vb (1)
4236If expressionOpt Is Nothing OrElse expressionOpt.Kind <> BoundKind.Conversion OrElse expressionOpt.HasErrors Then