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

cs0282.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0316154e4b40bf0647ac624102dd030c53bf8092 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0282: struct instance field `S.y' found in different declaration from instance field `S.x'
// Line: 8
// Compiler options: -warn:4 -warnaserror

partial struct S {
	int x;
}
partial struct S {
	int y;
	static void Main () {}
}