Reputation: 2193
If I add the [SuppressUnmanagedCodeSecurity()] attribute to a class, is it equivalent to adding it to each function in the class?
Upvotes: 2
Views: 899
Reputation: 14589
From the MSDN docs of this attribute:
Using this attribute in a class applies it to all contained methods.
So the answer to your question is yes.
Upvotes: 3