Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ChangeType() [4/9]

override object System.Xml.Schema.XmlAnyConverter.ChangeType ( double value,
Type destinationType )
inline

Definition at line 179 of file XmlAnyConverter.cs.

180 {
181 if (destinationType == null)
182 {
183 throw new ArgumentNullException("destinationType");
184 }
185 if (destinationType == XmlBaseConverter.ObjectType)
186 {
187 destinationType = base.DefaultClrType;
188 }
189 if (destinationType == XmlBaseConverter.XmlAtomicValueType)
190 {
191 return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Double), value);
192 }
194 }
object ChangeTypeWildcardSource(object value, Type destinationType, IXmlNamespaceResolver nsResolver)
XmlBaseConverter(XmlSchemaType schemaType)

References System.Xml.Schema.XmlAnyConverter.ChangeTypeWildcardSource(), System.Xml.Dictionary, System.Xml.Schema.XmlSchemaType.GetBuiltInSimpleType(), System.Xml.Schema.XmlBaseConverter.ObjectType, System.value, and System.Xml.Schema.XmlBaseConverter.XmlAtomicValueType.