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-01-03 01:16:33 +0300
committerMarek Safar <marek.safar@gmail.com>2015-01-03 01:16:33 +0300
commit40810cf0762c5f644169feb1fc7a14f09c724bc0 (patch)
treeeeee0b05b0e8c43fba9f140b297d9a1fbc83919a /mcs/tests/test-xml-071.cs
parent4ab03af16a9fb3dedf2743b313e5bfd282487514 (diff)
[mcs] More special case handling for explicit type names documentation. Fixes #25544
Diffstat (limited to 'mcs/tests/test-xml-071.cs')
-rw-r--r--mcs/tests/test-xml-071.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/mcs/tests/test-xml-071.cs b/mcs/tests/test-xml-071.cs
new file mode 100644
index 00000000000..989174571b6
--- /dev/null
+++ b/mcs/tests/test-xml-071.cs
@@ -0,0 +1,37 @@
+// Compiler options: -doc:xml-071.xml
+
+namespace N
+{
+ public class G<U>
+ {
+ }
+}
+
+interface X<out TOutput>
+{
+ TOutput Consume (Y<TOutput> a);
+}
+
+interface Y<in TInput>
+{
+}
+
+interface Z<in TInput, out TOutput> : Y<TInput>, X<TOutput>
+{
+}
+
+class Test<T> : Z<T, N.G<T[][,,]>>
+{
+ /// <summary>This is the consume method.</summary>
+ N.G<T[][,,]> X<N.G<T[][,,]>>.Consume (Y<N.G<T[][,,]>> target)
+ {
+ return null;
+ }
+}
+
+class Program
+{
+ static void Main ()
+ {
+ }
+} \ No newline at end of file