diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-01-08 16:50:05 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-01-08 16:50:05 -0800 |
commit | 698f61688cd949c2018173f0c877c1441d2acf5f (patch) | |
tree | 4dc9ae79cde747b0a7142a96758c7aa561604f4b | |
parent | be44985c8c453896e45c286fc0ee881ce49d504b (diff) | |
parent | 9f10c4576af04ccb9f195726272e310b57b27374 (diff) |
Merge pull request #1088 from jskeet/codec-pruning
Remove unused method in FieldCodec.
-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; |