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

◆ ChangeType() [5/9]

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

Definition at line 196 of file XmlAnyConverter.cs.

197 {
198 if (destinationType == null)
199 {
200 throw new ArgumentNullException("destinationType");
201 }
202 if (destinationType == XmlBaseConverter.ObjectType)
203 {
204 destinationType = base.DefaultClrType;
205 }
206 if (destinationType == XmlBaseConverter.XmlAtomicValueType)
207 {
208 return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int), value);
209 }
211 }
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.