a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
273 B
C#
22 lines
273 B
C#
// CS0307: The property `B.Get' cannot be used with type arguments
|
|
// Line: 14
|
|
public class B
|
|
{
|
|
public virtual int Get {
|
|
get { return 3; }
|
|
}
|
|
}
|
|
|
|
public class A : B
|
|
{
|
|
public override int Get {
|
|
get {
|
|
return base.Get<int>;
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|