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

ParseElementMixedContentNoValidation() private méthode

private ParseElementMixedContentNoValidation ( ) : void
Résultat void
        private void ParseElementMixedContentNoValidation() {
            bool hasNames = false;

            for (;;) {
                switch ( GetToken( false ) ) {
                    case Token.RightParen:
                        if ( GetToken( false ) != Token.Star && hasNames ) {
                            ThrowUnexpectedToken( curPos, "*" );
                        }
                        return;
                    case Token.Or:
                        if ( !hasNames ) {
                            hasNames = true;
                        }
                        if ( GetToken( false ) != Token.QName ) {
                            goto default;
                        }
                        GetNameQualified( true );
                        continue;
                    default:
                        OnUnexpectedError();
                        break;
                }
            }
        }