Update some documentation tests
[mono.git] / mcs / tests / test-xml-060.cs
1 // Compiler options: -doc:xml-060.xml /warnaserror /warn:4
2
3         // gmcs documents generic members incorrectly
4         using System.Collections.Generic;
5
6         namespace Test {
7                 /// <remarks>T:Test.DocMe</remarks>
8                 /// <seealso cref="T:Test.DocMe`1" />
9                 class DocMe {
10
11                         /// <remarks>M:Test.DocMe.UseList(System.Collections.Generic.List{System.Int32})</remarks>
12                         public static void UseList (List<int> list) {}
13
14                         /// <remarks>M:Test.DocMe.Main</remarks>
15                         public static void Main ()
16                         {
17                         }
18                 }
19
20                 /// <remarks>T:Test.DocMe`1</remarks>
21                 class DocMe<T> {
22                         /// <remarks>M:Test.DocMe`1.UseList(System.Collections.Generic.List{`0})</remarks>
23                         public void UseList (List<T> list) {}
24
25                         /// <remarks>M:Test.DocMe`1.UseList`1(System.Collections.Generic.List{``0})</remarks>
26                         public void UseList<U> (List<U> list) {}
27
28                         /// <remarks>M:Test.DocMe`1.RefMethod`1(`0@,``0@)</remarks>
29                         public void RefMethod<U> (ref T t, ref U u) {}
30                 }
31         }
32