xxxxxxxxxx
class Base {
string serialize(this This)() {
return This.stringof; // just for example
}
class Derived : Base {
void main() {
Base b = new Derived();
assert(b.serialize() == "Derived");