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 support for default keyword for non primitive structs #88

Merged
merged 1 commit into from Sep 17, 2019
Merged

Add support for default keyword for non primitive structs #88

merged 1 commit into from Sep 17, 2019

Conversation

sungam3r
Copy link
Member

I noticed that ApiApprover generates CancellationToken token = null for such common API like public static Task DoSomething(CancellationToken token = default). It's obvious that null is invalid default value for struct.

@sungam3r
Copy link
Member Author

Is anything else required for merging?

@danielmarbach danielmarbach merged commit b576ffb into PublicApiGenerator:master Sep 17, 2019
@sungam3r sungam3r deleted the default-struct-parameter branch September 17, 2019 15:18
@sungam3r
Copy link
Member Author

@danielmarbach Could you please push new package to nuget.org?

@danielmarbach
Copy link
Member

10.0.0-beta1 is on nuget

@danielmarbach danielmarbach added this to the 10.0.0 milestone Nov 27, 2019
@danielmarbach danielmarbach mentioned this pull request Nov 27, 2019
6 tasks
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.

None yet

2 participants