System.Xml.DtdParser.ParseComment C# (CSharp) Méthode

ParseComment() private méthode

private ParseComment ( ) : void
Résultat void
        private void ParseComment()
        {
            SaveParsingBuffer();
#if !SILVERLIGHT
            try
            {
#endif
                if (SaveInternalSubsetValue)
                {
                    _readerAdapter.ParseComment(_internalSubsetValueSb);
                    _internalSubsetValueSb.Append("-->");
                }
                else
                {
                    _readerAdapter.ParseComment(null);
                }
#if !SILVERLIGHT
            }
            catch (XmlException e)
            {
                if (e.ResString == SR.Xml_UnexpectedEOF && _currentEntityId != 0)
                {
                    SendValidationEvent(XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, null);
                }
                else
                {
                    throw;
                }
            }
#endif
            LoadParsingBuffer();
        }