76 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
105 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
122 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
150 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
175 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
193 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
214 xmlWriter.WriteStartElement(
"a",
"item",
"item");
218 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
224 xmlWriter.WriteAttributeString(
null,
"type",
null,
"object");
229 xmlWriter.WriteAttributeString(
null,
"type",
null,
"array");
254 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
267 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
278 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
286 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
294 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
302 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
308 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
void Add(TKey key, TValue value)
static bool IsCollectionInterface(Type type)
XmlQualifiedName StableName
static string GetClrTypeFullName(Type type)
static DataContract GetDataContract(Type type)
static Exception ThrowHelperError(Exception e)
static Type TypeOfObjectArray
static Type TypeOfKeyValuePair
static Type TypeOfIEnumerable
static Type TypeOfKeyValue
static Type TypeOfClassDataNode
static Type TypeOfISerializableDataNode
static Type TypeOfXmlDataNode
static Type TypeOfIXmlSerializable
static Type TypeOfCollectionDataNode
static void WriteJsonNull(XmlWriterDelegator writer)
static void WriteJsonValue(JsonDataContract contract, XmlWriterDelegator writer, object graph, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
static void CheckIfTypeIsReference(DataContract dataContract)
static JsonDataContract GetJsonDataContract(DataContract traditionalDataContract)
static readonly XmlDictionaryString itemDictionaryString
static readonly int DataContractXsdBaseNamespaceLength
override void SerializeWithXsiType(XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
static void VerifyObjectCompatibilityWithInterface(DataContract contract, object graph, Type declaredType)
override void WriteArraySize(XmlWriterDelegator xmlWriter, int size)
void WriteJsonISerializable(XmlWriterDelegator xmlWriter, ISerializable obj)
override void WriteNull(XmlWriterDelegator xmlWriter)
void VerifyType(DataContract dataContract, Type declaredType)
XmlDictionaryString CollectionItemName
override DataContract GetDataContractSkipValidation(int typeId, RuntimeTypeHandle typeHandle, Type type)
void WriteTypeInfo(XmlWriterDelegator writer, string typeInformation)
static XmlObjectSerializerWriteContextComplexJson CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract)
readonly EmitTypeInformation _emitXsiType
bool UseSimpleDictionaryFormat
override bool WriteTypeInfo(XmlWriterDelegator writer, DataContract contract, DataContract declaredContract)
static DataContract GetRevisedItemContract(DataContract oldItemContract)
static string TruncateDefaultDataContractNamespace(string dataContractNamespace)
override void WriteExtensionDataTypeInfo(XmlWriterDelegator xmlWriter, IDataNode dataNode)
override void WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle)
bool _perCallXsiTypeAlreadyEmitted
void HandleCollectionAssignedToObject(Type declaredType, ref DataContract dataContract, ref object obj, ref bool verifyKnownType)
static DataContract ResolveJsonDataContractFromRootDataContract(XmlObjectSerializerContext context, XmlQualifiedName typeQName, DataContract rootTypeDataContract)
override DataContract ResolveDataContractFromRootDataContract(XmlQualifiedName typeQName)
override void WriteTypeInfo(XmlWriterDelegator writer, string dataContractName, string dataContractNamespace)
static void WriteJsonNameWithMapping(XmlWriterDelegator xmlWriter, XmlDictionaryString[] memberNames, int index)
IList< Type > SerializerKnownTypeList
override DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle)
override void SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
override DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type)
XmlObjectSerializerWriteContextComplexJson(DataContractJsonSerializer serializer, DataContract rootTypeDataContract)
static bool RequiresJsonTypeInfo(DataContract contract)
readonly bool _useSimpleDictionaryFormat
XmlObjectSerializer serializer
bool IsKnownType(DataContract dataContract, Dictionary< XmlQualifiedName, DataContract > knownDataContracts, Type declaredType)
DataContract GetDataContract(Type type)
bool IgnoreExtensionDataObject
DataContract rootTypeDataContract
ScopedKnownTypes scopedKnownTypes
IList< Type > serializerKnownTypeList
StreamingContext GetStreamingContext()
virtual Type GetSurrogatedType(Type type)
void WriteSerializationInfo(XmlWriterDelegator xmlWriter, Type objType, SerializationInfo serInfo)
bool serializeReadOnlyTypes
void SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, bool verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
void GetObjectData(ISerializable obj, SerializationInfo serInfo, StreamingContext context)
static SerializationException CreateSerializationException(string errorMessage)
static IFormatterConverter FormatterConverter
static string XmlObjectAssignedToIncompatibleInterface
static string CollectionAssignedToIncompatibleInterface
static string Format(string resourceFormat, object p1)
static string EnumTypeNotSupportedByDataContractJsonSerializer
static string ChangingFullTypeNameNotSupported
static string DcTypeNotFoundOnSerialize
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
void Push(Dictionary< XmlQualifiedName, DataContract > dataContractDictionary)