Add MemberNotNull/When attributes (#33567)
authorJulien Couvreur <jcouv@users.noreply.github.com>
Thu, 19 Mar 2020 18:31:17 +0000 (11:31 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Mar 2020 18:31:17 +0000 (14:31 -0400)
commit90ab57c5626df29fbb58e53612defac02833eb8a
tree21fcf1c7e8de4884fe5e3c732841c728149fbf83
parentf80a5147ef7662c3238275568c9dad7655a9684f
Add MemberNotNull/When attributes (#33567)

* Add MemberNotNull/When attributes

* Apply [CLSCompliant(false)]

* Fix typos and indent

* Move [CLSCompliant(false)] and remove AllowMultiple

* Declare attributes in ref file

* Store parameters into readonly properties

* Don't use deconstruction

* Qualify, move properties, remove this
src/libraries/System.Private.CoreLib/src/System/Diagnostics/CodeAnalysis/NullableAttributes.cs
src/libraries/System.Runtime/ref/System.Runtime.cs