Navigation: X# 文档 > X# 编译器错误和警告
Error XS0601
The DllImport attribute must be specified on a method marked 'static' and 'extern'