Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8895
Methods attributed with 'UnmanagedCallersOnly' cannot have generic type parameters and cannot be declared in a generic type.