public static LinkedMemberInfo Create(LinkedMemberHierarchy hierarchy, [CanBeNull] LinkedMemberInfo parent, ParameterInfo parameterInfo) { ParameterData memberData; if (!parameterPool.TryGet(out memberData)) { memberData = new ParameterData(); } var created = Create(hierarchy, memberData); created.Setup(parent, parameterInfo); return(created); }
public static void Dispose(ParameterData memberData) { parameterPool.Dispose(ref memberData); }