Base:
property
LocalName
System.Xml.XmlNode.LocalName
92 references to LocalName
Microsoft.Build (2)
Construction\Solution\ProjectInSolution.cs (1)
325
if (mainProjectElement?.
LocalName
== "Project")
Evaluation\ProjectParser.cs (1)
137
ProjectErrorUtilities.VerifyThrowInvalidProject(element.
LocalName
== XMakeElements.project, element.Location, "UnrecognizedElement", element.Name);
Microsoft.Build.Engine (3)
Engine\Project.cs (2)
2039
ProjectErrorUtilities.VerifyThrowInvalidProject(mainProjectElement.
LocalName
!= XMakeElements.visualStudioProject,
2043
ProjectErrorUtilities.VerifyThrowInvalidProject(this.mainProjectElement.
LocalName
== XMakeElements.project,
Shared\ProjectInSolution.cs (1)
256
if (mainProjectElement?.
LocalName
== "Project")
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
491
if ((content.
LocalName
== ColorsContentName) &&
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
42
&& string.Equals(_glyphsNode.
LocalName
, _glyphRunName, StringComparison.Ordinal)
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
50
(root.
LocalName
!= PrintSchemaTags.Framework.PrintTicketRoot))
55
root.
LocalName
));
System.Data.Common (6)
System\Data\DataSet.cs (1)
1841
DataSetName = xdoc.DocumentElement!.
LocalName
;
System\Data\XDRSchema.cs (2)
78
"Invalid node type " + node.
LocalName
);
133
Debug.Assert(FEqualIdentity(node, Keywords.XDR_ELEMENTTYPE, Keywords.XDRNS), $"Invalid node type {node.
LocalName
}");
System\Xml\DataSetMappper.cs (2)
91
DataTable t = SearchMatchingTableSchema(elem.
LocalName
, elem.NamespaceURI);
155
object tid = GetIdentity(rowElem.
LocalName
, rowElem.NamespaceURI);
System\Xml\XmlDataDocument.cs (1)
1543
if (e.
LocalName
== col.EncodedColumnName && e.NamespaceURI == col.Namespace)
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaImporter.cs (9)
1252
if (typeElement != null && typeElement.NamespaceURI == surrogateDataAnnotationName.Namespace && typeElement.
LocalName
== surrogateDataAnnotationName.Name)
1275
if (typeElement.
LocalName
== Globals.GenericTypeLocalName)
1300
if (argumentElement.
LocalName
!= Globals.GenericParameterLocalName ||
1302
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidElement, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name));
1308
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name));
1311
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.
LocalName
, argumentElement.NamespaceURI, type.Name));
1323
throw new InvalidDataContractException(SR.Format(SR.GenericAnnotationHasInvalidAttributeValue, typeElement.
LocalName
, typeElement.NamespaceURI, type.Name, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name));
1418
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.Format(SR.InvalidAnnotationExpectingText, xmlElement.
LocalName
, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI));
1436
if (markup[i] is XmlElement annotationElement && annotationElement.
LocalName
== annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.Private.Xml (11)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
358
_validator!.ValidateElement(elementNode.
LocalName
, elementNode.NamespaceURI, _schemaInfo, xsiType, xsiNil, null, null);
374
elementNode.XmlName = _document.AddXmlName(elementNode.Prefix, elementNode.
LocalName
, elementNode.NamespaceURI, _schemaInfo);
592
currentElement.XmlName = _document.AddXmlName(currentElement.Prefix, currentElement.
LocalName
, currentElement.NamespaceURI, _schemaInfo);
707
_validator!.ValidateElement(elementNode.
LocalName
, elementNode.NamespaceURI, newSchemaInfo, xsiType, xsiNil, null, null);
System\Xml\Dom\XmlDocument.cs (1)
698
XmlQualifiedName qname = new XmlQualifiedName(elem.
LocalName
, schInfo.SchemaType == SchemaType.DTD ? elem.Prefix : elem.NamespaceURI);
System\Xml\Dom\XmlElement.cs (4)
58
XmlElement element = doc.CreateElement(Prefix,
LocalName
, NamespaceURI);
106
set { _name = _name.OwnerDocument.AddXmlName(value,
LocalName
, NamespaceURI, SchemaInfo); }
510
w.WriteStartElement(Prefix,
LocalName
, NamespaceURI);
634
internal override string XPLocalName { get { return
LocalName
; } }
System\Xml\Dom\XmlLoader.cs (2)
137
element.XmlName = _doc.AddXmlName(element.Prefix, element.
LocalName
, element.NamespaceURI, schemaInfo);
155
element.XmlName = _doc!.AddXmlName(element.Prefix, element.
LocalName
, element.NamespaceURI, schemaInfo);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (1)
390
if (annotationElement != null && annotationElement.
LocalName
== annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\CipherReference.cs (1)
78
ReferenceType = value.
LocalName
;
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
114
ReferenceType = value.
LocalName
;
System\Security\Cryptography\Xml\EncryptionProperty.cs (3)
26
if (elementProperty.
LocalName
!= "EncryptionProperty" || elementProperty.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
51
if (value.
LocalName
!= "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
89
if (value.
LocalName
!= "EncryptionProperty" || value.NamespaceURI != EncryptedXml.XmlEncNamespaceUrl)
System\Security\Cryptography\Xml\KeyInfo.cs (2)
82
string kicString = elem.NamespaceURI + " " + elem.
LocalName
;
96
kicString += "/" + elem2.
LocalName
;
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
116
if (value.
LocalName
!= KeyValueElementName
System\Security\Cryptography\Xml\Signature.cs (1)
143
if (!signatureElement.
LocalName
.Equals("Signature"))
System\Security\Cryptography\Xml\SignedInfo.cs (1)
214
if (!signedInfoElement.
LocalName
.Equals("SignedInfo"))
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
99
if (elem.
LocalName
== "Except" && elem.NamespaceURI == Consts.XmlDecryptionTransformNamespaceUrl)
233
if (encryptedDataElement != null && encryptedDataElement.
LocalName
== "EncryptedData" &&
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
55
if (e.
LocalName
.Equals("InclusiveNamespaces")
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
48
if (elem.
LocalName
== "XPath")
System.ServiceModel.Primitives (39)
System\IdentityModel\Security\WSTrust.cs (1)
162
if (element.
LocalName
!= name || element.NamespaceURI != ns)
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (1)
103
writer.WriteLine(" Token Element: ({0}, {1})", TokenXml.
LocalName
, TokenXml.NamespaceURI);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
214
headers.Add(new XmlElementMessageHeader(this, messageVersion, xmlElement.
LocalName
, xmlElement.NamespaceURI, mustUnderstand, actor, relay, xmlElement));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
101
MessageHeaderDescription matchingHeaderDescription = headerDescriptionTable.Get(element.
LocalName
, element.NamespaceURI);
104
message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.
LocalName
, element.NamespaceURI,
119
message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.
LocalName
, element.NamespaceURI,
131
message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.
LocalName
, element.NamespaceURI,
System\ServiceModel\Security\WSSecureConversation.cs (1)
337
if (element.
LocalName
== Parent.SerializerDictionary.Identifier.Value && element.NamespaceURI == Parent.SerializerDictionary.Namespace.Value)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (1)
77
return (element.
LocalName
== DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (1)
62
return (element.
LocalName
== DXD.SecureConversationDec2005Dictionary.Instance.Value &&
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadToken, element.
LocalName
, element.NamespaceURI, element.GetAttribute(SecurityJan2004Strings.ValueType, null))));
470
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.RequiredAttributeMissing, idAttributeLocalName, issuedTokenXml.
LocalName
)));
484
return element.
LocalName
== LocalName.Value && element.NamespaceURI == NamespaceUri.Value && valueTypeUri == ValueTypeUri;
System\ServiceModel\Security\WSTrust.cs (19)
84
return element.
LocalName
== LocalName.Value && (element.NamespaceURI == NamespaceUri.Value || element.NamespaceURI == _otherDictionary.Namespace.Value) && valueTypeUri == ValueTypeUri;
245
if (child.
LocalName
== DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
249
else if (child.
LocalName
== DriverDictionary.RequestType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
253
else if (child.
LocalName
== DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
347
if (child.
LocalName
== DriverDictionary.TokenType.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
351
else if (child.
LocalName
== DriverDictionary.KeySize.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
355
else if (child.
LocalName
== DriverDictionary.RequestedProofToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
358
if (proofXml.
LocalName
== DriverDictionary.ComputedKey.Value && proofXml.NamespaceURI == DriverDictionary.Namespace.Value)
368
else if (child.
LocalName
== DriverDictionary.Lifetime.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
452
if (element.
LocalName
== DriverDictionary.Authenticator.Value && element.NamespaceURI == DriverDictionary.Namespace.Value)
455
if (combinedHashElement.
LocalName
== DriverDictionary.CombinedHash.Value && combinedHashElement.NamespaceURI == DriverDictionary.Namespace.Value)
498
if (elem.
LocalName
== DriverDictionary.BinaryExchange.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
538
if (element.
LocalName
== DriverDictionary.Entropy.Value && element.NamespaceURI == DriverDictionary.Namespace.Value)
565
if (elem.
LocalName
== DriverDictionary.RequestedSecurityToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
573
else if (elem.
LocalName
== DriverDictionary.RequestedProofToken.Value && elem.NamespaceURI == DriverDictionary.Namespace.Value)
817
if (child.
LocalName
== DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
821
else if (child.
LocalName
== DriverDictionary.RequestedTokenReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
1208
return element.
LocalName
== DriverDictionary.KeyType.Value
1229
return element.
LocalName
== DriverDictionary.KeyType.Value
System\ServiceModel\Security\WSTrustDec2005.cs (1)
46
return ((element.
LocalName
== DXD.TrustDec2005Dictionary.SecondaryParameters.Value) &&
System\ServiceModel\Security\WSTrustFeb2005.cs (6)
105
if (child.
LocalName
== DriverDictionary.RequestedSecurityToken.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
109
else if (child.
LocalName
== DriverDictionary.RequestedAttachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
113
else if (child.
LocalName
== DriverDictionary.RequestedUnattachedReference.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
147
if (child.
LocalName
== DriverDictionary.RequestedTokenClosed.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
166
if (child.
LocalName
== DriverDictionary.RenewTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
170
else if (child.
LocalName
== DriverDictionary.CloseTarget.Value && child.NamespaceURI == DriverDictionary.Namespace.Value)
System.Web.Services.Description (3)
System\Web\Services\Description\ServiceDescription.cs (3)
392
if (element.
LocalName
== Soap.Element.Claim && element.NamespaceURI == Soap.ConformanceClaim)
1178
if (element != null && element.
LocalName
== name && element.NamespaceURI == ns)
1194
if (element != null && element.
LocalName
== name && element.NamespaceURI == ns)