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, 427ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, String.Empty); 438ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets")); 453ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, string.Empty); 473propertyValue = function.Execute(propertyValue, _properties, _options, _elementLocation); 580_propertiesUseTracker.TrackRead(propertyName, startIndex, endIndex, _elementLocation, property == null, isArtificial); 606propertyValue = property.GetEvaluatedValueEscaped(_elementLocation); 626if (_elementLocation.File.Length == 0) 637value = Path.GetFileName(_elementLocation.File); 641value = Path.GetFileNameWithoutExtension(_elementLocation.File); 645value = FileUtilities.NormalizePath(_elementLocation.File); 649value = Path.GetExtension(_elementLocation.File); 653value = FileUtilities.EnsureTrailingSlash(Path.GetDirectoryName(_elementLocation.File)); 657string directory = Path.GetDirectoryName(_elementLocation.File); 692ProjectErrorUtilities.VerifyThrowInvalidProject(firstAtSignOffset == lastAtSignOffset, _elementLocation, "InvalidRegistryPropertyExpression", "$(" + registryExpression + ")", String.Empty); 751ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidRegistryPropertyExpression", $"$({registryExpression})", ex.Message);