csharp: Changing Count() to Length on eina_value.

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/D10499
This commit is contained in:
Bruno da Silva Belo 2019-10-25 13:08:37 -03:00 committed by Lauro Moura
parent 68eefe1872
commit e17213a09b
1 changed files with 1 additions and 1 deletions

View File

@ -1293,7 +1293,7 @@ public class Value : IDisposable, IComparable<Value>, IEquatable<Value>
}
Type[] genericArguments = objType.GetGenericArguments();
if (genericArguments.Count() != 1)
if (genericArguments.Length != 1)
{
throw new ArgumentException($"Unsupported type for direct construction: {objType}");
}