Merge pull request #274 from saturday06/fix/typo_public

Fix typo (public class members)
This commit is contained in:
hiroj
2019-06-25 20:01:28 +09:00
committed by GitHub
21 changed files with 148 additions and 73 deletions

View File

@@ -379,7 +379,7 @@ namespace UniJSON
{
get
{
return this.GetArrrayItem(index);
return this.GetArrayItem(index);
}
}
#endregion

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,7 +13,14 @@ namespace UniJSON
return self.Children;
}
public static ListTreeNode<T> GetArrrayItem<T>(this ListTreeNode<T> self, int index)
[Obsolete("Use GetArrayItem(index)")]
public static ListTreeNode<T> GetArrrayItem<T>(this ListTreeNode<T> self, int index)
where T : IListTreeItem, IValue<T>
{
return GetArrayItem(self, index);
}
public static ListTreeNode<T> GetArrayItem<T>(this ListTreeNode<T> self, int index)
where T : IListTreeItem, IValue<T>
{
int i = 0;