diff options
author | Jon Skeet <skeet@pobox.com> | 2015-07-30 13:35:55 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-07-30 13:35:55 +0100 |
commit | 7909b2edeb19affdf3f96a0b13a8098f28860c3c (patch) | |
tree | 7b2d1c5a0d8c8176d52b9d810eebfcf88dadcd08 /csharp/src/Google.Protobuf/WellKnownTypes | |
parent | 7a0effb9e956ee5509d99a33f7d8fb52a9636871 (diff) | |
parent | dea15a7ca474dde957f7c4826e517fbaa0c983d3 (diff) | |
download | protobuf-7909b2edeb19affdf3f96a0b13a8098f28860c3c.tar.gz protobuf-7909b2edeb19affdf3f96a0b13a8098f28860c3c.tar.bz2 protobuf-7909b2edeb19affdf3f96a0b13a8098f28860c3c.zip |
Merge pull request #659 from jskeet/fix-frozen
Remove a few hangers-on from frozenness.
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes')
10 files changed, 0 insertions, 75 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs index 7882b991..86c8552f 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs @@ -51,9 +51,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Any() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs index a066fd51..a8d4942a 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs @@ -61,9 +61,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Api() { OnConstruction(); } @@ -264,9 +261,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Method() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs index 3c43d634..26c8d2b6 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs @@ -52,9 +52,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Duration() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs index f3104409..e14992f4 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs @@ -51,9 +51,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Empty() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs b/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs index c090aae8..45ef9859 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs @@ -51,9 +51,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public FieldMask() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs index 73874cf1..c86dbada 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs @@ -52,9 +52,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public SourceContext() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs index bb2e5c1b..a4411dd0 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs @@ -70,9 +70,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Struct() { OnConstruction(); } @@ -171,9 +168,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Value() { OnConstruction(); } @@ -459,9 +453,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public ListValue() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs index f66b1f43..3c42068a 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs @@ -52,9 +52,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Timestamp() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs index 719131a4..91ac0f6b 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs @@ -82,9 +82,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Type() { OnConstruction(); } @@ -277,9 +274,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Field() { OnConstruction(); } @@ -594,9 +588,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Enum() { OnConstruction(); } @@ -771,9 +762,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public EnumValue() { OnConstruction(); } @@ -924,9 +912,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Option() { OnConstruction(); } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs index 73577366..a5f6b7e8 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs @@ -61,9 +61,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public DoubleValue() { OnConstruction(); } @@ -170,9 +167,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public FloatValue() { OnConstruction(); } @@ -279,9 +273,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Int64Value() { OnConstruction(); } @@ -388,9 +379,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public UInt64Value() { OnConstruction(); } @@ -497,9 +485,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public Int32Value() { OnConstruction(); } @@ -606,9 +591,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public UInt32Value() { OnConstruction(); } @@ -715,9 +697,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public BoolValue() { OnConstruction(); } @@ -824,9 +803,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public StringValue() { OnConstruction(); } @@ -933,9 +909,6 @@ namespace Google.Protobuf.WellKnownTypes { get { return Descriptor; } } - private bool _frozen = false; - public bool IsFrozen { get { return _frozen; } } - public BytesValue() { OnConstruction(); } |