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

◆ CheckSimpleContentExtension()

XmlSchemaSimpleContentExtension System.Xml.Schema.XmlSchemaInference.CheckSimpleContentExtension ( XmlSchemaComplexType ct)
inlineprivate

Definition at line 824 of file XmlSchemaInference.cs.

825 {
826 if (!(ct.ContentModel is XmlSchemaSimpleContent xmlSchemaSimpleContent))
827 {
828 throw new XmlSchemaInferenceException(System.SR.SchInf_simplecontent, 0, 0);
829 }
830 if (!(xmlSchemaSimpleContent.Content is XmlSchemaSimpleContentExtension result))
831 {
832 throw new XmlSchemaInferenceException(System.SR.SchInf_extension, 0, 0);
833 }
834 return result;
835 }
static string SchInf_simplecontent
Definition SR.cs:1212
static string SchInf_extension
Definition SR.cs:1214
Definition SR.cs:7

References System.Xml.Schema.XmlSchemaComplexType.ContentModel, System.SR.SchInf_extension, and System.SR.SchInf_simplecontent.