Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

ccrefgen uses PdbFunction.ReadCustomMetadata_OLD instead of ReadCustomMetadata #33

@krk

Description

@krk

PdbFunction.ReadCustomMetadata_OLD throws when there is an unknown custom metadata.
Roslyn and dynamic local variables introduce metadata types greater than 4 which causes ReadCustomMetadata to throw a PdbDebugException with the message "Unknown custom metadata item kind: {0}"

Repro at https://github.com/krk/CodeContractsRosyln

Note: ccrewrite uses the new ReadCustomMetadata, ccrefgen does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions