aboutsummaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-01-05 14:34:32 +0000
committerJon Skeet <jonskeet@google.com>2016-01-05 14:36:14 +0000
commit9f10c4576af04ccb9f195726272e310b57b27374 (patch)
treeca5a625af294fca5a43377e6acb457ec1a10e49f /csharp/src
parentd49b9c81ecf1e1c40b240d1a9872aa33a1dfdfa4 (diff)
downloadprotobuf-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')
-rw-r--r--csharp/src/Google.Protobuf/FieldCodec.cs5
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;