14 references to EncodeLocalName
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\ClassDataContract.cs (3)
863memberContract.Name = DataContract.EncodeLocalName(memberContract.Name); 918memberContract.Name = DataContract.EncodeLocalName(member.Name); 932memberContract.Name = DataContract.EncodeLocalName(member.Name);
System\Runtime\Serialization\CollectionDataContract.cs (3)
460itemName = DataContract.EncodeLocalName(collectionContractAttribute.ItemName); 469keyName = DataContract.EncodeLocalName(collectionContractAttribute.KeyName); 477valueName = DataContract.EncodeLocalName(collectionContractAttribute.ValueName);
System\Runtime\Serialization\DataContract.cs (5)
1270name = DataContract.EncodeLocalName(name); 1382name = DataContract.EncodeLocalName(name); 1512return DataContract.EncodeLocalName(typeName); 1640localName = DataContract.EncodeLocalName(localName); 2379return new XmlQualifiedName(DataContract.EncodeLocalName(DataContract.ExpandGenericParameters(XmlConvert.DecodeName(_xmlName.Name), this)), _xmlName.Namespace);
System\Runtime\Serialization\SchemaImporter.cs (1)
1292name = DataContract.EncodeLocalName(name);
System\Runtime\Serialization\XmlDataContract.cs (1)
171_topLevelElementName = string.IsNullOrEmpty(elementName) ? Name : dictionary.Add(DataContract.EncodeLocalName(elementName));
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
559XmlDictionaryString name = DataContract.GetClrTypeString(DataContract.EncodeLocalName(serEntry.Name));