NRefactory
NRefactory copied to clipboard
Bug Report
Source: private static void Main(string[] args) { Console.WriteLine(0xffffeeeeL); Console.ReadKey(); }
Output is 4294962926
Decompile: private static void Main(string[] args) { Console.WriteLine((long)((ulong)-4370)); Console.ReadKey(); }
add "unchecked" for compilation private static void Main(string[] args) { Console.WriteLine(unchecked((long)((ulong)-4370))); Console.ReadKey(); }
Output is -4370, not 4294962926