Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

ApiPort reports TypeInfo.IsClass is not supported in .NET 4.5 #285

Closed
danielturcanu opened this issue Apr 13, 2016 · 2 comments
Closed

ApiPort reports TypeInfo.IsClass is not supported in .NET 4.5 #285

danielturcanu opened this issue Apr 13, 2016 · 2 comments
Assignees
Labels

Comments

@danielturcanu
Copy link

Wrote some small test code
TypeInfo info = IntrospectionExtensions.GetTypeInfo(GetType());
IsClass = info.IsClass;

For this ApiPort reports that TypeInfo.IsClass is not supported in .NET 4.5, but supported in .NET Core.
I can run this code just fine in .NET 4.5 though.

@twsouthwick
Copy link
Member

Thanks @danielturcanu. We know there are some issues around Type/TypeInfo (see #113) and the way we can analyze them via IL. This may be related, but I'll take a look.

@twsouthwick twsouthwick self-assigned this Apr 14, 2016
@twsouthwick
Copy link
Member

Yes, this is related. We think we have a workaround, but we'll track that in the original issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants