diff options
author | Jie Luo <anandolee@gmail.com> | 2015-05-29 17:19:46 -0700 |
---|---|---|
committer | Jie Luo <anandolee@gmail.com> | 2015-05-29 17:19:46 -0700 |
commit | 802e1848ada7d95e867b178314ee89629680c771 (patch) | |
tree | d33bc7c6b42955601e290909e47bcb273292b30d /csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs | |
parent | 252daef02beb27dfb271af8c191102bd24ffd3e3 (diff) | |
parent | f7b417ddfe63cb4d39775e5fd4560894cc547d65 (diff) | |
download | protobuf-802e1848ada7d95e867b178314ee89629680c771.tar.gz protobuf-802e1848ada7d95e867b178314ee89629680c771.tar.bz2 protobuf-802e1848ada7d95e867b178314ee89629680c771.zip |
Merge pull request #404 from anandolee/master
Add oneof support for c#
Diffstat (limited to 'csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs b/csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs index e63f717c..89e10179 100644 --- a/csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs +++ b/csharp/src/ProtocolBuffers/FieldAccess/SingleEnumAccessor.cs @@ -42,7 +42,8 @@ namespace Google.ProtocolBuffers.FieldAccess {
private readonly EnumDescriptor enumDescriptor;
- internal SingleEnumAccessor(FieldDescriptor field, string name, bool supportFieldPresence) : base(field, name, supportFieldPresence)
+ internal SingleEnumAccessor(FieldDescriptor field, string name, string containingOneofName, bool supportFieldPresence)
+ : base(field, name, containingOneofName, supportFieldPresence)
{
enumDescriptor = field.EnumType;
}
|