sdk/dotnet/src/Microsoft.Datasync.Client/Query/OData/ODataExpressionLexer.cs
/// <summary>
/// Reads the stream until the supplied character
/// </summary>
/// <param name="ch">The character to read up to.</param>
/// <returns>The <see cref="QueryToken"/> with the contents read</returns>
Reads the stream until the supplied character
Reads the stream until the supplied character
public QueryToken ReadUntilCharacter(char ch)
        {
            int startPosition = TextPosition;
            AdvanceToNextOccuranceOf(ch);
            Token.Kind = QueryTokenKind.Unknown;
            Token.Text = Text.Substring(startPosition, TextPosition - startPosition);
            Token.Position = startPosition;
            return Token;
        }
public QueryToken ReadUntilCharacter ( char ch ) { int startPosition = TextPosition ; AdvanceToNextOccuranceOf ( ch ) ; Token . Kind = QueryTokenKind . Unknown ; Token . Text = Text . Substring ( startPosition , TextPosition - startPosition ) ; Token . Position = startPosition ; return Token ; }
Reads the stream until the supplied character
Reads the stream until the supplied character
The  with the contents read
The with the contents read
ch
char
The character to read up to.
The character to read up to .