Skip to content

Types With Internal Abstract Members Cause Issues #277

@JasonBock

Description

@JasonBock

Describe the bug
I added Aspose.Email for the code gen app, and I ran into a type that has an obfuscated name (the assembly was probably run through an obfuscator for....some reason). When that happens and Rocks wants to handle it, bad things happen.

To Reproduce
Try to mock Aspose.Email.Mapi.MapiContactPropertySet

Expected behavior
No issues

Additional context
Offhand I'm not sure what to do here. It's not something I can reproduce because I can't generate a type in C# with a name like 4gbnwbnbspeclmzqvzf8egt7ef2ytrtdMCa(). I may just say, I won't change anything in Rocks, and if this comes up....oh well. There's nothing one could do anyway....well, what I could do, if I can determine if a member name isn't "speakable", then I won't include it in the list of mockable members if it's not abstract.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions