Skip to content

Commit

Permalink
Exempt MemberNotNullWhen from genapi ref assembly requirements (dotne…
Browse files Browse the repository at this point in the history
…t#70113)

As with MemberNotNull, MemberNotNullWhen is an implementation detail when it refers to a private member (even when attributed on a public API).  The tooling shouldn't require it in reference assemblies, as in such situations it a) isn't meaningful to a consumer and b) leaks implementation details.
  • Loading branch information
stephentoub committed Jun 2, 2022
1 parent 28200d2 commit 2f82cb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eng/DefaultGenApiDocIds.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ T:System.Configuration.ConfigurationPropertyAttribute
T:System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
T:System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute
T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute
T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute
T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute
T:System.Diagnostics.DebuggerBrowsableAttribute
Expand Down

0 comments on commit 2f82cb8

Please sign in to comment.