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:
Diffstat (limited to 'mcs/errors/cs0214.cs')
-rw-r--r--mcs/errors/cs0214.cs23
1 files changed, 4 insertions, 19 deletions
diff --git a/mcs/errors/cs0214.cs b/mcs/errors/cs0214.cs
index e71b5f53af4..08eb088af39 100644
--- a/mcs/errors/cs0214.cs
+++ b/mcs/errors/cs0214.cs
@@ -1,20 +1,5 @@
-// cs0214.cs : Pointers may only be used in an unsafe context
-// Line : 14
-
-using System;
-using System.Reflection;
-
-public class Blah {
-
- public static void Main ()
- {
- int* i;
- int foo = 10;
-
- i = &foo;
-
- Console.WriteLine ("The pointer value is " + i);
- }
+// cs0214: Pointer can only be used in unsafe context
+// Line: 4
+class X {
+ void *a;
}
-
-