assembly:InternalsVisibleToAttribute not recognized by ReSharper

Hi, i'm using the friends assembly feature of c# 2 to make some internal functions of assembly A visible to assembly B.

Assembly A is written in C++/Cli and has this friend meta property declared
assembly:InternalsVisibleToAttribute("B, PublicKey=xxxxxxx")

this works fine, but ReSharper does not recognize this and shows code errors in his code analyse when i call those internal attributes within the c# Assembly B.

Or, for a fast workaround, can i disable the error "cannot access internal methode 'xx' here" ?

best regards.

1 comment
Comment actions Permalink

ReSharper supports internalsVisibleAttribute. At least, it should :)
Please could you create small sample solution demonstrating this problem and
send it to us?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"studpete" <no_reply@jetbrains.com> wrote in message
news:17457262.1197309270404.JavaMail.itn@is.intellij.net...

Hi, i'm using the friends assembly feature of c# 2 to make some internal
functions of assembly A visible to assembly B.

>

Assembly A is written in C++/Cli and has this friend meta property
declared
assembly:InternalsVisibleToAttribute("B, PublicKey=xxxxxxx")

>

this works fine, but ReSharper does not recognize this and shows code
errors in his code analyse when i call those internal attributes within
the c# Assembly B.

>

Or, for a fast workaround, can i disable the error "cannot access internal
methode 'xx' here" ?

>

best regards.



0

Please sign in to leave a comment.