Skip to content

Conversation

@jcviau
Copy link
Contributor

@jcviau jcviau commented Apr 18, 2013

Was throwing for this conditon (if (target != null &&
interfaceToProxy.IsInstanceOfType(target) == false)) at the beginning of
the method. There was no need to check this again.

Also, this call interfaceToProxy.IsInstanceOfType(target) already
validated that in the case of a transparent proxy, the target implement
the interface. The call IsInstanceOfType is done on the real object (not
the transparent proxy created by .net remoting).

Kept the COM code there, but no idea if it's used by anyone since I did
not find any issue/defect for lack of support of COM and it was not
working since release 3.1.0 RC.

TEST

  • Test done on an test application, hard to have a unit test for .net
    remoting issue.
  • Ran Unit Test

…method

Was throwing for this conditon (if (target != null &&
interfaceToProxy.IsInstanceOfType(target) == false)) at the beginning of
the method. There was no need to do check this again.

Also, this call interfaceToProxy.IsInstanceOfType(target) already
validated that in the case of a transparent proxy, the target implement
the interface. The call IsInstanceOfType is done on the real object (not
the transparent proxy created by .net remoting).

Kept the COM code there, but no idea if it's used by anyone since I did
not find any issue/defect for lack of support of COM and it was not
working since release 3.1.0 RC.

TEST
- Test done on an test application, hard to have a unit test for .net
remoting issue.
- Ran Unit Test
jcviau referenced this pull request Apr 18, 2013
Support IChangeProxyTarget on additional interfaces and mixins when using CreateInterfaceProxyWithTargetInterface
@kkozmic
Copy link
Contributor

kkozmic commented Apr 27, 2013

Hmmm, somehow Github doesn't want to show me the changes made in this commit, only the stats (which looks like pretty much every line in the file was changed in some way)...

@jcviau any idea why?

@jcviau
Copy link
Contributor Author

jcviau commented Apr 29, 2013

No idea, probably an issue with my GitHub settings.

I will close this pull request, investigate this and do another one.

@jcviau jcviau closed this Apr 29, 2013
@kkozmic
Copy link
Contributor

kkozmic commented Apr 30, 2013

ok

jonorossi pushed a commit that referenced this pull request May 23, 2017
Think I have net35 working using framework path override
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants