the language guide is very clear and explicit that this is intentional; it
is nothing to do with the C# part, and will behave the same for any
language:
> You can add fields of any type, but cannot use the required, optional, or
repeated keywords.
First I tried this simple protobuf with compiler 3.3:
syntax = "proto3";
message ProxyMessage {
int32 Signal = 1;
oneof payload
{
repeated int32 a= 6;
repeated float b = 7;
}
}
while this seem quite simple it resulted in the following error:
protoc --csharp_out=. proxy.proto