ソースを参照

Merge pull request #1088 from jskeet/codec-pruning

Remove unused method in FieldCodec.
Jan Tattermusch 9 年 前
コミット
698f61688c
1 ファイル変更0 行追加5 行削除
  1. 0 5
      csharp/src/Google.Protobuf/FieldCodec.cs

+ 0 - 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;