internal static PexObjectStructInfoMember Create(PexParseMeta parse) { var ret = new PexObjectStructInfoMember(); ret.Name = parse.ReadString(); ret.TypeName = parse.ReadString(); ret.RawUserFlags = parse.Reader.ReadUInt32(); ret.Value = PexObjectVariableData.Create(parse); ret.IsConst = parse.Reader.ReadBoolean(); ret.DocString = parse.ReadString(); return(ret); }
internal static PexObjectStructInfo Create(PexParseMeta parse) { var ret = new PexObjectStructInfo(); ret.Name = parse.ReadString(); var count = parse.Reader.ReadUInt16(); for (var i = 0; i < count; i++) { var member = PexObjectStructInfoMember.Create(parse); ret.Members.Add(member); } return(ret); }