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

Add ComiledName to members with F# specific naming #372

Merged
merged 4 commits into from
Dec 29, 2015

Conversation

artyomszasa
Copy link
Contributor

F# allows to specify CompiledName for variables/members/etc..
It would be usefull to display the CompiledName -- it is important when accessing the entry from a .NET language other than F# (msdn quote)...

MSDN does so, e.g. https://msdn.microsoft.com/en-us/library/ee370346.aspx

This function is named Map in compiled assemblies. If you are accessing the function from a .NET language other than F#, or through reflection, use this name.

Note:
The compiled names are only added when the CompiledName differs from the DisplayName.

@if (!String.IsNullOrEmpty(it.Details.FormatCompiledName))
{
@:<p>CompiledName: <code>@it.Details.FormatCompiledName</code></p>
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like broken whitespace

@matthid
Copy link
Member

matthid commented Dec 29, 2015

Sure why not. I like it.

@matthid
Copy link
Member

matthid commented Dec 29, 2015

Do you need a fast release with this?

@artyomszasa
Copy link
Contributor Author

Sure it would be nice to see the changes in the release soon. But I don't really need it -- our doc generation setup script can work with both nuget and custom built assemblies.

@matthid matthid merged commit 1fa78ab into fsprojects:master Dec 29, 2015
@matthid
Copy link
Member

matthid commented Dec 29, 2015

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

Successfully merging this pull request may close these issues.

2 participants