|
31 | 31 | using System.Runtime.InteropServices; |
32 | 32 | using System.Threading; |
33 | 33 |
|
34 | | -namespace System |
| 34 | +namespace System.Couchbase |
35 | 35 | { |
36 | 36 | [Serializable] |
37 | 37 | [ComVisible (true)] |
38 | | - public class OperationCanceledException_ : OperationCanceledException |
| 38 | + public class OperationCanceledException : System.OperationCanceledException |
39 | 39 | { |
40 | 40 |
|
41 | 41 | const int Result = unchecked ((int)0x8013153b); |
42 | 42 | readonly CancellationToken? token; |
43 | 43 |
|
44 | 44 | // Constructors |
45 | | - public OperationCanceledException_ () |
| 45 | + public OperationCanceledException () |
46 | 46 | : base ("The operation was canceled.") |
47 | 47 | { |
48 | 48 | } |
49 | 49 |
|
50 | | - public OperationCanceledException_ (string message) |
| 50 | + public OperationCanceledException (string message) |
51 | 51 | : base (message) |
52 | 52 | { |
53 | 53 | } |
54 | 54 |
|
55 | | - public OperationCanceledException_ (string message, Exception innerException) |
| 55 | + public OperationCanceledException (string message, Exception innerException) |
56 | 56 | : base (message, innerException) |
57 | 57 | { |
58 | 58 | } |
59 | 59 |
|
60 | | - protected OperationCanceledException_ (SerializationInfo info, StreamingContext context) |
| 60 | + protected OperationCanceledException (SerializationInfo info, StreamingContext context) |
61 | 61 | : base (info, context) |
62 | 62 | { |
63 | 63 | } |
64 | 64 |
|
65 | | - public OperationCanceledException_ (CancellationToken token) |
| 65 | + public OperationCanceledException (CancellationToken token) |
66 | 66 | : this () |
67 | 67 | { |
68 | 68 | this.token = token; |
69 | 69 | } |
70 | 70 |
|
71 | | - public OperationCanceledException_ (string message, CancellationToken token) |
| 71 | + public OperationCanceledException (string message, CancellationToken token) |
72 | 72 | : this (message) |
73 | 73 | { |
74 | 74 | this.token = token; |
75 | 75 | } |
76 | 76 |
|
77 | | - public OperationCanceledException_ (string message, Exception innerException, CancellationToken token) |
| 77 | + public OperationCanceledException (string message, Exception innerException, CancellationToken token) |
78 | 78 | : base (message, innerException) |
79 | 79 | { |
80 | 80 | this.token = token; |
|
0 commit comments