w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs0652.cs
blobb555d45a01d8fa304f4b50ad596a6a958eff2279
1 // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:2
5 class X
7 void b ()
9 byte b = 0;
10 if (b == 500)
11 return;
14 static void Main () {}