-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit PNSE by overwriting comparer type - HybridGlobalization
#96554
Conversation
@@ -17,6 +17,7 @@ | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.Serialization; | |||
using System.Threading; | |||
using System.Globalization; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be reverted
[InlineData(0, 0)] | ||
[InlineData(0, 5)] | ||
[InlineData(10, 0)] | ||
[InlineData(10, 5)] | ||
public void CopyTo(int count, int index) | ||
{ | ||
MyNameObjectCollection nameObjectCollection = Helpers.CreateNameObjectCollection(count); | ||
MyNameObjectCollection nameObjectCollection = Helpers.CreateNameObjectCollection(count); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting
public static void GetAllValues_Invalid() | ||
{ | ||
MyNameObjectCollection nameObjectCollection = new MyNameObjectCollection(); | ||
MyNameObjectCollection nameObjectCollection = PlatformDetection.IsHybridGlobalizationOnBrowser ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert
Alternative to #96541.