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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2002-01-11 05:37:24 +0300
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2002-01-11 05:37:24 +0300
commitc29e3c62c6e044898f3eb2e1f5d668aa2a2cdd52 (patch)
tree89498bb7a88e62f4f7dc1d4084c358a7a0173297 /mcs/errors/cs0214.cs
parent8d8a05805dae1ef9651003da0a0adf39724ad84f (diff)
Add.
svn path=/trunk/mcs/; revision=1953
Diffstat (limited to 'mcs/errors/cs0214.cs')
-rw-r--r--mcs/errors/cs0214.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs0214.cs b/mcs/errors/cs0214.cs
new file mode 100644
index 00000000000..e71b5f53af4
--- /dev/null
+++ b/mcs/errors/cs0214.cs
@@ -0,0 +1,20 @@
+// 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);
+ }
+}
+
+