diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-12-24 04:03:13 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-12-24 04:03:13 +0300 |
commit | 094c8f790b86e75fd4531319d2743399acf69ec5 (patch) | |
tree | 5bd65890e9e1958b220238d48472d2c2d5ba0402 /mcs/errors/bug12.cs | |
parent | 8a2886f7d037b8e85fd507878e708ea72590328d (diff) |
Add
svn path=/trunk/mcs/; revision=1703
Diffstat (limited to 'mcs/errors/bug12.cs')
-rwxr-xr-x | mcs/errors/bug12.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/errors/bug12.cs b/mcs/errors/bug12.cs new file mode 100755 index 00000000000..12a7d19e33c --- /dev/null +++ b/mcs/errors/bug12.cs @@ -0,0 +1,18 @@ +using System.Collections; + + class PtrHashtable : Hashtable { + class PtrComparer : IComparer { + public int Compare (object x, object y) + { + if (x == y) + return 0; + else + return 1; + } + } + + public PtrHashtable () + { + comparer = new PtrComparer (); + } + } |