5 references to AttributeNameIsValidMetadataName
Microsoft.Build (5)
Construction\ProjectItemDefinitionElement.cs (2)
127protected override bool ShouldCloneXmlAttribute(XmlAttribute attribute) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attribute.LocalName); 129internal override bool ShouldCloneXmlAttribute(XmlAttributeLink attributeLink) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attributeLink.LocalName);
Construction\ProjectItemElement.cs (2)
506protected override bool ShouldCloneXmlAttribute(XmlAttribute attribute) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attribute.LocalName); 508internal override bool ShouldCloneXmlAttribute(XmlAttributeLink attributeLink) => !ProjectMetadataElement.AttributeNameIsValidMetadataName(attributeLink.LocalName);
Construction\ProjectMetadataElement.cs (1)
149if (!AttributeNameIsValidMetadataName(name))