-
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
Inconsistent Behavior for Calendars between macOS on Windows #7331
Comments
@tarekgh since I'm not sure you watch the coreclr repo area? |
@danmosemsft Should this have been opened in CoreFX even though the underlying code is in CoreCLR? (asking for future knowledge). |
@vcsjones good question. We've not been super consistent about that. If it's an API change, since that straddles both, certainly in CoreFX. If it's an implementation change in CoreCLR it gets opened in either and we're ok with that right now. We should look at both. |
I'll take a look anyway. thanks |
@vcsjones just to let you know the fix I didn't will make Windows don't throw. the exception throwing was because of the multi-appdomain constraints in the full framework. this condition doesn't exist in coreclr so we shouldn't throw at all. thanks for bringing this issue. |
This (bad) code here behaves differently for Windows and macOS:
On Windows, this throws an exception:
On macOS, an exception is not thrown and it "works".
I understand why the Windows version is throwing, but I was surprised that it did not on macOS. I think the correct behavior is that all platforms should throw the exception.
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
The text was updated successfully, but these errors were encountered: