You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StringComparer.FromComparison documents comparisonType as a string comparer #13365
StringComparer.FromComparison(StringComparison comparisonType) documents its parameter as "A string comparer instance to convert." (xml/System/StringComparer.xml:708 on main). The parameter is a StringComparison value, not a comparer. The method's summary says it "Converts the specified StringComparison instance to a StringComparer instance".
The same text ships in System.Runtime.xml in the Microsoft.NETCore.App.Ref 10.0 and 11.0.0 reference packs, so IntelliSense shows it too.
Suggested text: "One of the enumeration values that specifies the string comparison to convert."
Activity