You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FileStream constructor documentation incorrectly states that bufferSize: 0 throws #13060
For FileStream(string, FileMode, FileAccess, FileShare, int, FileOptions),
the .NET 10 documentation says that bufferSize must be greater than zero
and that zero throws ArgumentOutOfRangeException.
Therefore bufferSize: 0 is valid and disables the internal buffering strategy.
Please correct the parameter description and ArgumentOutOfRangeException documentation.
Activity
dotnet-policy-service commentedon Sep 9, 2026
Tagging subscribers to this area: @dotnet/area-system-io