82 references to LocalName
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
400
serviceName = ((XName)instanceValue.Value).
LocalName
;
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
695
property = CreateMetadataPropertyFromOtherNamespaceXmlArtifact(element.Name.NamespaceName, element.Name.
LocalName
, element);
System.Data.Services.Client (1)
System\Data\Services\Client\XmlUtil.cs (1)
254
string localName = attribute.Name.
LocalName
;
System.Data.Services.Design (14)
System\Data\EntityModel\EntityClassGenerator.cs (9)
438
return name.
LocalName
== "Schema" && !IsKnownSchemaNamespace(name.NamespaceName);
462
if (root.Name.
LocalName
== XmlConstants.EdmxElement)
464
XElement dataServiceElement = root.Elements().Where(e => e.Name.
LocalName
== XmlConstants.EdmxDataServicesElement).FirstOrDefault();
514
e.Name = newNamespace.GetName(e.Name.
LocalName
);
540
XAttribute existingAttribute = e.Attributes().SingleOrDefault(a => a.Name.NamespaceName == XmlConstants.EdmV1dot2Namespace && a.Name.
LocalName
== attribute.Name.
LocalName
);
544
e.Add(new XAttribute(XNamespace.Get(XmlConstants.EdmV1dot2Namespace) + attribute.Name.
LocalName
, attribute.Value));
553
e.Add(new XAttribute(newNamespace.GetName(attribute.Name.
LocalName
), attribute.Value));
615
return attribute.Name.
LocalName
== XmlConstants.DataWebOpenTypeAttributeName && attribute.Name.Namespace == XNamespace.None;
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (5)
264
return new XmlQualifiedName(name.
LocalName
, name.NamespaceName);
298
string localName = attribute.Name.
LocalName
;
327
string localName = attribute.Name.
LocalName
;
360
validator.ValidateAttribute(attribute.Name.
LocalName
, attribute.Name.NamespaceName, attribute.Value, null);
380
validator.ValidateElement(e.Name.
LocalName
, e.Name.NamespaceName, schemaInfo, xsiType, xsiNil, null, null);
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
196
activityName = workflowService.Name.
LocalName
+ "_" + Guid.NewGuid().ToString().Replace("-", "_");
System.ServiceModel.Activities (24)
System\ServiceModel\Activities\ContractInferenceHelper.cs (10)
83
serviceContractName = XName.Get(serviceContractName.
LocalName
, NamingHelper.DefaultNamespace);
92
ContractDescription contract = new ContractDescription(serviceContractName.
LocalName
, serviceContractName.NamespaceName)
96
ConfigurationName = serviceContractName.
LocalName
,
110
ContractDescription contract = new ContractDescription(serviceContractName.
LocalName
, serviceContractName.NamespaceName)
113
ConfigurationName = serviceContractName.
LocalName
,
136
ContractDescription contract = new ContractDescription(serviceContractName.
LocalName
, serviceContractName.NamespaceName)
139
ConfigurationName = serviceContractName.
LocalName
,
195
contract = new ContractDescription(serviceContractName.
LocalName
, serviceContractName.NamespaceName)
263
ContractDescription contract = new ContractDescription(contractXName.
LocalName
, contractXName.NamespaceName);
681
string defaultAction = NamingHelper.GetMessageAction(new XmlQualifiedName(serviceContractName.
LocalName
, serviceContractName.NamespaceName),
System\ServiceModel\Activities\ContractValidationHelper.cs (1)
634
return serviceContractName != null ? serviceContractName.
LocalName
: SR.NotSpecified;
System\ServiceModel\Activities\InternalSendMessage.cs (2)
317
result.Contract.ConfigurationName = this.ServiceContractName.
LocalName
;
453
cd.ConfigurationName = this.ServiceContractName.
LocalName
;
System\ServiceModel\Activities\WorkflowService.cs (6)
200
Name = this.InternalName.
LocalName
,
202
ConfigurationName = this.ConfigurationName ?? this.InternalName.
LocalName
428
contract = new ContractDescription(contractXName.
LocalName
, contractXName.NamespaceName);
431
contract.ConfigurationName = contractXName.
LocalName
;
1064
string contractName = serviceName.
LocalName
;
1250
string contractName = contractXName.
LocalName
;
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
323
SR.ContractNotFoundInAddServiceEndpoint(serviceContractName.
LocalName
, serviceContractName.NamespaceName)));
353
SR.ContractNotFoundInAddServiceEndpoint(serviceContractName.
LocalName
, serviceContractName.NamespaceName)));
System\ServiceModel\XamlIntegration\ServiceXNameTypeConverter.cs (1)
46
return name.
LocalName
;
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (2)
101
return name.
LocalName
;
105
return prefix + ":" + name.
LocalName
;
System.Xml.Linq (40)
System\Xml\Linq\XLinq.cs (28)
470
return n.
LocalName
;
3813
GetNamespaceOfPrefixInScope(a.Name.
LocalName
, e) == null)) {
3814
return a.Name.
LocalName
;
5044
if (a.IsNamespaceDeclaration && a.Name.
LocalName
== prefix) return a.Value;
5204
resolver.AddFirst(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.
LocalName
, XNamespace.Get(a.Value));
5218
resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.
LocalName
, XNamespace.Get(a.Value));
5237
writer.WriteStartElement(GetPrefixOfNamespace(ns, true), e.Name.
LocalName
, ns.NamespaceName);
5243
string localName = a.Name.
LocalName
;
6600
return name.
LocalName
== "xmlns";
6711
w.WriteAttributeString(GetPrefixOfNamespace(name.Namespace), name.
LocalName
, name.NamespaceName, value);
7148
throw new ArgumentException(Res.GetString(Res.Argument_NamespaceDeclarationPrefixed, name.
LocalName
));
7153
if (name.
LocalName
!= "xml") throw new ArgumentException(Res.GetString(Res.Argument_NamespaceDeclarationXml));
7161
string localName = name.
LocalName
;
7173
else if (namespaceName.Length == 0 && name.
LocalName
== "xmlns") {
7414
writer.WriteStartElement(GetPrefixOfNamespace(ns, true), element.Name.
LocalName
, ns.NamespaceName);
7417
string localName = a.Name.
LocalName
;
7440
resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.
LocalName
, XNamespace.Get(a.Value));
8222
return e.Name.
LocalName
;
8226
return a.Name.
LocalName
;
8264
if (namespaceName.Length == 0 && a.Name.
LocalName
== "xmlns") {
8433
if (a.Name.
LocalName
== localName && a.Name.NamespaceName == namespaceName) {
8475
if (a.Name.
LocalName
== localName && a.Name.NamespaceName == namespaceName) {
8542
if (a.Name.
LocalName
== localName &&
8578
if (a.Name.
LocalName
== localName &&
8753
if (e.Name.
LocalName
== localName &&
8769
if (e.Name.
LocalName
== localName && e.Name.NamespaceName == namespaceName) {
8786
if (e.Name.
LocalName
== localName &&
9132
if (candidateAttribute.Name.
LocalName
== "xml") {
System\Xml\Linq\XNodeNavigator.cs (8)
126
return e.Name.
LocalName
;
133
return a.Name.
LocalName
;
298
if (a.Name.
LocalName
== localName &&
319
e.Name.
LocalName
== localName &&
415
while (a != null && a.Name.
LocalName
== "xml") {
450
if (a.Name.
LocalName
== localName) {
493
e.Name.
LocalName
== localName &&
557
(a.Name.
LocalName
== "xml" ||
System\Xml\Linq\XNodeValidator.cs (4)
151
string localName = a.Name.
LocalName
;
172
string localName = a.Name.
LocalName
;
206
validator.ValidateAttribute(a.Name.
LocalName
, a.Name.NamespaceName, a.Value, si);
254
validator.ValidateElement(e.Name.
LocalName
, e.Name.NamespaceName, si, xsiType, xsiNil, null, null);