E
Elmer Miller
Hello,
ArrayList a = new ArrayList();
Type t = a.GetType();
FieldInfo[] InnerList =t.GetFields(BindingFlags.Public |
BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly);
When the above code runs on Compact Framework we get three items: (_items,
_size, _version)
But when you run the code on full framework you get 4 items (_items,
_size,_version,_syncRoot)
I can't figure out why reflection can't see the syncRoot becacuse this
should be supported on the CF.
Any ideas???
ArrayList a = new ArrayList();
Type t = a.GetType();
FieldInfo[] InnerList =t.GetFields(BindingFlags.Public |
BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly);
When the above code runs on Compact Framework we get three items: (_items,
_size, _version)
But when you run the code on full framework you get 4 items (_items,
_size,_version,_syncRoot)
I can't figure out why reflection can't see the syncRoot becacuse this
should be supported on the CF.
Any ideas???