protected override void OutputMemberScopeModifier (MemberAttributes attributes)
{
switch (attributes & MemberAttributes.ScopeMask) {
case MemberAttributes.Abstract:
Output.Write ("abstract ");
break;
case MemberAttributes.Final:
// do nothing
break;
case MemberAttributes.Static:
Output.Write ("static ");
break;
case MemberAttributes.Override:
Output.Write ("override ");
break;
default:
MemberAttributes access = attributes & MemberAttributes.AccessMask;
if (access == MemberAttributes.Assembly || access == MemberAttributes.Family || access == MemberAttributes.Public) {
Output.Write ("virtual ");
}
break;
}
}
#endif