What is the difference b/w using FieldInfo.SetValue vs Type.Type.InvokeMember(fieldName, BindingFlags.SetField, ...) ?
views:
505answers:
1
+2
A:
Type.InvokeMember(fieldName, BindingFlags.SetField, ...) internally calls FieldInfo.SetValue, so there are no differences, except additional checks in Type.InvokeMember
Gagarin
2009-06-18 02:15:55