Commit 698f6168 authored by Jan Tattermusch's avatar Jan Tattermusch

Merge pull request #1088 from jskeet/codec-pruning

Remove unused method in FieldCodec.
parents be44985c 9f10c457
...@@ -354,11 +354,6 @@ namespace Google.Protobuf ...@@ -354,11 +354,6 @@ namespace Google.Protobuf
// Otherwise it's the default value of the CLR type // 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 Func<CodedInputStream, T> reader;
private readonly Action<CodedOutputStream, T> writer; private readonly Action<CodedOutputStream, T> writer;
private readonly Func<T, int> sizeCalculator; private readonly Func<T, int> sizeCalculator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment