JinianNet.JNTemplate.Parser.TemplateLexer.GetPrevCharCount C# (CSharp) Method

GetPrevCharCount() private method

private GetPrevCharCount ( Char c ) : int
c Char
return int
        private int GetPrevCharCount(Char c)
        {
            int i = 1;
            while (this._scanner.Read(-i) == c)
            {
                i++;
            }
            return --i;
        }