如果事件是由不符合 CLS 的语言所创建,则会发生此错误。
This can happen if the event was created by a non-CLS-compliant language.
同样地,如果类别标记符合 CLS 标准,那麽必须个别标示所有不符合 CLS 标准的成员。
Similarly, if a class is marked as CLS-compliant, you must individually mark all members that are not CLS-compliant.
以及任何基于符合CLS的基础整数类型的枚举类型。
And any enumeration type based on a CLS-compliant base integer type.
应用推荐