From 5350822b0a923287bc23375a10c2f3cb07cff5fb Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Wed, 1 Jul 2015 17:16:55 +0100 Subject: 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. --- .../src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'csharp/src/ProtocolBuffers.Test/TestProtos/UnittestImportProto3.cs') 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_; } -- cgit v1.2.3