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

◆ ChangeType() [3/9]

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

Definition at line 162 of file XmlAnyConverter.cs.

163 {
164 if (destinationType == null)
165 {
166 throw new ArgumentNullException("destinationType");
167 }
168 if (destinationType == XmlBaseConverter.ObjectType)
169 {
170 destinationType = base.DefaultClrType;
171 }
172 if (destinationType == XmlBaseConverter.XmlAtomicValueType)
173 {
174 return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Decimal), value);
175 }
177 }
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.