I'm using MetadataLoadContext to inspect assemblies and wonder if it is possible to detect inheritance for a type? Regular reflections methods IsSubclassOf or IsAssignableFrom does not work. Specifically I would like to check if a type is a delegate without having to do string comparison on the BaseType.Name.
How to: Inspect assembly contents using MetadataLoadContext - .NET
Learn how to use MetadataLoadContext, which is an API that enables you to load .NET assemblies for inspection purposes.
docs.microsoft.com