Definition at line 1381 of file DataSet.cs.
1382 {
1383 long scopeId = DataCommonEventSource.Log.EnterScope(
"<ds.DataSet.ReadXmlSchema|INFO> {0}, reader, denyResolving={1}",
ObjectID,
denyResolving);
1384 try
1385 {
1386 int depth = -1;
1387 if (reader == null)
1388 {
1389 return;
1390 }
1392 {
1394 }
1397 {
1398 depth = reader.
Depth;
1399 }
1402 {
1403 return;
1404 }
1406 {
1408 return;
1409 }
1411 {
1413 return;
1414 }
1416 {
1417 throw ExceptionBuilder.DataSetUnsupportedSchema("http://www.w3.org/2001/XMLSchema");
1418 }
1421 {
1423 for (
int i = 0;
i < attributeCount;
i++)
1424 {
1426 if (reader.
NamespaceURI.Equals(
"http://www.w3.org/2000/xmlns/"))
1427 {
1429 continue;
1430 }
1434 }
1435 }
1438 {
1440 {
1442 return;
1443 }
1445 {
1447 return;
1448 }
1450 {
1451 throw ExceptionBuilder.DataSetUnsupportedSchema("http://www.w3.org/2001/XMLSchema");
1452 }
1455 }
1459 }
1460 finally
1461 {
1462 DataCommonEventSource.Log.ExitScope(scopeId);
1463 }
1464 }
void ReadXDRSchema(XmlReader reader)
void ReadXSDSchema(XmlReader reader, bool denyResolving)
void ReadEndElement(XmlReader reader)
bool MoveToElement(XmlReader reader, int depth)
string? GetAttribute(string name)
bool MoveToAttribute(string name)
virtual bool HasAttributes
virtual XmlNodeType MoveToContent()
References System.Xml.XmlReader.AttributeCount, System.Data.ExceptionBuilder.DataSetUnsupportedSchema(), System.Xml.XmlReader.Depth, System.Runtime.Serialization.Dictionary, System.Xml.XmlReader.GetAttribute(), System.Xml.XmlReader.HasAttributes, System.Data.InferSchema, System.Xml.XmlReader.LocalName, System.Data.DataCommonEventSource.Log, System.Xml.XmlReader.MoveToAttribute(), System.Xml.XmlReader.MoveToContent(), System.Data.DataSet.MoveToElement(), System.Xml.XmlReader.Name, System.Xml.XmlReader.NamespaceURI, System.Xml.XmlReader.NodeType, System.Data.DataSet.ObjectID, System.Xml.XmlReader.Prefix, System.Xml.XmlReader.Read(), System.Data.DataSet.ReadEndElement(), System.Data.DataSet.ReadXDRSchema(), and System.Data.DataSet.ReadXSDSchema().