30 references to TestConversion_TwoTypesAndExpression
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (30)
ExpressionTrees\CodeGenExprLambda.vb (30)
1548TestConversion_TwoTypesAndExpression(type1, type2, "{0}", list)
1556TestConversion_TwoTypesAndExpression(type1, type2, "CType({0}, {1})", list)
1562TestConversion_TwoTypesAndExpression(type1, type2, "DirectCast({0}, {1})", list)
1567TestConversion_TwoTypesAndExpression(type1, type2, "DirectCast({0}, {1})", list)
1571TestConversion_TwoTypesAndExpression(type1, type2, "DirectCast({0}, {1})", list)
1591TestConversion_TwoTypesAndExpression(type1, type2, "TryCast({0}, {1})", list)
1601TestConversion_TwoTypesAndExpression(type1, type2, "CBool({0})", list)
1607TestConversion_TwoTypesAndExpression(type1, type2, "CByte({0})", list)
1610TestConversion_TwoTypesAndExpression(type1, type2, "CChar({0})", list)
1616TestConversion_TwoTypesAndExpression(type1, type2, "CDate({0})", list)
1622TestConversion_TwoTypesAndExpression(type1, type2, "CDbl({0})", list)
1628TestConversion_TwoTypesAndExpression(type1, type2, "CDec({0})", list)
1634TestConversion_TwoTypesAndExpression(type1, type2, "CInt({0})", list)
1640TestConversion_TwoTypesAndExpression(type1, type2, "CLng({0})", list)
1643TestConversion_TwoTypesAndExpression(type1, type2, "CObj({0})", list)
1649TestConversion_TwoTypesAndExpression(type1, type2, "CShort({0})", list)
1655TestConversion_TwoTypesAndExpression(type1, type2, "CSng({0})", list)
1658TestConversion_TwoTypesAndExpression(type1, type2, "CStr({0})", list)
1685TestConversion_TwoTypesAndExpression("O", "Clazz2", "TryCast({0}, {1})", tests)
1687TestConversion_TwoTypesAndExpression("D", "Clazz2", "TryCast({0}, {1})", tests)
1696TestConversion_TwoTypesAndExpression("Clazz2", "O", "TryCast({0}, {1})", tests)
1699TestConversion_TwoTypesAndExpression("Clazz2", "D", "TryCast({0}, {1})", tests)
1703TestConversion_TwoTypesAndExpression("Object", type1, "Nothing", tests)
1704TestConversion_TwoTypesAndExpression("Object", type1, "CType(Nothing, {1})", tests)
1705TestConversion_TwoTypesAndExpression("Object", type1, "DirectCast(Nothing, {1})", tests)
1707TestConversion_TwoTypesAndExpression("Object", type1, "TryCast(Nothing, {1})", tests)
1727TestConversion_TwoTypesAndExpression(type1, type2, "{0}", list)
1728TestConversion_TwoTypesAndExpression(type1, type2, "CType({0}, {1})", list)
1729TestConversion_TwoTypesAndExpression(type1, type2, "DirectCast({0}, {1})", list)
1731TestConversion_TwoTypesAndExpression(type1, type2, "TryCast({0}, {1})", list)