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:
authorMarek Safar <marek.safar@gmail.com>2015-07-27 15:10:13 +0300
committerMarek Safar <marek.safar@gmail.com>2015-07-27 15:11:33 +0300
commit8861e7bed602353ae4b0b51702e5cf1750b56f5d (patch)
tree0bd3e92282d64ff16fcf10f61cd6637ca580d930 /mcs/tests/test-xml-072.cs
parent3360de9221d7e4012822eb572abb41339c707645 (diff)
[mcs] Reset doc reader state after expression bodied property. Fixes #32456
Diffstat (limited to 'mcs/tests/test-xml-072.cs')
-rw-r--r--mcs/tests/test-xml-072.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/test-xml-072.cs b/mcs/tests/test-xml-072.cs
new file mode 100644
index 00000000000..a160b23838f
--- /dev/null
+++ b/mcs/tests/test-xml-072.cs
@@ -0,0 +1,17 @@
+// Compiler options: -doc:xml-072.xml
+
+class X
+{
+ /// <summary>
+ /// Top-class
+ /// </summary>
+ public sealed class C
+ {
+ public string Severity => "foo";
+
+ /// <summary>
+ /// foo
+ /// </summary>
+ public static void Main() {}
+ }
+} \ No newline at end of file