w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / mcs / errors / cs0661.cs
blob3488be57bb9c141599af4385de0a7bd2428a9b28
1 // CS0661: `T' defines operator == or operator != but does not override Object.GetHashCode()
2 // Line: 5
3 // Compiler options: -warnaserror -warn:3
5 class T
7 public static bool operator == (object o, T t)
9 return false;
12 public static bool operator != (object o, T t)
14 return true;
17 public override bool Equals(object o)
19 return true;