diff --git a/xml/System.IO/Directory.xml b/xml/System.IO/Directory.xml
index c0d3628588b..2bf80af0a35 100644
--- a/xml/System.IO/Directory.xml
+++ b/xml/System.IO/Directory.xml
@@ -235,8 +235,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The network name is not known.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -324,8 +323,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The network name is not known.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -441,8 +439,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The directory is being used by another process.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -553,8 +550,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The directory is being used by another process.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -629,9 +625,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The and methods differ as follows: When you use , you can start enumerating the collection of names before the whole collection is returned; when you use , you must wait for the whole array of names to be returned before you can access the array. Therefore, when you are working with many files and directories, can be more efficient.
- The returned collection is not cached; each call to the on the collection will start a new enumeration.
-
-
+ The returned collection is not cached; each call to the on the collection will start a new enumeration.
## Examples
The following example enumerates the top-level directories in a specified path.
@@ -641,8 +635,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
@@ -729,8 +722,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters with the method.
-or-
@@ -813,8 +805,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -909,8 +900,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1007,8 +997,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
@@ -1100,8 +1089,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1186,8 +1174,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1290,8 +1277,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1377,8 +1363,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
is .
@@ -1465,8 +1450,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1557,8 +1541,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1657,8 +1640,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1982,8 +1964,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2067,8 +2048,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2235,8 +2215,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2330,8 +2309,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
@@ -2414,8 +2392,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
@@ -2506,8 +2483,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -2601,8 +2577,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2701,8 +2676,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
A network error has occurred.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2812,8 +2786,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
A network error has occurred.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
@@ -2912,8 +2885,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
A network error has occurred.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using .
-or-
@@ -3011,8 +2983,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
@@ -3117,8 +3088,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with .
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3221,8 +3191,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
@@ -3314,8 +3283,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
-or-
@@ -3405,8 +3373,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
-
- is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
-or-
@@ -3509,8 +3476,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3595,8 +3561,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3685,8 +3650,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3770,8 +3734,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3930,8 +3893,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The directory specified by is read-only.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length. For more information, see the topic.
@@ -4035,8 +3997,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
The directory or a file within it is being used by another process.
The caller does not have the required permission.
-
- or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
or is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4200,8 +4161,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4279,8 +4239,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4369,8 +4328,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
An I/O error occurred.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4450,8 +4408,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4538,8 +4495,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4623,8 +4579,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4714,8 +4669,7 @@ Directory::CreateDirectory("c:\\Users\\User1\\Public\\Html");
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
was not found (for example, the directory doesn't exist or it is on an unmapped drive).
-
- is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
diff --git a/xml/System.IO/DirectoryInfo.xml b/xml/System.IO/DirectoryInfo.xml
index cceb67d015e..f2294b25a0f 100644
--- a/xml/System.IO/DirectoryInfo.xml
+++ b/xml/System.IO/DirectoryInfo.xml
@@ -163,9 +163,7 @@
> [!CAUTION]
> When you compile a set of characters with a particular cultural setting and retrieve those same characters with a different cultural setting, the characters might not be interpretable, and could cause an exception to be thrown.
- For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/common-i-o-tasks).
-
-
+ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/common-i-o-tasks).
## Examples
The following example uses this constructor to create the specified directory and subdirectory, and demonstrates that a directory that contains subdirectories cannot be deleted.
@@ -179,8 +177,7 @@
is .
The caller does not have the required permission.
-
- contains invalid characters such as ", <, >, or |.
+ .NET Framework and .NET Core versions older than 2.1: contains invalid characters such as ", <, >, or |.
The specified path, file name, or both exceed the system-defined maximum length.
File and Stream I/O
@@ -337,10 +334,8 @@ namespace ConsoleApp
]]>
- The directory specified by is read-only or is not empty.
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2282,9 +2277,7 @@ namespace ConsoleApp
-
--
-
-
+-
## Examples
The following example counts the directories in a path that contain the specified letter.
@@ -2295,8 +2288,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
@@ -2375,8 +2367,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
@@ -2476,8 +2467,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
@@ -2714,8 +2704,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path is invalid (for example, it is on an unmapped drive).
@@ -2823,8 +2812,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The path is invalid (for example, it is on an unmapped drive).
@@ -2951,8 +2939,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
@@ -3160,8 +3147,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
@@ -3250,8 +3236,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
@@ -3341,8 +3326,7 @@ namespace ConsoleApp
]]>
-
- contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: contains one or more invalid characters defined by the method.
is .
diff --git a/xml/System.IO/File.xml b/xml/System.IO/File.xml
index 121da97519b..e997831a9fd 100644
--- a/xml/System.IO/File.xml
+++ b/xml/System.IO/File.xml
@@ -468,8 +468,7 @@
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -565,8 +564,7 @@
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -755,8 +753,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -850,8 +847,7 @@
]]>
The caller does not have the required permission.
-
- or is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -959,8 +955,7 @@
-or-
is , exists and is hidden, but is not hidden.
-
- or is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -1083,8 +1078,7 @@
-or-
specified a file that is hidden.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -1184,8 +1178,7 @@
-or-
specified a file that is hidden.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -1275,8 +1268,7 @@
-or-
specified a file that is hidden.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -1351,8 +1343,7 @@
-or-
specified a file that is hidden.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -1442,8 +1433,7 @@
-or-
specified a file that is hidden.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -1532,7 +1522,7 @@
]]>
- The parameter is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: The parameter is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
The parameter is .
An invalid drive was specified.
The file described by the parameter could not be found.
@@ -1628,8 +1618,7 @@
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path is invalid (for example, it is on an unmapped drive).
@@ -1736,7 +1725,7 @@
]]>
- The parameter is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: The parameter is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
The parameter is .
An invalid drive was specified.
The file described by the parameter could not be found.
@@ -2071,8 +2060,7 @@
]]>
-
- is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
@@ -2163,8 +2151,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2250,8 +2237,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2339,8 +2325,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2419,8 +2404,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2508,8 +2492,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2588,8 +2571,7 @@
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -2697,8 +2679,7 @@ The following example moves a file.
or is .
-
- or is a zero-length string, contains only white space, or contains invalid characters as defined in .
+ .NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
The caller does not have the required permission.
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid, (for example, it is on an unmapped drive).
@@ -2784,8 +2765,7 @@ The following example moves a file.
was not found.
or is .
-
- or is a zero-length string, contains only white space, or contains invalid characters as defined in .
+ .NET Framework and .NET Core versions older than 2.1: or is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method.
The caller does not have the required permission.
The specified path, file name, or both exceed the system-defined maximum length.
The path specified in or is invalid, (for example, it is on an unmapped drive).
@@ -2877,8 +2857,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3019,8 +2998,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -3129,8 +3107,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
-or-
@@ -3278,8 +3255,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3372,8 +3348,7 @@ The following example moves a file.
]]>
The caller does not have the required permission.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3467,8 +3442,7 @@ The following example moves a file.
-or-
specified a read-only file or directory.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3538,8 +3512,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3682,8 +3655,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3782,8 +3754,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -3978,8 +3949,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4082,8 +4052,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4286,8 +4255,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
is .
@@ -4381,8 +4349,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters as defined by the method.
is .
@@ -4809,8 +4776,7 @@ The following example moves a file.
]]>
-
- is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid.
The specified path, file name, or both exceed the system-defined maximum length.
is in an invalid format.
@@ -4894,8 +4860,7 @@ The following example moves a file.
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -4975,8 +4940,7 @@ The following example moves a file.
]]>
The specified path was not found.
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5056,8 +5020,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5134,8 +5097,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5215,8 +5177,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5293,8 +5254,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5368,8 +5328,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is or the byte array is empty.
The specified path, file name, or both exceed the system-defined maximum length.
@@ -5520,8 +5479,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
Either or is .
is invalid (for example, it is on an unmapped drive).
@@ -5619,8 +5577,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
Either or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
@@ -5713,8 +5670,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters defined by the method.
Either , , or is .
is invalid (for example, it is on an unmapped drive).
@@ -5812,8 +5768,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
Either or is .
The specified path, file name, or both exceed the system-defined maximum length.
The specified path is invalid (for example, it is on an unmapped drive).
@@ -6008,8 +5963,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
@@ -6107,8 +6061,7 @@ The following example moves a file.
]]>
-
- is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
+ .NET Framework and .NET Core versions older than 2.1: is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method.
is .
The specified path, file name, or both exceed the system-defined maximum length.
diff --git a/xml/System.IO/FileInfo.xml b/xml/System.IO/FileInfo.xml
index 70477be543d..4788ae6f2d9 100644
--- a/xml/System.IO/FileInfo.xml
+++ b/xml/System.IO/FileInfo.xml
@@ -182,9 +182,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted.
is .
The caller does not have the required permission.
- The file name is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: The file name is empty, contains only white spaces, or contains invalid characters.
Access to is denied.
The specified path, file name, or both exceed the system-defined maximum length.
@@ -366,8 +364,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted.
]]>
-
- is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
An error occurs, or the destination file already exists.
The caller does not have the required permission.
@@ -456,8 +453,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted.
]]>
-
- is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
An error occurs, or the destination file already exists and is .
The caller does not have the required permission.
@@ -1459,8 +1455,7 @@ The following example demonstrates moving a file to a different location and ren
An I/O error occurs, such as the destination file already exists or the destination device is not ready.
is .
-
- is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The caller does not have the required permission.
is read-only or is a directory.
@@ -1530,8 +1525,7 @@ The following example demonstrates moving a file to a different location and ren
An I/O error occurred, such as the destination device is not ready.
is .
-
- is empty, contains only white spaces, or contains invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is empty, contains only white spaces, or contains invalid characters.
The caller does not have the required permission.
is read-only or is a directory.
diff --git a/xml/System.IO/FileStream.xml b/xml/System.IO/FileStream.xml
index 6b67671081a..f09c1adace6 100644
--- a/xml/System.IO/FileStream.xml
+++ b/xml/System.IO/FileStream.xml
@@ -374,8 +374,7 @@
]]>
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -686,8 +685,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -978,8 +976,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -1179,8 +1176,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -1294,8 +1290,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -1411,8 +1406,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -1515,8 +1509,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-
@@ -1632,8 +1625,7 @@
is .
-
- is an empty string (""), contains only white space, or contains one or more invalid characters.
+ .NET Framework and .NET Core versions older than 2.1: is an empty string (""), contains only white space, or contains one or more invalid characters.
-or-