aboutsummaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@users.noreply.github.com>2016-01-08 16:50:05 -0800
committerJan Tattermusch <jtattermusch@users.noreply.github.com>2016-01-08 16:50:05 -0800
commit698f61688cd949c2018173f0c877c1441d2acf5f (patch)
tree4dc9ae79cde747b0a7142a96758c7aa561604f4b /csharp/src
parentbe44985c8c453896e45c286fc0ee881ce49d504b (diff)
parent9f10c4576af04ccb9f195726272e310b57b27374 (diff)
downloadprotobuf-698f61688cd949c2018173f0c877c1441d2acf5f.tar.gz
protobuf-698f61688cd949c2018173f0c877c1441d2acf5f.tar.bz2
protobuf-698f61688cd949c2018173f0c877c1441d2acf5f.zip
Merge pull request #1088 from jskeet/codec-pruning
Remove unused method in FieldCodec.
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;