lauromoura pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=eb676e47af4ad36fa9fac6f8358344c2e31c581d

commit eb676e47af4ad36fa9fac6f8358344c2e31c581d
Author: Yeongjong Lee <[email protected]>
Date:   Fri Oct 25 19:14:58 2019 -0300

    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
---
 src/bindings/mono/eina_mono/eina_array.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bindings/mono/eina_mono/eina_array.cs 
b/src/bindings/mono/eina_mono/eina_array.cs
index 47d6962f71..7ebb7ed31e 100644
--- a/src/bindings/mono/eina_mono/eina_array.cs
+++ b/src/bindings/mono/eina_mono/eina_array.cs
@@ -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;

-- 


Reply via email to