Implementing a Custom DontRun Attribute

Instead of using the [DontRun] attribute provided by Typemock Isolator, you can implement your own DontRun attribute as follows:

C#

[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class DontRunAttribute : Attribute {}