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:
parent
68eefe1872
commit
e17213a09b
|
@ -1293,7 +1293,7 @@ public class Value : IDisposable, IComparable<Value>, IEquatable<Value>
|
||||||
}
|
}
|
||||||
|
|
||||||
Type[] genericArguments = objType.GetGenericArguments();
|
Type[] genericArguments = objType.GetGenericArguments();
|
||||||
if (genericArguments.Count() != 1)
|
if (genericArguments.Length != 1)
|
||||||
{
|
{
|
||||||
throw new ArgumentException($"Unsupported type for direct construction: {objType}");
|
throw new ArgumentException($"Unsupported type for direct construction: {objType}");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue