diff options
author | Marek Safar <marek.safar@gmail.com> | 2011-06-14 15:39:45 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2011-06-14 21:22:22 +0400 |
commit | f08030dc449b00210837c67f4630c8b4f9bdb874 (patch) | |
tree | 0430942b8457be3740f887fcee43d89656b84a65 /mcs/tests/test-xml-060.cs | |
parent | a072326f418d32498060447206ffe0c60b9a7060 (diff) |
Add warning for mistyped documentation type parameters
Diffstat (limited to 'mcs/tests/test-xml-060.cs')
-rw-r--r-- | mcs/tests/test-xml-060.cs | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/mcs/tests/test-xml-060.cs b/mcs/tests/test-xml-060.cs index e20bd6b9743..827482f25f1 100644 --- a/mcs/tests/test-xml-060.cs +++ b/mcs/tests/test-xml-060.cs @@ -1,32 +1,31 @@ // Compiler options: -doc:xml-060.xml /warnaserror /warn:4 - // gmcs documents generic members incorrectly - using System.Collections.Generic; +using System.Collections.Generic; - namespace Test { - /// <remarks>T:Test.DocMe</remarks> - /// <seealso cref="T:Test.DocMe`1" /> - class DocMe { +namespace Test { + /// <remarks>T:Test.DocMe</remarks> + /// <seealso cref="T:Test.DocMe`1" /> + class DocMe { - /// <remarks>M:Test.DocMe.UseList(System.Collections.Generic.List{System.Int32})</remarks> - public static void UseList (List<int> list) {} + /// <remarks>M:Test.DocMe.UseList(System.Collections.Generic.List{System.Int32})</remarks> + public static void UseList (List<int> list) {} - /// <remarks>M:Test.DocMe.Main</remarks> - public static void Main () - { - } + /// <remarks>M:Test.DocMe.Main</remarks> + public static void Main () + { } + } - /// <remarks>T:Test.DocMe`1</remarks> - class DocMe<T> { - /// <remarks>M:Test.DocMe`1.UseList(System.Collections.Generic.List{`0})</remarks> - public void UseList (List<T> list) {} + /// <remarks>T:Test.DocMe`1</remarks> + class DocMe<T> { + /// <remarks>M:Test.DocMe`1.UseList(System.Collections.Generic.List{`0})</remarks> + public void UseList (List<T> list) {} - /// <remarks>M:Test.DocMe`1.UseList`1(System.Collections.Generic.List{``0})</remarks> - public void UseList<U> (List<U> list) {} + /// <remarks>M:Test.DocMe`1.UseList`1(System.Collections.Generic.List{``0})</remarks> + public void UseList<U> (List<U> list) {} - /// <remarks>M:Test.DocMe`1.RefMethod`1(`0@,``0@)</remarks> - public void RefMethod<U> (ref T t, ref U u) {} - } + /// <remarks>M:Test.DocMe`1.RefMethod`1(`0@,``0@)</remarks> + public void RefMethod<U> (ref T t, ref U u) {} } +} |