Remove dead code
authorJb Evain <jbevain@gmail.com>
Tue, 23 Nov 2010 10:17:06 +0000 (11:17 +0100)
committerJb Evain <jbevain@gmail.com>
Tue, 23 Nov 2010 10:17:06 +0000 (11:17 +0100)
mcs/class/Mono.Cecil/Mono.Cecil/TypeSystem.cs

index 0848dcbac8b2ff677c04ced90eddc7cd8dcf03a6..0b0ba91b9b58ac10bfc8ed97b4328406c8ca2a21 100644 (file)
@@ -64,21 +64,6 @@ namespace Mono.Cecil {
                                });
                        }
 
-                       internal TypeReference GetType (string fullname)
-                       {
-                               var types = module.MetadataSystem.Types;
-                               for (int i = 0; i < types.Length; i++) {
-                                       var type = types [i];
-                                       if (type == null)
-                                               continue;
-
-                                       if (type.FullName == fullname)
-                                               return type;
-                               }
-
-                               return null;
-                       }
-
                        static void Initialize (object obj)
                        {
                        }