Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-xml-3.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cb3175964fa62d0f49cfd29bb80ecd81c7e39af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Compiler options: -doc:gxml-03.xml /warnaserror /warn:4

	// gmcs documents generic members incorrectly
	using System.Collections.Generic;

	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.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>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) {}
		}
	}