28 references to EncodeLocalName
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (5)
103
return XmlConvert.
EncodeLocalName
(name);
111
return XmlConvert.
EncodeLocalName
(name);
116
return new XmlQualifiedName(XmlConvert.
EncodeLocalName
(name.Substring(colon + 1)), XmlConvert.
EncodeLocalName
(name.Substring(0, colon))).ToString();
342
get { return IsAnonymousType ? XmlConvert.
EncodeLocalName
(_typeDesc.Name) : _typeName; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (4)
160
element.Name = elementName == null || elementName.Length == 0 ? elementName : XmlConvert.
EncodeLocalName
(elementName);
335
typeName = XmlConvert.
EncodeLocalName
(typeName);
591
typeName = XmlConvert.
EncodeLocalName
(typeName);
744
element.Name = XmlConvert.
EncodeLocalName
(a.SoapElement == null || a.SoapElement.ElementName.Length == 0 ? accessorName : a.SoapElement.ElementName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCustomFormatter.cs (1)
89
return XmlConvert.
EncodeLocalName
(ncName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (15)
214
element.Name = elementName == null || elementName.Length == 0 ? elementName : XmlConvert.
EncodeLocalName
(elementName);
277
element.Name = XmlConvert.
EncodeLocalName
(root.ElementName);
739
typeName = XmlConvert.
EncodeLocalName
(typeName);
1029
name = XmlConvert.
EncodeLocalName
(name);
1192
typeName = XmlConvert.
EncodeLocalName
(typeName);
1505
arrayItemElement.Name = xmlArrayItem.ElementName.Length == 0 ? arrayItemElement.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlArrayItem.ElementName);
1638
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1643
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);
1730
arrayElement.Name = XmlConvert.
EncodeLocalName
(a.XmlArray.ElementName.Length == 0 ? accessorName : a.XmlArray.ElementName);
1812
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1882
element.Name = XmlConvert.
EncodeLocalName
(xmlElement.ElementName.Length == 0 ? accessorName : xmlElement.ElementName);
1886
element.Name = xmlElement.ElementName.Length == 0 ? element.Mapping.DefaultElementName : XmlConvert.
EncodeLocalName
(xmlElement.ElementName);
1918
string anyName = xmlAnyElement.Name.Length == 0 ? xmlAnyElement.Name : XmlConvert.
EncodeLocalName
(xmlAnyElement.Name);
2266
element.Name = XmlConvert.
EncodeLocalName
(typeName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
430
return GetQualifiedName(EscapeName ? XmlConvert.
EncodeLocalName
(xmlQualifiedName.Name) : xmlQualifiedName.Name, xmlQualifiedName.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1377
return XmlConvert.
EncodeLocalName
(localName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
176
return XmlConvert.
EncodeLocalName
(name);