aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-07-01 17:16:55 +0100
committerJon Skeet <jonskeet@google.com>2015-07-09 08:26:05 +0100
commit5350822b0a923287bc23375a10c2f3cb07cff5fb (patch)
treec9f2d54e9254d6c74acacdfea042c1b1743d672b /csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
parent493e3db98532e99a53cec914d8f4827a556ee408 (diff)
downloadprotobuf-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/UnittestImportPublicProto3.cs')
-rw-r--r--csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
index 79c0876e..5aa03a64 100644
--- a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
+++ b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportPublicProto3.cs
@@ -57,9 +57,13 @@ namespace Google.Protobuf.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public PublicImportMessage() { }
+ public PublicImportMessage() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public PublicImportMessage(PublicImportMessage other) {
+ public PublicImportMessage(PublicImportMessage other) : this() {
e_ = other.e_;
}