[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-xml-062.cs
blob5ab2ab265ee8725cd2e30d6b3342215c81675942
1 // Compiler options: -doc:xml-062.xml /warnaserror /warn:4
3 using System;
5 /// <summary>
6 ///
7 /// </summary>
8 /// <typeparam name="T"></typeparam>
9 public struct Maybe<T>
11 /// <summary>
12 ///
13 /// </summary>
14 /// <typeparamref name="T"></typeparamref>
15 public void Method ()
20 /// <summary>
21 ///
22 /// </summary>
23 /// <typeparam name="T1"></typeparam>
24 /// <typeparam name="T2"></typeparam>
25 public struct Tuple<T1, T2>
27 /// <summary>
28 /// Test
29 /// <typeparamref name="TResult" />.
30 /// <typeparamref name="T2" />.
31 /// </summary>
32 public TResult Match<TResult> (params Func<T1, T2, Maybe<TResult>>[] ms)
34 throw new InvalidOperationException ();
38 class C
40 static void Main ()