Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1110.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85e23a4cc80aec139bf8544035383bf547cc422e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// CS1110: `C.Foo(this string)': Extension methods require `System.Runtime.CompilerServices.ExtensionAttribute' type to be available. Are you missing an assembly reference?
// Line: 7
// Compiler options: -noconfig -nostdlib

static class C
{
	static void Foo (this string s)
	{
	}
}

namespace System
{
	public class Object
	{
		object value_with_no_base;
	}
		
	public struct Byte {}
	public struct Int16 {}
	public struct Int32 {}
	public struct Int64 {}
	public struct Single {}
	public struct Double{}
	public struct Char {}
	public struct Boolean {}
	public struct SByte {}
	public struct UInt16 {}
	public struct UInt32 {}
	public struct UInt64 {}
	public struct IntPtr {}
	public struct UIntPtr {}
	public struct Decimal { }
	public class String { }
	public class Delegate {}
	public class MulticastDelegate {}
	public class Array {}
	public class Exception {}
	public class Type {}
	public class ValueType {}
	public class Enum {}
	public class Attribute {}
	public struct Void {}
	public class ParamArrayAttribute {}
	public class DefaultMemberAttribute {}
	public struct RuntimeTypeHandle {}
	public struct RuntimeFieldHandle {}
		
	public interface IDisposable {}
}
	
namespace System.Runtime.InteropServices
{
	public class OutAttribute {}
}
		

namespace System.Collections
{
	public interface IEnumerable {}
	public interface IEnumerator {}
}

namespace System.Reflection
{
	public class DefaultMemberAttribute {}
}