aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs')
-rw-r--r--src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs
index d8824d49..ad12efb3 100644
--- a/src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs
+++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs
@@ -1,5 +1,5 @@
// Generated by ProtoGen, Version=2.3.0.277, Culture=neutral, PublicKeyToken=17b3b1f090c3ea48. DO NOT EDIT!
-#pragma warning disable 1591
+#pragma warning disable 1591, 0612
#region Designer generated code
using pb = global::Google.ProtocolBuffers;
@@ -5522,9 +5522,11 @@ namespace Google.ProtocolBuffers.TestProtos {
public const int DeprecatedInt32FieldNumber = 1;
private bool hasDeprecatedInt32;
private int deprecatedInt32_;
+ [global::System.ObsoleteAttribute()]
public bool HasDeprecatedInt32 {
get { return hasDeprecatedInt32; }
}
+ [global::System.ObsoleteAttribute()]
public int DeprecatedInt32 {
get { return deprecatedInt32_; }
}
@@ -5708,18 +5710,22 @@ namespace Google.ProtocolBuffers.TestProtos {
}
+ [global::System.ObsoleteAttribute()]
public bool HasDeprecatedInt32 {
get { return result.hasDeprecatedInt32; }
}
+ [global::System.ObsoleteAttribute()]
public int DeprecatedInt32 {
get { return result.DeprecatedInt32; }
set { SetDeprecatedInt32(value); }
}
+ [global::System.ObsoleteAttribute()]
public Builder SetDeprecatedInt32(int value) {
result.hasDeprecatedInt32 = true;
result.deprecatedInt32_ = value;
return this;
}
+ [global::System.ObsoleteAttribute()]
public Builder ClearDeprecatedInt32() {
result.hasDeprecatedInt32 = false;
result.deprecatedInt32_ = 0;