diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-03-16 14:28:12 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-03-16 14:28:12 +0300 |
commit | 7fd909f52ffc595e7e65c1dd8f11e72f6a7ebdbb (patch) | |
tree | 0d74952ad0fa61ecc45c12f86e181f2243b859c6 /mcs/errors/cs0218.cs | |
parent | f48dd4e23caede3bc2711d3b4647426410b8ea1e (diff) |
svn:eol-style=native
Bit the bullet and set it on all files. It's too much of a pain
trying to avoid history changes on 20-or-so files each time I have to set
this property.
svn path=/trunk/mcs/; revision=41887
Diffstat (limited to 'mcs/errors/cs0218.cs')
-rw-r--r-- | mcs/errors/cs0218.cs | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/mcs/errors/cs0218.cs b/mcs/errors/cs0218.cs index 1cd0cf91d5e..4a75484efb8 100644 --- a/mcs/errors/cs0218.cs +++ b/mcs/errors/cs0218.cs @@ -1,26 +1,26 @@ -// cs0218.cs: The type ('UserOperatorClass') must contain declarations of operator true and operator false
-// Line: 22
-
-public class UserOperatorClass
-{
- public static UserOperatorClass operator & (UserOperatorClass u1, UserOperatorClass u2) {
- return new UserOperatorClass();
- }
-
-// public static bool operator true (UserOperatorClass u) {
-// return true;
-// }
-
-// public static bool operator false (UserOperatorClass u) {
-// return false;
-// }
-
- public static void Main() {
-
- UserOperatorClass x = new UserOperatorClass();
- UserOperatorClass y = new UserOperatorClass();
- UserOperatorClass z = x && y;
- }
-}
-
-
+// cs0218.cs: The type ('UserOperatorClass') must contain declarations of operator true and operator false +// Line: 22 + +public class UserOperatorClass +{ + public static UserOperatorClass operator & (UserOperatorClass u1, UserOperatorClass u2) { + return new UserOperatorClass(); + } + +// public static bool operator true (UserOperatorClass u) { +// return true; +// } + +// public static bool operator false (UserOperatorClass u) { +// return false; +// } + + public static void Main() { + + UserOperatorClass x = new UserOperatorClass(); + UserOperatorClass y = new UserOperatorClass(); + UserOperatorClass z = x && y; + } +} + + |