projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] Initial by ref returns and variables support
[mono.git]
/
mcs
/
errors
/
cs8147-2.cs
diff --git a/mcs/errors/cs8147-2.cs
b/mcs/errors/cs8147-2.cs
new file mode 100644
(file)
index 0000000..
a4375d2
--- /dev/null
+++ b/
mcs/errors/cs8147-2.cs
@@ -0,0
+1,14
@@
+// CS8147: `X.this[int]': property and indexer which return by reference cannot have set accessors
+// Line: 6
+
+public class X
+{
+ ref string this [int arg] {
+ set {
+
+ }
+ get {
+
+ }
+ }
+}
\ No newline at end of file