Thursday, February 23, 2006

How to stop a C# Method from being inlined

Eric Gunnerson's C# Compendium gives us the answer; just add:

[MethodImplAttribute(MethodImplOptions.NoInlining)]

No comments: