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)
392
public override string
Name
System\Xml\Dom\XmlDocumentFragment.cs (1)
57
public override string
Name
System\Xml\Dom\XmlDocumentType.cs (1)
41
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
102 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)
238
String.Equals(XMakeElements.project, child.
Name
, StringComparison.Ordinal))
275
if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.import, child.
Name
, StringComparison.Ordinal))
285
string projectSdk = source.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, source.
Name
, StringComparison.Ordinal) ? ((XmlElement)source).GetAttribute(XMakeAttributes.sdk) : String.Empty;
333
if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.importGroup, child.
Name
, StringComparison.Ordinal))
350
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);
637
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "PropertyOutsidePropertyGroupInTarget", childElement.Name, childElement.ParentNode.
Name
);
Xml\ProjectXmlUtilities.cs (2)
73
ProjectErrorUtilities.ThrowInvalidProject(child.Location, "InvalidChildElementDueToDuplication", child.Name, child.ParentNode.
Name
);
106
if (child.
Name
.Equals("Database", StringComparison.OrdinalIgnoreCase))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
100
ThrowProjectInvalidChildElement(child.
Name
, _element.Name, _element.Location);
Microsoft.Build.Conversion.Core (18)
ProjectFileConverter.cs (18)
1671
this.language = visualStudioProjectChildNode.
Name
;
1684
ProjectXmlUtilities.ThrowProjectInvalidChildElement(visualStudioProjectChildNode.
Name
, visualStudioProjectElement.Name, visualStudioProjectElement.Location);
1859
"UnrecognizedChildElement", languageChildNode.
Name
,
1866
ProjectXmlUtilities.ThrowProjectInvalidChildElement(languageChildNode.
Name
, languageElement.Name, languageElement.Location);
2058
"UnrecognizedChildElement", buildChildNode.
Name
,
2065
ProjectXmlUtilities.ThrowProjectInvalidChildElement(buildChildNode.
Name
, buildElement.Name, buildElement.Location);
2189
ProjectXmlUtilities.ThrowProjectInvalidChildElement(settingsChildNode.
Name
, settingsElement.Name, settingsElement.Location);
2430
ProjectXmlUtilities.ThrowProjectInvalidChildElement(configChildNode.
Name
, configElement.Name, configElement.Location);
2664
ProjectXmlUtilities.ThrowProjectInvalidChildElement(referencesChildNode.
Name
, referencesElement.Name, referencesElement.Location);
3155
switch (importsChildNode.
Name
)
3176
ProjectXmlUtilities.ThrowProjectInvalidChildElement(importsChildNode.
Name
, importsElement.Name, importsElement.Location);
3269
switch (filesChildNode.
Name
)
3288
"UnrecognizedChildElement", filesChildNode.
Name
,
3295
ProjectXmlUtilities.ThrowProjectInvalidChildElement(filesChildNode.
Name
, filesElement.Name, filesElement.Location);
3356
"UnrecognizedChildElement", includeChildNode.
Name
,
3363
ProjectXmlUtilities.ThrowProjectInvalidChildElement(includeChildNode.
Name
, includeElement.Name, includeElement.Location);
3757
"UnrecognizedChildElement", startupServicesChildNode.
Name
,
3764
ProjectXmlUtilities.ThrowProjectInvalidChildElement(startupServicesChildNode.
Name
, startupServicesElement.Name, startupServicesElement.Location);
Microsoft.Build.Engine (20)
Choose\Choose.cs (2)
117
if (chooseChildNode.
Name
== XMakeElements.when)
130
else if (chooseChildNode.
Name
== XMakeElements.otherwise)
Choose\When.cs (1)
175
switch (whenChildNode.
Name
)
Engine\Project.cs (1)
4067
importedChildNode, "UnrecognizedElement", importedChildNode.
Name
);
Engine\TargetExecutionWrapper.cs (5)
660
(targetChildNode.
Name
== XMakeElements.onError) ||
661
(IntrinsicTask.IsIntrinsicTaskName(targetChildNode.
Name
)))
663
if (IntrinsicTask.IsIntrinsicTaskName(targetChildNode.
Name
))
689
ProjectErrorUtilities.VerifyThrowInvalidProject(!String.Equals(targetChildNode.
Name
, XMakeElements.itemDefinitionGroup, StringComparison.Ordinal),
690
targetElement, "ItemDefinitionGroupNotLegalInsideTarget", targetChildNode.
Name
, XMakeElements.target);
Engine\TaskEngine.cs (2)
1186
"UnrecognizedChildElement", childNode.
Name
, TaskName);
1188
if (childNode.
Name
== XMakeElements.output)
Engine\TaskOutput.cs (1)
41
string taskName = node.ParentNode.
Name
;
Engine\ToolsetState.cs (3)
236
topLevelNode, "UnrecognizedElement", topLevelNode.
Name
);
252
ProjectErrorUtilities.VerifyThrowInvalidProject(usingTaskNode.
Name
== XMakeElements.usingTask,
253
usingTaskNode, "UnrecognizedElement", usingTaskNode.
Name
);
Items\ItemDefinitionLibrary.cs (1)
279
string itemType = itemDefinitionChildElement.ParentNode.
Name
;
Shared\XMakeElements.cs (1)
49
return (childNode.
Name
== output) ||
Xml\ProjectXmlUtilities.cs (3)
80
ProjectErrorUtilities.ThrowInvalidProject(child, "UnrecognizedChildElement", child.
Name
, child.ParentNode.
Name
);
108
ProjectErrorUtilities.ThrowInvalidProject(element, "CustomNamespaceNotAllowedOnThisChildElement", element.Name, element.ParentNode.
Name
);
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)
81
Assert.Equal("Project", children[0].
Name
);
113
Assert.Equal("Project", children[0].
Name
);
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
2186
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.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)
530
traceParameters: new object[] { (ContextNode != null) ? ContextNode.
Name
: null, XPath, ParentBindingExpression, xe },
554
return $"{node.GetType().Name} ({node.
Name
})";
PresentationFramework-SystemXml (1)
SystemXmlExtension.cs (1)
84
return node.
Name
;
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
115
rootChild.
Name
));
126
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)
989
newNode = CreateProcessingInstruction(node.
Name
, node.Value!);
1009
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)));