Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/System.Linq.Dynamic.Core/Tokenizer/TextParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/// <summary>
/// TextParser which can be used to parse a text into tokens.
/// </summary>
internal class TextParser
public class TextParser
{
private const char DefaultNumberDecimalSeparator = '.';
private static readonly char[] EscapeCharacters = ['\\', 'a', 'b', 'f', 'n', 'r', 't', 'v'];
Expand All @@ -26,7 +26,7 @@
/// <summary>
/// The current parsed <see cref="Token"/>.
/// </summary>
public Token CurrentToken;

Check warning on line 29 in src/System.Linq.Dynamic.Core/Tokenizer/TextParser.cs

View workflow job for this annotation

GitHub Actions / Linux: Build and Tests

Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)

/// <summary>
/// Constructor for TextParser
Expand Down
Loading