[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git] / mcs / tests / test-286.cs
1 // Compiler options: -r:System.Xml.dll
2
3 abstract class MethodWrapper
4 {
5         private string[] declaredExceptions;
6
7         internal void SetDeclaredExceptions(MapXml.Throws[] throws)
8         {
9                 if(throws != null)
10                 {
11                         declaredExceptions = new string[throws.Length];
12                         for(int i = 0; i < throws.Length; i++)
13                         {
14                                 declaredExceptions[i] = throws[i].Class;
15                         }
16                 }
17         }
18 }
19
20 namespace MapXml {
21
22     using System;
23     using System.Xml.Serialization;
24     
25     public class Throws
26     {
27         [XmlAttribute("class")]
28         public string Class;
29             
30         public static void Main ()
31         {
32         }
33     }
34 }