2 implementations of DeepClone
Microsoft.Build (2)
Collections\CopyOnWritePropertyDictionary.cs (1)
365
public ICopyOnWritePropertyDictionary<T>
DeepClone
()
Instance\ImmutableProjectCollections\ImmutablePropertyCollectionConverter.cs (1)
31
public ICopyOnWritePropertyDictionary<T>
DeepClone
() => this;
4 references to DeepClone
Microsoft.Build (4)
Instance\ProjectItemInstance.cs (4)
740
directMetadata?.
DeepClone
(), // copy on write!
1142
return (_directMetadata == null) ? new CopyOnWritePropertyDictionary<ProjectMetadataInstance>() : _directMetadata.
DeepClone
(); // copy on write!
1430
destinationAsTaskItem._directMetadata = _directMetadata?.
DeepClone
(); // copy on write!
1843
_directMetadata = metadata.
DeepClone
(); // Copy on write !