manuelroemer / Nullable

A source code only package which allows you to use .NET's nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
https://www.nuget.org/packages/Nullable
MIT License
186 stars 8 forks source link

Can you add package to support InAttribute for netstandard1.0 as target #23

Closed AlexRadch closed 3 years ago

AlexRadch commented 3 years ago

When I use ref readonly and in parameter in package for netstandard1.0 target, compiler return error Predefined type 'System.Runtime.InteropServices.InAttribute' is not defined or imported.

Can you add new package like Nullable to support ref readonly and in parameter for netstandard1.0.

Thanks.

manuelroemer commented 3 years ago

Hey, sorry to disappoint, but that's something that I'm not going to tackle because I don't have the time/personal need for it at the moment. But please feel free to build on this repository to do it yourself (or my IsExternalInit repo, because it's less complex configuration-wise).