diff options
author | Jon Skeet <jonskeet@google.com> | 2015-07-01 17:16:55 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-07-09 08:26:05 +0100 |
commit | 5350822b0a923287bc23375a10c2f3cb07cff5fb (patch) | |
tree | c9f2d54e9254d6c74acacdfea042c1b1743d672b /csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs | |
parent | 493e3db98532e99a53cec914d8f4827a556ee408 (diff) | |
download | protobuf-5350822b0a923287bc23375a10c2f3cb07cff5fb.tar.gz protobuf-5350822b0a923287bc23375a10c2f3cb07cff5fb.tar.bz2 protobuf-5350822b0a923287bc23375a10c2f3cb07cff5fb.zip |
Regenerated code due to previous commit.
Note that now we need a proto3 version of addressbook.proto. This may affect other platforms, and could do with an overhaul to follow proto3 conventions anyway (e.g. repeated field names). Will need to think about that carefully before merging into master. Raised issue #565 for this.
Diffstat (limited to 'csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs index 5afcb4e0..d30f22db 100644 --- a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs +++ b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs @@ -72,9 +72,13 @@ namespace Google.Protobuf.TestProtos { private bool _frozen = false; public bool IsFrozen { get { return _frozen; } } - public ImportMessage() { } + public ImportMessage() { + OnConstruction(); + } + + partial void OnConstruction(); - public ImportMessage(ImportMessage other) { + public ImportMessage(ImportMessage other) : this() { d_ = other.d_; } |