Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for .net6.0, netstandard2.1 #128

Open
AceCoderYoda opened this issue Aug 23, 2022 · 2 comments
Open

Support for .net6.0, netstandard2.1 #128

AceCoderYoda opened this issue Aug 23, 2022 · 2 comments

Comments

@AceCoderYoda
Copy link

Add support for .net6.0 (at least) and (optional) netstandard2.1

@dnperfors
Copy link
Contributor

dnperfors commented Feb 25, 2023

Care to explain why this would be needed? In both cases you can reference netstandard 2.0 packages...
(Although it is rather easy to add, but adds extra work when new .net versions come out...)

@FolkerKinzel
Copy link

First of all thanks for this excellent library.

Support for netstandard2.1 would allow to support nullable reference types.

With object o = default(OneOf<string, int>).Value; the non nullable object o is null without any compiler warning.

(Don't fear to support nullable reference types together with compatibility for old versions. There are nuget packages like Nullable that enable compatibility with older framework versions.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants