summaryrefslogtreecommitdiff
path: root/mcs/tests/test-xml-027.cs
blob: 8543ae2b9b4c04141d146889f7c918a303ba36ac (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
33
34
35
36
37
38
// Compiler options: -doc:xml-027.xml
using ZZZ = Testing.Test;

namespace Testing
{
	/// <summary>
	/// <see />
	/// <see cref='!!!!!' />
	/// <see cref='nonexist' />
	/// <see cref='Test' />
	/// <see cref='ZZZ' />
	/// <see cref='T:Test' />
	/// <see cref='_:Test' />
	/// <see cref='P:Bar' />
	/// <see cref='F:Bar' />
	/// <see cref='Bar' />
	/// <see cref='P:Baz' />
	/// <see cref='F:Baz' />
	/// <see cref='Baz' />
	/// <see cref='nonexist.Foo()' />
	/// <see cref='Test.Foo()' />
	/// <see cref='ZZZ.Foo()' />
	/// <see cref='Test.Bar()' />
	/// <see cref='Test.Foo(System.Int32)' />
	/// </summary>
	class Test
	{
		public static void Main () { System.Console.Error.WriteLine ("xml-027 is running fine ;-)"); }

		// I don't put any documentation here, but cref still works.
		public void Foo () {}

		public string Bar;

		public string Baz { get { return ""; } }
	}
}