Base:
property
Name
System.Xml.XmlNode.Name
86 references to Name
IOperationGenerator (2)
IOperationClassWriter.Verifier.cs (2)
38
if (abstractNode.Comments?.Elements?[0].
Name
!= "summary")
46
if (prop.Comments?.Elements?[0].
Name
!= "summary" && !prop.IsInternal && !prop.IsOverride)
Microsoft.Build (57)
Construction\ProjectElement.cs (2)
297
public string ElementName => Link != null ? Link.ElementName : XmlElement.
Name
;
467
MarkDirty("Replace element {0}", newElement.
Name
);
Construction\ProjectElementContainer.cs (4)
448
ProjectXmlUtilities.SetOrRemoveAttribute(XmlElement, child.XmlElement.
Name
, value);
502
ProjectErrorUtilities.VerifyThrowInvalidProject(!XmlElement.HasAttribute(child.XmlElement.
Name
),
503
XmlElement.Location, "InvalidChildElementDueToDuplication", child.XmlElement.
Name
, ElementName);
604
XmlElement.RemoveAttribute(child.XmlElement.
Name
);
Construction\ProjectMetadataElement.cs (1)
137
string oldName = XmlElement.
Name
;
Definition\Toolset.cs (1)
1086
elementXml.XmlElement.
Name
);
Evaluation\ProjectParser.cs (39)
136
ProjectErrorUtilities.VerifyThrowInvalidProject(element.
Name
!= XMakeElements.visualStudioProject, element.Location, "ProjectUpgradeNeeded", _project.FullPath);
137
ProjectErrorUtilities.VerifyThrowInvalidProject(element.LocalName == XMakeElements.project, element.Location, "UnrecognizedElement", element.
Name
);
157
switch (childElement.
Name
)
203
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "ErrorWarningMessageNotSupported", childElement.
Name
);
207
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.
Name
, childElement.ParentNode.Name, childElement.Location);
226
ProjectErrorUtilities.VerifyThrowInvalidProject(!XMakeElements.ReservedItemNames.Contains(childElement.
Name
) && !ReservedPropertyNames.IsReservedProperty(childElement.
Name
), childElement.Location, "CannotModifyReservedProperty", childElement.
Name
);
263
string itemType = element.
Name
;
399
ProjectErrorUtilities.VerifyThrowInvalidProject(!(parent is ProjectItemElement) || ((ProjectItemElement)parent).Remove.Length == 0, element.Location, "ChildElementsBelowRemoveNotAllowed", element.
Name
);
400
ProjectErrorUtilities.VerifyThrowInvalidProject(!FileUtilities.ItemSpecModifiers.IsItemSpecModifier(element.
Name
), element.Location, "ItemSpecModifierCannotBeCustomMetadata", element.
Name
);
401
ProjectErrorUtilities.VerifyThrowInvalidProject(!XMakeElements.ReservedItemNames.Contains(element.
Name
), element.Location, "CannotModifyReservedItemMetadata", element.
Name
);
430
childElement.
Name
== XMakeElements.import,
433
childElement.
Name
,
434
element.
Name
);
486
if (listOfChildElementNames.Contains(childElement.
Name
))
498
listOfChildElementNames.Add(childElement.
Name
);
535
string childElementName = childElement.
Name
;
559
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.
Name
, element.
Name
, element.Location);
593
switch (childElement.
Name
)
598
ProjectErrorUtilities.ThrowInvalidProject(onError.Location, "NodeMustBeLastUnderElement", XMakeElements.onError, XMakeElements.target, childElement.
Name
);
607
ProjectErrorUtilities.ThrowInvalidProject(onError.Location, "NodeMustBeLastUnderElement", XMakeElements.onError, XMakeElements.target, childElement.
Name
);
624
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "ItemDefinitionGroupNotLegalInsideTarget", childElement.
Name
);
630
ProjectErrorUtilities.ThrowInvalidProject(onError.Location, "NodeMustBeLastUnderElement", XMakeElements.onError, XMakeElements.target, childElement.
Name
);
635
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "PropertyOutsidePropertyGroupInTarget", childElement.
Name
, childElement.ParentNode.Name);
660
element.
Name
,
661
element.
Name
);
668
ProjectErrorUtilities.VerifyThrowInvalidProject(childElement.
Name
== XMakeElements.output, childElement.Location, "UnrecognizedChildElement", childElement.
Name
, task.Name);
785
switch (childElement.
Name
)
800
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.
Name
, element.
Name
, element.Location);
849
switch (childElement.
Name
)
868
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.
Name
, element.
Name
, element.Location);
899
ProjectErrorUtilities.ThrowInvalidProject(element.Location, "InvalidSdkElementName", element.
Name
);
SolutionConfiguration.cs (1)
81
if (!String.Equals(dependencyElement.
Name
, "ProjectDependency", StringComparison.Ordinal))
Xml\ProjectXmlUtilities.cs (6)
63
ThrowProjectInvalidChildElement(child.
Name
, element.
Name
, element.Location);
73
ProjectErrorUtilities.ThrowInvalidProject(child.Location, "InvalidChildElementDueToDuplication", child.
Name
, child.ParentNode.Name);
143
xmlElement.
Name
);
177
ProjectErrorUtilities.VerifyThrowInvalidProject(element.GetAttribute(attributeName).Length > 0, element.Location, "MissingRequiredAttribute", attributeName, element.
Name
);
196
ProjectErrorUtilities.ThrowInvalidProject(attribute.Location, "UnrecognizedAttribute", attribute.Name, attribute.OwnerElement.
Name
);
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
100
ThrowProjectInvalidChildElement(child.Name, _element.
Name
, _element.Location);
XmlUtilities.cs (2)
30
if (String.Equals(oldElement.
Name
, newElementName, StringComparison.Ordinal) && String.Equals(oldElement.NamespaceURI, xmlNamespace, StringComparison.Ordinal))
109
string name = element.
Name
;
Microsoft.Build.Tasks.Core (3)
ManifestUtil\SecurityUtil.cs (1)
420
SecurityElement se = new SecurityElement(xe.
Name
);
ManifestUtil\XmlUtil.cs (1)
40
XmlElement newElement = document.CreateElement(element.
Name
, namespaceURI);
SolutionConfiguration.cs (1)
81
if (!String.Equals(dependencyElement.
Name
, "ProjectDependency", StringComparison.Ordinal))
Microsoft.Build.Utilities.Core (5)
ApiContract.cs (1)
48
if (element != null && IsContainedApiContractsElement(element.
Name
))
PlatformManifest.cs (3)
135
if (ApiContract.IsContainedApiContractsElement(childElement.
Name
))
139
else if (ApiContract.IsVersionedContentElement(childElement.
Name
))
144
else if (string.Equals(childElement.
Name
, Elements.DependentPlatform, StringComparison.Ordinal))
SDKManifest.cs (1)
349
if (ApiContract.IsContainedApiContractsElement(childElement.
Name
))
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
641
if (nodeGroup != null && string.Equals(nodeGroup.
Name
, groupName, StringComparison.OrdinalIgnoreCase))
654
if (nodeItem != null && string.Equals(nodeItem.
Name
, sItemName, StringComparison.OrdinalIgnoreCase))
PresentationFramework (3)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
665
if (node.
Name
.Equals(xmlName))
MS\Internal\Globalization\BamlTreeMap.cs (1)
660
if (element.
Name
== LocComments.LocCommentsElement
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
499
string className = bamlTreeMap.Resolver.ResolveFormattingTagToClass(child.
Name
);
System.Configuration.ConfigurationManager (1)
System\Configuration\NameValueFileSectionHandler.cs (1)
56
if (section.Name != doc.DocumentElement.
Name
)
System.Data.Common (2)
System\Data\DataSet.cs (2)
2287
if (DataSetName != root.
Name
&& _namespaceURI != root.NamespaceURI &&
2288
Tables.Contains(root.
Name
, (root.NamespaceURI.Length == 0) ? null : root.NamespaceURI, false, true))
System.Private.Xml (4)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
242
if (element.Name == elem.
Name
&& element.Namespace == elem.NamespaceURI)
251
throw CreateChoiceIdentifierValueException(choice.Mapping!.TypeDesc!.FullName, choice.MemberName!, elem.
Name
, elem.NamespaceURI);
260
throw CreateUnknownAnyElementException(elem.
Name
, elem.NamespaceURI);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1527
if (e.
Name
== "keepNamespaceDeclarations")
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (4)
68
strBuilder.Append('<').Append(
Name
);
94
strBuilder.Append($"</{
Name
}>");
139
rgbData = Encoding.UTF8.GetBytes("<" +
Name
);
167
rgbData = Encoding.UTF8.GetBytes("</" +
Name
+ ">");
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
161
if (value.
Name
!= KeyValueElementName
System.ServiceModel.Federation.Tests (2)
WSTrustChannelSecurityTokenProviderTest.cs (2)
74
Assert.Equal(eln1, trustRequest.AdditionalXmlElements[0].
Name
);
75
Assert.Equal(eln2, trustRequest.AdditionalXmlElements[1].
Name
);