|
|
@ -84,36 +84,24 @@ namespace ICSharpCode.ILSpyX |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ((string)list.Attribute("name") == listName) |
|
|
|
if ((string)list.Attribute("name") == listName) |
|
|
|
{ |
|
|
|
{ |
|
|
|
return new AssemblyList(this, list) { |
|
|
|
return new AssemblyList(this, list); |
|
|
|
UseDebugSymbols = UseDebugSymbols, |
|
|
|
|
|
|
|
ApplyWinRTProjections = ApplyWinRTProjections |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return new AssemblyList(this, listName ?? DefaultListName) { |
|
|
|
return new AssemblyList(this, listName ?? DefaultListName); |
|
|
|
UseDebugSymbols = UseDebugSymbols, |
|
|
|
|
|
|
|
ApplyWinRTProjections = ApplyWinRTProjections |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool CloneList(string selectedAssemblyList, string newListName) |
|
|
|
public bool CloneList(string selectedAssemblyList, string newListName) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var list = DoLoadList(selectedAssemblyList); |
|
|
|
var list = DoLoadList(selectedAssemblyList); |
|
|
|
var newList = new AssemblyList(list, newListName) { |
|
|
|
var newList = new AssemblyList(list, newListName); |
|
|
|
UseDebugSymbols = UseDebugSymbols, |
|
|
|
|
|
|
|
ApplyWinRTProjections = ApplyWinRTProjections |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
return AddListIfNotExists(newList); |
|
|
|
return AddListIfNotExists(newList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool RenameList(string selectedAssemblyList, string newListName) |
|
|
|
public bool RenameList(string selectedAssemblyList, string newListName) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var list = DoLoadList(selectedAssemblyList); |
|
|
|
var list = DoLoadList(selectedAssemblyList); |
|
|
|
var newList = new AssemblyList(list, newListName) { |
|
|
|
var newList = new AssemblyList(list, newListName); |
|
|
|
UseDebugSymbols = UseDebugSymbols, |
|
|
|
|
|
|
|
ApplyWinRTProjections = ApplyWinRTProjections |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
return DeleteList(selectedAssemblyList) && AddListIfNotExists(newList); |
|
|
|
return DeleteList(selectedAssemblyList) && AddListIfNotExists(newList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|