tunnelvisionlabs / ReferenceAssemblyAnnotator

IL weaver to add nullability annotations to .NET reference assemblies
MIT License
71 stars 8 forks source link

Consider adding MemberNotNullAttribute and MemberNotNullWhenAttribute #84

Open kevinchalet opened 4 years ago

kevinchalet commented 4 years ago

The latest ReferenceAssemblyAnnotator bits don't include the (quite) recent MemberNotNullAttribute and MemberNotNullWhenAttribute. Would it make sense to add them? 😃

MemberNotNullAttribute: https://source.dot.net/#System.Private.CoreLib/NullableAttributes.cs,135 MemberNotNullWhenAttribute: https://source.dot.net/#System.Private.CoreLib/NullableAttributes.cs,160

Thanks!

kevinchalet commented 4 years ago

Alright, let's give it a try 😄