This is how variation on theme of @nogc or @noalloc can look in IDE. New plugin for Resharper from one of JetBrains developers. http://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/ I for sure will try it.