Violation of CLS rule Same naming
suggest changeusing System;
[assembly:CLSCompliant(true)]
namespace CLSDoc
{
public class Car
{
//Warning CS3005 Identifier 'Car.CALCULATEAge()' differing only in case is not CLS-compliant
public int CalculateAge()
{
return 0;
}
public int CALCULATEAge()
{
return 0;
}
}
}
Visual Basic is not case sensitive
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents