Because EnumerableCollection.CopyTo() throws NotSupportedException, the standard Linq extensions .ToArray() and .ToList() will also throw because they internally use .CopyTo(). Is there any reason why .CopyTo() isn't supported?
By the way, I was pulling my hair out trying to come up with my own flavour of IFileSystem before I stumbled across this repo -- thanks for saving me lots of work :)
Because EnumerableCollection.CopyTo() throws NotSupportedException, the standard Linq extensions .ToArray() and .ToList() will also throw because they internally use .CopyTo(). Is there any reason why .CopyTo() isn't supported?
By the way, I was pulling my hair out trying to come up with my own flavour of IFileSystem before I stumbled across this repo -- thanks for saving me lots of work :)