a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
249 B
C#
25 lines
249 B
C#
// Compiler options: -t:library
|
|
|
|
using System;
|
|
|
|
public class A
|
|
{
|
|
public virtual int Prop {
|
|
get {
|
|
return 1;
|
|
}
|
|
|
|
set {
|
|
throw new ApplicationException ();
|
|
}
|
|
}
|
|
}
|
|
|
|
public sealed class B : A
|
|
{
|
|
public override int Prop {
|
|
set {
|
|
}
|
|
}
|
|
}
|