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

cs1579.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ed611a8fbf8ffd32e63246f2f662ba836751d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1579: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is inaccessible
// Line: 11

class X {
}

class Y {
	void yy (X b)
	{
		
		foreach (object a in b)
			;
	}
}