Navigation: X# 文档 > X# 编译器错误和警告
Error XS8028
'{0}': a class with the ComImport attribute cannot specify field initializers.