Navigation: X# 文档 > X# 编译器错误和警告
Error XS8894
Cannot use '{0}' as a {1} type on a method attributed with 'UnmanagedCallersOnly'.