Posted 18 years ago
by Jake Pearson
-
Software Developer,
Alion Science and Technology

Hi,
I found something that I think is a bug in the parser you released today. It might have been in previous releases, I'm not sure. To reproduce follow these steps:
1. Open the test application.
2. Choose the .NET Language Reflection Quick Start
3. Replace the code in the window with this:4. Put a '.' after the cInstance code at the bottom of the code.
5. You will see a few members show up in the intelliprompt list including the protected members of the C class. The private stuff is hidden, but anything protected shows up in this scenario.
If I am doing something wrong, or don't understand what protected means, please let me know.
thanks,
Jake
I found something that I think is a bug in the parser you released today. It might have been in previous releases, I'm not sure. To reproduce follow these steps:
1. Open the test application.
2. Choose the .NET Language Reflection Quick Start
3. Replace the code in the window with this:
namespace ABC
{
public class A
{
protected C cInstance;
}
public class C
{
private int field1;
protected int field2;
public int field3;
}
public class B : A
{
public B()
{
this.cInstance
}
}
}
5. You will see a few members show up in the intelliprompt list including the protected members of the C class. The private stuff is hidden, but anything protected shows up in this scenario.
If I am doing something wrong, or don't understand what protected means, please let me know.
thanks,
Jake