diff options
author | Jon Skeet <jonskeet@google.com> | 2016-01-05 14:34:32 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-01-05 14:36:14 +0000 |
commit | 9f10c4576af04ccb9f195726272e310b57b27374 (patch) | |
tree | ca5a625af294fca5a43377e6acb457ec1a10e49f /csharp/src/Google.Protobuf/FieldCodec.cs | |
parent | d49b9c81ecf1e1c40b240d1a9872aa33a1dfdfa4 (diff) | |
download | protobuf-9f10c4576af04ccb9f195726272e310b57b27374.tar.gz protobuf-9f10c4576af04ccb9f195726272e310b57b27374.tar.bz2 protobuf-9f10c4576af04ccb9f195726272e310b57b27374.zip |
Remove unused method in FieldCodec.
(The method was last used a very long time ago, if ever.)
Diffstat (limited to 'csharp/src/Google.Protobuf/FieldCodec.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/FieldCodec.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/csharp/src/Google.Protobuf/FieldCodec.cs b/csharp/src/Google.Protobuf/FieldCodec.cs index 6ee8e2f9..c2b8d268 100644 --- a/csharp/src/Google.Protobuf/FieldCodec.cs +++ b/csharp/src/Google.Protobuf/FieldCodec.cs @@ -354,11 +354,6 @@ namespace Google.Protobuf // Otherwise it's the default value of the CLR type } - private static Func<T, bool> CreateDefaultValueCheck<TTmp>(Func<TTmp, bool> check) - { - return (Func<T, bool>)(object)check; - } - private readonly Func<CodedInputStream, T> reader; private readonly Action<CodedOutputStream, T> writer; private readonly Func<T, int> sizeCalculator; |