66 references to CheckedConversionInExpressionTree_Implicit
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (66)
CodeGen\CodeGenCheckedTests.cs (66)
2380CheckedConversionInExpressionTree_Implicit("char", "char", ConvertMethod.None);
2381CheckedConversionInExpressionTree_Implicit("char", "ushort", ConvertMethod.ConvertChecked);
2382CheckedConversionInExpressionTree_Implicit("char", "int", ConvertMethod.ConvertChecked);
2383CheckedConversionInExpressionTree_Implicit("char", "uint", ConvertMethod.ConvertChecked);
2384CheckedConversionInExpressionTree_Implicit("char", "long", ConvertMethod.ConvertChecked);
2385CheckedConversionInExpressionTree_Implicit("char", "ulong", ConvertMethod.ConvertChecked);
2386CheckedConversionInExpressionTree_Implicit("char", "decimal", ConvertMethod.Convert);
2387CheckedConversionInExpressionTree_Implicit("char", "float", ConvertMethod.Convert);
2388CheckedConversionInExpressionTree_Implicit("char", "double", ConvertMethod.Convert);
2391CheckedConversionInExpressionTree_Implicit("sbyte", "sbyte", ConvertMethod.None);
2392CheckedConversionInExpressionTree_Implicit("sbyte", "short", ConvertMethod.ConvertChecked);
2393CheckedConversionInExpressionTree_Implicit("sbyte", "int", ConvertMethod.ConvertChecked);
2394CheckedConversionInExpressionTree_Implicit("sbyte", "long", ConvertMethod.ConvertChecked);
2395CheckedConversionInExpressionTree_Implicit("sbyte", "decimal", ConvertMethod.Convert);
2396CheckedConversionInExpressionTree_Implicit("sbyte", "float", ConvertMethod.Convert);
2397CheckedConversionInExpressionTree_Implicit("sbyte", "double", ConvertMethod.Convert);
2400CheckedConversionInExpressionTree_Implicit("byte", "byte", ConvertMethod.None);
2401CheckedConversionInExpressionTree_Implicit("byte", "short", ConvertMethod.ConvertChecked);
2402CheckedConversionInExpressionTree_Implicit("byte", "ushort", ConvertMethod.ConvertChecked);
2403CheckedConversionInExpressionTree_Implicit("byte", "int", ConvertMethod.ConvertChecked);
2404CheckedConversionInExpressionTree_Implicit("byte", "uint", ConvertMethod.ConvertChecked);
2405CheckedConversionInExpressionTree_Implicit("byte", "long", ConvertMethod.ConvertChecked);
2406CheckedConversionInExpressionTree_Implicit("byte", "ulong", ConvertMethod.ConvertChecked);
2407CheckedConversionInExpressionTree_Implicit("byte", "decimal", ConvertMethod.Convert);
2408CheckedConversionInExpressionTree_Implicit("byte", "float", ConvertMethod.Convert);
2409CheckedConversionInExpressionTree_Implicit("byte", "double", ConvertMethod.Convert);
2412CheckedConversionInExpressionTree_Implicit("short", "short", ConvertMethod.None);
2413CheckedConversionInExpressionTree_Implicit("short", "int", ConvertMethod.ConvertChecked);
2414CheckedConversionInExpressionTree_Implicit("short", "long", ConvertMethod.ConvertChecked);
2415CheckedConversionInExpressionTree_Implicit("short", "decimal", ConvertMethod.Convert);
2416CheckedConversionInExpressionTree_Implicit("short", "float", ConvertMethod.Convert);
2417CheckedConversionInExpressionTree_Implicit("short", "double", ConvertMethod.Convert);
2420CheckedConversionInExpressionTree_Implicit("ushort", "ushort", ConvertMethod.None);
2421CheckedConversionInExpressionTree_Implicit("ushort", "int", ConvertMethod.ConvertChecked);
2422CheckedConversionInExpressionTree_Implicit("ushort", "uint", ConvertMethod.ConvertChecked);
2423CheckedConversionInExpressionTree_Implicit("ushort", "long", ConvertMethod.ConvertChecked);
2424CheckedConversionInExpressionTree_Implicit("ushort", "ulong", ConvertMethod.ConvertChecked);
2425CheckedConversionInExpressionTree_Implicit("ushort", "decimal", ConvertMethod.Convert);
2426CheckedConversionInExpressionTree_Implicit("ushort", "float", ConvertMethod.Convert);
2427CheckedConversionInExpressionTree_Implicit("ushort", "double", ConvertMethod.Convert);
2430CheckedConversionInExpressionTree_Implicit("int", "int", ConvertMethod.None);
2431CheckedConversionInExpressionTree_Implicit("int", "long", ConvertMethod.ConvertChecked);
2432CheckedConversionInExpressionTree_Implicit("int", "decimal", ConvertMethod.Convert);
2433CheckedConversionInExpressionTree_Implicit("int", "float", ConvertMethod.Convert);
2434CheckedConversionInExpressionTree_Implicit("int", "double", ConvertMethod.Convert);
2437CheckedConversionInExpressionTree_Implicit("uint", "uint", ConvertMethod.None);
2438CheckedConversionInExpressionTree_Implicit("uint", "long", ConvertMethod.ConvertChecked);
2439CheckedConversionInExpressionTree_Implicit("uint", "ulong", ConvertMethod.ConvertChecked);
2440CheckedConversionInExpressionTree_Implicit("uint", "decimal", ConvertMethod.Convert);
2441CheckedConversionInExpressionTree_Implicit("uint", "float", ConvertMethod.Convert);
2442CheckedConversionInExpressionTree_Implicit("uint", "double", ConvertMethod.Convert);
2445CheckedConversionInExpressionTree_Implicit("long", "long", ConvertMethod.None);
2446CheckedConversionInExpressionTree_Implicit("long", "decimal", ConvertMethod.Convert);
2447CheckedConversionInExpressionTree_Implicit("long", "float", ConvertMethod.Convert);
2448CheckedConversionInExpressionTree_Implicit("long", "double", ConvertMethod.Convert);
2451CheckedConversionInExpressionTree_Implicit("ulong", "ulong", ConvertMethod.None);
2452CheckedConversionInExpressionTree_Implicit("ulong", "decimal", ConvertMethod.Convert);
2453CheckedConversionInExpressionTree_Implicit("ulong", "float", ConvertMethod.Convert);
2454CheckedConversionInExpressionTree_Implicit("ulong", "double", ConvertMethod.Convert);
2457CheckedConversionInExpressionTree_Implicit("decimal", "decimal", ConvertMethod.None);
2460CheckedConversionInExpressionTree_Implicit("float", "float", ConvertMethod.None);
2461CheckedConversionInExpressionTree_Implicit("float", "double", ConvertMethod.Convert);
2464CheckedConversionInExpressionTree_Implicit("double", "double", ConvertMethod.None);
2467CheckedConversionInExpressionTree_Implicit("int", "object", ConvertMethod.Convert);
2468CheckedConversionInExpressionTree_Implicit("string", "object", ConvertMethod.None);
2479CheckedConversionInExpressionTree_Implicit("(int, int)", "(int, int)?", ConvertMethod.Convert);