HtmlLexicalAnalyzer.GetNextEqualSignToken C# (CSharp) Method

GetNextEqualSignToken() private method

Unconditionally returns equal sign token. Even if there is no real equal sign in the stream, it behaves as if it were there. Does not guarantee token reader advancing.
private GetNextEqualSignToken ( ) : void
return void
    internal void GetNextEqualSignToken()
    {
        Debug.Assert(_nextTokenType != HtmlTokenType.EOF);
        _nextToken.Length = 0;

        _nextToken.Append('=');
        _nextTokenType = HtmlTokenType.EqualSign;

        this.SkipWhiteSpace();

        if (this.NextCharacter == '=')
        {
            // '=' is not in the list of entities, so no need to check for entities here
            this.GetNextCharacter();
        }
    }