Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS3023
CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead.