15 overrides of Name
System.Private.Xml (15)
System\Xml\Dom\XmlAttribute.cs (1)
68
public override string
Name
System\Xml\Dom\XmlCDataSection.cs (1)
18
public override string
Name
System\Xml\Dom\XmlComment.cs (1)
17
public override string
Name
System\Xml\Dom\XmlDeclaration.cs (1)
137
public override string
Name
System\Xml\Dom\XmlDocument.cs (1)
391
public override string
Name
System\Xml\Dom\XmlDocumentFragment.cs (1)
57
public override string
Name
System\Xml\Dom\XmlDocumentType.cs (1)
39
public override string
Name
System\Xml\Dom\XmlElement.cs (1)
84
public override string
Name
System\Xml\Dom\XmlEntity.cs (1)
47
public override string
Name
System\Xml\Dom\XmlEntityReference.cs (1)
50
public override string
Name
System\Xml\Dom\XmlNotation.cs (1)
24
public override string
Name
System\Xml\Dom\XmlProcessingInstruction.cs (1)
26
public override string
Name
=> _target;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
19
public override string
Name
System\Xml\Dom\XmlText.cs (1)
22
public override string
Name
System\Xml\Dom\XmlWhitespace.cs (1)
20
public override string
Name
72 references to Name
Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests (6)
TransformTest.cs (6)
32
Assert.Equal("add", depsElement.
Name
);
39
Assert.Equal("add", sharedStoreElement.
Name
);
44
Assert.Equal("add", startupAssembliesElement.
Name
);
62
Assert.Equal("add", depsElement.
Name
);
70
Assert.Equal("add", sharedStoreElement.
Name
);
75
Assert.Equal("add", startupAssembliesElement.
Name
);
Microsoft.Build (10)
Evaluation\Preprocessor.cs (5)
241
String.Equals(XMakeElements.project, child.
Name
, StringComparison.Ordinal))
278
if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.import, child.
Name
, StringComparison.Ordinal))
288
string projectSdk = source.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, source.
Name
, StringComparison.Ordinal) ? ((XmlElement)source).GetAttribute(XMakeAttributes.sdk) : String.Empty;
336
if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.importGroup, child.
Name
, StringComparison.Ordinal))
353
if (clone.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, child.
Name
, StringComparison.Ordinal) && clone.Attributes?[XMakeAttributes.sdk] != null)
Evaluation\ProjectParser.cs (2)
207
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.Name, childElement.ParentNode.
Name
, childElement.Location);
635
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "PropertyOutsidePropertyGroupInTarget", childElement.Name, childElement.ParentNode.
Name
);
Xml\ProjectXmlUtilities.cs (2)
72
ProjectErrorUtilities.ThrowInvalidProject(child.Location, "InvalidChildElementDueToDuplication", child.Name, child.ParentNode.
Name
);
105
if (child.
Name
.Equals("Database", StringComparison.OrdinalIgnoreCase))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
100
ThrowProjectInvalidChildElement(child.
Name
, _element.Name, _element.Location);
Microsoft.Build.Engine.UnitTests (3)
Construction\ElementLocation_Tests.cs (1)
440
locations += ((XmlNode)node).
Name
+ "==" + ((XmlNode)node).Value ?? String.Empty + ": " + value.LocationString + "\r\n";
Construction\ProjectRootElement_Tests.cs (2)
82
Assert.Equal("Project", children[0].
Name
);
114
Assert.Equal("Project", children[0].
Name
);
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
2190
AddAttribute(node, currentNode.
Name
, currentNode.InnerText);
Microsoft.Build.Utilities.Core (3)
ApiContract.cs (1)
55
if (contractNode is XmlElement contractElement && string.Equals(contractNode.
Name
, Elements.ApiContract, StringComparison.Ordinal))
PlatformManifest.cs (1)
112
string.Equals(childNode.
Name
, Elements.ApplicationPlatform, StringComparison.Ordinal))
SDKManifest.cs (1)
331
string.Equals(childNode.
Name
, Elements.FileList, StringComparison.Ordinal))
Microsoft.Maui.Resizetizer (1)
TizenResourceXmlGenerator.cs (1)
80
Logger.Log($"Add {subDir.Name} to {groupNode.
Name
}");
Microsoft.NET.Sdk.Publish.Tasks (7)
Tasks\MsDeploy\ImportParameterFile.cs (7)
74
string attributeName = attribute.
Name
.ToLower(System.Globalization.CultureInfo.InvariantCulture);
76
|| attribute.
Name
.StartsWith("xmlns:", StringComparison.Ordinal)
83
taskItem.SetMetadata(attribute.
Name
, value);
128
if (attribute != null && attribute.
Name
!= null && attribute.Value != null)
131
taskItem.SetMetadata(attribute.
Name
, value);
142
if (attribute != null && attribute.
Name
!= null && attribute.Value != null)
145
taskItem.SetMetadata(attribute.
Name
, value);
Microsoft.Web.Xdt.Extensions.Tests (8)
InsertOrAppendAttributeTests.cs (8)
27
Assert.Equal("add", firstChild.
Name
);
32
Assert.Equal("add", secondChild.
Name
);
51
Assert.Equal("add", firstChild.
Name
);
56
Assert.Equal("add", secondChild.
Name
);
75
Assert.Equal("add", firstChild.
Name
);
80
Assert.Equal("add", secondChild.
Name
);
99
Assert.Equal("add", firstChild.
Name
);
104
Assert.Equal("add", secondChild.
Name
);
PresentationFramework (2)
MS\Internal\Data\XmlBindingWorker.cs (2)
525
traceParameters: new object[] { ContextNode?.
Name
, XPath, ParentBindingExpression, xe },
549
return $"{node.GetType().Name} ({node.
Name
})";
PresentationFramework-SystemXml (1)
SystemXmlExtension.cs (1)
83
return node.
Name
;
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
107
rootChild.
Name
));
118
rootChild.
Name
,
System.Configuration.ConfigurationManager (14)
System\Configuration\DictionarySectionHandler.cs (3)
48
if (child.
Name
== "add")
59
else if (child.
Name
== "remove")
67
else if (child.
Name
.Equals("clear"))
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
21
encryptedNode.
Name
!= "EncryptedData")
109
if (child.
Name
== name)
System\Configuration\HandlerBase.cs (4)
19
SR.Format(SR.Config_missing_required_attribute, attrib, node.
Name
),
53
SR.Format(SR.Config_invalid_boolean_attribute, a.
Name
),
75
SR.Format(SR.Config_invalid_integer_attribute, a.
Name
), a);
85
SR.Format(SR.Config_invalid_integer_attribute, a.
Name
),
System\Configuration\NameValueFileSectionHandler.cs (2)
56
if (section.
Name
!= doc.DocumentElement.Name)
59
SR.Format(SR.Config_name_value_file_section_file_invalid_root, section.
Name
),
System\Configuration\NameValueSectionHandler.cs (3)
52
if (child.
Name
== "add")
60
else if (child.
Name
== "remove")
67
else if (child.
Name
.Equals("clear"))
System.Data.Common (2)
System\Xml\DataPointer.cs (1)
470
string name = _node.
Name
;
System\Xml\XPathNodePointer.cs (1)
228
return _node.
Name
;
System.Private.Xml (11)
System\Xml\Dom\DocumentXPathNavigator.cs (2)
131
return _source.
Name
;
142
return _source.
Name
; // attribute
System\Xml\Dom\XmlDocument.cs (2)
985
newNode = CreateProcessingInstruction(node.
Name
, node.Value!);
1005
newNode = CreateEntityReference(node.
Name
);
System\Xml\Dom\XmlElementList.cs (1)
164
if (Ref.Equal(_name, _asterisk) || Ref.Equal(curNode.
Name
, _name))
System\Xml\Dom\XmlNamedNodemap.cs (1)
121
if (name == node.
Name
)
System\Xml\Dom\XmlNode.cs (3)
1244
if (n.NodeType == XmlNodeType.Element && n.
Name
== name)
1467
result += $", Name=\"{_node.
Name
}\"";
1471
result += $", Name=\"{_node.
Name
}\", Value=\"{XmlConvert.EscapeValueForDebuggerDisplay(_node.Value!)}\"";
System\Xml\Dom\XmlNodeReader.cs (1)
145
return _curNode.
Name
;
System\Xml\Serialization\_Events.cs (1)
146
get { return _xmlNode.
Name
; }
System.ServiceModel.Primitives (1)
System\ServiceModel\Security\XmlHelper.cs (1)
216
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.UnexpectedXmlChildNode, n.
Name
, n.NodeType, parent.Name)));