File: DocTest-v2.patch

package info (click to toggle)
mono 6.12.0.199%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,192 kB
  • sloc: cs: 11,181,844; xml: 2,850,076; ansic: 689,413; cpp: 123,344; perl: 59,361; javascript: 30,841; asm: 21,845; makefile: 19,951; sh: 15,030; python: 4,771; pascal: 925; sql: 859; sed: 16; php: 1
file content (48 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download | duplicates (14)
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
44
45
46
47
48
--- DocTest-v1.cs	2008-12-02 10:38:46.000000000 -0500
+++ DocTest.cs	2008-12-02 11:28:55.000000000 -0500
@@ -2,6 +2,9 @@
 using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
+using System.Reflection;
+
+[assembly: AssemblyVersion ("2.0.0.0")]
 
 public class NoNamespace {}
 
@@ -43,16 +46,7 @@
 		{
 			throw new InvalidOperationException ();
 		}
-
-		// ECMA docs *incorrectly* document parameter -- skip
-		public static void Resize<T> (ref T[] array, int newSize)
-		{
-			throw new Exception ();
-		}
 	}
-
-	// to test ECMA doc importing...
-	public delegate void AsyncCallback (IAsyncResult ar);
 }
 
 namespace Mono.DocTest {
@@ -397,6 +391,9 @@
 		/// <remarks><c>M:Mono.DocTest.UseLists.UseHelper``3(Mono.DocTest.Generic.MyList{``0}.Helper{``1,``2})</c>.</remarks>
 		public void UseHelper<T,U,V> (Generic.MyList<T>.Helper<U,V> helper) {}
 	}
+
+	public class AddedType {
+	}
 }
 
 namespace Mono.DocTest.Generic {
@@ -471,6 +468,8 @@
 			return default(U);
 		}
 
+		public void AddedInVersion0_1_0_0 () {}
+
 		/// <remarks><c>F:Mono.DocTest.GenericBase`1.StaticField1</c></remarks>
 		public static readonly GenericBase<U> StaticField1 = new GenericBase<U> ();