Specify StringComparison in call to Equals

This commit is contained in:
Sam Harwell 2014-06-30 23:26:35 -05:00
parent 1e851dc565
commit f3efcaf09c
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ namespace Antlr4.Runtime.Tree.Pattern
} }
else else
{ {
if (t1.GetText().Equals(t2.GetText())) if (t1.GetText().Equals(t2.GetText(), StringComparison.Ordinal))
{ {
} }
else else