Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs |
index 9c0518a399da4d6334459e7dae268aac68d67360..3ba4a2b663c4f01606108054d3535eb5a2e4474a 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs |
@@ -10,6 +10,7 @@ using scg = global::System.Collections.Generic; |
namespace Google.Protobuf.TestProtos { |
/// <summary>Holder for reflection information generated from google/protobuf/map_unittest_proto3.proto</summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class MapUnittestProto3Reflection { |
#region Descriptor |
@@ -172,31 +173,27 @@ namespace Google.Protobuf.TestProtos { |
#region Messages |
/// <summary> |
- /// Tests maps. |
+ /// Tests maps. |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestMap : pb::IMessage<TestMap> { |
private static readonly pb::MessageParser<TestMap> _parser = new pb::MessageParser<TestMap>(() => new TestMap()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestMap> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[0]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMap() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMap(TestMap other) : this() { |
mapInt32Int32_ = other.mapInt32Int32_.Clone(); |
mapInt64Int64_ = other.mapInt64Int64_.Clone(); |
@@ -217,7 +214,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_ = other.mapInt32ForeignMessage_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMap Clone() { |
return new TestMap(this); |
} |
@@ -227,7 +223,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10); |
private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapInt32Int32 { |
get { return mapInt32Int32_; } |
} |
@@ -237,7 +232,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 18); |
private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapInt64Int64 { |
get { return mapInt64Int64_; } |
} |
@@ -247,7 +241,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec |
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 26); |
private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<uint, uint> MapUint32Uint32 { |
get { return mapUint32Uint32_; } |
} |
@@ -257,7 +250,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec |
= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb::FieldCodec.ForUInt64(16), 34); |
private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<ulong, ulong> MapUint64Uint64 { |
get { return mapUint64Uint64_; } |
} |
@@ -267,7 +259,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::FieldCodec.ForSInt32(16), 42); |
private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapSint32Sint32 { |
get { return mapSint32Sint32_; } |
} |
@@ -277,7 +268,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::FieldCodec.ForSInt64(16), 50); |
private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapSint64Sint64 { |
get { return mapSint64Sint64_; } |
} |
@@ -287,7 +277,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec |
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb::FieldCodec.ForFixed32(21), 58); |
private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<uint, uint> MapFixed32Fixed32 { |
get { return mapFixed32Fixed32_; } |
} |
@@ -297,7 +286,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec |
= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb::FieldCodec.ForFixed64(17), 66); |
private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<ulong, ulong> MapFixed64Fixed64 { |
get { return mapFixed64Fixed64_; } |
} |
@@ -307,7 +295,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::FieldCodec.ForSFixed32(21), 74); |
private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapSfixed32Sfixed32 { |
get { return mapSfixed32Sfixed32_; } |
} |
@@ -317,7 +304,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb::FieldCodec.ForSFixed64(17), 82); |
private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapSfixed64Sfixed64 { |
get { return mapSfixed64Sfixed64_; } |
} |
@@ -327,7 +313,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec |
= new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForFloat(21), 90); |
private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, float> MapInt32Float { |
get { return mapInt32Float_; } |
} |
@@ -337,7 +322,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec |
= new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForDouble(17), 98); |
private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, double> MapInt32Double { |
get { return mapInt32Double_; } |
} |
@@ -347,7 +331,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec |
= new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::FieldCodec.ForBool(16), 106); |
private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<bool, bool> MapBoolBool { |
get { return mapBoolBool_; } |
} |
@@ -357,7 +340,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec |
= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(18), 114); |
private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<string, string> MapStringString { |
get { return mapStringString_; } |
} |
@@ -367,7 +349,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, pb::ByteString>.Codec _map_mapInt32Bytes_codec |
= new pbc::MapField<int, pb::ByteString>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForBytes(18), 122); |
private readonly pbc::MapField<int, pb::ByteString> mapInt32Bytes_ = new pbc::MapField<int, pb::ByteString>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, pb::ByteString> MapInt32Bytes { |
get { return mapInt32Bytes_; } |
} |
@@ -377,7 +358,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>.Codec _map_mapInt32Enum_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Google.Protobuf.TestProtos.MapEnum) x), 130); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum> mapInt32Enum_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum> MapInt32Enum { |
get { return mapInt32Enum_; } |
} |
@@ -387,17 +367,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Codec _map_mapInt32ForeignMessage_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.TestProtos.ForeignMessage.Parser), 138); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> mapInt32ForeignMessage_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> MapInt32ForeignMessage { |
get { return mapInt32ForeignMessage_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestMap); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestMap other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -425,7 +402,6 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= MapInt32Int32.GetHashCode(); |
@@ -448,12 +424,10 @@ namespace Google.Protobuf.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) { |
mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec); |
mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec); |
@@ -474,7 +448,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_.WriteTo(output, _map_mapInt32ForeignMessage_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); |
@@ -497,7 +470,6 @@ namespace Google.Protobuf.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestMap other) { |
if (other == null) { |
return; |
@@ -521,7 +493,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_.Add(other.mapInt32ForeignMessage_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -603,34 +574,29 @@ namespace Google.Protobuf.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestMapSubmessage : pb::IMessage<TestMapSubmessage> { |
private static readonly pb::MessageParser<TestMapSubmessage> _parser = new pb::MessageParser<TestMapSubmessage>(() => new TestMapSubmessage()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestMapSubmessage> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[1]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMapSubmessage() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMapSubmessage(TestMapSubmessage other) : this() { |
TestMap = other.testMap_ != null ? other.TestMap.Clone() : null; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMapSubmessage Clone() { |
return new TestMapSubmessage(this); |
} |
@@ -638,7 +604,6 @@ namespace Google.Protobuf.TestProtos { |
/// <summary>Field number for the "test_map" field.</summary> |
public const int TestMapFieldNumber = 1; |
private global::Google.Protobuf.TestProtos.TestMap testMap_; |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public global::Google.Protobuf.TestProtos.TestMap TestMap { |
get { return testMap_; } |
set { |
@@ -646,12 +611,10 @@ namespace Google.Protobuf.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestMapSubmessage); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestMapSubmessage other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -663,19 +626,16 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
if (testMap_ != null) hash ^= TestMap.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 (testMap_ != null) { |
output.WriteRawTag(10); |
@@ -683,7 +643,6 @@ namespace Google.Protobuf.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
if (testMap_ != null) { |
@@ -692,7 +651,6 @@ namespace Google.Protobuf.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestMapSubmessage other) { |
if (other == null) { |
return; |
@@ -705,7 +663,6 @@ namespace Google.Protobuf.TestProtos { |
} |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -726,34 +683,29 @@ namespace Google.Protobuf.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestMessageMap : pb::IMessage<TestMessageMap> { |
private static readonly pb::MessageParser<TestMessageMap> _parser = new pb::MessageParser<TestMessageMap>(() => new TestMessageMap()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestMessageMap> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[2]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMessageMap() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMessageMap(TestMessageMap other) : this() { |
mapInt32Message_ = other.mapInt32Message_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestMessageMap Clone() { |
return new TestMessageMap(this); |
} |
@@ -763,17 +715,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.TestAllTypes>.Codec _map_mapInt32Message_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.TestAllTypes>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.TestProtos.TestAllTypes.Parser), 10); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.TestAllTypes> mapInt32Message_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.TestAllTypes>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.TestAllTypes> MapInt32Message { |
get { return mapInt32Message_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestMessageMap); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestMessageMap other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -785,31 +734,26 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= MapInt32Message.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) { |
mapInt32Message_.WriteTo(output, _map_mapInt32Message_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += mapInt32Message_.CalculateSize(_map_mapInt32Message_codec); |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestMessageMap other) { |
if (other == null) { |
return; |
@@ -817,7 +761,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32Message_.Add(other.mapInt32Message_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -836,37 +779,32 @@ namespace Google.Protobuf.TestProtos { |
} |
/// <summary> |
- /// Two map fields share the same entry default instance. |
+ /// Two map fields share the same entry default instance. |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestSameTypeMap : pb::IMessage<TestSameTypeMap> { |
private static readonly pb::MessageParser<TestSameTypeMap> _parser = new pb::MessageParser<TestSameTypeMap>(() => new TestSameTypeMap()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestSameTypeMap> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[3]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestSameTypeMap() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestSameTypeMap(TestSameTypeMap other) : this() { |
map1_ = other.map1_.Clone(); |
map2_ = other.map2_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestSameTypeMap Clone() { |
return new TestSameTypeMap(this); |
} |
@@ -876,7 +814,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_map1_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10); |
private readonly pbc::MapField<int, int> map1_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> Map1 { |
get { return map1_; } |
} |
@@ -886,17 +823,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_map2_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 18); |
private readonly pbc::MapField<int, int> map2_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> Map2 { |
get { return map2_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestSameTypeMap); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestSameTypeMap other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -909,7 +843,6 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= Map1.GetHashCode(); |
@@ -917,18 +850,15 @@ namespace Google.Protobuf.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) { |
map1_.WriteTo(output, _map_map1_codec); |
map2_.WriteTo(output, _map_map2_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += map1_.CalculateSize(_map_map1_codec); |
@@ -936,7 +866,6 @@ namespace Google.Protobuf.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestSameTypeMap other) { |
if (other == null) { |
return; |
@@ -945,7 +874,6 @@ namespace Google.Protobuf.TestProtos { |
map2_.Add(other.map2_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -967,29 +895,25 @@ namespace Google.Protobuf.TestProtos { |
} |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class TestArenaMap : pb::IMessage<TestArenaMap> { |
private static readonly pb::MessageParser<TestArenaMap> _parser = new pb::MessageParser<TestArenaMap>(() => new TestArenaMap()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<TestArenaMap> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[4]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestArenaMap() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestArenaMap(TestArenaMap other) : this() { |
mapInt32Int32_ = other.mapInt32Int32_.Clone(); |
mapInt64Int64_ = other.mapInt64Int64_.Clone(); |
@@ -1008,7 +932,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_ = other.mapInt32ForeignMessage_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public TestArenaMap Clone() { |
return new TestArenaMap(this); |
} |
@@ -1018,7 +941,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10); |
private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapInt32Int32 { |
get { return mapInt32Int32_; } |
} |
@@ -1028,7 +950,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 18); |
private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapInt64Int64 { |
get { return mapInt64Int64_; } |
} |
@@ -1038,7 +959,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec |
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 26); |
private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<uint, uint> MapUint32Uint32 { |
get { return mapUint32Uint32_; } |
} |
@@ -1048,7 +968,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec |
= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb::FieldCodec.ForUInt64(16), 34); |
private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<ulong, ulong> MapUint64Uint64 { |
get { return mapUint64Uint64_; } |
} |
@@ -1058,7 +977,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::FieldCodec.ForSInt32(16), 42); |
private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapSint32Sint32 { |
get { return mapSint32Sint32_; } |
} |
@@ -1068,7 +986,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::FieldCodec.ForSInt64(16), 50); |
private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapSint64Sint64 { |
get { return mapSint64Sint64_; } |
} |
@@ -1078,7 +995,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec |
= new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb::FieldCodec.ForFixed32(21), 58); |
private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<uint, uint> MapFixed32Fixed32 { |
get { return mapFixed32Fixed32_; } |
} |
@@ -1088,7 +1004,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec |
= new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb::FieldCodec.ForFixed64(17), 66); |
private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<ulong, ulong> MapFixed64Fixed64 { |
get { return mapFixed64Fixed64_; } |
} |
@@ -1098,7 +1013,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::FieldCodec.ForSFixed32(21), 74); |
private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> MapSfixed32Sfixed32 { |
get { return mapSfixed32Sfixed32_; } |
} |
@@ -1108,7 +1022,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec |
= new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb::FieldCodec.ForSFixed64(17), 82); |
private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<long, long> MapSfixed64Sfixed64 { |
get { return mapSfixed64Sfixed64_; } |
} |
@@ -1118,7 +1031,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec |
= new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForFloat(21), 90); |
private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, float> MapInt32Float { |
get { return mapInt32Float_; } |
} |
@@ -1128,7 +1040,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec |
= new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForDouble(17), 98); |
private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, double> MapInt32Double { |
get { return mapInt32Double_; } |
} |
@@ -1138,7 +1049,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec |
= new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::FieldCodec.ForBool(16), 106); |
private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<bool, bool> MapBoolBool { |
get { return mapBoolBool_; } |
} |
@@ -1148,7 +1058,6 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>.Codec _map_mapInt32Enum_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Google.Protobuf.TestProtos.MapEnum) x), 114); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum> mapInt32Enum_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.MapEnum> MapInt32Enum { |
get { return mapInt32Enum_; } |
} |
@@ -1158,17 +1067,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Codec _map_mapInt32ForeignMessage_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.TestProtos.ForeignMessage.Parser), 122); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> mapInt32ForeignMessage_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> MapInt32ForeignMessage { |
get { return mapInt32ForeignMessage_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as TestArenaMap); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(TestArenaMap other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1194,7 +1100,6 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= MapInt32Int32.GetHashCode(); |
@@ -1215,12 +1120,10 @@ namespace Google.Protobuf.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) { |
mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec); |
mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec); |
@@ -1239,7 +1142,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_.WriteTo(output, _map_mapInt32ForeignMessage_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); |
@@ -1260,7 +1162,6 @@ namespace Google.Protobuf.TestProtos { |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(TestArenaMap other) { |
if (other == null) { |
return; |
@@ -1282,7 +1183,6 @@ namespace Google.Protobuf.TestProtos { |
mapInt32ForeignMessage_.Add(other.mapInt32ForeignMessage_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -1357,37 +1257,32 @@ namespace Google.Protobuf.TestProtos { |
} |
/// <summary> |
- /// Previously, message containing enum called Type cannot be used as value of |
- /// map field. |
+ /// Previously, message containing enum called Type cannot be used as value of |
+ /// map field. |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class MessageContainingEnumCalledType : pb::IMessage<MessageContainingEnumCalledType> { |
private static readonly pb::MessageParser<MessageContainingEnumCalledType> _parser = new pb::MessageParser<MessageContainingEnumCalledType>(() => new MessageContainingEnumCalledType()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<MessageContainingEnumCalledType> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[5]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingEnumCalledType() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingEnumCalledType(MessageContainingEnumCalledType other) : this() { |
type_ = other.type_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingEnumCalledType Clone() { |
return new MessageContainingEnumCalledType(this); |
} |
@@ -1397,17 +1292,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType>.Codec _map_type_codec |
= new pbc::MapField<int, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType.Parser), 10); |
private readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType> type_ = new pbc::MapField<int, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, global::Google.Protobuf.TestProtos.MessageContainingEnumCalledType> Type { |
get { return type_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as MessageContainingEnumCalledType); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(MessageContainingEnumCalledType other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1419,31 +1311,26 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= Type.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) { |
type_.WriteTo(output, _map_type_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += type_.CalculateSize(_map_type_codec); |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(MessageContainingEnumCalledType other) { |
if (other == null) { |
return; |
@@ -1451,7 +1338,6 @@ namespace Google.Protobuf.TestProtos { |
type_.Add(other.type_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |
@@ -1469,7 +1355,7 @@ namespace Google.Protobuf.TestProtos { |
#region Nested types |
/// <summary>Container for nested types declared in the MessageContainingEnumCalledType message type.</summary> |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class Types { |
public enum Type { |
[pbr::OriginalName("TYPE_FOO")] Foo = 0, |
@@ -1481,36 +1367,31 @@ namespace Google.Protobuf.TestProtos { |
} |
/// <summary> |
- /// Previously, message cannot contain map field called "entry". |
+ /// Previously, message cannot contain map field called "entry". |
/// </summary> |
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class MessageContainingMapCalledEntry : pb::IMessage<MessageContainingMapCalledEntry> { |
private static readonly pb::MessageParser<MessageContainingMapCalledEntry> _parser = new pb::MessageParser<MessageContainingMapCalledEntry>(() => new MessageContainingMapCalledEntry()); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pb::MessageParser<MessageContainingMapCalledEntry> Parser { get { return _parser; } } |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public static pbr::MessageDescriptor Descriptor { |
get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[6]; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
pbr::MessageDescriptor pb::IMessage.Descriptor { |
get { return Descriptor; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingMapCalledEntry() { |
OnConstruction(); |
} |
partial void OnConstruction(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingMapCalledEntry(MessageContainingMapCalledEntry other) : this() { |
entry_ = other.entry_.Clone(); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public MessageContainingMapCalledEntry Clone() { |
return new MessageContainingMapCalledEntry(this); |
} |
@@ -1520,17 +1401,14 @@ namespace Google.Protobuf.TestProtos { |
private static readonly pbc::MapField<int, int>.Codec _map_entry_codec |
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 10); |
private readonly pbc::MapField<int, int> entry_ = new pbc::MapField<int, int>(); |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public pbc::MapField<int, int> Entry { |
get { return entry_; } |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override bool Equals(object other) { |
return Equals(other as MessageContainingMapCalledEntry); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public bool Equals(MessageContainingMapCalledEntry other) { |
if (ReferenceEquals(other, null)) { |
return false; |
@@ -1542,31 +1420,26 @@ namespace Google.Protobuf.TestProtos { |
return true; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public override int GetHashCode() { |
int hash = 1; |
hash ^= Entry.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) { |
entry_.WriteTo(output, _map_entry_codec); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public int CalculateSize() { |
int size = 0; |
size += entry_.CalculateSize(_map_entry_codec); |
return size; |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(MessageContainingMapCalledEntry other) { |
if (other == null) { |
return; |
@@ -1574,7 +1447,6 @@ namespace Google.Protobuf.TestProtos { |
entry_.Add(other.entry_); |
} |
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
public void MergeFrom(pb::CodedInputStream input) { |
uint tag; |
while ((tag = input.ReadTag()) != 0) { |