static string GetMemberDocHead (MemberSpec type) { if (type is FieldSpec) return "F:"; if (type is MethodSpec) return "M:"; if (type is EventSpec) return "E:"; if (type is PropertySpec) return "P:"; if (type is TypeSpec) return "T:"; return "!:"; }