diff options
author | Jie Luo <anandolee@gmail.com> | 2015-04-29 11:33:07 -0700 |
---|---|---|
committer | Jie Luo <anandolee@gmail.com> | 2015-04-29 11:33:07 -0700 |
commit | c5c9c6a7e05a44724bc4bc6192ff995b4398d559 (patch) | |
tree | bb4eab9a4c4830b7e6d91f83b1309498a9e41578 /csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs | |
parent | 8bae6c09bc8c8be808f0acc9b2ad4c9811493060 (diff) | |
download | protobuf-c5c9c6a7e05a44724bc4bc6192ff995b4398d559.tar.gz protobuf-c5c9c6a7e05a44724bc4bc6192ff995b4398d559.tar.bz2 protobuf-c5c9c6a7e05a44724bc4bc6192ff995b4398d559.zip |
field presence Reflection and tests
Diffstat (limited to 'csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs b/csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs index 6bf48a0c..0ec2b0b7 100644 --- a/csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs +++ b/csharp/src/ProtocolBuffers/FieldAccess/SingleMessageAccessor.cs @@ -48,7 +48,7 @@ namespace Google.ProtocolBuffers.FieldAccess /// </summary>
private readonly Func<IBuilder> createBuilderDelegate;
- internal SingleMessageAccessor(string name) : base(name)
+ internal SingleMessageAccessor(string name) : base(null, name, true)
{
MethodInfo createBuilderMethod = ClrType.GetMethod("CreateBuilder", ReflectionUtil.EmptyTypes);
if (createBuilderMethod == null)
|