Open mikkelbu opened 5 years ago
Hi @mikkelbu, we're aware of this issue and we're currently doing some infrastructure work to allow this to work.
@mimisasouvanh I believe I have ranked attributes pretty high on the list of things that should be version-aware after we move to SDP. Please confirm.
/cc @dend @TianqiZhang @wh-alice
@mairaw Yes attributes are on the rank as #1 of the priority list of Property Level Versioning.
I discovered this when I was reading up on the SecuritySafeCriticalAttribute class on https://docs.microsoft.com/en-us/dotnet/api/system.security.securitysafecriticalattribute?view=netframework-4.8. This class have the following code snippet which does not make sense since there can only be one
AttributeUsage
on a class.Examining the "code-behind" - https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Security/SecuritySafeCriticalAttribute.xml - reveals that each
AttributeUsage
is for a different moniker. I would have expected that changing the product and version on the page would effect the code snippet such that only the relevantAttributeUsage
was shown. As it is now one can only know the correctAttributeUsage
by examining the xml file.