2 implementations of ICopyOnWritePropertyDictionary
Microsoft.Build (2)
Collections\CopyOnWritePropertyDictionary.cs (1)
39
internal sealed class CopyOnWritePropertyDictionary<T> :
ICopyOnWritePropertyDictionary
<T>, IEquatable<CopyOnWritePropertyDictionary<T>>
Instance\ImmutableProjectCollections\ImmutablePropertyCollectionConverter.cs (1)
10
internal class ImmutablePropertyCollectionConverter<TCached, T> : ImmutableElementCollectionConverter<TCached, T>,
ICopyOnWritePropertyDictionary
<T>
22 references to ICopyOnWritePropertyDictionary
Microsoft.Build (21)
Collections\CopyOnWritePropertyDictionary.cs (2)
201
public bool Equals(
ICopyOnWritePropertyDictionary
<T> other)
365
public
ICopyOnWritePropertyDictionary
<T> DeepClone()
Collections\ICopyOnWritePropertyDictionary.cs (2)
32
internal interface ICopyOnWritePropertyDictionary<T> : IEnumerable<T>, IEquatable<
ICopyOnWritePropertyDictionary
<T>>, IDictionary<string, T>
56
ICopyOnWritePropertyDictionary
<T> DeepClone();
Instance\ImmutableProjectCollections\ImmutablePropertyCollectionConverter.cs (2)
31
public
ICopyOnWritePropertyDictionary
<T> DeepClone() => this;
37
public bool Equals(
ICopyOnWritePropertyDictionary
<T>? other)
Instance\ProjectInstance.cs (1)
3391
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> directMetadata = null;
Instance\ProjectItemInstance.cs (14)
103
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> directMetadata,
631
internal void SetMetadata(
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> metadataDictionary)
703
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> directMetadata,
787
private
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> _directMetadata;
830
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> directMetadata,
945
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> metadataCollection = MetadataCollection;
1054
var
list = _itemDefinitions != null ? MetadataCollection : _directMetadata;
1094
private IEnumerable<KeyValuePair<string, string>> EnumerateMetadataEager(
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> list)
1110
private IEnumerable<KeyValuePair<string, string>> EnumerateMetadata(
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> list)
1129
internal
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> MetadataCollection
1496
var
metadata = MetadataCollection;
1647
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> otherMetadata = other.MetadataCollection;
1764
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> temp = MetadataCollection;
1832
internal void SetMetadata(
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> metadata)
Microsoft.Build.Engine.UnitTests (1)
Instance\TaskItem_Tests.cs (1)
197
ICopyOnWritePropertyDictionary
<ProjectMetadataInstance> metadata = item.MetadataCollection;