static bool ShouldIncludeFrame(StackFrame frame) { var m = frame.GetMethod(); return m != null && m.DeclaringType != null && m.Module.Assembly != typeof(Check).Assembly; }