w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs0220-4.cs
blobc52aa545220490894530bb3b57150d47b7ab9a52
1 // CS0220: The operation overflows at compile time in checked mode
2 // Line: 10
3 // Compiler options: -unsafe
5 class TestClass
7 public unsafe static void Main ()
9 int* arr = null;
10 var i = arr[long.MaxValue];