Example #1
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _upRevisionFieldNames;
     if (hasValue)
     {
         output.WriteEnum(1, field_names[0], (int)Value, Value);
     }
     if (values_.Count > 0)
     {
         output.WriteEnumArray(2, field_names[1], values_);
     }
     UnknownFields.WriteTo(output);
 }