I'm using FieldInfo.GetValue() calls intensively in custom serializer. This function is really slow.
1) Is there a portable way to speed it up? I don't need any checks done by FieldInfo.GetValue() implementation, I just need to get that value quickly.
Now about a non-portable way. I use Mono. My profiler shows that FieldInfo.GetValue() spends most of time in MonoField.CheckGeneric(). And call to MonoField.GetValueInternal() is really fast but private! Of course I can use reflection to call this private method directly (because I don't that generic check) but call by reflection kills all performance boost.
2) Is it possible to call this private method quickly (w/o reflection overhead and w/o modifying Mono sources to make it public)?