Highly used generic types (mostly Collections) pay high cost for every API (method) we add to it.
We should revisit the decisions of adding new APIs (esp. convenience APIs) directly on the type and consider moving them into extension methods instead (in future and potentially revisit those we added during 2.0 and did not publish yet).
Context: see @jkotas's comment and guidance here: dotnet/coreclr#10203 (comment)
Highly used generic types (mostly Collections) pay high cost for every API (method) we add to it.
We should revisit the decisions of adding new APIs (esp. convenience APIs) directly on the type and consider moving them into extension methods instead (in future and potentially revisit those we added during 2.0 and did not publish yet).
Context: see @jkotas's comment and guidance here: dotnet/coreclr#10203 (comment)