Use StringComparison when comparing strings (#5583)
Use StringComparison when comparing strings (#5583)

* Use StringComparison when comparing strings

* use OrdinalIgnoreCase

Co-authored-by: Lachlan Ennis <f5e96ceb240f4c6b121fe0445b266d7666b5fe0e@expert1.com.au>
cdmihai/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild,cdmihai/msbuild,cdmihai/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,mono/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,mono/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,rainersigwald/msbuild,mono/msbuild,mono/msbuild