16 references to SerPrefix
System.Private.DataContractSerialization (16)
System\Runtime\Serialization\DataContract.cs (1)
277
writer.WriteStartElement(Globals.
SerPrefix
, name, ns);
System\Runtime\Serialization\ExtensionDataObject.cs (4)
160
element.AddAttribute(Globals.
SerPrefix
, Globals.SerializationNamespace, Globals.ClrTypeLocalName, ClrTypeName);
162
element.AddAttribute(Globals.
SerPrefix
, Globals.SerializationNamespace, Globals.ClrAssemblyLocalName, ClrAssemblyName);
294
element.AddAttribute(Globals.
SerPrefix
, Globals.SerializationNamespace, Globals.ArraySizeLocalName, Size.ToString(NumberFormatInfo.InvariantInfo));
339
AddQualifiedNameAttribute(element, Globals.
SerPrefix
, Globals.ISerializableFactoryTypeLocalName, Globals.SerializationNamespace, FactoryTypeName, FactoryTypeNamespace);
System\Runtime\Serialization\ExtensionDataReader.cs (2)
60
AddPrefix(Globals.
SerPrefix
, Globals.SerializationNamespace);
522
_nextElement.AddAttribute(Globals.
SerPrefix
, Globals.SerializationNamespace, Globals.RefLocalName, node.Id.ToString(NumberFormatInfo.InvariantInfo));
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
1101
writer.WriteStartElement(Globals.
SerPrefix
, name, ns);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (5)
219
xmlWriter.WriteAttributeString(Globals.
SerPrefix
, DictionaryGlobals.IdLocalName,
225
xmlWriter.WriteAttributeString(Globals.
SerPrefix
, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Create(CultureInfo.InvariantCulture, $"i{objectId}"));
544
xmlWriter.WriteAttributeQualifiedName(Globals.
SerPrefix
, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, typeName, typeNs);
551
xmlWriter.WriteAttributeQualifiedName(Globals.
SerPrefix
, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, DataContract.GetClrTypeString(typeName), DataContract.GetClrTypeString(typeNs));
804
xmlWriter.WriteAttributeQualifiedName(Globals.
SerPrefix
, DictionaryGlobals.ISerializableFactoryTypeLocalName, DictionaryGlobals.SerializationNamespace, dataNode.FactoryTypeName, dataNode.FactoryTypeNamespace);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (3)
160
xmlWriter.WriteAttributeInt(Globals.
SerPrefix
, DictionaryGlobals.IdLocalName, DictionaryGlobals.SerializationNamespace, objectId);
163
xmlWriter.WriteAttributeInt(Globals.
SerPrefix
, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, objectId);
257
xmlWriter.WriteAttributeInt(Globals.
SerPrefix
, DictionaryGlobals.ArraySizeLocalName, DictionaryGlobals.SerializationNamespace, size);