64 references to EncodeLocalName
System.Data (22)
fx\src\data\System\Data\DataColumn.cs (1)
433
this.encodedColumnName = XmlConvert.
EncodeLocalName
(this.ColumnName);
fx\src\data\System\Data\DataTable.cs (1)
1719
encodedTblName = XmlConvert.
EncodeLocalName
( this.TableName );
fx\src\data\System\Data\xmlsaver.cs (16)
97
node.SetAttribute(XmlConvert.
EncodeLocalName
(s), Keywords.MSPROPNS, v);
508
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.
EncodeLocalName
(_ds.DataSetName));
511
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.
EncodeLocalName
("NewDataSet"));
868
dsElement.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(dataSet.DataSetName));
871
dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.
EncodeLocalName
(((dt.Namespace.Length == 0)?dt.TableName : (dt.Namespace + ":" + dt.TableName))));
886
dsElement.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
("NewDataSet"));
888
dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.
EncodeLocalName
(((dt.Namespace.Length == 0)?dt.TableName : (dt.Namespace + ":" + dt.TableName))));
975
root.SetAttribute( Keywords.NAME, XmlConvert.
EncodeLocalName
( rel.RelationName ));
1733
constraint.SetAttribute( Keywords.NAME, XmlConvert.
EncodeLocalName
( unique.SchemaName ));
1800
constraint.SetAttribute( Keywords.NAME, XmlConvert.
EncodeLocalName
( foreign.SchemaName ));
1840
constraint.SetAttribute( Keywords.NAME,XmlConvert.
EncodeLocalName
( foreign.SchemaName ));
1846
constraint.SetAttribute( Keywords.REFER, XmlConvert.
EncodeLocalName
( foreign.SchemaName ));
1848
constraint.SetAttribute( Keywords.REFER, XmlConvert.
EncodeLocalName
( _constraint.SchemaName ));
1863
constraint.SetAttribute( Keywords.MSD_RELATIONNAME , Keywords.MSDNS, XmlConvert.
EncodeLocalName
( rel.RelationName ));
2435
_xmlw.WriteStartElement(prefix, XmlConvert.
EncodeLocalName
(_ds.DataSetName), _ds.Namespace);
2484
_xmlw.WriteStartElement(prefix, XmlConvert.
EncodeLocalName
(_ds.DataSetName), _ds.Namespace);
fx\src\data\System\Data\XmlToDatasetMap.cs (3)
208
string _columnLocalName = XmlConvert.
EncodeLocalName
(col.ColumnName);
295
string _tableLocalName = XmlConvert.
EncodeLocalName
(r.ChildTable.TableName);
364
string _tableLocalName = XmlConvert.
EncodeLocalName
(r.ChildTable.TableName);
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
428
string docElemName = XmlConvert.
EncodeLocalName
( this.DataSet.DataSetName );
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
1393
return XmlConvert.
EncodeLocalName
(localName);
System.ServiceModel (1)
System\ServiceModel\Description\ServiceReflector.cs (1)
166
return XmlConvert.
EncodeLocalName
(name);
System.ServiceModel.Activation (3)
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (3)
84
service = CreatetWorkflowServiceAndSetCompiledExpressionRoot(null, activityStream, XName.Get(XmlConvert.
EncodeLocalName
(serviceName), serviceNamespace));
125
XName.Get(XmlConvert.
EncodeLocalName
(VirtualPathUtility.GetFileName(ServiceHostingEnvironment.FullVirtualPath)),
366
service.ConfigurationName = XmlConvert.
EncodeLocalName
(service.Body.DisplayName);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\WorkflowService.cs (1)
171
this.inferedServiceName = XName.Get(XmlConvert.
EncodeLocalName
(this.Body.DisplayName));
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
686
this.DurableInstancingOptions.ScopeName = XName.Get(XmlConvert.
EncodeLocalName
(Path.GetFileName(virtualPathExtension.VirtualPath)),
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\SerializationUtility.cs (1)
123
string encodedLocalName = XmlConvert.
EncodeLocalName
(qname.Name.Trim());
System.Web.Services (8)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
68
part.Name = XmlConvert.
EncodeLocalName
(parameterInfo.Name);
System\Web\Services\Description\ProtocolReflector.cs (4)
197
string messageName = XmlConvert.
EncodeLocalName
(methodAttr.MessageName.Length == 0 ? Method.Name : methodAttr.MessageName);
222
string messageName = XmlConvert.
EncodeLocalName
(methodAttr.MessageName.Length == 0 ? Method.Name : methodAttr.MessageName);
362
string bindingName = XmlConvert.
EncodeLocalName
(reflectedBinding.bindingAttr.Name);
414
operation.Name = XmlConvert.
EncodeLocalName
(method.Name);
System\Web\Services\Description\ServiceDescriptionReflector.cs (2)
152
service.Name = XmlConvert.
EncodeLocalName
(name);
227
throw new InvalidOperationException(Res.GetString(Res.BothAndUseTheMessageNameUseTheMessageName3, method, existingMethod, XmlConvert.
EncodeLocalName
(messageName)));
System\Web\Services\Description\SoapProtocolReflector.cs (1)
204
part.Name = XmlConvert.
EncodeLocalName
(member.MemberName);
System.Xml (26)
System\Xml\Serialization\Mappings.cs (5)
93
return XmlConvert.
EncodeLocalName
(name);
100
return XmlConvert.
EncodeLocalName
(name);
104
return new XmlQualifiedName(XmlConvert.
EncodeLocalName
(name.Substring(colon + 1)), XmlConvert.
EncodeLocalName
(name.Substring(0, colon))).ToString();
292
get { return IsAnonymousType ? XmlConvert.
EncodeLocalName
(typeDesc.Name) : typeName; }
System\Xml\Serialization\SoapReflectionImporter.cs (4)
151
element.Name = elementName == null || elementName.Length == 0 ? elementName : XmlConvert.
EncodeLocalName
(elementName);
303
typeName = XmlConvert.
EncodeLocalName
(typeName);
527
typeName = XmlConvert.
EncodeLocalName
(typeName);
663
element.Name = XmlConvert.
EncodeLocalName
(a.SoapElement == null || a.SoapElement.ElementName.Length == 0 ? accessorName : a.SoapElement.ElementName);
System\Xml\Serialization\Xmlcustomformatter.cs (1)
107
return XmlConvert.
EncodeLocalName
(ncName);
System\Xml\Serialization\XmlReflectionImporter.cs (15)
197
element.Name = elementName == null || elementName.Length == 0 ? elementName : XmlConvert.
EncodeLocalName
(elementName);
250
element.Name = XmlConvert.
EncodeLocalName
(root.ElementName);
652
typeName = XmlConvert.
EncodeLocalName
(typeName);
899
name = XmlConvert.
EncodeLocalName
(name);
1042
typeName = XmlConvert.
EncodeLocalName
(typeName);
1308
arrayItemElement.Name = xmlArrayItem.ElementName.Length == 0 ? arrayItemElement.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlArrayItem.ElementName);
1429
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1433
element.Name = xmlElement.ElementName.Length == 0 ? element.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlElement.ElementName);
1461
string anyName = xmlAnyElement.Name.Length == 0 ? xmlAnyElement.Name : XmlConvert.
EncodeLocalName
(xmlAnyElement.Name);
1511
arrayElement.Name = XmlConvert.
EncodeLocalName
(a.XmlArray.ElementName.Length == 0 ? accessorName : a.XmlArray.ElementName);
1582
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1641
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1644
element.Name = xmlElement.ElementName.Length == 0 ? element.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlElement.ElementName);
1674
string anyName = xmlAnyElement.Name.Length == 0 ? xmlAnyElement.Name : XmlConvert.
EncodeLocalName
(xmlAnyElement.Name);
1967
element.Name = XmlConvert.
EncodeLocalName
(typeName);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
388
return GetQualifiedName(EscapeName ? XmlConvert.
EncodeLocalName
(xmlQualifiedName.Name) : xmlQualifiedName.Name, xmlQualifiedName.Namespace);