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

◆ CreateInvalidClrMappingException()

new Exception System.Xml.Schema.XmlListConverter.CreateInvalidClrMappingException ( Type sourceType,
Type destinationType )
inlineprivateinherited

Definition at line 261 of file XmlListConverter.cs.

262 {
264 {
265 return new InvalidCastException(System.SR.Format(System.SR.XmlConvert_TypeListBadMapping, base.XmlTypeName, sourceType.Name));
266 }
267 return new InvalidCastException(System.SR.Format(System.SR.XmlConvert_TypeListBadMapping2, base.XmlTypeName, sourceType.Name, destinationType.Name));
268 }
static string XmlConvert_TypeListBadMapping2
Definition SR.cs:380
static string XmlConvert_TypeListBadMapping
Definition SR.cs:378
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.SR.Format(), System.SR.XmlConvert_TypeListBadMapping, and System.SR.XmlConvert_TypeListBadMapping2.

Referenced by System.Xml.Schema.XmlListConverter.ChangeListType(), and System.Xml.Schema.XmlUntypedConverter.ChangeListType().