Implemented interface member:
method
GetMetadataValue
Microsoft.Build.Evaluation.IItem.GetMetadataValue(System.String)
16 references to GetMetadataValue
dotnet (1)
CommandFactory\CommandResolution\MSBuildProject.cs (1)
139
var tools = toolsReferences.Select(t => new SingleProjectInfo(t.EvaluatedInclude, t.
GetMetadataValue
("Version"), []));
dotnet-openapi (3)
Commands\BaseCommand.cs (1)
167
i => string.Equals(i.
GetMetadataValue
(SourceUrlAttrName), sourceUrl, StringComparison.Ordinal)))
Commands\RefreshCommand.cs (1)
46
var attrUrl = item.
GetMetadataValue
(SourceUrlAttrName);
Commands\RemoveCommand.cs (1)
59
var sourceUrl = item.HasMetadata(SourceUrlAttrName) ? item.
GetMetadataValue
(SourceUrlAttrName) : null;
Microsoft.Build (9)
Construction\Solution\SolutionProjectGenerator.cs (1)
2227
string referencedProjectGuid = reference.
GetMetadataValue
("Project");
Definition\ProjectItem.cs (2)
284
/// Get the values of built-in metadata using <see cref="
GetMetadataValue
(string)"/>.
471
/// See <see cref="
GetMetadataValue
(string)">GetMetadataValue</see> for a more detailed explanation.
Instance\ImmutableProjectCollections\ImmutableProjectMetadataCollectionConverter.cs (5)
54
return EscapingUtilities.Escape(_linkedProjectItem.
GetMetadataValue
(key));
69
value = EscapingUtilities.Escape(_linkedProjectItem.
GetMetadataValue
(key));
83
EscapingUtilities.Escape(_linkedProjectItem.
GetMetadataValue
(name)));
94
public string GetExtendedPropertyValue(string name) => _linkedProjectItem.
GetMetadataValue
(name);
106
kvp => EscapingUtilities.Escape(_linkedProjectItem.
GetMetadataValue
(kvp.Key)),
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemLink.cs (1)
52
/// Facilitate remoting the <see cref="ProjectItem.
GetMetadataValue
"/>.
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\ProjectFile.cs (1)
219
item ??= references.First(it => string.Compare(projectName, it.
GetMetadataValue
(MetadataNames.Name), StringComparison.OrdinalIgnoreCase) == 0);
MSBuild (2)
JsonOutputFormatter.cs (2)
98
jsonItem["Identity"] = item.
GetMetadataValue
("Identity");
210
return item.
GetMetadataValue
(metadataName);