浏览代码

Removed unnecessary delegate

Jon Skeet 17 年之前
父节点
当前提交
57be03df65
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      csharp/ProtocolBuffers/FieldAccess/SinglePrimitiveAccessor.cs

+ 0 - 1
csharp/ProtocolBuffers/FieldAccess/SinglePrimitiveAccessor.cs

@@ -29,7 +29,6 @@ namespace Google.ProtocolBuffers.FieldAccess {
     private readonly Action<TBuilder, object> setValueDelegate;
     private readonly Action<TBuilder, object> setValueDelegate;
     private readonly Func<TMessage, bool> hasDelegate;
     private readonly Func<TMessage, bool> hasDelegate;
     private readonly Func<TBuilder, IBuilder> clearDelegate;
     private readonly Func<TBuilder, IBuilder> clearDelegate;
-    delegate void SingleValueDelegate<TSource>(TSource source, object value);
 
 
     /// <summary>
     /// <summary>
     /// The CLR type of the field (int, the enum type, ByteString, the message etc).
     /// The CLR type of the field (int, the enum type, ByteString, the message etc).