Tuesday 15 June 2010

c# - Can a static class extension be inlined? -


For example:

I have a tendency to add signals to short trends (throw back in C ++ days) For example:

  [MethodImpl (MethodImplOptions.AggressiveInlining)] Add Public Static Zero (this IPOjkt @ this, ICMPNant component) {@ this.Components.Add (component); }  

I was wondering if a static class extension can be applied to the first place?

Static methods can inline. How to check whether a method is being underlined or not, Expansion methods are not different from normal static methods; In IL they are just system.timetime. COMPLETER SERVICES Extension attributes are decorated with , so they will be treated the same by JIT.


No comments:

Post a Comment