API proposal: obsolete DisablePrivateReflectionAttribute #43247
Labels
api-approved
API was approved in API review, it can be implemented
area-System.Runtime.CompilerServices
help wanted
[up-for-grabs] Good issue for external contributors
Milestone
Per #11811, the runtime does not honor
DisablePrivateReflectionAttribute
, and there are no plans to restore this capability. We should obsolete the API.I recommend using a normal
[Obsolete]
attribute with no diagnostic id since there's no real required reading here, nor should people really be suppressing this. They should just remove the attribute. There is no replacement mechanism to restore this functionality.If we really wanted a diagnostic id and the whole breaking change rigamarole that it entails, we could use
SYSLIB0013
. I'll file a separate doc issue regardless of whether we use a unique diagnostic id here.The text was updated successfully, but these errors were encountered: