Skip to content

Stub a method of the parent type #99

Open
@samasama

Description

@samasama

I have a class B that inherits class A, with method A.Id
I created the indirection settings for B non inherited methods and for B.Id

I cannot replace the body for B.Id as in:

bProxy = new PProxyB();
bProxy.Id().Body = @this => 1;

Error: PProxyB does not contain a definition for "Id"

Is there a way to cast bProxy to PProxyA?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions