Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs |
index 7c0ba8a677c793b407552a2680d5112036f416ca..7d4451b0931f2efd5a3690d0c84650922149e7ee 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs |
@@ -10,6 +10,7 @@ using scg = global::System.Collections.Generic; |
namespace UnitTest.Issues.TestProtos { |
/// <summary>Holder for reflection information generated from unittest_issues.proto</summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class UnittestIssuesReflection { |
#region Descriptor |
@@ -79,46 +80,39 @@ namespace UnitTest.Issues.TestProtos { |
#region Messages |
/// <summary> |
- /// Issue 307: when generating doubly-nested types, any references |
- /// should be of the form A.Types.B.Types.C. |
+ /// Issue 307: when generating doubly-nested types, any references |
+ /// should be of the form A.Types.B.Types.C. |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class Issue307 : pb::IMessage<Issue307> { |
private static readonly pb::MessageParser<Issue307> _parser = new pb::MessageParser<Issue307>(() => new Issue307()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<Issue307> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[0]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public Issue307() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public Issue307(Issue307 other) : this() { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public Issue307 Clone() { |
return new Issue307(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as Issue307); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(Issue307 other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -129,35 +123,29 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(Issue307 other) { |
if (other == null) { |
return; |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -171,45 +159,38 @@ namespace UnitTest.Issues.TestProtos { |
#region Nested types |
/// <summary>Container for nested types declared in the Issue307 message type.</summary> |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class Types { |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class NestedOnce : pb::IMessage<NestedOnce> { |
private static readonly pb::MessageParser<NestedOnce> _parser = new pb::MessageParser<NestedOnce>(() => new NestedOnce()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<NestedOnce> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.Issue307.Descriptor.NestedTypes[0]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedOnce() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedOnce(NestedOnce other) : this() { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedOnce Clone() { |
return new NestedOnce(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as NestedOnce); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(NestedOnce other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -220,35 +201,29 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(NestedOnce other) { |
if (other == null) { |
return; |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -262,45 +237,38 @@ namespace UnitTest.Issues.TestProtos { |
#region Nested types |
/// <summary>Container for nested types declared in the NestedOnce message type.</summary> |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class Types { |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class NestedTwice : pb::IMessage<NestedTwice> { |
private static readonly pb::MessageParser<NestedTwice> _parser = new pb::MessageParser<NestedTwice>(() => new NestedTwice()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<NestedTwice> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Descriptor.NestedTypes[0]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedTwice() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedTwice(NestedTwice other) : this() { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NestedTwice Clone() { |
return new NestedTwice(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as NestedTwice); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(NestedTwice other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -311,35 +279,29 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(NestedTwice other) { |
if (other == null) { |
return; |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -363,36 +325,31 @@ namespace UnitTest.Issues.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class NegativeEnumMessage : pb::IMessage<NegativeEnumMessage> { |
private static readonly pb::MessageParser<NegativeEnumMessage> _parser = new pb::MessageParser<NegativeEnumMessage>(() => new NegativeEnumMessage()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<NegativeEnumMessage> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[1]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NegativeEnumMessage() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NegativeEnumMessage(NegativeEnumMessage other) : this() { |
value_ = other.value_; |
values_ = other.values_.Clone(); |
packedValues_ = other.packedValues_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public NegativeEnumMessage Clone() { |
return new NegativeEnumMessage(this); |
} |
@@ -400,7 +357,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "value" field.</summary> |
public const int ValueFieldNumber = 1; |
private global::UnitTest.Issues.TestProtos.NegativeEnum value_ = 0; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public global::UnitTest.Issues.TestProtos.NegativeEnum Value { |
get { return value_; } |
set { |
@@ -413,7 +369,6 @@ namespace UnitTest.Issues.TestProtos { |
private static readonly pb::FieldCodec<global::UnitTest.Issues.TestProtos.NegativeEnum> _repeated_values_codec |
= pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::UnitTest.Issues.TestProtos.NegativeEnum) x); |
private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> values_ = new pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> Values { |
get { return values_; } |
} |
@@ -423,17 +378,14 @@ namespace UnitTest.Issues.TestProtos { |
private static readonly pb::FieldCodec<global::UnitTest.Issues.TestProtos.NegativeEnum> _repeated_packedValues_codec |
= pb::FieldCodec.ForEnum(26, x => (int) x, x => (global::UnitTest.Issues.TestProtos.NegativeEnum) x); |
private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> packedValues_ = new pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.NegativeEnum> PackedValues { |
get { return packedValues_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as NegativeEnumMessage); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(NegativeEnumMessage other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -447,7 +399,6 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (Value != 0) hash ^= Value.GetHashCode(); |
@@ -456,12 +407,10 @@ namespace UnitTest.Issues.TestProtos { |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (Value != 0) { |
output.WriteRawTag(8); |
@@ -471,7 +420,6 @@ namespace UnitTest.Issues.TestProtos { |
packedValues_.WriteTo(output, _repeated_packedValues_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (Value != 0) { |
@@ -482,7 +430,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(NegativeEnumMessage other) { |
if (other == null) { |
return; |
@@ -494,7 +441,6 @@ namespace UnitTest.Issues.TestProtos { |
packedValues_.Add(other.packedValues_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -522,43 +468,36 @@ namespace UnitTest.Issues.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class DeprecatedChild : pb::IMessage<DeprecatedChild> { |
private static readonly pb::MessageParser<DeprecatedChild> _parser = new pb::MessageParser<DeprecatedChild>(() => new DeprecatedChild()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<DeprecatedChild> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[2]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedChild() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedChild(DeprecatedChild other) : this() { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedChild Clone() { |
return new DeprecatedChild(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as DeprecatedChild); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(DeprecatedChild other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -569,35 +508,29 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(DeprecatedChild other) { |
if (other == null) { |
return; |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -611,29 +544,25 @@ namespace UnitTest.Issues.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class DeprecatedFieldsMessage : pb::IMessage<DeprecatedFieldsMessage> { |
private static readonly pb::MessageParser<DeprecatedFieldsMessage> _parser = new pb::MessageParser<DeprecatedFieldsMessage>(() => new DeprecatedFieldsMessage()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<DeprecatedFieldsMessage> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[3]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedFieldsMessage() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedFieldsMessage(DeprecatedFieldsMessage other) : this() { |
primitiveValue_ = other.primitiveValue_; |
primitiveArray_ = other.primitiveArray_.Clone(); |
@@ -643,7 +572,6 @@ namespace UnitTest.Issues.TestProtos { |
enumArray_ = other.enumArray_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public DeprecatedFieldsMessage Clone() { |
return new DeprecatedFieldsMessage(this); |
} |
@@ -651,8 +579,7 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "PrimitiveValue" field.</summary> |
public const int PrimitiveValueFieldNumber = 1; |
private int primitiveValue_; |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public int PrimitiveValue { |
get { return primitiveValue_; } |
set { |
@@ -665,8 +592,7 @@ namespace UnitTest.Issues.TestProtos { |
private static readonly pb::FieldCodec<int> _repeated_primitiveArray_codec |
= pb::FieldCodec.ForInt32(18); |
private readonly pbc::RepeatedField<int> primitiveArray_ = new pbc::RepeatedField<int>(); |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public pbc::RepeatedField<int> PrimitiveArray { |
get { return primitiveArray_; } |
} |
@@ -674,8 +600,7 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "MessageValue" field.</summary> |
public const int MessageValueFieldNumber = 3; |
private global::UnitTest.Issues.TestProtos.DeprecatedChild messageValue_; |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public global::UnitTest.Issues.TestProtos.DeprecatedChild MessageValue { |
get { return messageValue_; } |
set { |
@@ -688,8 +613,7 @@ namespace UnitTest.Issues.TestProtos { |
private static readonly pb::FieldCodec<global::UnitTest.Issues.TestProtos.DeprecatedChild> _repeated_messageArray_codec |
= pb::FieldCodec.ForMessage(34, global::UnitTest.Issues.TestProtos.DeprecatedChild.Parser); |
private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedChild> messageArray_ = new pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedChild>(); |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedChild> MessageArray { |
get { return messageArray_; } |
} |
@@ -697,8 +621,7 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "EnumValue" field.</summary> |
public const int EnumValueFieldNumber = 5; |
private global::UnitTest.Issues.TestProtos.DeprecatedEnum enumValue_ = 0; |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public global::UnitTest.Issues.TestProtos.DeprecatedEnum EnumValue { |
get { return enumValue_; } |
set { |
@@ -711,18 +634,15 @@ namespace UnitTest.Issues.TestProtos { |
private static readonly pb::FieldCodec<global::UnitTest.Issues.TestProtos.DeprecatedEnum> _repeated_enumArray_codec |
= pb::FieldCodec.ForEnum(50, x => (int) x, x => (global::UnitTest.Issues.TestProtos.DeprecatedEnum) x); |
private readonly pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedEnum> enumArray_ = new pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedEnum>(); |
- [global::System.ObsoleteAttribute] |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.ObsoleteAttribute()] |
public pbc::RepeatedField<global::UnitTest.Issues.TestProtos.DeprecatedEnum> EnumArray { |
get { return enumArray_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as DeprecatedFieldsMessage); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(DeprecatedFieldsMessage other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -739,7 +659,6 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (PrimitiveValue != 0) hash ^= PrimitiveValue.GetHashCode(); |
@@ -751,12 +670,10 @@ namespace UnitTest.Issues.TestProtos { |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (PrimitiveValue != 0) { |
output.WriteRawTag(8); |
@@ -775,7 +692,6 @@ namespace UnitTest.Issues.TestProtos { |
enumArray_.WriteTo(output, _repeated_enumArray_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (PrimitiveValue != 0) { |
@@ -793,7 +709,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(DeprecatedFieldsMessage other) { |
if (other == null) { |
return; |
@@ -815,7 +730,6 @@ namespace UnitTest.Issues.TestProtos { |
enumArray_.Add(other.enumArray_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -859,36 +773,31 @@ namespace UnitTest.Issues.TestProtos { |
} |
/// <summary> |
- /// Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45 |
+ /// Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45 |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class ItemField : pb::IMessage<ItemField> { |
private static readonly pb::MessageParser<ItemField> _parser = new pb::MessageParser<ItemField>(() => new ItemField()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<ItemField> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[4]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ItemField() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ItemField(ItemField other) : this() { |
item_ = other.item_; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ItemField Clone() { |
return new ItemField(this); |
} |
@@ -896,7 +805,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "item" field.</summary> |
public const int ItemFieldNumber = 1; |
private int item_; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int Item { |
get { return item_; } |
set { |
@@ -904,12 +812,10 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as ItemField); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(ItemField other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -921,19 +827,16 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (Item != 0) hash ^= Item.GetHashCode(); |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (Item != 0) { |
output.WriteRawTag(8); |
@@ -941,7 +844,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (Item != 0) { |
@@ -950,7 +852,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(ItemField other) { |
if (other == null) { |
return; |
@@ -960,7 +861,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -978,35 +878,30 @@ namespace UnitTest.Issues.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class ReservedNames : pb::IMessage<ReservedNames> { |
private static readonly pb::MessageParser<ReservedNames> _parser = new pb::MessageParser<ReservedNames>(() => new ReservedNames()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<ReservedNames> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[5]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ReservedNames() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ReservedNames(ReservedNames other) : this() { |
types_ = other.types_; |
descriptor_ = other.descriptor_; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public ReservedNames Clone() { |
return new ReservedNames(this); |
} |
@@ -1014,7 +909,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "types" field.</summary> |
public const int Types_FieldNumber = 1; |
private int types_; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int Types_ { |
get { return types_; } |
set { |
@@ -1025,7 +919,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "descriptor" field.</summary> |
public const int Descriptor_FieldNumber = 2; |
private int descriptor_; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int Descriptor_ { |
get { return descriptor_; } |
set { |
@@ -1033,12 +926,10 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as ReservedNames); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(ReservedNames other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1051,7 +942,6 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (Types_ != 0) hash ^= Types_.GetHashCode(); |
@@ -1059,12 +949,10 @@ namespace UnitTest.Issues.TestProtos { |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (Types_ != 0) { |
output.WriteRawTag(8); |
@@ -1076,7 +964,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (Types_ != 0) { |
@@ -1088,7 +975,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(ReservedNames other) { |
if (other == null) { |
return; |
@@ -1101,7 +987,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -1123,48 +1008,41 @@ namespace UnitTest.Issues.TestProtos { |
#region Nested types |
/// <summary>Container for nested types declared in the ReservedNames message type.</summary> |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class Types { |
/// <summary> |
- /// Force a nested type called Types |
+ /// Force a nested type called Types |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class SomeNestedType : pb::IMessage<SomeNestedType> { |
private static readonly pb::MessageParser<SomeNestedType> _parser = new pb::MessageParser<SomeNestedType>(() => new SomeNestedType()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<SomeNestedType> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.ReservedNames.Descriptor.NestedTypes[0]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public SomeNestedType() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public SomeNestedType(SomeNestedType other) : this() { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public SomeNestedType Clone() { |
return new SomeNestedType(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as SomeNestedType); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(SomeNestedType other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1175,35 +1053,29 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(SomeNestedType other) { |
if (other == null) { |
return; |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -1223,40 +1095,36 @@ namespace UnitTest.Issues.TestProtos { |
} |
/// <summary> |
- /// These fields are deliberately not declared in numeric |
- /// order, and the oneof fields aren't contiguous either. |
- /// This allows for reasonably robust tests of JSON output |
- /// ordering. |
- /// TestFieldOrderings in unittest_proto3.proto is similar, |
- /// but doesn't include oneofs. |
- /// TODO: Consider adding oneofs to TestFieldOrderings, although |
- /// that will require fixing other tests in multiple platforms. |
- /// Alternatively, consider just adding this to |
- /// unittest_proto3.proto if multiple platforms want it. |
+ /// These fields are deliberately not declared in numeric |
+ /// order, and the oneof fields aren't contiguous either. |
+ /// This allows for reasonably robust tests of JSON output |
+ /// ordering. |
+ /// TestFieldOrderings in unittest_proto3.proto is similar, |
+ /// but doesn't include oneofs. |
+ /// TODO: Consider adding oneofs to TestFieldOrderings, although |
+ /// that will require fixing other tests in multiple platforms. |
+ /// Alternatively, consider just adding this to |
+ /// unittest_proto3.proto if multiple platforms want it. |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestJsonFieldOrdering : pb::IMessage<TestJsonFieldOrdering> { |
private static readonly pb::MessageParser<TestJsonFieldOrdering> _parser = new pb::MessageParser<TestJsonFieldOrdering>(() => new TestJsonFieldOrdering()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestJsonFieldOrdering> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[6]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonFieldOrdering() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonFieldOrdering(TestJsonFieldOrdering other) : this() { |
plainInt32_ = other.plainInt32_; |
plainString_ = other.plainString_; |
@@ -1280,7 +1148,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonFieldOrdering Clone() { |
return new TestJsonFieldOrdering(this); |
} |
@@ -1288,7 +1155,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "plain_int32" field.</summary> |
public const int PlainInt32FieldNumber = 4; |
private int plainInt32_; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int PlainInt32 { |
get { return plainInt32_; } |
set { |
@@ -1298,7 +1164,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "o1_string" field.</summary> |
public const int O1StringFieldNumber = 2; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string O1String { |
get { return o1Case_ == O1OneofCase.O1String ? (string) o1_ : ""; } |
set { |
@@ -1309,7 +1174,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "o1_int32" field.</summary> |
public const int O1Int32FieldNumber = 5; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int O1Int32 { |
get { return o1Case_ == O1OneofCase.O1Int32 ? (int) o1_ : 0; } |
set { |
@@ -1321,7 +1185,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "plain_string" field.</summary> |
public const int PlainStringFieldNumber = 1; |
private string plainString_ = ""; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string PlainString { |
get { return plainString_; } |
set { |
@@ -1331,7 +1194,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "o2_int32" field.</summary> |
public const int O2Int32FieldNumber = 6; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int O2Int32 { |
get { return o2Case_ == O2OneofCase.O2Int32 ? (int) o2_ : 0; } |
set { |
@@ -1342,7 +1204,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "o2_string" field.</summary> |
public const int O2StringFieldNumber = 3; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string O2String { |
get { return o2Case_ == O2OneofCase.O2String ? (string) o2_ : ""; } |
set { |
@@ -1359,12 +1220,10 @@ namespace UnitTest.Issues.TestProtos { |
O1Int32 = 5, |
} |
private O1OneofCase o1Case_ = O1OneofCase.None; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public O1OneofCase O1Case { |
get { return o1Case_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void ClearO1() { |
o1Case_ = O1OneofCase.None; |
o1_ = null; |
@@ -1378,23 +1237,19 @@ namespace UnitTest.Issues.TestProtos { |
O2String = 3, |
} |
private O2OneofCase o2Case_ = O2OneofCase.None; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public O2OneofCase O2Case { |
get { return o2Case_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void ClearO2() { |
o2Case_ = O2OneofCase.None; |
o2_ = null; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestJsonFieldOrdering); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestJsonFieldOrdering other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1413,7 +1268,6 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (PlainInt32 != 0) hash ^= PlainInt32.GetHashCode(); |
@@ -1427,12 +1281,10 @@ namespace UnitTest.Issues.TestProtos { |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (PlainString.Length != 0) { |
output.WriteRawTag(10); |
@@ -1460,7 +1312,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (PlainInt32 != 0) { |
@@ -1484,7 +1335,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestJsonFieldOrdering other) { |
if (other == null) { |
return; |
@@ -1515,7 +1365,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -1553,36 +1402,31 @@ namespace UnitTest.Issues.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestJsonName : pb::IMessage<TestJsonName> { |
private static readonly pb::MessageParser<TestJsonName> _parser = new pb::MessageParser<TestJsonName>(() => new TestJsonName()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestJsonName> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[7]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonName() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonName(TestJsonName other) : this() { |
name_ = other.name_; |
description_ = other.description_; |
guid_ = other.guid_; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestJsonName Clone() { |
return new TestJsonName(this); |
} |
@@ -1591,9 +1435,8 @@ namespace UnitTest.Issues.TestProtos { |
public const int NameFieldNumber = 1; |
private string name_ = ""; |
/// <summary> |
- /// Message for testing the effects for of the json_name option |
+ /// Message for testing the effects for of the json_name option |
/// </summary> |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string Name { |
get { return name_; } |
set { |
@@ -1604,7 +1447,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "description" field.</summary> |
public const int DescriptionFieldNumber = 2; |
private string description_ = ""; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string Description { |
get { return description_; } |
set { |
@@ -1615,7 +1457,6 @@ namespace UnitTest.Issues.TestProtos { |
/// <summary>Field number for the "guid" field.</summary> |
public const int GuidFieldNumber = 3; |
private string guid_ = ""; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public string Guid { |
get { return guid_; } |
set { |
@@ -1623,12 +1464,10 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestJsonName); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestJsonName other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1642,7 +1481,6 @@ namespace UnitTest.Issues.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (Name.Length != 0) hash ^= Name.GetHashCode(); |
@@ -1651,12 +1489,10 @@ namespace UnitTest.Issues.TestProtos { |
return hash; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override string ToString() { |
return pb::JsonFormatter.ToDiagnosticString(this); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void WriteTo(pb::CodedOutputStream output) { |
if (Name.Length != 0) { |
output.WriteRawTag(10); |
@@ -1672,7 +1508,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (Name.Length != 0) { |
@@ -1687,7 +1522,6 @@ namespace UnitTest.Issues.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestJsonName other) { |
if (other == null) { |
return; |
@@ -1703,7 +1537,6 @@ namespace UnitTest.Issues.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |