ArgumentException: use system-supplied message if message is null (#25115)
commita555a5b5b32d6829ba8c867e72e8e2b84882d842
authorHerman Eldering <HermanEldering@users.noreply.github.com>
Sun, 23 Jun 2019 02:52:42 +0000 (23 04:52 +0200)
committerMarek Safar <marek.safar@gmail.com>
Mon, 24 Jun 2019 19:12:12 +0000 (24 21:12 +0200)
tree2ea21358e267a659dadaac99e74ba2581192db07
parent9ac62ea31a807736537e0c9b2521120421ac1308
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.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/ArgumentException.cs