-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Reference issue: #5681 PR: dotnet/coreclr#8114
What a debugging nightmare having this behave differently in net6.0 and net48 targets indeed!
@stephentoub said:
As long as we port the fix back to desktop (under a quirk I guess, in particular since the behavior is documented) and fix the documentation, I'm ok with it.
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.