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

#7884: Fix on DocFX crashes on method parameter [Optional][DefaultPar… #8208

Merged
merged 4 commits into from
Nov 1, 2022

Conversation

harriev9
Copy link
Contributor

When a default on a double is given as 0 instead of 0d than DocFX fails (exit code <> 0). See the issue number (7884).

On a construct like:

public void Registrate(string BatchName, string UnitId, int UniqueId, double ActualAmount, int ErrorCode,
[Optional][DefaultParameterValue(0)] double ExtraAmount, [Optional][DefaultParameterValue("kg")] string AmountUOM)

DocFX will crash.

…ultParameterValue(0)].

When a default on a double is given as 0 instead of 0d than DocFX fails (exit code <> 0). See the issue number.
@dnfadmin
Copy link

dnfadmin commented Oct 10, 2022

CLA assistant check
All CLA requirements met.

@harriev9 harriev9 closed this Oct 10, 2022
@harriev9 harriev9 reopened this Oct 10, 2022
@herohua herohua added the v2 label Oct 17, 2022
@yufeih yufeih enabled auto-merge (squash) November 1, 2022 03:27
@yufeih yufeih disabled auto-merge November 1, 2022 03:45
@yufeih yufeih merged commit b00e97f into dotnet:dev Nov 1, 2022
@yufeih yufeih added the bug-fix Makes the pull request to appear in "Bug Fixes" section of the next release note label Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix Makes the pull request to appear in "Bug Fixes" section of the next release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants