Add tracking a recursion depth in System.IO.FileSystem (#48148)
* Add tracking a depth recursion in System.IO.FileSystem
* Update src/libraries/System.IO.FileSystem/src/System/IO/EnumerationOptions.cs
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
* Fix docs
* Address feedbacks
* Fix typo
* Add MaxRecursionDepth value check
* Fix net48 build: Add string to MS.IO.Redist resx file
* Fix test and initialization.
* Address feedback
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: David Cantu <dacantu@microsoft.com>