Skip to content

Interceptor Selectors under CreateClassProxy are provided a System.RuntimeType rather than a System.Type #74

@BitWiseBots

Description

@BitWiseBots

When writing an implementation of an IInterceptorSelector that is dependent on the proxied type I have found that the type argument given to the selector is incorrect; it is being given System.RunTimeType.

I have looked through the code a fair bit but unfortunately have no experience with code emitters so could not pinpoint the source, however the accepted answer on this SO question provides a good minimal reproduction of the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions