86 {
87 [
RequiresUnreferencedCode(
"Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
88 get
89 {
91 {
92 if (
base.UnderlyingType.IsValueType)
93 {
95 {
96 base.UnderlyingType,
97 typeof(XmlDictionaryString),
98 typeof(XmlDictionaryString)
99 });
100 }
101 else
102 {
104 {
105 typeof(XmlWriterDelegator),
106 base.UnderlyingType,
107 typeof(XmlDictionaryString),
108 typeof(XmlDictionaryString)
109 });
110 }
111 }
113 }
114 }
MethodInfo XmlFormatWriterMethod
readonly PrimitiveDataContractCriticalHelper _helper