This question is for the developers of .NET.
I have been throughly testing the framework on many levels, and I found an error I need clarified; if it's me or the framework.
I have an Indexed Property which is used to send credentials to determine if a property can be accessed get/set I end up with a strange error which tells me that the index cannot be qualified (Null Reference) and if I debug and step into where the code breaks and quick highlight the code; it says the null reference exception; however if I QucikView or Add To Watch, it says it also, but if I step into each layer of the credentials it qualifies and allows for it.
I have to think this is a runtime issue.
The Example I use is
In this case I am sending user data (Name/Password etc..)
So the code looks like this
Initially it will say that the result is "Null Referenced"; but if I step into each layer seperately
It will qualify, any ideas? This is very pseudo code; don't take it literal just to give you an idea of what I am doing.
I have been throughly testing the framework on many levels, and I found an error I need clarified; if it's me or the framework.
I have an Indexed Property which is used to send credentials to determine if a property can be accessed get/set I end up with a strange error which tells me that the index cannot be qualified (Null Reference) and if I debug and step into where the code breaks and quick highlight the code; it says the null reference exception; however if I QucikView or Add To Watch, it says it also, but if I step into each layer of the credentials it qualifies and allows for it.
I have to think this is a runtime issue.
The Example I use is
VB.NET:
Class SomeObject2
Property LastVar as Object
End Class
Class SomeObject1
Property SomeVar as new SomeObject2
End Class
Property SomeVarA as SomeObject1
Property LookUpVar(IndexedProperty as SomeVarA) as Object
In this case I am sending user data (Name/Password etc..)
So the code looks like this
VB.NET:
LookUpVar(SecurityPass)
Initially it will say that the result is "Null Referenced"; but if I step into each layer seperately
VB.NET:
IndexedProperty
IndexedProperty.SomeVar
IndexedProperty.SomeVar.LastVar
It will qualify, any ideas? This is very pseudo code; don't take it literal just to give you an idea of what I am doing.