From 96cffaa8e397d466ee3b07c413824182f4a95a9e Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Mon, 20 Jul 2015 19:25:07 +0100 Subject: Generated code changes following previous commit. --- csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs') diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs index c2681e29..eb7dd937 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs @@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static partial class Empty { - #region Static variables - internal static pbr::FieldAccessorTable internal__static_google_protobuf_Empty__FieldAccessorTable; - #endregion #region Descriptor public static pbr::FileDescriptor Descriptor { get { return descriptor; } @@ -31,11 +28,8 @@ namespace Google.Protobuf.WellKnownTypes { "UAGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy", "b3RvMw==")); descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData, - new pbr::FileDescriptor[] { - }); - internal__static_google_protobuf_Empty__FieldAccessorTable = - new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Empty), descriptor.MessageTypes[0], - new string[] { }, new string[] { }); + new pbr::FileDescriptor[] { }, + new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Empty), }); } #endregion @@ -53,8 +47,8 @@ namespace Google.Protobuf.WellKnownTypes { get { return global::Google.Protobuf.WellKnownTypes.Proto.Empty.Descriptor.MessageTypes[0]; } } - pbr::FieldAccessorTable pb::IReflectedMessage.Fields { - get { return global::Google.Protobuf.WellKnownTypes.Proto.Empty.internal__static_google_protobuf_Empty__FieldAccessorTable; } + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } } private bool _frozen = false; -- cgit v1.2.3