public override bool Read ()
{
if (currentTextValue != null)
shouldResetCurrentTextValue = true;
if (currentAttribute >= 0)
MoveToElement ();
currentElement = null;
currentAttribute = -1;
consumedAttribute = false;
attributeCount = 0;
isWhitespace = false;
isSignificantWhitespace = false;
isText = false;
bool b = ReadContent () || currentTextValue != null;
if (!b &&
#if NET_2_0
(Settings == null || (Settings.ValidationFlags & XmlSchemaValidationFlags.ProcessIdentityConstraints) == 0) &&
#endif
this.missingIDReferences.Count > 0) {
this.HandleError ("Missing ID reference was found: " +
String.Join (",", missingIDReferences.ToArray (typeof (string)) as string []),
XmlSeverityType.Error);
// Don't output the same errors so many times.
this.missingIDReferences.Clear ();
}
if (validatingReader != null)
EntityHandling = validatingReader.EntityHandling;
return b;
}