CA2258:不支援在 Visual Basic 中提供 'DynamicInterfaceCastableImplementation' 介面

屬性
規則識別碼 CA2258
標題 不支援在 Visual Basic 中提供 'DynamicInterfaceCastableImplementation' 介面
類別 使用方式
修正程式是中斷或非中斷 不中斷
預設在 .NET 8 中啟用 作為警告

原因

DynamicInterfaceCastableImplementationAttribute在 Visual Basic 中使用 。

檔案描述

提供具有 DynamicInterfaceCastableImplementationAttribute 屬性的功能介面需要 Visual Basic 不支援的預設介面成員功能。

隱藏錯誤的時機

請勿隱藏此規則的警告。

另請參閱