Merge pull request #2757 from akoeplinger/fix-coreclr-test
[mono.git] / mcs / tools / mdoc / Test / DocTest-v2.patch
1 --- DocTest-v1.cs       2008-12-02 10:38:46.000000000 -0500
2 +++ DocTest.cs  2008-12-02 11:28:55.000000000 -0500
3 @@ -2,6 +2,9 @@
4  using System.Collections;
5  using System.Collections.Generic;
6  using System.Linq;
7 +using System.Reflection;
8 +
9 +[assembly: AssemblyVersion ("2.0.0.0")]
10  
11  public class NoNamespace {}
12  
13 @@ -43,16 +46,7 @@
14                 {
15                         throw new InvalidOperationException ();
16                 }
17 -
18 -               // ECMA docs *incorrectly* document parameter -- skip
19 -               public static void Resize<T> (ref T[] array, int newSize)
20 -               {
21 -                       throw new Exception ();
22 -               }
23         }
24 -
25 -       // to test ECMA doc importing...
26 -       public delegate void AsyncCallback (IAsyncResult ar);
27  }
28  
29  namespace Mono.DocTest {
30 @@ -397,6 +391,9 @@
31                 /// <remarks><c>M:Mono.DocTest.UseLists.UseHelper``3(Mono.DocTest.Generic.MyList{``0}.Helper{``1,``2})</c>.</remarks>
32                 public void UseHelper<T,U,V> (Generic.MyList<T>.Helper<U,V> helper) {}
33         }
34 +
35 +       public class AddedType {
36 +       }
37  }
38  
39  namespace Mono.DocTest.Generic {
40 @@ -471,6 +468,8 @@
41                         return default(U);
42                 }
43  
44 +               public void AddedInVersion0_1_0_0 () {}
45 +
46                 /// <remarks><c>F:Mono.DocTest.GenericBase`1.StaticField1</c></remarks>
47                 public static readonly GenericBase<U> StaticField1 = new GenericBase<U> ();
48