8 references to DataContractResolver
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
169
if (
DataContractResolver
== null)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (7)
165
if (
DataContractResolver
!= null)
200
if (!WriteClrTypeInfo(xmlWriter, dataContract) &&
DataContractResolver
!= null)
600
if (!
DataContractResolver
.TryResolveType(objectType, declaredType, KnownTypeResolver, out typeName, out typeNamespace))
602
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedFalse, DataContract.GetClrTypeFullName(
DataContractResolver
.GetType()), DataContract.GetClrTypeFullName(objectType))));
612
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedNull, DataContract.GetClrTypeFullName(
DataContractResolver
.GetType()), DataContract.GetClrTypeFullName(objectType))));
617
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ResolveTypeReturnedNull, DataContract.GetClrTypeFullName(
DataContractResolver
.GetType()), DataContract.GetClrTypeFullName(objectType))));
628
bool hasResolver =
DataContractResolver
!= null;