public void CheckForOutOfRangeInt([NotOutOfRange(1, 4)]int myValue) { // Argument.IsNotOutOfRange<int>("myValue", myValue, 1, 4); }