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

cs0809.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bdeb249bae23504f9f4558c54325c9a8ab28b4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS0809: Obsolete member `B.Property' overrides non-obsolete member `A.Property'
// Line: 17
// Compiler options: -warnaserror -warn:4

using System;

class A
{
	public virtual int Property {
		set { }
	}
}

class B : A
{
	[Obsolete ("TEST")]
	public override int Property {
		set { }
	}
}