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

test-xml-019.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81a563cd77d8afa5c3febecce15b2a00b458a1e5 (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
// Compiler options: -doc:xml-019.xml
using System;

namespace Testing
{
	public class Test
	{
		public static void Main ()
		{
		}

		/// <summary>
		/// comment for unary operator
		/// </summary>
		public static bool operator ! (Test t)
		{
			return false;
		}

		/// <summary>
		/// comment for binary operator
		/// </summary>
		public static int operator + (Test t, int b)
		{
			return b;
		}
	}
}