Merge all static runtime libs into libmono-static.
[mono.git] / mcs / errors / cs1110.cs
1 // CS1110: `C.Foo(this string)': Extension methods require `System.Runtime.CompilerServices.ExtensionAttribute' type to be available. Are you missing an assembly reference?
2 // Line: 7
3 // Compiler options: -noconfig -nostdlib
4
5 static class C
6 {
7         static void Foo (this string s)
8         {
9         }
10 }
11
12 namespace System
13 {
14         public class Object
15         {
16                 object value_with_no_base;
17         }
18                 
19         public struct Byte {}
20         public struct Int16 {}
21         public struct Int32 {}
22         public struct Int64 {}
23         public struct Single {}
24         public struct Double{}
25         public struct Char {}
26         public struct Boolean {}
27         public struct SByte {}
28         public struct UInt16 {}
29         public struct UInt32 {}
30         public struct UInt64 {}
31         public struct IntPtr {}
32         public struct UIntPtr {}
33         public struct Decimal { }
34         public class String { }
35         public class Delegate {}
36         public class MulticastDelegate {}
37         public class Array {}
38         public class Exception {}
39         public class Type {}
40         public class ValueType {}
41         public class Enum {}
42         public class Attribute {}
43         public struct Void {}
44         public class ParamArrayAttribute {}
45         public class DefaultMemberAttribute {}
46         public struct RuntimeTypeHandle {}
47         public struct RuntimeFieldHandle {}
48                 
49         public interface IDisposable {}
50 }
51         
52 namespace System.Runtime.InteropServices
53 {
54         public class OutAttribute {}
55 }
56                 
57
58 namespace System.Collections
59 {
60         public interface IEnumerable {}
61         public interface IEnumerator {}
62 }
63
64 namespace System.Reflection
65 {
66         public class DefaultMemberAttribute {}
67 }
68