M
mhuhn.de
I have imported a C++ class into a .NET solution and use this class as
the return type for a method declared in an interface. Framework 2.0
gives me a warning that the method is not CLS compliant. I could add an
CLSCompliant attribute to all the methods in classes but not in the
method of the interface. Declaring the interface as non compliant
results in 40 more warnings for all the methods that use this
interface.
What is the best way to remove the warnings as I guess I cannot make
the class CLS compliant without rewriting it?
the return type for a method declared in an interface. Framework 2.0
gives me a warning that the method is not CLS compliant. I could add an
CLSCompliant attribute to all the methods in classes but not in the
method of the interface. Declaring the interface as non compliant
results in 40 more warnings for all the methods that use this
interface.
What is the best way to remove the warnings as I guess I cannot make
the class CLS compliant without rewriting it?