[233] InternalsVisibleTo()


BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, there's a bug when trying to rename a member of a class that
comes from an InternalsVisibleTo() assembly.

The rename goes correctly but references in the friend assembly are not
updated.

In the attached zip, the RS.OtherAssembly is a friend of RS.Test. If you
rename the Method() method (yay!) while editing
Rs.OtherAssembly.OtherTest, the method gets renamed but its reference in
the constructor does not.

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFENudkvooSiBfQCSoRAgu/AJ4hvsi/jrQApJqjPlTVJex3y/lMEACeONrD
4XnK/XX5L96T99KVCLNXNDI=
=+g9U
-


END PGP SIGNATURE-----

2 comments
Comment actions Permalink

Pablo,

I added a request to tracker:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=22364
It will be really great if next time you do so yourself.
The problem is much easier to track that way for both you and me.

Friendly,
Dmitry

Pablo Montilla wrote:

---BEGIN PGP SIGNED MESSAGE---
Hash: SHA1

Hello, there's a bug when trying to rename a member of a class that
comes from an InternalsVisibleTo() assembly.

The rename goes correctly but references in the friend assembly are not
updated.

In the attached zip, the RS.OtherAssembly is a friend of RS.Test. If you
rename the Method() method (yay!) while editing
Rs.OtherAssembly.OtherTest, the method gets renamed but its reference in
the constructor does not.

Regards,
Pablo
---BEGIN PGP SIGNATURE---
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFENudkvooSiBfQCSoRAgu/AJ4hvsi/jrQApJqjPlTVJex3y/lMEACeONrD
4XnK/XX5L96T99KVCLNXNDI=
=+g9U
---END PGP SIGNATURE---



--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"

0
Comment actions Permalink

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitry Lomov (JetBrains) wrote:

Pablo,

I added a request to tracker:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=22364
It will be really great if next time you do so yourself.
The problem is much easier to track that way for both you and me.

Friendly,
Dmitry

OK, OK, I've been requested many times to do this. The fact is that it
is much easier for me to post it here...;) And I prefer the threads in
the newsgroup to track it. It all comes to laziness in the end...will
try to make it next time.

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEOk1jvooSiBfQCSoRAlYjAKDFDHzmP9zlrm0mLY/HhwIzSoRQ/gCgjlij
0Hrdl/WAc6Et27SrswDMJLQ=
=zuGp
-


END PGP SIGNATURE-----

0

Please sign in to leave a comment.