Remove unused method in FieldCodec.

(The method was last used a very long time ago, if ever.)
pull/1088/head
Jon Skeet 9 years ago
parent d49b9c81ec
commit 9f10c4576a
  1. 5
      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;

Loading…
Cancel
Save