Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8894
Cannot use '{0}' as a {1} type on a method attributed with 'UnmanagedCallersOnly'.