eol
[mcs.git] / tests / gtest-xml-3.cs
blob1cb3175964fa62d0f49cfd29bb80ecd81c7e39af
1 // Compiler options: -doc:gxml-03.xml /warnaserror /warn:4
3 // gmcs documents generic members incorrectly
4 using System.Collections.Generic;
6 namespace Test {
7 /// <remarks>T:Test.DocMe</remarks>
8 /// <seealso cref="T:Test.DocMe`1" />
9 class DocMe {
11 /// <remarks>M:Test.DocMe.UseList(System.Collections.Generic.List{System.Int32})</remarks>
12 public static void UseList (List<int> list) {}
14 /// <remarks>M:Test.DocMe.Main</remarks>
15 public static void Main ()
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) {}
25 /// <remarks>M:Test.DocMe`1.UseList`1(System.Collections.Generic.List{``0})</remarks>
26 public void UseList<U> (List<U> list) {}
28 /// <remarks>M:Test.DocMe`1.RefMethod`1(`0@,``0@)</remarks>
29 public void RefMethod<U> (ref T t, ref U u) {}