eina_array: add paramName argument of ArgumentNullException

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
This commit is contained in:
Yeongjong Lee 2019-10-25 19:14:58 -03:00 committed by Lauro Moura
parent 08d7d2b064
commit eb676e47af
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class Array<T> : IEnumerable<T>, IDisposable
{
if (handle == IntPtr.Zero)
{
throw new ArgumentNullException("Handle can't be null");
throw new ArgumentNullException("handle", "Handle can't be null");
}
Handle = handle;
@ -168,7 +168,7 @@ public class Array<T> : IEnumerable<T>, IDisposable
{
if (handle == IntPtr.Zero)
{
throw new ArgumentNullException("Handle can't be null");
throw new ArgumentNullException("handle", "Handle can't be null");
}
Handle = handle;