[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git] / mcs / tests / test-548.cs
1 using System;
2
3 namespace Bugs
4 {
5     class Bug0
6     {
7         struct MyBoolean
8         {
9             private bool value;
10             public MyBoolean(bool value)
11             {
12                 this.value = value;
13             }
14             public static implicit operator MyBoolean(bool value)
15             {
16                 return new MyBoolean(value);
17             }
18             public static implicit operator bool(MyBoolean b)
19             {
20                 return b.value;
21             }
22         }
23
24         public static int Main()
25         {
26             MyBoolean b = true;
27             if (true && b)
28             {
29                 return 0;
30             }
31             else
32             {
33                 return 100;
34             }
35         }
36     }
37 }