Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing metadata from referenced non-F# assemblies #235

Closed
Vidarls opened this issue Oct 14, 2014 · 5 comments
Closed

Missing metadata from referenced non-F# assemblies #235

Vidarls opened this issue Oct 14, 2014 · 5 comments
Labels

Comments

@Vidarls
Copy link

Vidarls commented Oct 14, 2014

Following up on fsprojects/FSharp.Formatting#217 I have some questions regarding getting info on methods (static and instance) from C# types.

The FSharpEntity type have the member MembersFunctionsAndValues, but this one only includes properties from C# types. No methods, static or instance are ever listed here.

I can't seem to find any other way I should have used to get this info.

My question: Is this a feature, bug, or user error?

Also, on C# types and members, the .XmlDocSig is always an empty string.

@matthid
Copy link
Contributor

matthid commented Oct 17, 2014

As mentioned in #229 this is a bug. I can't say much to the .XmlDocSig property but I think this is also a bug/limitation as it would make sense to have it on all assemblies (if possible).

@matthid
Copy link
Contributor

matthid commented Feb 1, 2015

This is now partly fixed with 0.0.82 (methods are now there), however I noticed that private members are still missing in MembersFunctionsAndValues (for non-F# assemblies?). See fsprojects/FSharp.Formatting#259. I'm not sure if this is a natural limitation (because the F# compiler doesn't need private members from a reference) or a bug.

@dsyme
Copy link
Contributor

dsyme commented Feb 1, 2015

Yes, I do recall that some private members get filtered on import - for the reason you mention - I think somewhere at the Abstract IL level, we'd need to search around to find where

@dsyme
Copy link
Contributor

dsyme commented Oct 1, 2015

Fixed in FCS 1.4.0.6

@matthid
Copy link
Contributor

matthid commented Dec 18, 2015

I don't think this is fixed, we still have missing metadata (non-public stuff) and recently one FSF user reported fsprojects/FSharp.Formatting#362

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

No branches or pull requests

5 participants