using System; namespace Google.ProtocolBuffers.Descriptors { /// /// Allows enum values to express the index within their descriptor. /// [AttributeUsage(AttributeTargets.Field)] internal class EnumDescriptorIndexAttribute : Attribute { readonly int index; internal int Index { get { return index; } } internal EnumDescriptorIndexAttribute(int index) { this.index = index; } } }