[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-924.cs
1 using System;
2
3 class MainClass
4 {
5         public static int Main ()
6         {
7                 DataFrame df1 = new DataFrame ();
8                 DataFrame df2 = new DataFrame ();
9
10                 if (df1 != null) 
11                 {
12                         return 1;
13                 }
14
15                 return 0;
16         }
17
18         public class DataFrame
19         {
20                 public static bool operator ==(DataFrame df1, DataFrame df2)
21                 {
22                         return df1 is DataFrame;
23                 }
24
25                 public static bool operator !=(DataFrame df1, DataFrame df2)
26                 {
27                         return !(df1 == df2);
28                 }
29         }
30 }