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