Ad
  • Default User Avatar

    you should write
    throw new ArgumentException() ;
    to throw it.Check your code-maybe you wrote
    throw new ArgumentException;
    without paretheses or
    throw ArgumentException();