зеркало из https://github.com/dotnet/msbuild.git
ProjectInstance: create a ProjectItemInstance dictionary of the correct size in copying constructor
This commit is contained in:
Родитель
363f522dc3
Коммит
58ca4b0f15
|
@ -609,7 +609,7 @@ namespace Microsoft.Build.Execution
|
|||
_properties.Set(property.DeepClone(_isImmutable));
|
||||
}
|
||||
|
||||
_items = new ItemDictionary<ProjectItemInstance>(that._items.ItemTypes.Count);
|
||||
_items = new ItemDictionary<ProjectItemInstance>(that._items.Count);
|
||||
|
||||
foreach (ProjectItemInstance item in that.Items)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче