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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top