60 references to EncodeLocalName
Microsoft.AspNetCore.Mvc.Formatters.Xml (9)
ProblemDetailsWrapper.cs (6)
120
XmlConvert.
EncodeLocalName
("detail"),
127
XmlConvert.
EncodeLocalName
("instance"),
133
writer.WriteStartElement(XmlConvert.
EncodeLocalName
("status"));
141
XmlConvert.
EncodeLocalName
("title"),
148
XmlConvert.
EncodeLocalName
("type"),
162
writer.WriteStartElement(XmlConvert.
EncodeLocalName
(key));
SerializableErrorWrapper.cs (1)
96
writer.WriteStartElement(XmlConvert.
EncodeLocalName
(key));
ValidationProblemDetailsWrapper.cs (2)
87
writer.WriteStartElement(XmlConvert.
EncodeLocalName
(ErrorKey));
98
writer.WriteStartElement(XmlConvert.
EncodeLocalName
(key));
System.Configuration.ConfigurationManager (1)
System\Configuration\LocalFileSettingsProvider.cs (1)
367
return XmlConvert.
EncodeLocalName
(sectionName);
System.Data.Common (22)
System\Data\DataColumn.cs (1)
403
_encodedColumnName ??= XmlConvert.
EncodeLocalName
(ColumnName);
System\Data\DataTable.cs (1)
1848
encodedTblName = XmlConvert.
EncodeLocalName
(TableName);
System\Data\xmlsaver.cs (16)
104
node.SetAttribute(XmlConvert.
EncodeLocalName
(s), Keywords.MSPROPNS, v);
593
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.
EncodeLocalName
(_ds.DataSetName));
597
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.
EncodeLocalName
("NewDataSet"));
1024
_dsElement.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(dataSet.DataSetName));
1027
_dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.
EncodeLocalName
(((dt!.Namespace.Length == 0) ? dt.TableName : (dt.Namespace + ":" + dt.TableName))));
1047
_dsElement.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
("NewDataSet"));
1049
_dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.
EncodeLocalName
(((dt.Namespace.Length == 0) ? dt.TableName : (dt.Namespace + ":" + dt.TableName))));
1159
root.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(rel.RelationName));
2015
constraint.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(unique.SchemaName));
2092
constraint.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(foreign.SchemaName));
2138
constraint.SetAttribute(Keywords.NAME, XmlConvert.
EncodeLocalName
(foreign.SchemaName));
2144
constraint.SetAttribute(Keywords.REFER, XmlConvert.
EncodeLocalName
(foreign.SchemaName));
2146
constraint.SetAttribute(Keywords.REFER, XmlConvert.
EncodeLocalName
(_constraint.SchemaName));
2165
constraint.SetAttribute(Keywords.MSD_RELATIONNAME, Keywords.MSDNS, XmlConvert.
EncodeLocalName
(rel.RelationName));
2816
_xmlw.WriteStartElement(prefix, XmlConvert.
EncodeLocalName
(_ds.DataSetName), _ds.Namespace);
2875
_xmlw.WriteStartElement(prefix, XmlConvert.
EncodeLocalName
(_ds.DataSetName), _ds.Namespace);
System\Data\XmlToDatasetMap.cs (3)
230
string _columnLocalName = XmlConvert.
EncodeLocalName
(col.ColumnName);
326
string _tableLocalName = XmlConvert.
EncodeLocalName
(r.ChildTable.TableName);
398
string _tableLocalName = XmlConvert.
EncodeLocalName
(r.ChildTable.TableName);
System\Xml\XmlDataDocument.cs (1)
461
string docElemName = XmlConvert.
EncodeLocalName
(DataSet.DataSetName);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContract.cs (1)
1202
return XmlConvert.
EncodeLocalName
(localName);
System.Private.Xml (26)
System\Xml\Serialization\Mappings.cs (5)
107
return XmlConvert.
EncodeLocalName
(name);
116
return XmlConvert.
EncodeLocalName
(name);
121
return new XmlQualifiedName(XmlConvert.
EncodeLocalName
(name.Substring(colon + 1)), XmlConvert.
EncodeLocalName
(name.Substring(0, colon))).ToString();
349
get { return IsAnonymousType ? XmlConvert.
EncodeLocalName
(_typeDesc!.Name) : _typeName; }
System\Xml\Serialization\SoapReflectionImporter.cs (4)
125
element.Name = string.IsNullOrEmpty(elementName) ? elementName : XmlConvert.
EncodeLocalName
(elementName);
306
typeName = XmlConvert.
EncodeLocalName
(typeName);
562
typeName = XmlConvert.
EncodeLocalName
(typeName);
718
element.Name = XmlConvert.
EncodeLocalName
(a.SoapElement == null || a.SoapElement.ElementName.Length == 0 ? accessorName : a.SoapElement.ElementName);
System\Xml\Serialization\Xmlcustomformatter.cs (1)
133
return XmlConvert.
EncodeLocalName
(ncName);
System\Xml\Serialization\XmlReflectionImporter.cs (15)
222
element.Name = string.IsNullOrEmpty(elementName) ? elementName : XmlConvert.
EncodeLocalName
(elementName);
283
element.Name = XmlConvert.
EncodeLocalName
(root.ElementName);
740
typeName = XmlConvert.
EncodeLocalName
(typeName);
1034
name = XmlConvert.
EncodeLocalName
(name);
1196
typeName = XmlConvert.
EncodeLocalName
(typeName);
1517
arrayItemElement.Name = xmlArrayItem.ElementName.Length == 0 ? arrayItemElement.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlArrayItem.ElementName);
1651
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1656
element.Name = xmlElement.ElementName.Length == 0 ? element.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlElement.ElementName);
1687
string anyName = xmlAnyElement.Name.Length == 0 ? xmlAnyElement.Name : XmlConvert.
EncodeLocalName
(xmlAnyElement.Name);
1742
arrayElement.Name = XmlConvert.
EncodeLocalName
(a.XmlArray.ElementName.Length == 0 ? accessorName : a.XmlArray.ElementName);
1823
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1893
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1897
element.Name = xmlElement.ElementName.Length == 0 ? element.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlElement.ElementName);
1929
string anyName = xmlAnyElement.Name.Length == 0 ? xmlAnyElement.Name : XmlConvert.
EncodeLocalName
(xmlAnyElement.Name);
2279
element.Name = XmlConvert.
EncodeLocalName
(typeName);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
468
return GetQualifiedName(EscapeName ? XmlConvert.
EncodeLocalName
(xmlQualifiedName.Name) : xmlQualifiedName.Name, xmlQualifiedName.Namespace);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\SchemaImportHelper.cs (1)
95
return XmlConvert.
EncodeLocalName
(localName);