2009-05-29 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / errors / cs0213.cs
index 65c8b3b0a7e7af9b6bb10a9c6dc992ff9e8d2b9d..f0573110ecd33694907cf3d6097c3f1c63f0237c 100644 (file)
@@ -1,16 +1,16 @@
-// cs0213.cs: You do not need to use the fixed statement to take the address of an already fixed expression\r
-// Line: 12\r
-// Compiler options: -unsafe\r
-\r
-class UnsafeClass {\r
-        unsafe UnsafeClass () {\r
-                int value = 5;\r
-                Calculate(value);\r
-        }\r
-        \r
-        unsafe void Calculate (int value) {\r
-                fixed (int *x = &value) {}\r
-        }\r
-}\r
-\r
-\r
+// cs0213.cs: You cannot use the fixed statement to take the address of an already fixed expression
+// Line: 12
+// Compiler options: -unsafe
+
+class UnsafeClass {
+        unsafe UnsafeClass () {
+                int value = 5;
+                Calculate(value);
+        }
+        
+        unsafe void Calculate (int value) {
+                fixed (int *x = &value) {}
+        }
+}
+
+