Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2006-07-09 01:55:14 +0400
committerMarek Safar <marek.safar@gmail.com>2006-07-09 01:55:14 +0400
commitc1af2404d7d407fc68642ded5822463fecd6aa45 (patch)
treef07bfedde7787272d83c510a3e0f7f8d6e06b820 /mcs/tests/test-57.cs
parenta1a8b1b63e5fc3fbcdb58ee709664d7328ff04e2 (diff)
2006-07-08 Marek Safar <marek.safar@seznam.cz>
* expression.cs (Binary.ResolveOperator): Don't crash when null is assigned to an event. svn path=/trunk/mcs/; revision=62370
Diffstat (limited to 'mcs/tests/test-57.cs')
-rw-r--r--mcs/tests/test-57.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/tests/test-57.cs b/mcs/tests/test-57.cs
index 2d23bdedb13..9f4c1b82f86 100644
--- a/mcs/tests/test-57.cs
+++ b/mcs/tests/test-57.cs
@@ -35,6 +35,7 @@ public class Blah {
{
Button1.Click += new EventHandler (Button1_Click);
Button1.Click += new EventHandler (Foo_Click);
+ Button1.Click += null;
}
public void Button1_Click (int i, int j)