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:
authorRaja R Harinath <harinath@hurrynot.org>2005-03-16 13:17:17 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-03-16 13:17:17 +0300
commit000168ce706f12bf3377238c5bd3de201a2e398e (patch)
treefc4eac91c3758a05642eebd05cf67e640c5d74d9 /mcs/tests/test-318.cs
parenta74c90d6449a3fec4f1e1fb75505f924cfd2db16 (diff)
svn:eol-style=native
svn path=/trunk/mcs/; revision=41882
Diffstat (limited to 'mcs/tests/test-318.cs')
-rw-r--r--mcs/tests/test-318.cs36
1 files changed, 18 insertions, 18 deletions
diff --git a/mcs/tests/test-318.cs b/mcs/tests/test-318.cs
index 48a4cf16ace..83bcdfabef0 100644
--- a/mcs/tests/test-318.cs
+++ b/mcs/tests/test-318.cs
@@ -1,29 +1,29 @@
// This code must be compilable without any warning
// Compiler options: -warnaserror -warn:4 -unsafe
// Test of wrong warnings
-
-using System;
-using System.ComponentModel;
-
-public class Ev
-{
- object disposedEvent = new object ();
+
+using System;
+using System.ComponentModel;
+
+public class Ev
+{
+ object disposedEvent = new object ();
EventHandlerList Events = new EventHandlerList();
-
+
public event EventHandler Disposed
{
add { Events.AddHandler (disposedEvent, value); }
remove { Events.RemoveHandler (disposedEvent, value); }
- }
-
- public void OnClick(EventArgs e)
- {
- EventHandler clickEventDelegate = (EventHandler)Events[disposedEvent];
- if (clickEventDelegate != null) {
- clickEventDelegate(this, e);
- }
- }
-}
+ }
+
+ public void OnClick(EventArgs e)
+ {
+ EventHandler clickEventDelegate = (EventHandler)Events[disposedEvent];
+ if (clickEventDelegate != null) {
+ clickEventDelegate(this, e);
+ }
+ }
+}
public class C {