sdk/dotnet/src/Microsoft.Datasync.Client/Query/OData/ODataExpressionLexer.cs
/// <summary>
/// Called when the current character is a quote to move
/// beyond the string literal.
/// </summary>
/// <exception cref="ODataException">If the terminating quote character cannot be found.</exception>
Called when the current character is a quote to move
beyond the string literal.
Called when the current character is a quote to move beyond the string literal .
private void CompleteStringLiteral()
        {
            char quote = CurrentChar;
            do
            {
                AdvanceToNextOccuranceOf(quote);
                if (TextPosition == Text.Length)
                {
                    throw new ODataException("The specified OData query has an unterminated string literal.", Text, TextPosition);
                }
                NextChar();
            }
            while (CurrentChar == quote);
        }
private void CompleteStringLiteral ( ) { char quote = CurrentChar ; do { AdvanceToNextOccuranceOf ( quote ) ; if ( TextPosition == Text . Length ) { throw new ODataException ( " " , Text , TextPosition ) ; } NextChar ( ) ; } while ( CurrentChar == quote ) ; }
Called when the current character is a quote to move
beyond the string literal.
Called when the current character is a quote to move beyond the string literal .
If the terminating quote character cannot be found.
If the terminating quote character cannot be found .