diff --git a/.openpublishing.redirection.core.json b/.openpublishing.redirection.core.json index 0bf161a99e6cf..da503540e5c17 100644 --- a/.openpublishing.redirection.core.json +++ b/.openpublishing.redirection.core.json @@ -494,6 +494,10 @@ "source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/indexofanyvalues-renamed.md", "redirect_url": "/dotnet/core/compatibility/8.0" }, + { + "source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/drive-current-dir-paths.md", + "redirect_url": "/dotnet/core/compatibility/core-libraries/9.0/drive-current-dir-paths" + }, { "source_path_from_root": "/docs/core/compatibility/core-libraries/8.0/optimizeforreading-arg.md", "redirect_url": "/dotnet/core/compatibility/8.0" diff --git a/docs/core/compatibility/8.0.md b/docs/core/compatibility/8.0.md index 61f1d47a9f262..61b0f13a28538 100644 --- a/docs/core/compatibility/8.0.md +++ b/docs/core/compatibility/8.0.md @@ -38,7 +38,6 @@ See [Breaking changes in ASP.NET Core 8](/aspnet/core/breaking-changes/8/overvie | [Base64.DecodeFromUtf8 methods ignore whitespace](core-libraries/8.0/decodefromutf8-whitespace.md) | Behavioral change | | [Boolean-backed enum type support removed](core-libraries/8.0/bool-backed-enum.md) | Behavioral change | | [Complex.ToString format changed to ``](core-libraries/8.0/complex-format.md) | Behavioral change | -| [Drive's current directory path enumeration](core-libraries/8.0/drive-current-dir-paths.md) | Behavioral change | | [Enumerable.Sum throws new OverflowException for some inputs](core-libraries/8.0/enumerable-sum.md) | Behavioral change | | [FileStream writes when pipe is closed](core-libraries/8.0/filestream-disposed-pipe.md) | Behavioral change | | [FindSystemTimeZoneById doesn't return new object](core-libraries/8.0/timezoneinfo-object.md) | Behavioral change | diff --git a/docs/core/compatibility/9.0.md b/docs/core/compatibility/9.0.md index 98a7ca278b8f4..154ba8d1a19c3 100644 --- a/docs/core/compatibility/9.0.md +++ b/docs/core/compatibility/9.0.md @@ -35,6 +35,7 @@ See [Breaking changes in ASP.NET Core 9](/aspnet/core/breaking-changes/9/overvie | [C# overload resolution prefers `params` span-type overloads](core-libraries/9.0/params-overloads.md) | Source incompatible | | | [Creating type of array of System.Void not allowed](core-libraries/9.0/type-instance.md) | Behavioral change | Preview 1 | | [Default `Equals()` and `GetHashCode()` throw for types marked with `InlineArrayAttribute`](core-libraries/9.0/inlinearrayattribute.md) | Behavioral change | Preview 6 | +| [Drive's current directory path enumeration](core-libraries/9.0/drive-current-dir-paths.md) | Behavioral change | Preview 1 | | [EnumConverter validates registered types to be enum](core-libraries/9.0/enumconverter.md) | Behavioral change | Preview 7 | | [FromKeyedServicesAttribute no longer injects non-keyed parameter](core-libraries/9.0/non-keyed-params.md) | Behavioral change | RC 1 | | [IncrementingPollingCounter initial callback is asynchronous](core-libraries/9.0/async-callback.md) | Behavioral change | RC 1 | diff --git a/docs/core/compatibility/core-libraries/8.0/drive-current-dir-paths.md b/docs/core/compatibility/core-libraries/9.0/drive-current-dir-paths.md similarity index 96% rename from docs/core/compatibility/core-libraries/8.0/drive-current-dir-paths.md rename to docs/core/compatibility/core-libraries/9.0/drive-current-dir-paths.md index f0bddbcadb908..0241cef28c49e 100644 --- a/docs/core/compatibility/core-libraries/8.0/drive-current-dir-paths.md +++ b/docs/core/compatibility/core-libraries/9.0/drive-current-dir-paths.md @@ -1,6 +1,6 @@ --- title: "Breaking change: Drive's current directory path enumeration" -description: Learn about the .NET 8 breaking change in core .NET libraries where files are enumerated without a separator after the path when the path is the drive's current directory. +description: Learn about the .NET 9 breaking change in core .NET libraries where files are enumerated without a separator after the path when the path is the drive's current directory. ms.date: 02/09/2024 --- # Drive's current directory path enumeration @@ -39,7 +39,7 @@ C:\Program.cs ## New behavior -Running the same code snippet in .NET 8 and later versions produces output without a separator character in each path. +Running the same code snippet in .NET 9 and later versions produces output without a separator character in each path. ```output Full path of "C:" is C:\Users\myalias\consoleapps\Program. @@ -54,7 +54,7 @@ C:Program.cs ## Version introduced -.NET 8 +.NET 9 ## Type of breaking change diff --git a/docs/core/compatibility/toc.yml b/docs/core/compatibility/toc.yml index ae2ba113163ab..4b7ff711ce731 100644 --- a/docs/core/compatibility/toc.yml +++ b/docs/core/compatibility/toc.yml @@ -336,6 +336,8 @@ items: href: core-libraries/9.0/params-overloads.md - name: Creating type of array of System.Void not allowed href: core-libraries/9.0/type-instance.md + - name: Drive's current directory path enumeration + href: core-libraries/9.0/drive-current-dir-paths.md - name: EnumConverter validates registered types to be enum href: core-libraries/9.0/enumconverter.md - name: "`Equals`/`GetHashCode` throw for `InlineArrayAttribute` types" @@ -492,8 +494,6 @@ items: href: core-libraries/8.0/bool-backed-enum.md - name: Complex.ToString format changed to `` href: core-libraries/8.0/complex-format.md - - name: Drive's current directory path enumeration - href: core-libraries/8.0/drive-current-dir-paths.md - name: Enumerable.Sum throws new OverflowException for some inputs href: core-libraries/8.0/enumerable-sum.md - name: FileStream writes when pipe is closed