aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-04-08 12:33:09 +0100
committerJon Skeet <jonskeet@google.com>2016-04-20 03:46:00 +0100
commit84ea2c7a81c69ce675d025074d6891a32ea3f629 (patch)
tree3d35abd02e1415129fdce76624243b99e36714f6 /csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
parent75626ed79c726ed9fd96d9d143ce6b6c88413bf8 (diff)
downloadprotobuf-84ea2c7a81c69ce675d025074d6891a32ea3f629.tar.gz
protobuf-84ea2c7a81c69ce675d025074d6891a32ea3f629.tar.bz2
protobuf-84ea2c7a81c69ce675d025074d6891a32ea3f629.zip
Regenerate all C# code and make it compile
JSON tests fail, as we're not using OriginalNameAttribute yet.
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs')
-rw-r--r--csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
index 27c04787..3ba4a2b6 100644
--- a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
+++ b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs
@@ -164,9 +164,9 @@ namespace Google.Protobuf.TestProtos {
}
#region Enums
public enum MapEnum {
- MAP_ENUM_FOO = 0,
- MAP_ENUM_BAR = 1,
- MAP_ENUM_BAZ = 2,
+ [pbr::OriginalName("MAP_ENUM_FOO")] Foo = 0,
+ [pbr::OriginalName("MAP_ENUM_BAR")] Bar = 1,
+ [pbr::OriginalName("MAP_ENUM_BAZ")] Baz = 2,
}
#endregion
@@ -1358,7 +1358,7 @@ namespace Google.Protobuf.TestProtos {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Types {
public enum Type {
- TYPE_FOO = 0,
+ [pbr::OriginalName("TYPE_FOO")] Foo = 0,
}
}