protected bool IsUserCode(TypeNode typeNode) { return(!(typeNode.HasCustomAttribute(typeof(DebuggerNonUserCodeAttribute).FullName) || (typeNode.DeclaringType != null && !IsUserCode(typeNode.DeclaringType)))); }