24 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2026:RequiresUnreferencedCode", Justification =
"This warns because the call to Base has the type annotated with DynamicallyAccessedMembers so it warnswhen looking into the methods of NullPrimitiveDataContract which are annotated with RequiresUnreferencedCodeAttribute. Because this just represents null, we suppress.")]
25 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2111:ReflectionToDynamicallyAccessedMembers", Justification =
"This warns because the call to Base has the type annotated with DynamicallyAccessedMembers so it warnswhen looking into the methods of NullPrimitiveDataContract which are annotated with DynamicallyAccessedMembersAttribute. Because this just represents null, we suppress.")]
31 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
37 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
43 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context)
override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context)
override void WriteXmlElement(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, XmlDictionaryString name, XmlDictionaryString ns)
NullPrimitiveDataContract()
override string WriteMethodName
override string ReadMethodName