36 references to Value
Microsoft.Build (36)
Evaluation\Expander.ItemExpander.cs (7)
221if (!string.IsNullOrEmpty(entry.Value)) 429/// <see cref="TransformEntry.Value"/> represents the item string, escaped. 510var joinedItems = string.Join(expressionCapture.Separator, entries.Select(i => i.Value)); 616if (!string.IsNullOrEmpty(entry.Value) && currentLength + entry.Value.Length > CharacterLimitPerExpansion) 621builder.Append(entry.Value, 0, truncateIndex); 627builder.Append(entry.Value);
Evaluation\Expander.ItemExpander.Transforms.cs (26)
107if (String.IsNullOrEmpty(item.Value)) 124result = ItemSpecModifiers.GetItemSpecModifier(item.Value, functionName, directoryToUse, definingProjectEscaped); 130ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 160if (String.IsNullOrEmpty(item.Value)) 166string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 190ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 216if (String.IsNullOrEmpty(item.Value)) 222string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 247if (String.IsNullOrEmpty(item.Value)) 255string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 286ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 331if (String.IsNullOrEmpty(item.Value)) 337if (!directoryNameTable.TryGetValue(item.Value, out directoryName)) 340string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 367ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 489if (item.Value != null && seenItems.Add(item.Value)) 541if (item.Value != null) 554include = GetMetadataValueFromMatch(matches.Single, item.Value, item.Item, elementLocation, ref curIndex); 561GetMetadataValueFromMatch(matches.Single, item.Value, item.Item, elementLocation, ref curIndex)); 573GetMetadataValueFromMatch(match, item.Value, item.Item, elementLocation, ref curIndex)); 741item.Value, 742item.Value, 751object result = function.Execute(item.Value, expander._properties, ExpanderOptions.ExpandAll, elementLocation); 782if (includeNullEntries || item.Value != null) 784output.Add(new TransformEntry(item.Value, null));
Evaluation\Expander.TransformEntry.cs (2)
16/// <see cref="Value"/> may be null when the entry represents a filtered-out item 40value = Value;
Evaluation\ItemSpec.cs (1)
128entries?.Select(i => new ReferencedItem(i.Item, new ValueFragment(i.Value, ProjectDirectory))).ToList() ?? [];