public static TypeDefinition TypeDefinition(this System.Type type, AssemblyDefinition definition) { return definition.Type(type.FullName); }