In the new Reflection API, the TypeInfo.Declared* properties provide access to the members (fields, properties, methods, etc) declared on the type. However, this does not include any members inherited from a base class.
The TypeInfo.GetRuntime*() methods return both declared and inherited members, but are not available on all platforms, including .NETPlatform 5.4 and dnxcore50.
How do I get a list of declared and inherited members on these platforms?
Aucun commentaire:
Enregistrer un commentaire