write_indent ();
write_accessibility (c);
+
+ if (c.hides) {
+ write_string ("new ");
+ }
+
write_string ("const ");
write_type (c.type_reference);
write_indent ();
write_accessibility (f);
+ if (f.hides) {
+ write_string ("new ");
+ }
+
if (f.binding == MemberBinding.STATIC) {
write_string ("static ");
} else if (f.binding == MemberBinding.CLASS) {
}
write_string (" ");
} else {
+ if (m.hides) {
+ write_string ("new ");
+ }
+
if (m.binding == MemberBinding.STATIC) {
write_string ("static ");
} else if (m.binding == MemberBinding.CLASS) {
write_string ("override ");
}
- if (m.hides) {
- write_string ("new ");
- }
-
if (m.coroutine) {
write_string ("async ");
}
write_indent ();
write_accessibility (prop);
+ if (prop.hides) {
+ write_string ("new ");
+ }
+
if (prop.binding == MemberBinding.STATIC) {
write_string ("static ");
} else if (prop.is_abstract) {
write_indent ();
write_accessibility (sig);
+ if (sig.hides) {
+ write_string ("new ");
+ }
+
if (sig.is_virtual) {
write_string ("virtual ");
}