private Type CreateModifiedType(AssemblyDefinition assembly, string typeName) { var modifiedAssembly = assembly.ToAssembly(); return (from t in modifiedAssembly.GetTypes() where t.Name == typeName select t).First(); }
private Type CreateModifiedType(AssemblyDefinition assembly, string typeName) { var modifiedAssembly = assembly.ToAssembly(); return (from t in modifiedAssembly.GetTypes() where t.Name == typeName select t).First(); }