Hi,
If i try to use ProtoMember and DataMember attributes together for one
field, a "Duplicate field-number detected; 1 on: " error posted.
I have tried:
[DataMember]
[ProtoMember(1, AsReference = true)]
or
[DataMember(Order = 1)]
[ProtoMember(1, AsReference = true)]
with same error.
It is possible to define "AsReference" with DataContract attributes?
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/protobuf/-/ikEoMaGhlxoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.