2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1718-2.cs
blob5fbcd639e761aaee8153221d7ef0137f423f532a
1 // CS1718: A comparison made to same variable. Did you mean to compare something else?
2 // Line: 12
3 // Compiler options: -warnaserror -warn:3
5 class A
7 delegate void D ();
8 D d = null;
10 public A ()
12 bool b = d == d;