6 references to Truncate
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
378
string expanded = _expander.ExpandIntoStringAndUnescape(_target.Condition, ExpanderOptions.ExpandPropertiesAndItems | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.
Truncate
, _target.ConditionLocation);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
615
string expanded = bucket.Expander.ExpandIntoStringAndUnescape(_targetChildInstance.Condition, ExpanderOptions.ExpandAll | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.
Truncate
, _targetChildInstance.ConditionLocation);
Evaluation\Evaluator.cs (1)
1691
string expanded = _expander.ExpandIntoStringAndUnescape(importElement.Condition, ExpanderOptions.ExpandProperties | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.
Truncate
, importElement.ConditionLocation);
Evaluation\Expander.cs (2)
697
return (options & ExpanderOptions.
Truncate
) != 0 && !Traits.Instance.EscapeHatches.DoNotTruncateConditions;
1065
_options = options & (ExpanderOptions.ExpandMetadata | ExpanderOptions.
Truncate
| ExpanderOptions.LogOnItemMetadataSelfReference);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
1620
Assert.Equal(expected, expander.ExpandIntoStringAndUnescape(xmlattribute.Value, ExpanderOptions.ExpandAll | ExpanderOptions.
Truncate
, MockElementLocation.Instance));