[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1110.cs
blob85e23a4cc80aec139bf8544035383bf547cc422e
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
5 static class C
7 static void Foo (this string s)
12 namespace System
14 public class Object
16 object value_with_no_base;
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 {}
49 public interface IDisposable {}
52 namespace System.Runtime.InteropServices
54 public class OutAttribute {}
58 namespace System.Collections
60 public interface IEnumerable {}
61 public interface IEnumerator {}
64 namespace System.Reflection
66 public class DefaultMemberAttribute {}