aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.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/UnittestIssues.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/UnittestIssues.cs')
-rw-r--r--csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs56
1 files changed, 42 insertions, 14 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
index 124f2de7..0e409c8b 100644
--- a/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
+++ b/csharp/src/ProtocolBuffers.Test/TestProtos/UnittestIssues.cs
@@ -109,9 +109,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public Issue307() { }
+ public Issue307() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public Issue307(Issue307 other) {
+ public Issue307(Issue307 other) : this() {
}
public Issue307 Clone() {
@@ -194,9 +198,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public NestedOnce() { }
+ public NestedOnce() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public NestedOnce(NestedOnce other) {
+ public NestedOnce(NestedOnce other) : this() {
}
public NestedOnce Clone() {
@@ -279,9 +287,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public NestedTwice() { }
+ public NestedTwice() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public NestedTwice(NestedTwice other) {
+ public NestedTwice(NestedTwice other) : this() {
}
public NestedTwice Clone() {
@@ -373,9 +385,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public NegativeEnumMessage() { }
+ public NegativeEnumMessage() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public NegativeEnumMessage(NegativeEnumMessage other) {
+ public NegativeEnumMessage(NegativeEnumMessage other) : this() {
value_ = other.value_;
values_ = other.values_.Clone();
packedValues_ = other.packedValues_.Clone();
@@ -522,9 +538,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public DeprecatedChild() { }
+ public DeprecatedChild() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public DeprecatedChild(DeprecatedChild other) {
+ public DeprecatedChild(DeprecatedChild other) : this() {
}
public DeprecatedChild Clone() {
@@ -606,9 +626,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public DeprecatedFieldsMessage() { }
+ public DeprecatedFieldsMessage() {
+ OnConstruction();
+ }
- public DeprecatedFieldsMessage(DeprecatedFieldsMessage other) {
+ partial void OnConstruction();
+
+ public DeprecatedFieldsMessage(DeprecatedFieldsMessage other) : this() {
primitiveValue_ = other.primitiveValue_;
primitiveArray_ = other.primitiveArray_.Clone();
MessageValue = other.messageValue_ != null ? other.MessageValue.Clone() : null;
@@ -842,9 +866,13 @@ namespace UnitTest.Issues.TestProtos {
private bool _frozen = false;
public bool IsFrozen { get { return _frozen; } }
- public ItemField() { }
+ public ItemField() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
- public ItemField(ItemField other) {
+ public ItemField(ItemField other) : this() {
item_ = other.item_;
}