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: 93fc43044af9f0db55ab6cae2a94aeb0db88cb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs1579.cs: foreach statement cannot operate on variables of type X because X does not contain a definition for GetEnumerator or is not accessible
// Line: 10
class X {
}

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