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
[WIP] C# 8 nullable reference type support #102
Conversation
fixes #54 tests for NRT
new tests
[Fact] | ||
public void Should_Annotate_OpenGeneric() | ||
{ | ||
AssertPublicApi(typeof(StringNullableList<>), | ||
@"namespace PublicApiGeneratorTests.Examples | ||
{ | ||
public class StringNullableList<T> : System.Collections.Generic.List<T?> | ||
where T : struct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the where T : class
case the interesting one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that it means much, but I can't think of anything else to check. You're awesome, and thanks for all this work!
I don't think it is a good idea to bundle so many things into the same PR. Let's keep this one focused. I'm ok to take this one with 107 and 108 but let's not add more |
Is this still WIP? |
I did not see your messages. Yes, it was at work, but I see that it is time to finish. I rolled back the last commit related to |
@danielmarbach @jnm2 I made a new (final) PR #115 with squashed commits. |
You can always force-push instead of closing the PR and starting a new one. GitHub displays an event describing the force-push with a link to compare before and after. |
Rebased #99
I did not understand how to do rebase right, the branch was deleted and the previous PR closed, I had to create a new one.
fixes #54