summaryrefslogtreecommitdiff
path: root/mcs/tests/test-xml-062.cs
blob: 5ab2ab265ee8725cd2e30d6b3342215c81675942 (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
39
40
41
42
43
// Compiler options: -doc:xml-062.xml /warnaserror /warn:4

using System;

/// <summary>
/// 
/// </summary>
/// <typeparam name="T"></typeparam>
public struct Maybe<T>
{
	/// <summary>
	/// 
	/// </summary>
	/// <typeparamref name="T"></typeparamref>
	public void Method ()
	{
	}
}

/// <summary>
/// 
/// </summary>
/// <typeparam name="T1"></typeparam>
/// <typeparam name="T2"></typeparam>
public struct Tuple<T1, T2>
{
	/// <summary>
	///  Test
	///  <typeparamref name="TResult" />.
	///  <typeparamref name="T2" />.
	/// </summary>
	public TResult Match<TResult> (params Func<T1, T2, Maybe<TResult>>[] ms)
	{
		throw new InvalidOperationException ();
	}
}

class C
{
	static void Main ()
	{
	}
}