2 instantiations of XmlAttributeWithLocation
Microsoft.Build (2)
ElementLocation\XmlDocumentWithLocation.cs (2)
225
return new
XmlAttributeWithLocation
(prefix, localName, namespaceURI, this, _reader.LineNumber, _reader.LinePosition);
229
return new
XmlAttributeWithLocation
(prefix, localName, namespaceURI, this);
27 references to XmlAttributeWithLocation
Microsoft.Build (27)
Construction\ProjectRootElement.cs (1)
1783
internal ProjectMetadataElement CreateMetadataElement(
XmlAttributeWithLocation
attribute)
Construction\ProjectTargetElement.cs (1)
270
XmlAttributeWithLocation
returnsAttribute = ProjectXmlUtilities.SetOrRemoveAttribute(
Construction\ProjectTaskElement.cs (1)
446
foreach (
XmlAttributeWithLocation
attribute in XmlElement.Attributes)
ElementLocation\XmlElementWithLocation.cs (3)
118
public
XmlAttributeWithLocation
GetAttributeWithLocation(string name)
127
return (
XmlAttributeWithLocation
)attribute;
153
XmlAttributeWithLocation
attributeWithLocation = GetAttributeWithLocation(name);
Evaluation\ProjectParser.cs (9)
290
XmlAttributeWithLocation
errorAttribute = remove.Length > 0 ? (
XmlAttributeWithLocation
)element.Attributes[XMakeAttributes.remove] : (
XmlAttributeWithLocation
)element.Attributes[XMakeAttributes.update];
298
ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(exclude.Length == 0 || include.Length > 0, (
XmlAttributeWithLocation
)element.Attributes[XMakeAttributes.exclude]);
314
foreach (
XmlAttributeWithLocation
attribute in element.Attributes)
653
foreach (
XmlAttributeWithLocation
attribute in element.Attributes)
687
XmlAttributeWithLocation
itemNameAttribute = element.GetAttributeWithLocation(XMakeAttributes.itemName);
688
XmlAttributeWithLocation
propertyNameAttribute = element.GetAttributeWithLocation(XMakeAttributes.propertyName);
734
foreach (
XmlAttributeWithLocation
attribute in element.Attributes)
Xml\ProjectXmlUtilities.cs (12)
135
internal static void VerifyThrowProjectAttributeEitherMissingOrNotEmpty(XmlElementWithLocation xmlElement,
XmlAttributeWithLocation
attribute, string attributeName)
153
foreach (
XmlAttributeWithLocation
attribute in element.Attributes)
163
internal static void VerifyThrowProjectInvalidAttribute(bool condition,
XmlAttributeWithLocation
attribute)
185
foreach (
XmlAttributeWithLocation
attribute in element.Attributes)
194
internal static void ThrowProjectInvalidAttribute(
XmlAttributeWithLocation
attribute)
204
internal static
XmlAttributeWithLocation
SetOrRemoveAttribute(XmlElementWithLocation element, string name, string value)
214
internal static
XmlAttributeWithLocation
SetOrRemoveAttribute(XmlElementWithLocation element, string name, string value, bool allowSettingEmptyAttributes)
226
XmlAttributeWithLocation
attribute = (
XmlAttributeWithLocation
)element.Attributes[name];
235
internal static string GetAttributeValue(
XmlAttributeWithLocation
attribute, bool returnNullForNonexistentAttributes)
263
XmlAttributeWithLocation
attribute = (
XmlAttributeWithLocation
)element.GetAttributeNode(attributeName);