1 instantiation of ReadOnlyEmptyCollection
Microsoft.Build (1)
ReadOnlyEmptyCollection.cs (1)
43s_instance = new ReadOnlyEmptyCollection<T>();
16 references to ReadOnlyEmptyCollection
Microsoft.Build (16)
BackEnd\BuildManager\BuildRequestData.cs (1)
194(ICollection<ProjectPropertyInstance>)ReadOnlyEmptyCollection<ProjectPropertyInstance>.Instance :
BackEnd\Components\Scheduler\SchedulingData.cs (2)
587return ReadOnlyEmptyCollection<SchedulableRequest>.Instance; 601return ReadOnlyEmptyCollection<SchedulableRequest>.Instance;
Definition\Project.cs (3)
2327return ReadOnlyEmptyCollection<ProjectProperty>.Instance; 2349return ReadOnlyEmptyCollection<ProjectMetadata>.Instance; 2373return ReadOnlyEmptyCollection<ProjectItem>.Instance;
Definition\ProjectCollection.cs (1)
616? (ICollection<ILogger>)ReadOnlyEmptyCollection<ILogger>.Instance
Definition\ProjectItem.cs (1)
265get { return Link != null ? Link.DirectMetadata : (IEnumerable<ProjectMetadata>)_directMetadata ?? (IEnumerable<ProjectMetadata>)ReadOnlyEmptyCollection<ProjectMetadata>.Instance; }
Instance\ProjectInstance.cs (2)
1125(ICollection<ProjectPropertyInstance>)ReadOnlyEmptyCollection<ProjectPropertyInstance>.Instance : 1140(ICollection<ProjectItemInstance>)ReadOnlyEmptyCollection<ProjectItemInstance>.Instance :
Instance\ProjectItemDefinitionInstance.cs (1)
107return ReadOnlyEmptyCollection<ProjectMetadataInstance>.Instance;
Instance\ProjectItemGroupTaskInstance.cs (1)
97(ICollection<ProjectItemGroupTaskItemInstance>)ReadOnlyEmptyCollection<ProjectItemGroupTaskItemInstance>.Instance :
Instance\ProjectItemGroupTaskItemInstance.cs (1)
328(ICollection<ProjectItemGroupTaskMetadataInstance>)ReadOnlyEmptyCollection<ProjectItemGroupTaskMetadataInstance>.Instance :
Instance\ProjectPropertyGroupTaskInstance.cs (1)
97(ICollection<ProjectPropertyGroupTaskPropertyInstance>)ReadOnlyEmptyCollection<ProjectPropertyGroupTaskPropertyInstance>.Instance :
ReadOnlyEmptyCollection.cs (2)
25private static ReadOnlyEmptyCollection<T> s_instance; 37public static ReadOnlyEmptyCollection<T> Instance