3 types derived from XmlObjectSerializer
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\DataContractSerializer.cs (1)
16public sealed class DataContractSerializer : XmlObjectSerializer
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
22public sealed class DataContractJsonSerializer : XmlObjectSerializer
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (1)
13internal class XmlSerializerObjectSerializer : XmlObjectSerializer
179 references to XmlObjectSerializer
netstandard (1)
netstandard.cs (1)
1803[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.XmlObjectSerializer))]
System.Private.DataContractSerialization (114)
System\Runtime\Serialization\Attributes.cs (3)
108throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidXsIdDefinition, Id)); 117throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidXsRefDefinition, Ref)); 130throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidSizeDefinition, ArraySZSize));
System\Runtime\Serialization\ClassDataContract.cs (1)
1248throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.SerializationInfo_ConstructorNotFound, DataContract.GetClrTypeFullName(UnderlyingType)));
System\Runtime\Serialization\CodeGenerator.cs (13)
418throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ParameterCountMismatch, methodInfo.Name, methodInfo.GetParameters().Length, expectedCount)); 590throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.NoGetMethodForProperty, property.DeclaringType, property)); 599throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CannotLoadMemberType, "Unknown", memberInfo.DeclaringType, memberInfo.Name)); 621throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.NoSetMethodForProperty, property.DeclaringType, property)); 627throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CannotLoadMemberType, "Unknown")); 695throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CanOnlyStoreIntoArgOrLocGot0, DataContract.GetClrTypeFullName(var.GetType()))); 852throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.UnknownConstantType, DataContract.GetClrTypeFullName(valueType))); 991throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayTypeIsNotSupported_GeneratingCode, DataContract.GetClrTypeFullName(arrayElementType))); 1029throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayTypeIsNotSupported_GeneratingCode, DataContract.GetClrTypeFullName(arrayElementType))); 1159throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.NoConversionPossibleTo, DataContract.GetClrTypeFullName(target))); 1172throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IsNotAssignableFrom, DataContract.GetClrTypeFullName(target), DataContract.GetClrTypeFullName(source))); 1192throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IsNotAssignableFrom, DataContract.GetClrTypeFullName(target), DataContract.GetClrTypeFullName(source))); 1207throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExpectingEnd, expected.ToString()));
System\Runtime\Serialization\DataContractSerializer.cs (6)
370throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota, MaxItemsInObjectGraph)); 386throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IsAnyCannotBeNull, declaredType)); 408throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IsAnyCannotBeSerializedAsDerivedType, graphType, contract.UnderlyingType)); 462throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota, MaxItemsInObjectGraph)); 482throw XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingElement, expectedNs, expectedName), xmlReader); 487throw XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader);
System\Runtime\Serialization\EnumDataContract.cs (4)
321throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidEnumValueOnWrite, value, DataContract.GetClrTypeFullName(UnderlyingType))); 327throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidEnumValueOnWrite, value, DataContract.GetClrTypeFullName(UnderlyingType))); 367throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidEnumValueOnRead, stringValue, DataContract.GetClrTypeFullName(UnderlyingType))); 386throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidEnumValueOnRead, value.Substring(index, count), DataContract.GetClrTypeFullName(UnderlyingType)));
System\Runtime\Serialization\HybridObjectCache.cs (1)
25throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.MultipleIdDefinition, id));
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
455throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota, MaxItemsInObjectGraph)); 462throw XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingElement, XmlDictionaryString.Empty, RootName), xmlReader); 467throw XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader); 502throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota, MaxItemsInObjectGraph)); 642throw XmlObjectSerializer.CreateSerializationException(SR.Format(
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
456throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.SerializationInfo_ConstructorNotFound, DataContract.GetClrTypeFullName(classContract.UnderlyingType)));
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
52throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.JsonUnexpectedAttributeValue, contentMode));
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
266throw new XmlException(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64"))); 299throw new XmlException(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64")));
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (1)
197throw XmlObjectSerializer.CreateSerializationException(SR.JsonDateTimeOutOfRange, new ArgumentOutOfRangeException(nameof(value)));
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
112throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.JsonUnexpectedAttributeValue, _extensionDataValueType));
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (5)
275throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.DcTypeNotFoundOnSerialize, DataContract.GetClrTypeFullName(dataContract.UnderlyingType), dataContract.XmlName.Name, dataContract.XmlName.Namespace)); 325throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.XmlObjectAssignedToIncompatibleInterface, graph.GetType(), declaredType)); 330throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CollectionAssignedToIncompatibleInterface, graph.GetType(), declaredType)); 340var serInfo = new SerializationInfo(objType, XmlObjectSerializer.FormatterConverter); 344throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ChangingFullTypeNameNotSupported, serInfo.FullTypeName, DataContract.GetClrTypeFullName(objType)));
System\Runtime\Serialization\ObjectToIdCache.cs (2)
93throw XmlObjectSerializer.CreateSerializationException(SR.ObjectTableOverflow); 132throw XmlObjectSerializer.CreateSerializationException(SR.ObjectTableOverflow);
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
115throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CannotDeserializeRefAtTopLevel, attributes.Ref)); 928throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.XmlForObjectCannotHaveContent, localName, ns), xes);
System\Runtime\Serialization\XmlObjectSerializer.cs (15)
104throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorSerializing, GetSerializeType(graph), ex), ex); 108throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorSerializing, GetSerializeType(graph), ex), ex); 172throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorWriteStartObject, GetSerializeType(graph), ex), ex); 176throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorWriteStartObject, GetSerializeType(graph), ex), ex); 189throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.XmlWriterMustBeInElement, writer.WriteState)); 194throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorSerializing, GetSerializeType(graph), ex), ex); 198throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorSerializing, GetSerializeType(graph), ex), ex); 214throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorWriteEndObject, null, ex), ex); 218throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorWriteEndObject, null, ex), ex); 360throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorDeserializing, GetDeserializeType(), ex), ex); 364throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorDeserializing, GetDeserializeType(), ex), ex); 380throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorIsStartObject, GetDeserializeType(), ex), ex); 384throw XmlObjectSerializer.CreateSerializationException(GetTypeInfoError(SR.ErrorIsStartObject, GetDeserializeType(), ex), ex); 443return XmlObjectSerializer.CreateSerializationException(TryAddLineInfo(reader, SR.Format(SR.EncounteredWithNameNamespace, errorMessage, reader.NodeType, reader.LocalName, reader.NamespaceURI))); 448return XmlObjectSerializer.CreateSerializationException(errorMessage, null);
System\Runtime\Serialization\XmlObjectSerializerContext.cs (4)
19protected XmlObjectSerializer serializer; 32internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject, 43internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) 76throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ExceededMaxItemsQuota, _maxItemsInObjectGraph));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (24)
58throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.NullValueReturnedForGetOnlyCollection, DataContract.GetClrTypeFullName(type))); 64throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSize, arraySize, DataContract.GetClrTypeFullName(type))); 74internal XmlObjectSerializerReadContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) 119throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ErrorDeserializing, SR.Format(SR.ErrorTypeInfo, DataContract.GetClrTypeFullName(declaredType)), SR.Format(SR.XmlStartElementExpected, Globals.RefLocalName))); 160throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, SR.Format(SR.DcTypeNotFoundOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName))); 162throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, SR.Format(SR.DcTypeNotResolvedOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName))); 180throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.FactoryTypeNotISerializable, DataContract.GetClrTypeFullName(factoryDataContract.UnderlyingType), DataContract.GetClrTypeFullName(dataContract.UnderlyingType))); 259throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, SR.Format(SR.UnexpectedElementExpectingElements, xmlReader.NodeType, xmlReader.LocalName, xmlReader.NamespaceURI, stringBuilder.ToString()))); 367throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.FactoryObjectContainsSelfReference, oldType, newType, id)); 383throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.DeserializedObjectWithIdNotFound, id)); 397throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.DeserializedObjectWithIdNotFound, id)); 414throw XmlObjectSerializer.CreateSerializationException("error"); 436throw XmlObjectSerializer.CreateSerializationException(SR.UnexpectedEndOfFile); 455throw XmlObjectSerializer.CreateSerializationException( 485throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value)); 544var serInfo = new SerializationInfo(type, XmlObjectSerializer.FormatterConverter); 840throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArraySizeAttributeIncorrect, arraySize, 0)); 843throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArraySizeAttributeIncorrect, arraySize, dataNode.Items.Count)); 925throw XmlObjectSerializer.CreateSerializationException(SR.UnexpectedEndOfFile); 984throw XmlObjectSerializer.CreateSerializationException(SR.UnexpectedEndOfFile); 1080return XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingState, expectedState), xmlReader);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
24internal XmlObjectSerializerReadContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (10)
48internal XmlObjectSerializerWriteContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) 247throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.DcTypeNotFoundOnSerialize, DataContract.GetClrTypeFullName(dataContract.UnderlyingType), dataContract.XmlName.Name, dataContract.XmlName.Namespace)); 382throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CannotSerializeObjectWithCycles, DataContract.GetClrTypeFullName(obj.GetType()))); 498throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.UnknownXmlType, DataContract.GetClrTypeFullName(obj.GetType()))); 518var serInfo = new SerializationInfo(objType, XmlObjectSerializer.FormatterConverter /*!UnsafeTypeForwardingEnabled is always false*/); 583XmlObjectSerializer.WriteNull(xmlWriter); 605throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ResolveTypeReturnedFalse, DataContract.GetClrTypeFullName(DataContractResolver.GetType()), DataContract.GetClrTypeFullName(objectType))); 615throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ResolveTypeReturnedNull, DataContract.GetClrTypeFullName(DataContractResolver.GetType()), DataContract.GetClrTypeFullName(objectType))); 620throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ResolveTypeReturnedNull, DataContract.GetClrTypeFullName(DataContractResolver.GetType()), DataContract.GetClrTypeFullName(objectType))); 629if (!XmlObjectSerializer.IsContractDeclared(contract, declaredContract))
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
31internal XmlObjectSerializerWriteContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject)
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
338throw new XmlException(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, type))); 799throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArrayExceededSizeAttribute, expectedLength, itemName.Value, itemNamespace.Value));
System\Runtime\Serialization\XmlSerializableReader.cs (1)
67throw XmlObjectSerializer.CreateSerializationException(SR.IXmlSerializableIllegalOperation);
System\Runtime\Serialization\XmlSerializableServices.cs (2)
26throw XmlObjectSerializer.CreateSerializationException(SR.UnexpectedEndOfFile); 40throw XmlObjectSerializer.CreateSerializationException(SR.UnexpectedEndOfFile);
System\Runtime\Serialization\XmlSerializableWriter.cs (4)
27throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IXmlSerializableMissingEndElements, (_obj == null ? string.Empty : DataContract.GetClrTypeFullName(_obj.GetType())))); 56throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IXmlSerializableWritePastSubTree, (_obj == null ? string.Empty : DataContract.GetClrTypeFullName(_obj.GetType())))); 64throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.IXmlSerializableWritePastSubTree, (_obj == null ? string.Empty : DataContract.GetClrTypeFullName(_obj.GetType())))); 71throw XmlObjectSerializer.CreateSerializationException(SR.IXmlSerializableIllegalOperation);
System\Runtime\Serialization\XPathQueryGenerator.cs (2)
67throw XmlObjectSerializer.CreateSerializationException(SR.QueryGeneratorPathToMemberNotFound); 83throw XmlObjectSerializer.CreateSerializationException(SR.QueryGeneratorPathToMemberNotFound);
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
28[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.XmlObjectSerializer))]
System.Runtime.Serialization.Xml (1)
artifacts\obj\System.Runtime.Serialization.Xml\Debug\net10.0\System.Runtime.Serialization.Xml.Forwards.cs (1)
15[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.XmlObjectSerializer))]
System.ServiceModel.Primitives (50)
System\ServiceModel\Channels\AddressHeader.cs (6)
40public static AddressHeader CreateAddressHeader(object value, XmlObjectSerializer serializer) 60public static AddressHeader CreateAddressHeader(string name, string ns, object value, XmlObjectSerializer serializer) 122public T GetValue<T>(XmlObjectSerializer serializer) 267private XmlObjectSerializer _serializer; 272public XmlObjectSerializerAddressHeader(object objectToSerialize, XmlObjectSerializer serializer) 280public XmlObjectSerializerAddressHeader(string name, string ns, object objectToSerialize, XmlObjectSerializer serializer)
System\ServiceModel\Channels\Message.cs (5)
121static public Message CreateMessage(MessageVersion version, string action, object body, XmlObjectSerializer serializer) 303public T GetBody<T>(XmlObjectSerializer serializer) 313private T GetBodyCore<T>(XmlDictionaryReader reader, XmlObjectSerializer serializer) 954private XmlObjectSerializer _serializer; 956public XmlObjectSerializerBodyWriter(object body, XmlObjectSerializer serializer)
System\ServiceModel\Channels\MessageFault.cs (6)
35public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer) 40public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer, string actor) 50public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer, string actor, string node) 185public T GetDetail<T>(XmlObjectSerializer serializer) 485private XmlObjectSerializer _serializer; 487public XmlObjectSerializerFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer, string actor, string node)
System\ServiceModel\Channels\MessageHeader.cs (7)
197public static MessageHeader CreateHeader(string name, string ns, object value, XmlObjectSerializer serializer) 202public static MessageHeader CreateHeader(string name, string ns, object value, XmlObjectSerializer serializer, bool mustUnderstand) 207public static MessageHeader CreateHeader(string name, string ns, object value, XmlObjectSerializer serializer, bool mustUnderstand, string actor) 212public static MessageHeader CreateHeader(string name, string ns, object value, XmlObjectSerializer serializer, bool mustUnderstand, string actor, bool relay) 349private XmlObjectSerializer _serializer; 361private XmlObjectSerializerHeader(XmlObjectSerializer serializer, bool mustUnderstand, string actor, bool relay) 390public XmlObjectSerializerHeader(string name, string ns, object objectToSerialize, XmlObjectSerializer serializer, bool mustUnderstand, string actor, bool relay)
System\ServiceModel\Channels\MessageHeaders.cs (2)
978public T GetHeader<T>(string name, string ns, XmlObjectSerializer serializer) 1007public T GetHeader<T>(int index, XmlObjectSerializer serializer)
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
75public virtual XmlObjectSerializer CreateSerializer(Type type, string name, string ns, IList<Type> knownTypes) 89public virtual XmlObjectSerializer CreateSerializer(Type type, XmlDictionaryString name, XmlDictionaryString ns, IList<Type> knownTypes)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
401XmlObjectSerializer serializerLocal = _serializerFactory.CreateSerializer(dataContractType, headerDescription.Name, headerDescription.Namespace, _knownTypes); 608private XmlObjectSerializer _serializer; 637public XmlObjectSerializer Serializer 655public object ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
System\ServiceModel\Dispatcher\FaultFormatter.cs (5)
46XmlObjectSerializer serializer = null; 77protected virtual XmlObjectSerializer GetSerializer(Type detailType, string faultExceptionAction, out string action) 129XmlObjectSerializer serializer = faultInfo.Serializer; 198private static MessageFault CreateMessageFault(XmlObjectSerializer serializer, FaultException faultException, Type detailType) 220public OperationFault(XmlObjectSerializer serializer, FaultException<T> faultException) :
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (2)
37protected override XmlObjectSerializer GetSerializer(Type detailType, string faultExceptionAction, out string action) 91XmlObjectSerializer serializer = faultInfo.Serializer;
System\ServiceModel\Security\RequestSecurityToken.cs (1)
396public T GetAppliesTo<T>(XmlObjectSerializer serializer)
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (4)
45private XmlObjectSerializer _appliesToSerializer; 396internal XmlObjectSerializer AppliesToSerializer 473public void SetAppliesTo<T>(T appliesTo, XmlObjectSerializer serializer) 504public T GetAppliesTo<T>(XmlObjectSerializer serializer)
System\ServiceModel\Security\TrustDriver.cs (2)
106public abstract T GetAppliesTo<T>(RequestSecurityToken rst, XmlObjectSerializer serializer); 108public abstract T GetAppliesTo<T>(RequestSecurityTokenResponse rstr, XmlObjectSerializer serializer);
System\ServiceModel\Security\WSTrust.cs (4)
413private T GetAppliesTo<T>(XmlElement rootXml, XmlObjectSerializer serializer) 418public override T GetAppliesTo<T>(RequestSecurityToken rst, XmlObjectSerializer serializer) 423public override T GetAppliesTo<T>(RequestSecurityTokenResponse rstr, XmlObjectSerializer serializer) 914private void WriteAppliesTo(object appliesTo, Type appliesToType, XmlObjectSerializer serializer, XmlWriter xmlWriter)
System.ServiceModel.Syndication (12)
System\ServiceModel\Syndication\SyndicationContent.cs (1)
53public static XmlSyndicationContent CreateXmlContent(object dataContractObject, XmlObjectSerializer dataContractSerializer)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (6)
41public SyndicationElementExtension(object dataContractExtension) : this(dataContractExtension, (XmlObjectSerializer)null) 45public SyndicationElementExtension(object dataContractExtension, XmlObjectSerializer dataContractSerializer) 55public SyndicationElementExtension(string outerName, string outerNamespace, object dataContractExtension, XmlObjectSerializer dataContractSerializer) 116public TExtension GetObject<TExtension>(XmlObjectSerializer serializer) 205private readonly XmlObjectSerializer _dataContractSerializer; 211public ExtensionDataWriter(object extensionData, XmlObjectSerializer dataContractSerializer, string outerName, string outerNamespace)
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (3)
64public void Add(string outerName, string outerNamespace, object dataContractExtension, XmlObjectSerializer dataContractSerializer) 100public Collection<TExtension> ReadElementExtensions<TExtension>(string extensionName, string extensionNamespace, XmlObjectSerializer serializer) 217private Collection<TExtension> ReadExtensions<TExtension>(string extensionName, string extensionNamespace, XmlObjectSerializer dcSerializer, XmlSerializer xmlSerializer)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (2)
53public XmlSyndicationContent(string type, object dataContractExtension, XmlObjectSerializer dataContractSerializer) 95public TContent ReadContent<TContent>(XmlObjectSerializer dataContractSerializer)