10 references to Location
Microsoft.Build (10)
Construction\ProjectRootElement.cs (1)
1785return CreateMetadataElement(attribute.Name, attribute.Value, attribute.Location);
Construction\ProjectTaskElement.cs (1)
454_parameters[attribute.Name] = (attribute.Value, attribute.Location);
ElementLocation\XmlAttributeWithLocation.cs (3)
49{ return Location.Line; } 60{ return Location.Column; } 92return Location.Line != 0;
ElementLocation\XmlElementWithLocation.cs (1)
155return attributeWithLocation?.Location;
Evaluation\ProjectParser.cs (2)
291ProjectErrorUtilities.ThrowInvalidProject(errorAttribute.Location, "InvalidAttributeExclusive"); 657attribute.Location,
Xml\ProjectXmlUtilities.cs (2)
139attribute?.Location, 196ProjectErrorUtilities.ThrowInvalidProject(attribute.Location, "UnrecognizedAttribute", attribute.Name, attribute.OwnerElement.Name);