cannot access private field

class Test2 : Test1
{
}

class Test1
{
Test2 parent = null;

bool CheckRootRoot()
{
if (parent.parent != null)
{
return true;
}
return false;
}
}




how many bugs needed to get a free licence... ;)



Attachment(s):
access.GIF
0
3 comments
Avatar
Permanently deleted user

I submitted this bug into the tracker (http://www.intellij.net/tracker/resharper/viewSCR?publicId=4321 ) and we'll probably fix it in a bugfix release. Thanks!

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com "Develop with pleasure!"

0
Avatar
Permanently deleted user

this error is already in the tracker one week ago

http://www.intellij.net/tracker/resharper/viewSCR?publicId=4248

0

Please sign in to leave a comment.