public static MemberAccessPath Deserialize(PromisedAnswer.READER promisedAnswer) { var ops = new MemberAccess[promisedAnswer.Transform.Count]; int i = 0; foreach (var op in promisedAnswer.Transform) { ops[i++] = MemberAccess.Deserialize(op); } return(new MemberAccessPath(ops)); }