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

Implementing IConvertible #596

Merged
merged 4 commits into from
Feb 4, 2019
Merged

Conversation

tmilnthorp
Copy link
Collaborator

No description provided.

@angularsen
Copy link
Owner

Ok, this is kinda neat! A bit unsure about converting to numbers like this, but hey, I guess it's the caller's funeral if they convert to number type and expected a different value :-) Is there any good way to communicate what to expect here? I don't see where to put that xmldoc though. Remarks on the class maybe?

@tmilnthorp
Copy link
Collaborator Author

Exactly. I think it implementing IConvertible should be enough really, but we can add a remark. I guess I could add inheritdoc on each of the methods too.

@tmilnthorp
Copy link
Collaborator Author

I can actually see the doc even without inheritdoc. I guess because the LHS is IConvertible when you do so anyways, it gets it from there.

@angularsen
Copy link
Owner

Ok nice, there's a merge conflict here, but other than that you can just merge it.

@tmilnthorp
Copy link
Collaborator Author

Sounds good.

@tmilnthorp tmilnthorp merged commit 751bf32 into angularsen:master Feb 4, 2019
@angularsen
Copy link
Owner

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