开发者

Should I use PreserveSigAttribute or MethodImplOptions.PreserveSig?

开发者 https://www.devze.com 2023-01-27 20:38 出处:网络
If I wanted to set the preservesig method impl flag on a method, should I use PreserveSigAttribute or 开发者_如何学编程MethodImplAttribute(MethodImplOptions.PreserveSig)? They both seem to do the same

If I wanted to set the preservesig method impl flag on a method, should I use PreserveSigAttribute or 开发者_如何学编程MethodImplAttribute(MethodImplOptions.PreserveSig)? They both seem to do the same thing. Which should I use?

0

精彩评论

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