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