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, 428ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, String.Empty); 439ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets")); 454ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidFunctionPropertyExpression", propertyBody, string.Empty); 474propertyValue = function.Execute(propertyValue, _properties, _options, _elementLocation); 581_propertiesUseTracker.TrackRead(propertyName, startIndex, endIndex, _elementLocation, property == null, isArtificial); 607propertyValue = property.GetEvaluatedValueEscaped(_elementLocation); 627if (_elementLocation.File.Length == 0) 638value = Path.GetFileName(_elementLocation.File); 642value = Path.GetFileNameWithoutExtension(_elementLocation.File); 646value = FileUtilities.NormalizePath(_elementLocation.File); 650value = Path.GetExtension(_elementLocation.File); 654value = FileUtilities.EnsureTrailingSlash(Path.GetDirectoryName(_elementLocation.File)); 658string directory = Path.GetDirectoryName(_elementLocation.File); 693ProjectErrorUtilities.VerifyThrowInvalidProject(firstAtSignOffset == lastAtSignOffset, _elementLocation, "InvalidRegistryPropertyExpression", "$(" + registryExpression + ")", String.Empty); 752ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "InvalidRegistryPropertyExpression", $"$({registryExpression})", ex.Message);