Changed UploadStringAsync to handle UploadString encapsulated exceptions.
[mono.git] / mcs / tests / test-xml-063.cs
1 // Compiler options: -doc:xml-063.xml
2
3 /// Test A
4 public class A
5 {
6 }
7
8 /// <seealso cref="explicit operator long (Test)"/>
9 /// <seealso cref="explicit operator A"/>
10 /// <seealso cref="implicit operator Test"/>
11 /// <seealso cref="implicit operator Test(bool)"/>
12 /// <seealso cref="operator !(Test)"/>
13 /// <seealso cref="Test()"/>
14 public class Test
15 {
16         /// Start
17         Test ()
18         {
19         }
20         
21         /// Comment
22         public static explicit operator A(Test test)
23         {
24                 return new A ();
25         }
26         
27         /// Comment 2
28         public static explicit operator long(Test test)
29         {
30                 return 2;
31         }
32         
33         /// Comment 3
34         public static implicit operator Test(int test)
35         {
36                 return new Test ();
37         }
38         
39         /// Comment 4
40         public static implicit operator Test(bool test)
41         {
42                 return new Test ();
43         }
44         
45         /// Comment 5
46         public static bool operator !(Test test)
47         {
48                 return false;
49         }
50         
51         static void Main ()
52         {
53         }
54 }