Lowering\LocalRewriter\LocalRewriter_Conversion.vb (34)
15Dim result = DirectCast(Visit(node.Operand), BoundExpression)
34If node.Operand.Kind = BoundKind.UserDefinedConversion Then
36Return node.Update(DirectCast(Visit(node.Operand), BoundExpression),
46Return RewriteNullableUserDefinedConversion(DirectCast(node.Operand, BoundUserDefinedConversion))
48Return Visit(DirectCast(node.Operand, BoundUserDefinedConversion).UnderlyingExpression)
54node.Operand.Type IsNot Nothing AndAlso node.Operand.Type.IsNullableType) AndAlso
70If Not node.HasErrors AndAlso node.Type.IsBooleanType() AndAlso node.Operand.Type.IsObjectType() Then
71Dim operand As BoundNode = node.Operand
169Dim rewrittenOperand = VisitExpression(node.Operand)
235NoParameterRelaxation(node.Operand, relaxationLambda.LambdaSymbol) Then
239node.Update(node.Operand,
315Debug.Assert(node.Operand.Type.IsDelegateType() AndAlso
316DirectCast(node.Operand.Type, NamedTypeSymbol).IsAnonymousType AndAlso
321If (node.Operand.IsDefaultValueConstant) Then
336If (Not Me._inExpressionLambda AndAlso CouldPossiblyBeNothing(F, node.Operand)) Then
337Dim savedOriginalValue = F.SynthesizedLocal(node.Operand.Type)
341DirectCast(node.Operand.Type, NamedTypeSymbol).DelegateInvokeMethod,
348F.AssignmentExpression(F.Local(savedOriginalValue, True), VisitExpression(node.Operand)),
351Dim convertedValue = New BoundDelegateCreationExpression(node.Syntax, node.Operand,
352DirectCast(node.Operand.Type, NamedTypeSymbol).DelegateInvokeMethod,
369Return CouldPossiblyBeNothing(F, t.Operand)
385Dim rewrittenOperand = DirectCast(Me.Visit(node.Operand), BoundExpression)
803Dim operand = rewrittenConversion.Operand
883Dim operand = node.Operand
907Debug.Assert(node.Operand.IsNothingLiteral() OrElse
909Conversions.ClassifyDirectCastConversion(node.Operand.Type, node.Type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
915Return New BoundDirectCast(node.Syntax, node.Operand, node.ConversionKind, node.Type, Nothing)
957Dim operand = node.Operand
1046Dim operand = node.Operand
1115Dim operand = node.Operand
1185Dim operand = node.Operand
1252Dim operand = node.Operand
1281Dim operand = node.Operand