18 references to CopyOnWritePropertyDictionary
Microsoft.Build (16)
Instance\ProjectInstance.cs (2)
3342directMetadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 3400directMetadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>();
Instance\ProjectItemDefinitionInstance.cs (3)
61var copyOnWriteMetadataDictionary = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 199_metadata ??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 241return new CopyOnWritePropertyDictionary<ProjectMetadataInstance>();
Instance\ProjectItemInstance.cs (11)
128metadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 606CopyOnWritePropertyDictionary<ProjectMetadataInstance> metadata = new(); 1084_directMetadata ??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 1142return (_directMetadata == null) ? new CopyOnWritePropertyDictionary<ProjectMetadataInstance>() : _directMetadata.DeepClone(); // copy on write! 1145CopyOnWritePropertyDictionary<ProjectMetadataInstance> allMetadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 1550(capacity) => new CopyOnWritePropertyDictionary<ProjectMetadataInstance>()); 1796_directMetadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 1860_directMetadata ??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 1882_directMetadata ??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 1891_directMetadata ??= new CopyOnWritePropertyDictionary<ProjectMetadataInstance>(); 2062CopyOnWritePropertyDictionary<ProjectMetadataInstance> metadata = new CopyOnWritePropertyDictionary<ProjectMetadataInstance>();
Microsoft.Build.Engine.UnitTests (2)
Collections\CopyOnWritePropertyDictionary_Tests.cs (1)
191CopyOnWritePropertyDictionary<MockValue> dic = new CopyOnWritePropertyDictionary<MockValue>();
Instance\TaskItem_Tests.cs (1)
224CopyOnWritePropertyDictionary<ProjectMetadataInstance> directMetadata = new();