lauromoura pushed a commit to branch master.

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

commit 68eefe18725ddd79e704eca2c7aaf1835d61fad1
Author: Bruno da Silva Belo <[email protected]>
Date:   Fri Oct 25 13:06:59 2019 -0300

    csharp: Using Count eina_promises.
    
    Summary: ref T8422
    
    Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
    
    Reviewed By: lauromoura
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T8422
    
    Differential Revision: https://phab.enlightenment.org/D10498
---
 src/bindings/mono/eina_mono/eina_promises.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bindings/mono/eina_mono/eina_promises.cs 
b/src/bindings/mono/eina_mono/eina_promises.cs
index a220e0c30c..4b14a0d894 100644
--- a/src/bindings/mono/eina_mono/eina_promises.cs
+++ b/src/bindings/mono/eina_mono/eina_promises.cs
@@ -380,11 +380,11 @@ public class Future
     {
         SanityChecks();
         System.Collections.Generic.IList<ResolvedCb> cbsList = cbs.ToList();
-        FutureDesc[] descs = new FutureDesc[cbsList.Count() + 1]; // +1 due to 
the null-cb terminating descriptor.
+        FutureDesc[] descs = new FutureDesc[cbsList.Count + 1]; // +1 due to 
the null-cb terminating descriptor.
         int i = 0;
         try
         {
-            for (; i < cbsList.Count(); i++)
+            for (; i < cbsList.Count; i++)
             {
                 ResolvedCb cb = cbsList[i];
                 descs[i].cb = NativeResolvedCbDelegate;

-- 


Reply via email to