I'm trying to get the compiled op_Implicit
method in my class but I don't seem to be able to get it. I'm currently working with PCL so I'm stuck having to use:
var typeInfoT = typeof (T).GetTypeInfo();
I've tried:
var opImplicitT = typeInfoT.GetDeclaredMethods("op_Implicit").ToList();
... which doesn't work, and on closer inspection during debug I cannot see anything useful to get me closer to the static methods.
There is no way to specify bindings as far as I can tell (see Why doesn't new WSA Reflection API contain methods to get members with particular bindings?).
Is it simply not possible now?
Aucun commentaire:
Enregistrer un commentaire