15 overrides of Name
System.Private.Xml (15)
System\Xml\Dom\XmlAttribute.cs (1)
68public override string Name
System\Xml\Dom\XmlCDataSection.cs (1)
18public override string Name
System\Xml\Dom\XmlComment.cs (1)
17public override string Name
System\Xml\Dom\XmlDeclaration.cs (1)
137public override string Name
System\Xml\Dom\XmlDocument.cs (1)
392public override string Name
System\Xml\Dom\XmlDocumentFragment.cs (1)
57public override string Name
System\Xml\Dom\XmlDocumentType.cs (1)
41public override string Name
System\Xml\Dom\XmlElement.cs (1)
84public override string Name
System\Xml\Dom\XmlEntity.cs (1)
47public override string Name
System\Xml\Dom\XmlEntityReference.cs (1)
50public override string Name
System\Xml\Dom\XmlNotation.cs (1)
24public override string Name
System\Xml\Dom\XmlProcessingInstruction.cs (1)
26public override string Name => _target;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
19public override string Name
System\Xml\Dom\XmlText.cs (1)
22public override string Name
System\Xml\Dom\XmlWhitespace.cs (1)
20public override string Name
79 references to Name
Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests (6)
TransformTest.cs (6)
32Assert.Equal("add", depsElement.Name); 39Assert.Equal("add", sharedStoreElement.Name); 44Assert.Equal("add", startupAssembliesElement.Name); 62Assert.Equal("add", depsElement.Name); 70Assert.Equal("add", sharedStoreElement.Name); 75Assert.Equal("add", startupAssembliesElement.Name);
Microsoft.Build (10)
Evaluation\Preprocessor.cs (5)
238String.Equals(XMakeElements.project, child.Name, StringComparison.Ordinal)) 275if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.import, child.Name, StringComparison.Ordinal)) 285string projectSdk = source.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, source.Name, StringComparison.Ordinal) ? ((XmlElement)source).GetAttribute(XMakeAttributes.sdk) : String.Empty; 333if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.importGroup, child.Name, StringComparison.Ordinal)) 350if (clone.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, child.Name, StringComparison.Ordinal) && clone.Attributes?[XMakeAttributes.sdk] != null)
Evaluation\ProjectParser.cs (2)
207ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.Name, childElement.ParentNode.Name, childElement.Location); 635ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "PropertyOutsidePropertyGroupInTarget", childElement.Name, childElement.ParentNode.Name);
Xml\ProjectXmlUtilities.cs (2)
73ProjectErrorUtilities.ThrowInvalidProject(child.Location, "InvalidChildElementDueToDuplication", child.Name, child.ParentNode.Name); 106if (child.Name.Equals("Database", StringComparison.OrdinalIgnoreCase))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
100ThrowProjectInvalidChildElement(child.Name, _element.Name, _element.Location);
Microsoft.Build.Engine.UnitTests (3)
Construction\ElementLocation_Tests.cs (1)
440locations += ((XmlNode)node).Name + "==" + ((XmlNode)node).Value ?? String.Empty + ": " + value.LocationString + "\r\n";
Construction\ProjectRootElement_Tests.cs (2)
81Assert.Equal("Project", children[0].Name); 113Assert.Equal("Project", children[0].Name);
Microsoft.Build.Tasks.Core (16)
BootstrapperUtil\BootstrapperBuilder.cs (1)
2186AddAttribute(node, currentNode.Name, currentNode.InnerText);
CodeTaskFactory.cs (7)
540if (childNode.Name.Equals("Code", StringComparison.OrdinalIgnoreCase) || childNode.Name.Equals("Reference", StringComparison.OrdinalIgnoreCase) || childNode.Name.Equals("Using", StringComparison.OrdinalIgnoreCase)) 557_log.LogErrorWithCodeFromResources("CodeTaskFactory.InvalidElementLocation", childNode.Name, _taskNode.Name); 588_log.LogErrorWithCodeFromResources("CodeTaskFactory.InvalidElementLocation", childNode.Name, parentNode.Name);
XamlTaskFactory\RelationsParser.cs (8)
347return String.Equals(node.Name, relations, StringComparison.OrdinalIgnoreCase); 357if (String.Equals(node.Name, switchGroupType, StringComparison.OrdinalIgnoreCase)) 365else if (String.Equals(node.Name, switchType, StringComparison.OrdinalIgnoreCase)) 373else if (String.Equals(node.Name, importType, StringComparison.OrdinalIgnoreCase)) 437if (String.Equals(child.Name, requiresType, StringComparison.OrdinalIgnoreCase)) 484else if (String.Equals(child.Name, includedPlatformType, StringComparison.OrdinalIgnoreCase)) 498else if (String.Equals(child.Name, excludedPlatformType, StringComparison.OrdinalIgnoreCase)) 512else if (String.Equals(child.Name, overridesType, StringComparison.OrdinalIgnoreCase))
Microsoft.Build.Utilities.Core (3)
ApiContract.cs (1)
55if (contractNode is XmlElement contractElement && string.Equals(contractNode.Name, Elements.ApiContract, StringComparison.Ordinal))
PlatformManifest.cs (1)
112string.Equals(childNode.Name, Elements.ApplicationPlatform, StringComparison.Ordinal))
SDKManifest.cs (1)
331string.Equals(childNode.Name, Elements.FileList, StringComparison.Ordinal))
Microsoft.Maui.Resizetizer (1)
TizenResourceXmlGenerator.cs (1)
80 Logger.Log($"Add {subDir.Name} to {groupNode.Name}");
Microsoft.Web.Xdt.Extensions.Tests (8)
InsertOrAppendAttributeTests.cs (8)
27Assert.Equal("add", firstChild.Name); 32Assert.Equal("add", secondChild.Name); 51Assert.Equal("add", firstChild.Name); 56Assert.Equal("add", secondChild.Name); 75Assert.Equal("add", firstChild.Name); 80Assert.Equal("add", secondChild.Name); 99Assert.Equal("add", firstChild.Name); 104Assert.Equal("add", secondChild.Name);
PresentationFramework (2)
MS\Internal\Data\XmlBindingWorker.cs (2)
524traceParameters: new object[] { (ContextNode != null) ? ContextNode.Name : null, XPath, ParentBindingExpression, xe }, 548return $"{node.GetType().Name} ({node.Name})";
PresentationFramework-SystemXml (1)
SystemXmlExtension.cs (1)
84return node.Name;
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
108rootChild.Name)); 119rootChild.Name,
System.Configuration.ConfigurationManager (14)
System\Configuration\DictionarySectionHandler.cs (3)
48if (child.Name == "add") 59else if (child.Name == "remove") 67else if (child.Name.Equals("clear"))
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
21encryptedNode.Name != "EncryptedData") 109if (child.Name == name)
System\Configuration\HandlerBase.cs (4)
19SR.Format(SR.Config_missing_required_attribute, attrib, node.Name), 53SR.Format(SR.Config_invalid_boolean_attribute, a.Name), 75SR.Format(SR.Config_invalid_integer_attribute, a.Name), a); 85SR.Format(SR.Config_invalid_integer_attribute, a.Name),
System\Configuration\NameValueFileSectionHandler.cs (2)
56if (section.Name != doc.DocumentElement.Name) 59SR.Format(SR.Config_name_value_file_section_file_invalid_root, section.Name),
System\Configuration\NameValueSectionHandler.cs (3)
52if (child.Name == "add") 60else if (child.Name == "remove") 67else if (child.Name.Equals("clear"))
System.Data.Common (2)
System\Xml\DataPointer.cs (1)
470string name = _node.Name;
System\Xml\XPathNodePointer.cs (1)
228return _node.Name;
System.Private.Xml (11)
System\Xml\Dom\DocumentXPathNavigator.cs (2)
131return _source.Name; 142return _source.Name; // attribute
System\Xml\Dom\XmlDocument.cs (2)
989newNode = CreateProcessingInstruction(node.Name, node.Value!); 1009newNode = CreateEntityReference(node.Name);
System\Xml\Dom\XmlElementList.cs (1)
164if (Ref.Equal(_name, _asterisk) || Ref.Equal(curNode.Name, _name))
System\Xml\Dom\XmlNamedNodemap.cs (1)
121if (name == node.Name)
System\Xml\Dom\XmlNode.cs (3)
1244if (n.NodeType == XmlNodeType.Element && n.Name == name) 1467result += $", Name=\"{_node.Name}\""; 1471result += $", Name=\"{_node.Name}\", Value=\"{XmlConvert.EscapeValueForDebuggerDisplay(_node.Value!)}\"";
System\Xml\Dom\XmlNodeReader.cs (1)
145return _curNode.Name;
System\Xml\Serialization\_Events.cs (1)
146get { return _xmlNode.Name; }