2 types derived from DataContractResolver
Contract.Data.IntegrationTests (1)
DataContractTests.4.1.1.cs (1)
57public class ManagerDataContractResolver : DataContractResolver
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
11internal sealed class KnownTypeDataContractResolver : DataContractResolver
33 references to DataContractResolver
Contract.Data.IntegrationTests (2)
DataContractTests.4.1.1.cs (2)
70public override Type ResolveName(string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver) 82public override bool TryResolveType(Type type, Type declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace)
netstandard (1)
netstandard.cs (1)
1750[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.DataContractResolver))]
System.Private.DataContractSerialization (28)
System\Runtime\Serialization\DataContractResolver.cs (2)
15public abstract bool TryResolveType(Type type, Type? declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString? typeName, out XmlDictionaryString? typeNamespace); 18public abstract Type? ResolveName(string typeName, string? typeNamespace, Type? declaredType, DataContractResolver knownTypeResolver);
System\Runtime\Serialization\DataContractSerializer.cs (9)
29private DataContractResolver? _dataContractResolver; 121DataContractResolver? dataContractResolver, 152DataContractResolver? dataContractResolver, 212public DataContractResolver? DataContractResolver 246internal override void InternalWriteObject(XmlWriterDelegator writer, object? graph, DataContractResolver? dataContractResolver) 304public void WriteObject(XmlDictionaryWriter writer, object? graph, DataContractResolver? dataContractResolver) 346public object? ReadObject(XmlDictionaryReader reader, bool verifyObjectName, DataContractResolver? dataContractResolver) 367internal void InternalWriteObjectContent(XmlWriterDelegator writer, object? graph, DataContractResolver? dataContractResolver) 459internal override object? InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\DataContractSerializerSettings.cs (1)
55public DataContractResolver? DataContractResolver { get; set; }
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (2)
23public override bool TryResolveType(Type type, Type? declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString? typeName, out XmlDictionaryString? typeNamespace) 55public override Type? ResolveName(string typeName, string? typeNamespace, Type? declaredType, DataContractResolver knownTypeResolver)
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
94internal void WriteObjectHandleExceptions(XmlWriterDelegator writer, object? graph, DataContractResolver? dataContractResolver) 133internal virtual void InternalWriteObject(XmlWriterDelegator writer, object? graph, DataContractResolver? dataContractResolver) 328internal virtual object? InternalReadObject(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver? dataContractResolver) 350internal object? ReadObjectHandleExceptions(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (4)
29private readonly DataContractResolver? _dataContractResolver; 33DataContractResolver? dataContractResolver) 48internal XmlObjectSerializerContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver) 90protected DataContractResolver? DataContractResolver
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
69internal static XmlObjectSerializerReadContext CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver) 81internal XmlObjectSerializerReadContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
17internal XmlObjectSerializerReadContextComplex(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
34internal static XmlObjectSerializerWriteContext CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver) 41protected XmlObjectSerializerWriteContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? resolver)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
24internal XmlObjectSerializerWriteContextComplex(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver? dataContractResolver)
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.DataContractResolver))]
System.Runtime.Serialization.Xml (1)
artifacts\obj\System.Runtime.Serialization.Xml\Debug\net10.0\System.Runtime.Serialization.Xml.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.DataContractResolver))]