fsprojects / FSharpx.Extras

Functional programming and other utilities from the original "fsharpx" project
https://fsprojects.github.io/FSharpx.Extras/
The Unlicense
682 stars 146 forks source link

Allow not null implementation of IDisposable in CEs #395

Closed gdziadkiewicz closed 4 years ago

gdziadkiewicz commented 4 years ago

Current implementation backing use! in most of the CEs for the IDisposable implementing type to be null allowing. This is an artificial requirement which limits the usefulness of the code.

This PR amends the implementations to allow type for which null is not a valid value.

gdziadkiewicz commented 4 years ago

Remove WIP commit.