10 references to Location
Microsoft.Build (10)
Construction\ProjectRootElement.cs (1)
1785
return 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; }
92
return
Location
.Line != 0;
ElementLocation\XmlElementWithLocation.cs (1)
155
return attributeWithLocation?.
Location
;
Evaluation\ProjectParser.cs (2)
291
ProjectErrorUtilities.ThrowInvalidProject(errorAttribute.
Location
, "InvalidAttributeExclusive");
657
attribute.
Location
,
Xml\ProjectXmlUtilities.cs (2)
139
attribute?.
Location
,
196
ProjectErrorUtilities.ThrowInvalidProject(attribute.
Location
, "UnrecognizedAttribute", attribute.Name, attribute.OwnerElement.Name);