[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0029.cs
1 // CS0029: Cannot implicitly convert type `X' to `bool'
2 // Line : 11
3
4 class X {
5 }
6
7 class T {
8         static void Main ()
9         {
10                 X x = new X ();
11                 if (x){
12                 }
13         }
14 }