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