fx\src\data\System\Data\DataTable.cs (45)
309ds.ReadXml(new XmlTextReader( new StringReader( strData ) ), XmlReadMode.DiffGram);
5042public XmlReadMode ReadXml(Stream stream)
5045return XmlReadMode.Auto;
5055public XmlReadMode ReadXml(TextReader reader)
5058return XmlReadMode.Auto;
5070public XmlReadMode ReadXml(string fileName)
5086public XmlReadMode ReadXml(XmlReader reader)
5117internal XmlReadMode ReadXml(XmlReader reader, bool denyResolving)
5130XmlReadMode ret = XmlReadMode.Auto;
5169return XmlReadMode.DiffGram;
5178return XmlReadMode.DiffGram;
5187return XmlReadMode.ReadSchema; //since the top level element is a schema return
5194return XmlReadMode.ReadSchema; //since the top level element is a schema return
5234return XmlReadMode.DiffGram;
5268ret = XmlReadMode.DiffGram;
5283ret = XmlReadMode.ReadSchema;
5285ret = XmlReadMode.IgnoreSchema;
5323internal XmlReadMode ReadXml(XmlReader reader, XmlReadMode mode, bool denyResolving)
5331XmlReadMode ret = mode;
5354if ((mode != XmlReadMode.Fragment) && (reader.NodeType == XmlNodeType.Element))
5369if (mode == XmlReadMode.Fragment) {
5375if ((mode == XmlReadMode.DiffGram) || (mode == XmlReadMode.IgnoreSchema)) {
5379return XmlReadMode.DiffGram;
5396if ((mode != XmlReadMode.IgnoreSchema) && (mode != XmlReadMode.InferSchema)) {
5408if ((mode != XmlReadMode.IgnoreSchema) && (mode != XmlReadMode.InferSchema)) {
5450 if (!fSchemaFound && !fDataFound && (mode != XmlReadMode.IgnoreSchema) && (mode != XmlReadMode.InferSchema)) {
5463if ((mode != XmlReadMode.IgnoreSchema) && (mode != XmlReadMode.InferSchema)) {
5474if ((mode == XmlReadMode.DiffGram) || (mode == XmlReadMode.IgnoreSchema)) {
5478return XmlReadMode.DiffGram;
5483ret = XmlReadMode.DiffGram;
5501if (mode == XmlReadMode.DiffGram) {
5509if (mode == XmlReadMode.InferSchema) { //save the node in DOM until the end;
5518xmlload = new XmlDataLoader(this, fIsXdr, topNode, mode == XmlReadMode.IgnoreSchema);
5530xmlload = new XmlDataLoader(this, fIsXdr, mode == XmlReadMode.IgnoreSchema);
5532if (mode == XmlReadMode.DiffGram) {
5539if (mode == XmlReadMode.InferSchema) {
5975ReadXml(reader, XmlReadMode.DiffGram, true);