Summary:
ArgumentNullException constructor included `message` is
`public ArgumentNullException (string paramName, string message);`
Fix CA2208
ref T8428
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8428
Differential Revision: https://phab.enlightenment.org/D10464
{
if (handle == IntPtr.Zero)
{
- throw new ArgumentNullException("Handle can't be null");
+ throw new ArgumentNullException("handle", "Handle can't be null");
}
Handle = handle;
{
if (handle == IntPtr.Zero)
{
- throw new ArgumentNullException("Handle can't be null");
+ throw new ArgumentNullException("handle", "Handle can't be null");
}
Handle = handle;