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:
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>2004-11-04 00:12:04 +0300
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>2004-11-04 00:12:04 +0300
commitcf0446d670de49b9b8ff1ed9f347b9538e15487a (patch)
tree87b2249c86e4aa4fae0cabfb9d9657799307576e /mcs/errors/cs0274.cs
parenta69cb03a8a8234e12639e34a5120632d2e63955b (diff)
New error tests at mcs/errors for accessor modifiers
svn path=/trunk/mcs/; revision=35611
Diffstat (limited to 'mcs/errors/cs0274.cs')
-rw-r--r--mcs/errors/cs0274.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0274.cs b/mcs/errors/cs0274.cs
new file mode 100644
index 00000000000..0cde3c76b31
--- /dev/null
+++ b/mcs/errors/cs0274.cs
@@ -0,0 +1,16 @@
+// cs0274.cs: Accessibility modifiers for both accesors is not allowed
+// Line: 7
+// Compiler options: -t:library
+
+ class Error0274
+ {
+ protected internal string Message {
+ protected get {
+ return "Hi";
+ }
+ internal set {
+ }
+ }
+
+ }
+