[208] Reported inaccessible but visible
BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello, I didn't see this bug posted, so I assume It's not known.
When you have a partial class that's declared as public in one file, and
declared with default access (I think it's internal) in other file, R#
mistakenly reports it inaccessible from other assemblies, while the
compiler chews it with no problem.
partial class Pepe {}
public partial class Pepe {}
foreach(Pepe p in pepes) {} -> Cannot access internal class 'Pepe' here
Maybe this is something resolved in build 210...as I'm still using Beta2
I can't tell...
Regards,
Pablo
-
BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
iD8DBQFDldFjvooSiBfQCSoRAiKDAKCiqAdT6ZbmgdZ6I5KA4y/lKEWVBACfZf5l
gqmziWHqY9f2BGyK0/SdDIo=
=MPem
-
END PGP SIGNATURE-----
Please sign in to leave a comment.
Hello Pablo,
Thank you for the pointer. This is a known bug in ReSharper and it will be
soon fixed.
Thanks,
Andrey Simanovsky