aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/ProtocolBuffers/Descriptors/EnumValueDescriptor.cs
blob: faa83fd43049d41ee27dbe5b4b6d72fcb50359c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;

namespace Google.ProtocolBuffers.Descriptors {
  public class EnumValueDescriptor {

    internal EnumValueDescriptor(DescriptorProtos.EnumValueDescriptorProto proto,
                                 FileDescriptor file,
                                 EnumDescriptor parent,
                                 int index) {
      enumDescriptor = parent;
    }

    private EnumDescriptor enumDescriptor;

    public int Number {
      get { throw new NotImplementedException(); }
    }

    public EnumDescriptor EnumDescriptor {
      get { return enumDescriptor; }
    }
  }
}