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 14:28:12 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-03-16 14:28:12 +0300
commit7fd909f52ffc595e7e65c1dd8f11e72f6a7ebdbb (patch)
tree0d74952ad0fa61ecc45c12f86e181f2243b859c6 /mcs/errors/cs0217.cs
parentf48dd4e23caede3bc2711d3b4647426410b8ea1e (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/cs0217.cs')
-rw-r--r--mcs/errors/cs0217.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/mcs/errors/cs0217.cs b/mcs/errors/cs0217.cs
index f7f7687f254..45a5f52b658 100644
--- a/mcs/errors/cs0217.cs
+++ b/mcs/errors/cs0217.cs
@@ -1,26 +1,26 @@
-// cs0217.cs: In order to be applicable as a short circuit operator a user-defined logical operator ('UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)') must have the same return type as the type of its 2 parameters
-// Line: 22
-
-public class UserOperatorClass
-{
- public static bool operator & (UserOperatorClass u1, UserOperatorClass u2) {
- return true;
- }
-
- 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;
- }
-}
-
-
+// cs0217.cs: In order to be applicable as a short circuit operator a user-defined logical operator ('UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)') must have the same return type as the type of its 2 parameters
+// Line: 22
+
+public class UserOperatorClass
+{
+ public static bool operator & (UserOperatorClass u1, UserOperatorClass u2) {
+ return true;
+ }
+
+ 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;
+ }
+}
+
+