I tried to convert a proto file that contains fields beginning with underscores to a c# file,
but it cannot be converted to the correct CS file
example:
msg.proto
syntax = "proto2";
message Msg {
optional string _400Url = 1;
}
Msg.cs
/// <summary>Field number for the "_400Url" field.</summary>
public const int 400UrlFieldNumber = 1;
private readonly static string 400UrlDefaultValue = "";
private string 400Url_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string 400Url {
get { return 400Url_ ?? 400UrlDefaultValue; }
set {
400Url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
Unable to compile because of 400Url