ArgumentException: use system-supplied message if message is null (#25115)
authorHerman Eldering <HermanEldering@users.noreply.github.com>
Sun, 23 Jun 2019 02:52:42 +0000 (04:52 +0200)
committerJan Kotas <jkotas@microsoft.com>
Sun, 23 Jun 2019 02:52:42 +0000 (19:52 -0700)
commit248f087b8db718880c82ccd95286c133f2c36ec8
tree0e5746c93c8840286e384c5992a0d9b122e1dee0
parent7dceb4c5eb991794ceca27a45c56b91119a742da
ArgumentException: use system-supplied message if message is null (#25115)

Enable using a system-supplied message while also providing an argument/parameter name by passing in a null message. Made to match the behavior of FileNotFoundException.
src/System.Private.CoreLib/shared/System/ArgumentException.cs