G
Guest
Hi
I've tried to limit access to some properties of externally exposed objects by applying the internal modifier, since the properties are to be modified from elsewhere in there declaring assembly.
However, its the properties seems to be accessable thorugh reflection, by way of GetProperty and SetValue.
I think this must surely be a bug. If not, the internal modifier is useless.
Does anyone know a way to get around this or know if it has been accepted as a bug by Microsoft ?
Regards
Per Millard
I've tried to limit access to some properties of externally exposed objects by applying the internal modifier, since the properties are to be modified from elsewhere in there declaring assembly.
However, its the properties seems to be accessable thorugh reflection, by way of GetProperty and SetValue.
I think this must surely be a bug. If not, the internal modifier is useless.
Does anyone know a way to get around this or know if it has been accepted as a bug by Microsoft ?
Regards
Per Millard