...when it's a nested type. So you have to do:
I can't even remember what we were doing when we ran into this, which (to me) indicates I'd better blog it before I forget about it altogether.
if(type.IsPublic || type.IsNestedPublic){
// do stuff to public types
}
No comments:
Post a Comment