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

◆ ChangeType() [6/9]

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

Definition at line 213 of file XmlAnyConverter.cs.

214 {
215 if (destinationType == null)
216 {
217 throw new ArgumentNullException("destinationType");
218 }
219 if (destinationType == XmlBaseConverter.ObjectType)
220 {
221 destinationType = base.DefaultClrType;
222 }
223 if (destinationType == XmlBaseConverter.XmlAtomicValueType)
224 {
225 return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Long), value);
226 }
228 }
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.