Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NullPrimitiveDataContract.cs
Go to the documentation of this file.
2using System.Xml;
3
5
7{
8 internal override string ReadMethodName
9 {
10 get
11 {
12 throw new NotImplementedException();
13 }
14 }
15
16 internal override string WriteMethodName
17 {
18 get
19 {
20 throw new NotImplementedException();
21 }
22 }
23
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.")]
30
31 [RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
33 {
34 throw new NotImplementedException();
35 }
36
37 [RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
38 public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context)
39 {
40 throw new NotImplementedException();
41 }
42
43 [RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
48}
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)