26 references to ConversionSemantics
Microsoft.CodeAnalysis.VisualBasic (26)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (5)
310left = CreateBuiltInConversion(operandActiveType, newType, left, node.Checked, False, ConversionSemantics.[Default]) 311right = CreateBuiltInConversion(operandActiveType, newType, right, node.Checked, False, ConversionSemantics.[Default]) 353left = CreateBuiltInConversion(resultType, systemBool, left, node.Checked, False, ConversionSemantics.[Default]) 354right = CreateBuiltInConversion(resultType, systemBool, right, node.Checked, False, ConversionSemantics.[Default]) 561result = CreateBuiltInConversion(operandType, Me.Int32Type, result, isChecked, False, ConversionSemantics.[Default])
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (21)
26Return ConvertExpression(node.Operand, node.ConversionKind, node.Operand.Type, node.Type, node.Checked, node.ExplicitCastInCode, ConversionSemantics.[Default]) 35Return ConvertExpression(node.Operand, node.ConversionKind, node.Operand.Type, node.Type, False, True, ConversionSemantics.DirectCast) 44Return ConvertExpression(node.Operand, node.ConversionKind, node.Operand.Type, node.Type, False, True, ConversionSemantics.TryCast) 54isChecked As Boolean, explicitCastInCode As Boolean, semantics As ConversionSemantics) As BoundExpression 96Debug.Assert(semantics = ConversionSemantics.Default) 129semantics As ConversionSemantics, 149Debug.Assert(semantics <> ConversionSemantics.TryCast) 159Debug.Assert(semantics <> ConversionSemantics.TryCast) 164ConversionSemantics.[Default], specialConversionForNullable:=True) 166ConversionSemantics.[Default], specialConversionForNullable:=True) 177Debug.Assert(semantics <> ConversionSemantics.TryCast) 187Debug.Assert(semantics <> ConversionSemantics.TryCast) 192ConversionSemantics.[Default], specialConversionForNullable:=True) 194ConversionSemantics.[Default], specialConversionForNullable:=True) 205If semantics = ConversionSemantics.Default Then 228Case ConversionSemantics.DirectCast 231Case ConversionSemantics.TryCast 240If semantics = ConversionSemantics.TryCast Then 295Debug.Assert(semantics <> ConversionSemantics.TryCast) 298ElseIf semantics = ConversionSemantics.TryCast Then 395outerConversion.Checked, outerConversion.ExplicitCastInCode, ConversionSemantics.[Default])