Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 229 Bytes

MA0024 - Do not use EqualityComparer<string>.Default

You should use an explicit comparer for string.

EqualityComparer<string>.Default.Equals("a", "b");

// Should be
StringComparer.Ordinal.Equals("a", "b");
You can’t perform that action at this time.