public void MergeFrom(IReadStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { case 9: { value = input.ReadDouble(); } break; default: input.SkipLastField(tag); break; } } }
public void MergeFrom(IReadStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { case 10: { if (value == null) { value = new List <double>(); } input.ReadMessage(() => { value.Add(input.ReadDouble()); }); } break; default: input.SkipLastField(tag); break; } } }