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

Types can be resolved where the constructor has a default parameter, … #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Worthaboutapig
Copy link

…as long as the compiler emitting the type supports default parameters (i.e [Optional]/ System.Reflection.ParameterInfo.IsOptional).

The resolution code checks whether the parameter IsOptional is true and then uses that default, if no parameter value is supplied.

…as long as the compiler emitting the type supports default parameters (i.e [Optional]/ System.Reflection.ParameterInfo.IsOptional).

The resolution code checks whether the parameter IsOptional is true and then uses that default, if no parameter value is supplied.
@Worthaboutapig
Copy link
Author

This commit resolves #50 .

@niemyjski
Copy link
Collaborator

Hello, Could you please fix the unit test conflicts and we'll get this merged in

@Worthaboutapig
Copy link
Author

Ok, thanks, I'll try to sort this soon, but haven't looked at it in ages.

@niemyjski
Copy link
Collaborator

Just checking back to see if you had any time to resolve the conflicts :)

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