CLS specs?

  • Thread starter Thread starter Smokey Grindle
  • Start date Start date
S

Smokey Grindle

Is there a good explination of what would cause a CLS warrning in .NET 2.0
out there anywhere? like list of reasons and examples of what cause an
object or type to not be CLS complaint? thanks!
 
Smokey Grindle said:
Is there a good explination of what would cause a CLS warrning in .NET 2.0
out there anywhere? like list of reasons and examples of what cause an
object or type to not be CLS complaint? thanks!

Google: cls+compliant

An example (c# although principles are the same)
http://www.devarticles.com/c/a/C-Sharp/Making-Your-Code-CLS-Compliant/

You can get rid of the warning with: <CLSCompliant(false)> _, or by making
the object CLS compliant ;).


Robin.
 
Back
Top