Merged changes in master libmonoruntime into PR.
[mono.git] / mcs / errors / cs0184-5.cs
1 // CS0184: The given expression is never of the provided (`byte') type
2 // Line: 13
3 // Compiler options: -warnaserror -warn:1
4
5 class S {}
6         
7 class X
8 {
9         static void Main ()
10         {
11                 const S x = null;
12                 
13                 if (x is byte) {
14                 }
15         }
16 }