void CantBeMarkedPartial(TypeMember member) { if (member.IsPartial) { Error(CompilerErrorFactory.CantBeMarkedPartial(member)); } }