blob: 1ca5849e092ec76ed24a3a1bc8ce3d49cd50d211 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// cs0619-14.cs: `AA' is obsolete: `'
// Line: 17
class A
{
}
[System.Obsolete ("", true)]
class AA: A
{
public void Foo () {}
}
class B {
public B (A a)
{
(a as AA).Foo ();
}
}
|