-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
string.Join with first element null status #86823
Comments
This should be a bug-to-bug compatibility for .NET Framework. It won't be fixed on .NET Framework, since all applications depends on this bug will be infected. |
None of the issues mentions reversing the decision to backport the "fix". Either way the documentation should be fixed. |
That discussion is from the earliest days of .NET Core, before we decided we were effectively not backporting anything. |
Tagging subscribers to this area: @dotnet/area-system-runtime Issue DetailsReference issue: #5681 PR: dotnet/coreclr#8114 What a debugging nightmare having this behave differently in net6.0 and net48 targets indeed! @stephentoub said:
It seems to me this breaking change has been sneaked in without fulfilling the stated conditions. https://learn.microsoft.com/en-us/dotnet/api/system.string.join?view=net-8.0#system-string-join(system-string-system-object()) still contains the remark and note for .NET 8.0 Preview 4 that empty string should be returned which it isn't, and targetting net481 still does return empty string. Has it been poretd back to desktop? If a quirk setting is available, it should be mentioned in the .NET Framework documentation as well.
|
As per the above, it was determined .NET Framework isn't getting new features like this. |
Reference issue: #5681 PR: dotnet/coreclr#8114
What a debugging nightmare having this behave differently in net6.0 and net48 targets indeed!
@stephentoub said:
It seems to me this breaking change has been sneaked in without fulfilling the stated conditions. https://learn.microsoft.com/en-us/dotnet/api/system.string.join?view=net-8.0#system-string-join(system-string-system-object()) still contains the remark and note for .NET 8.0 Preview 4 that empty string should be returned which it isn't, and targetting net481 still does return empty string. Has it been poretd back to desktop? If a quirk setting is available, it should be mentioned in the .NET Framework documentation as well.
The text was updated successfully, but these errors were encountered: