public static LinkedMemberInfo CreateIndexer(LinkedMemberHierarchy hierarchy, LinkedMemberInfo parent, [NotNull] PropertyInfo propertyInfo, LinkedMemberParent parentType) { IndexerData memberData; if (!indexerPool.TryGet(out memberData)) { memberData = new IndexerData(); } var created = Create(hierarchy, memberData); created.SetupIndexer(parent, propertyInfo, parentType); return(created); }
public static void Dispose(IndexerData memberData) { indexerPool.Dispose(ref memberData); }