Extensions for better perform disgnostic on .NET code