Base:
property
Name
System.Xml.XmlNode.Name
48 references to Name
Microsoft.Build (13)
Construction\ProjectRootElement.cs (1)
1785return CreateMetadataElement(attribute.Name, attribute.Value, attribute.Location);
Construction\ProjectTaskElement.cs (3)
376if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.Name)) 448if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.Name)) 454_parameters[attribute.Name] = (attribute.Value, attribute.Location);
Construction\Solution\ProjectInSolution.cs (2)
557a.Name.Equals("xmlns:dwd", StringComparison.OrdinalIgnoreCase) || 558a.Name.StartsWith("xmlns:dd", StringComparison.OrdinalIgnoreCase));
Evaluation\ProjectParser.cs (5)
319CheckMetadataAsAttributeName(attribute.Name, out isKnownAttribute, out isValidMetadataNameInAttribute); 656!XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(attribute.Name), 659attribute.Name, 736CheckMetadataAsAttributeName(attribute.Name, out bool isKnownAttribute, out bool isValidMetadataNameInAttribute); 750else if (!ValidAttributesOnlyConditionAndLabel.Contains(attribute.Name))
Xml\ProjectXmlUtilities.cs (2)
187ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(validAttributes.Contains(attribute.Name), attribute); 196ProjectErrorUtilities.ThrowInvalidProject(attribute.Location, "UnrecognizedAttribute", attribute.Name, attribute.OwnerElement.Name);
Microsoft.Build.Tasks.Core (6)
BootstrapperUtil\BootstrapperBuilder.cs (4)
1150var targetAttribute = (XmlAttribute)(targetNode.Attributes.GetNamedItem(attribute.Name)); 1276AddAttribute(mergeSubNode, attribute.Name, attribute.Value); 1280if (mergeSubNode.Attributes.GetNamedItem(attribute.Name) == null) 1282AddAttribute(mergeSubNode, attribute.Name, attribute.Value);
ManifestUtil\mansign2.cs (1)
705assemblyIdentityNode.SetAttribute(attribute.Name, attribute.Value);
ManifestUtil\XmlUtil.cs (1)
43XmlAttribute newAttribute = document.CreateAttribute(attribute.Name);
Microsoft.Build.Utilities.Core (5)
SDKManifest.cs (5)
375if (attribute.Name.StartsWith(Attributes.FrameworkIdentity, StringComparison.OrdinalIgnoreCase)) 382_frameworkIdentities.Add(attribute.Name, value); 386if (attribute.Name.StartsWith(Attributes.APPX, StringComparison.OrdinalIgnoreCase)) 393_appxLocations.Add(attribute.Name, value); 397switch (attribute.Name)
Microsoft.Web.Xdt.Extensions (2)
InsertOrAppendAttribute.cs (2)
94if (string.Equals(att.Name, AttributeName, StringComparison.OrdinalIgnoreCase)) 111if (string.Equals(att.Name, AttributeName, StringComparison.OrdinalIgnoreCase))
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
815if (xmlAttribute.Name.Equals("Sdk", StringComparison.OrdinalIgnoreCase))
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
161if (attr.Name.StartsWith("xmlns:", StringComparison.Ordinal) || 162(attr.Name == "xmlns"))
System.Configuration.ConfigurationManager (3)
System\Configuration\HandlerBase.cs (1)
103SR.Format(SR.Config_base_unrecognized_attribute, node.Attributes[0].Name),
System\Configuration\RuntimeConfigurationRecord.cs (1)
127if (ConfigurationElement.IsLockAttributeName(attribute.Name))
System\Configuration\SingleTagSectionHandler.cs (1)
43result[attribute.Name] = attribute.Value;
System.Private.Xml (7)
System\Xml\Dom\XmlAttributeCollection.cs (3)
47&& name == node.Name) 88&& tmp.Name == node.Name
System\Xml\Serialization\SchemaObjectWriter.cs (3)
25return string.Compare(a1.Name, a2.Name, StringComparison.Ordinal); 207WriteAttribute(a.Name, a.NamespaceURI, a.Value);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
942WriteAttribute(attr.Name, attr.NamespaceURI, attr.Value);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\CanonicalXmlAttribute.cs (2)
28strBuilder.Append($" {Name}=\""); 35byte[] rgbData = Encoding.UTF8.GetBytes(" " + Name + "=\"");
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
554propagatedNamespace.Name,
System\Security\Cryptography\Xml\Utils.cs (6)
88bool attrIsAllowed = attr.Name == "xmlns" || attr.Name.StartsWith("xmlns:") || attr.Name == "xml:space" || attr.Name == "xml:lang" || attr.Name == "xml:base"; 92attrIsAllowed = attr.Name == expectedAttrNames[expectedInd];