diff --git a/xml/System.IO/FileStream.xml b/xml/System.IO/FileStream.xml index e0da63c8c47..d0f90b0d83d 100644 --- a/xml/System.IO/FileStream.xml +++ b/xml/System.IO/FileStream.xml @@ -1218,7 +1218,7 @@ The file was too large (when One of the enumeration values that determines how to open or create the file. A bitwise combination of the enumeration values that determines how the file can be accessed by the object. This also determines the values returned by the and properties of the object. is if specifies a disk file. A bitwise combination of the enumeration values that determines how the file will be shared by processes. - A positive value greater than 0 indicating the buffer size. The default buffer size is 4096. + A non-negative value indicating the buffer size. The default buffer size is 4096. In versions earlier than .NET 6, this value must be greater than 0. In .NET 6 and later versions, a value of 0 disables buffering (a value of 1 disables buffering in every version). A bitwise combination of the enumeration values that specifies additional file options. Initializes a new instance of the class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options. @@ -1258,7 +1258,11 @@ The file was too large (when refers to a non-file device, such as "con:", "com1:", or "lpt1:", in a non-NTFS environment. - is negative or zero. + is negative. + + -or- + + is zero in versions earlier than .NET 6. -or-