Skip to content

Help: attempting to get access to DynamicallyAccessedMembers but not working #84

@charlesroddie

Description

@charlesroddie

I'm trying to annotate https://github.com/peteroupc/CBOR .
I gather the way to do this is to use PolySharp to get access to DynamicallyAccessedMembers , and install this and set langversion to 11.0. But I did this and it doesn't work. Am I doing this wrong?

Attempt is in: https://github.com/charlesroddie/CBOR/pull/1/files
Build error:

CBOR\PeterO\Cbor\PropertyMap.cs(548,6,548,32): error CS0246: The type or namespace name 'DynamicallyAccessedMembersAttribute' could not be found (are you missing a using directive or an assembly reference?)
CBOR\PeterO\Cbor\PropertyMap.cs(548,6,548,32): error CS0246: The type or namespace name 'DynamicallyAccessedMembers' could not be found (are you missing a using directive or an assembly reference?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    not an issueSomething that's by design or not a real issuequestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions