diff options
author | Jon Skeet <jonskeet@google.com> | 2015-07-22 13:47:16 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-07-22 13:47:16 +0100 |
commit | e2368c9022285fef5367039f3975885d7fdb7dca (patch) | |
tree | ad74973240b601db512a94b36888ff618e705abd /csharp | |
parent | 17fd398e1ae3f64af07195e75534bbf81fb84f91 (diff) | |
download | protobuf-e2368c9022285fef5367039f3975885d7fdb7dca.tar.gz protobuf-e2368c9022285fef5367039f3975885d7fdb7dca.tar.bz2 protobuf-e2368c9022285fef5367039f3975885d7fdb7dca.zip |
Fix attribute mistake and regenerate code.
Diffstat (limited to 'csharp')
3 files changed, 0 insertions, 8 deletions
diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs index 01492b29..3d72c5a0 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs @@ -786,12 +786,10 @@ namespace Google.Protobuf.TestProtos { OneofBytes = 114, } private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; - [pbr::ProtobufOneof("oneof_field")] public OneofFieldOneofCase OneofFieldCase { get { return oneofFieldCase_; } } - [pbr::ProtobufOneof("oneof_field")] public void ClearOneofField() { pb::Freezable.CheckMutable(this); oneofFieldCase_ = OneofFieldOneofCase.None; @@ -4728,12 +4726,10 @@ namespace Google.Protobuf.TestProtos { FooMessage = 3, } private FooOneofCase fooCase_ = FooOneofCase.None; - [pbr::ProtobufOneof("foo")] public FooOneofCase FooCase { get { return fooCase_; } } - [pbr::ProtobufOneof("foo")] public void ClearFoo() { pb::Freezable.CheckMutable(this); fooCase_ = FooOneofCase.None; diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs index 3de1cbb7..d9943dba 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs @@ -1592,12 +1592,10 @@ namespace Google.Protobuf.TestProtos { BytesField = 18, } private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; - [pbr::ProtobufOneof("oneof_field")] public OneofFieldOneofCase OneofFieldCase { get { return oneofFieldCase_; } } - [pbr::ProtobufOneof("oneof_field")] public void ClearOneofField() { pb::Freezable.CheckMutable(this); oneofFieldCase_ = OneofFieldOneofCase.None; diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs index 0ac47b26..a2452c17 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs @@ -295,12 +295,10 @@ namespace Google.Protobuf.WellKnownTypes { ListValue = 6, } private KindOneofCase kindCase_ = KindOneofCase.None; - [pbr::ProtobufOneof("kind")] public KindOneofCase KindCase { get { return kindCase_; } } - [pbr::ProtobufOneof("kind")] public void ClearKind() { pb::Freezable.CheckMutable(this); kindCase_ = KindOneofCase.None; |