Use StringComparison.Ordinal
Merge some bugfixes from SharpDevelop to NRefactory.