2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git] / tools / mdoc / Test / DocTest-v2.patch
blob201d1561c79871b582eaf3ddc1fb8e5bfcd2384f
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;
9 +[assembly: AssemblyVersion ("2.0.0.0")]
11 public class NoNamespace {}
13 @@ -43,16 +46,7 @@
15 throw new InvalidOperationException ();
18 - // ECMA docs *incorrectly* document parameter -- skip
19 - public static void Resize<T> (ref T[] array, int newSize)
20 - {
21 - throw new Exception ();
22 - }
25 - // to test ECMA doc importing...
26 - public delegate void AsyncCallback (IAsyncResult ar);
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) {}
35 + public class AddedType {
36 + }
39 namespace Mono.DocTest.Generic {
40 @@ -471,6 +468,8 @@
41 return default(U);
44 + public void AddedInVersion0_1_0_0 () {}
46 /// <remarks><c>F:Mono.DocTest.GenericBase`1.StaticField1</c></remarks>
47 public static readonly GenericBase<U> StaticField1 = new GenericBase<U> ();