How can I apply an attribute to all classes in a particular project?! And is it enough to apply CLSCompliant attribute to just one class or do I have to apply to all classes?
Thanks for your answers...
How can I apply an attribute to all classes in a particular project?! And is it enough to apply CLSCompliant attribute to just one class or do I have to apply to all classes?
Thanks for your answers...
Copyright © 2021 Jogjafile Inc.
This is the declaration for the attribute:
Note the [AttributeUsage]. With AttributeTargets.All, it indicates that the attribute can be applied to anything. Which includes the assembly: