开发者

SuppressUnmanagedCodeSecurity At Class Level

开发者 https://www.devze.com 2022-12-24 10:08 出处:网络
If I开发者_开发百科 add the [SuppressUnmanagedCodeSecurity()] attribute to a class, is it equivalent to adding it to each function in the class?From the MSDN docs of this attribute:

If I开发者_开发百科 add the [SuppressUnmanagedCodeSecurity()] attribute to a class, is it equivalent to adding it to each function in the class?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号