Skip to content

Fix VB default value for class parameters bug#499

Merged
joelmartinez merged 2 commits intomono:developfrom
hiihellox10:xiao/fix-VB-default-value-for-class-parameters
May 27, 2020
Merged

Fix VB default value for class parameters bug#499
joelmartinez merged 2 commits intomono:developfrom
hiihellox10:xiao/fix-VB-default-value-for-class-parameters

Conversation

@hiihellox10
Copy link
Copy Markdown
Contributor

No description provided.

@dnfclas
Copy link
Copy Markdown

dnfclas commented May 23, 2020

CLA assistant check
All CLA requirements met.

Copy link
Copy Markdown
Member

@joelmartinez joelmartinez left a comment

Choose a reason for hiding this comment

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

Very small change requested, but otherwise great work ... thanks! I'll merge this once the fix is made

if (parameter.HasDefault && parameter.IsOptional && parameter.HasConstant)
{
buf.AppendFormat(" = {0}", MDocUpdater.MakeAttributesValueString(parameter.Constant, parameter.ParameterType));
var paramterValue = MDocUpdater.MakeAttributesValueString(parameter.Constant, parameter.ParameterType);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

fix spelling of parameterValue

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@hiihellox10 hiihellox10 requested a review from joelmartinez May 27, 2020 03:15
@joelmartinez joelmartinez merged commit 1e6bd54 into mono:develop May 27, 2020
joelmartinez pushed a commit that referenced this pull request Sep 1, 2020
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.

4 participants