void CantBeMarkedStatic(TypeMember member) { if (member.IsStatic) { Error(CompilerErrorFactory.CantBeMarkedStatic(member)); } }