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

Type.IsAssignableFrom reported to be "Not Supported" #399

Closed
AArnott opened this issue Feb 27, 2017 · 5 comments
Closed

Type.IsAssignableFrom reported to be "Not Supported" #399

AArnott opened this issue Feb 27, 2017 · 5 comments

Comments

@AArnott
Copy link
Member

AArnott commented Feb 27, 2017

According to apisof.net, Type.IsAssignableFrom(Type) is available in netstandard2.0. But this command line tool says it's simply "Not supported".

@chlowell
Copy link
Member

apisof.net is correct here. However, when no target netstandard version is specified, ApiPort defaults to 1.6. For it to consider APIs in 2.0, that version must be specified: ApiPort.exe analyze -t ".NET Standard,Version=2.0".

Even so, instead of labeling the API "Not supported", the Excel report should indicate its availability in netstandard2.0.

@AArnott
Copy link
Member Author

AArnott commented Feb 27, 2017

This answer seems to suggest that no API available only in netstandard2.0 will be reported as available in the spreadsheet. But in fact that's not the case. When I use -t ".NET Standard", I see APIs that are simply "not supported" as well as APIs that are available only in .netstandard2.0:

image

@chlowell
Copy link
Member

Sorry if I was unclear above--I agree the inconsistency is a bug; the report should indicate support in 2.0+.

@twsouthwick
Copy link
Member

This probably has a similar root cause as #113

@conniey
Copy link
Member

conniey commented Jun 5, 2017

Duplicate of #113

@conniey conniey closed this as completed Jun 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants