From 0f414d4d44c69093cd5cae4e7c59bf2b5f29fc2f Mon Sep 17 00:00:00 2001 From: de4dot Date: Tue, 6 Nov 2012 23:52:17 +0100 Subject: [PATCH] Remove non-used code and add a Count property --- blocks/DumpedMethods.cs | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/blocks/DumpedMethods.cs b/blocks/DumpedMethods.cs index 1b78bd2c..322bc979 100644 --- a/blocks/DumpedMethods.cs +++ b/blocks/DumpedMethods.cs @@ -23,25 +23,12 @@ using dot10.DotNet.MD; using dot10.DotNet; namespace de4dot.blocks { - public interface IStringDecrypter { - string decrypt(uint token); - } - [Serializable] public class DumpedMethods { Dictionary methods = new Dictionary(); - IStringDecrypter stringDecrypter = new NoStringDecrypter(); - [Serializable] - class NoStringDecrypter : IStringDecrypter { - public string decrypt(uint token) { - return null; - } - } - - public IStringDecrypter StringDecrypter { - get { return stringDecrypter; } - set { stringDecrypter = value; } + public int Count { + get { return methods.Count; } } public void add(uint token, DumpedMethod info) {