1 instantiation of ReadOnlyEmptyCollection
Microsoft.Build (1)
ReadOnlyEmptyCollection.cs (1)
43
s_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)
587
return
ReadOnlyEmptyCollection
<SchedulableRequest>.Instance;
601
return
ReadOnlyEmptyCollection
<SchedulableRequest>.Instance;
Definition\Project.cs (3)
2327
return
ReadOnlyEmptyCollection
<ProjectProperty>.Instance;
2349
return
ReadOnlyEmptyCollection
<ProjectMetadata>.Instance;
2373
return
ReadOnlyEmptyCollection
<ProjectItem>.Instance;
Definition\ProjectCollection.cs (1)
616
? (ICollection<ILogger>)
ReadOnlyEmptyCollection
<ILogger>.Instance
Definition\ProjectItem.cs (1)
265
get { 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)
107
return
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)
25
private static
ReadOnlyEmptyCollection
<T> s_instance;
37
public static
ReadOnlyEmptyCollection
<T> Instance