10 instantiations of ToolsetPropertyDefinition
Microsoft.Build (10)
Definition\ToolsetConfigurationReader.cs (2)
100yield return new ToolsetPropertyDefinition(toolset.toolsVersion, string.Empty, location); 175yield return new ToolsetPropertyDefinition(propertyElement.Name, propertyElement.Value, location);
Definition\ToolsetLocalReader.cs (4)
34yield return new ToolsetPropertyDefinition(MSBuildConstants.CurrentToolsVersion, string.Empty, _sourceLocation); 40yield return new ToolsetPropertyDefinition(MSBuildConstants.ToolsPath, BuildEnvironmentHelper.Instance.CurrentMSBuildToolsDirectory, _sourceLocation); 41yield return new ToolsetPropertyDefinition(MSBuildConstants.SdksPath, BuildEnvironmentHelper.Instance.MSBuildSDKsPath, _sourceLocation); 42yield return new ToolsetPropertyDefinition("RoslynTargetsPath",
Definition\ToolsetReader.cs (2)
531new ToolsetPropertyDefinition(ReservedPropertyNames.toolsPath, toolsPath, property.Source), 544new ToolsetPropertyDefinition(ReservedPropertyNames.binPath, binPath, property.Source),
Definition\ToolsetRegistryReader.cs (2)
96yield return new ToolsetPropertyDefinition(toolsVersionName, string.Empty, location); 310return new ToolsetPropertyDefinition(propertyName, propertyValue, location);
22 references to ToolsetPropertyDefinition
Microsoft.Build (22)
Definition\ToolsetConfigurationReader.cs (3)
80protected override IEnumerable<ToolsetPropertyDefinition> ToolsVersions 157protected override IEnumerable<ToolsetPropertyDefinition> GetPropertyDefinitions(string toolsVersion) 199protected override IEnumerable<ToolsetPropertyDefinition> GetSubToolsetPropertyDefinitions(string toolsVersion, string subToolsetVersion)
Definition\ToolsetLocalReader.cs (3)
30protected override IEnumerable<ToolsetPropertyDefinition> ToolsVersions 38protected override IEnumerable<ToolsetPropertyDefinition> GetPropertyDefinitions(string toolsVersion) 47protected override IEnumerable<ToolsetPropertyDefinition> GetSubToolsetPropertyDefinitions(string toolsVersion, string subToolsetVersion)
Definition\ToolsetReader.cs (12)
54protected abstract IEnumerable<ToolsetPropertyDefinition> ToolsVersions 375protected abstract IEnumerable<ToolsetPropertyDefinition> GetPropertyDefinitions(string toolsVersion); 392protected abstract IEnumerable<ToolsetPropertyDefinition> GetSubToolsetPropertyDefinitions(string toolsVersion, string subToolsetVersion); 408foreach (ToolsetPropertyDefinition toolsVersion in ToolsVersions) 437ToolsetPropertyDefinition toolsVersion, 450IEnumerable<ToolsetPropertyDefinition> rawProperties = GetPropertyDefinitions(toolsVersion.Name); 454foreach (ToolsetPropertyDefinition property in rawProperties) 466IEnumerable<ToolsetPropertyDefinition> rawSubToolsetProperties = GetSubToolsetPropertyDefinitions(toolsVersion.Name, subToolsetVersion); 470foreach (ToolsetPropertyDefinition property in rawSubToolsetProperties) 521private void EvaluateAndSetProperty(ToolsetPropertyDefinition property, PropertyDictionary<ProjectPropertyInstance> properties, PropertyDictionary<ProjectPropertyInstance> globalProperties, PropertyDictionary<ProjectPropertyInstance> initialProperties, bool accumulateProperties, ref string toolsPath, ref string binPath, ref Expander<ProjectPropertyInstance, ProjectItemInstance> expander) 578private string ExpandPropertyUnescaped(ToolsetPropertyDefinition property, Expander<ProjectPropertyInstance, ProjectItemInstance> expander) 595private void SetProperty(ToolsetPropertyDefinition property, PropertyDictionary<ProjectPropertyInstance> propertyGroup, PropertyDictionary<ProjectPropertyInstance> globalProperties)
Definition\ToolsetRegistryReader.cs (4)
73protected override IEnumerable<ToolsetPropertyDefinition> ToolsVersions 175protected override IEnumerable<ToolsetPropertyDefinition> GetPropertyDefinitions(string toolsVersion) 235protected override IEnumerable<ToolsetPropertyDefinition> GetSubToolsetPropertyDefinitions(string toolsVersion, string subToolsetVersion) 289private static ToolsetPropertyDefinition CreatePropertyFromRegistry(RegistryKeyWrapper toolsetWrapper, string propertyName)