1 write to _elementLocation
Microsoft.Build (1)
Evaluation\Expander.PropertyExpander.cs (1)
67
_elementLocation
= elementLocation;
16 references to _elementLocation
Microsoft.Build (16)
Evaluation\Expander.PropertyExpander.cs (16)
411
_elementLocation
,
428
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, String.Empty);
439
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
454
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidFunctionPropertyExpression", propertyBody, string.Empty);
474
propertyValue = function.Execute(propertyValue, _properties, _options,
_elementLocation
);
581
_propertiesUseTracker.TrackRead(propertyName, startIndex, endIndex,
_elementLocation
, property == null, isArtificial);
607
propertyValue = property.GetEvaluatedValueEscaped(
_elementLocation
);
627
if (
_elementLocation
.File.Length == 0)
638
value = Path.GetFileName(
_elementLocation
.File);
642
value = Path.GetFileNameWithoutExtension(
_elementLocation
.File);
646
value = FileUtilities.NormalizePath(
_elementLocation
.File);
650
value = Path.GetExtension(
_elementLocation
.File);
654
value = FileUtilities.EnsureTrailingSlash(Path.GetDirectoryName(
_elementLocation
.File));
658
string directory = Path.GetDirectoryName(
_elementLocation
.File);
693
ProjectErrorUtilities.VerifyThrowInvalidProject(firstAtSignOffset == lastAtSignOffset,
_elementLocation
, "InvalidRegistryPropertyExpression", "$(" + registryExpression + ")", String.Empty);
752
ProjectErrorUtilities.ThrowInvalidProject(
_elementLocation
, "InvalidRegistryPropertyExpression", $"$({registryExpression})", ex.Message);