1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// CS1919: Unsafe type `int*' cannot be used in an object creation expression // Line: 12 // Compiler options: -unsafe using System; public class Test { static void Main () { unsafe { object o = new int*(); } } }