[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8145.cs
diff --git a/mcs/errors/cs8145.cs b/mcs/errors/cs8145.cs
new file mode 100644 (file)
index 0000000..cf3c508
--- /dev/null
@@ -0,0 +1,7 @@
+// CS8145: Auto-implemented properties cannot return by reference
+// Line: 6
+
+public class X
+{
+       ref string TestProp { get; }
+}
\ No newline at end of file