14 references to MetadataNames
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (14)
MSBuild\ProjectFile\Extensions.cs (3)
44
var versionRangeValue = item.GetMetadataValue(
MetadataNames
.Version);
60
var aliasesText = item.GetMetadata(
MetadataNames
.Aliases);
69
var referenceOutputAssemblyText = item.GetMetadata(
MetadataNames
.ReferenceOutputAssembly);
MSBuild\ProjectFile\ProjectFile.cs (11)
218
.SelectAsArray(item => item.GetMetadataValue(
MetadataNames
.FullPath));
267
var linkPath = documentItem.GetMetadata(
MetadataNames
.Link);
298
=> !RoslynString.IsNullOrEmpty(documentItem.GetMetadata(
MetadataNames
.Link));
323
var link = documentItem.GetMetadata(
MetadataNames
.Link);
373
{
MetadataNames
.Link, logicalPath }
409
metadata.Add(
MetadataNames
.Aliases, string.Join(",", aliases));
412
metadata.Add(
MetadataNames
.HintPath, hintPath);
472
=> item.Metadata.FirstOrDefault(m => string.Equals(m.Name,
MetadataNames
.HintPath, StringComparison.OrdinalIgnoreCase))?.EvaluatedValue ?? string.Empty;
483
{
MetadataNames
.Name, projectName }
488
metadata.Add(
MetadataNames
.Aliases, string.Join(",", reference.Aliases));
526
item ??= references.First(it => string.Compare(projectName, it.GetMetadataValue(
MetadataNames
.Name), StringComparison.OrdinalIgnoreCase) == 0);