R# can not find public properties with a private setter across assemblies.
If I have a public property in an assembly and mark the setter private, R# does not find the (readonly) property in other assemblies. I.E.
]]>
Assembly 1 (Class Library)
namespace Assembly1 {
public class Class1 {
private string _test;
public string Test { get {return test;} private set {test = value;} }
}
}
Assembly 2 (any type - file reference to Assembly 1)
using Assemly1;
namespace Assembly2 {
public class Class2 {
private Class1 c1 = new Class1();
private string _test1 = c1.| <- at this point R# does not find Test
}
}
</code>
Note that this works if Class1 is in the same assembly as Class2.
Please sign in to leave a comment.
Thank you for the report.
This will be fixed shortly
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"David Williams" <no_reply@jetbrains.com> wrote in message
news:14291980.1144950259906.JavaMail.itn@is.intellij.net...
>
>
>
>
>
>