Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS1501
No overload for method 'method' takes 'number' arguments
A call was made to a class method, but no definition of the method takes the specified number of arguments.
The following sample generates XS1501.
//XS1501.PRG