1 write to _elementLocation
Microsoft.Build (1)
Evaluation\Expander.PropertyExpander.cs (1)
66
_elementLocation
= elementLocation;
16 references to _elementLocation
Microsoft.Build (16)
Evaluation\Expander.PropertyExpander.cs (16)
410
_elementLocation
,
427
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, String.Empty);
438
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
453
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, string.Empty);
473
propertyValue = function.Execute(propertyValue, _properties, _options,
_elementLocation
);
580
_propertiesUseTracker.TrackRead(propertyName, startIndex, endIndex,
_elementLocation
, property == null, isArtificial);
606
propertyValue = property.GetEvaluatedValueEscaped(
_elementLocation
);
626
if (
_elementLocation
.File.Length == 0)
637
value = Path.GetFileName(
_elementLocation
.File);
641
value = Path.GetFileNameWithoutExtension(
_elementLocation
.File);
645
value = FileUtilities.NormalizePath(
_elementLocation
.File);
649
value = Path.GetExtension(
_elementLocation
.File);
653
value = FileUtilities.EnsureTrailingSlash(Path.GetDirectoryName(
_elementLocation
.File));
657
string directory = Path.GetDirectoryName(
_elementLocation
.File);
692
ProjectErrorUtilities.VerifyThrowInvalidProject(firstAtSignOffset == lastAtSignOffset,
_elementLocation
, "InvalidRegistryPropertyExpression", "$(" + registryExpression + ")", String.Empty);
751
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidRegistryPropertyExpression", $"$({registryExpression})", ex.Message);