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)
110if (String.IsNullOrEmpty(item.Value)) 127result = ItemSpecModifiers.GetItemSpecModifier(item.Value, functionName, directoryToUse, definingProjectEscaped); 133ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 163if (String.IsNullOrEmpty(item.Value)) 169string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 193ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 219if (String.IsNullOrEmpty(item.Value)) 225string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 250if (String.IsNullOrEmpty(item.Value)) 258string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 289ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 334if (String.IsNullOrEmpty(item.Value)) 340if (!directoryNameTable.TryGetValue(item.Value, out directoryName)) 343string unescapedPath = EscapingUtilities.UnescapeAll(item.Value); 370ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidItemFunctionExpression", functionName, item.Value, e.Message); 492if (item.Value != null && seenItems.Add(item.Value)) 544if (item.Value != null) 557include = GetMetadataValueFromMatch(matches.Single, item.Value, item.Item, elementLocation, ref curIndex); 564GetMetadataValueFromMatch(matches.Single, item.Value, item.Item, elementLocation, ref curIndex)); 576GetMetadataValueFromMatch(match, item.Value, item.Item, elementLocation, ref curIndex)); 730item.Value, 731item.Value, 740object result = function.Execute(item.Value, expander._properties, ExpanderOptions.ExpandAll, elementLocation); 771if (includeNullEntries || item.Value != null) 773output.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() ?? [];