forked from jasder/antlr
Specify StringComparison in call to Equals
This commit is contained in:
parent
1e851dc565
commit
f3efcaf09c
|
@ -440,7 +440,7 @@ namespace Antlr4.Runtime.Tree.Pattern
|
|||
}
|
||||
else
|
||||
{
|
||||
if (t1.GetText().Equals(t2.GetText()))
|
||||
if (t1.GetText().Equals(t2.GetText(), StringComparison.Ordinal))
|
||||
{
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue