Skip to content

Refactor range metadata - #728

Merged
austindrenski merged 1 commit into
npgsql:devfrom
austindrenski:metadata-ranges
Dec 6, 2018
Merged

Refactor range metadata#728
austindrenski merged 1 commit into
npgsql:devfrom
austindrenski:metadata-ranges

Conversation

@austindrenski

Copy link
Copy Markdown
Contributor

Follows #685.

@roji

roji commented Dec 2, 2018

Copy link
Copy Markdown
Member

Deferring on this until we decide on #685.

@austindrenski
austindrenskiforce-pushed the metadata-ranges branch 2 times, most recently from dee74b9 to d78eff9CompareDecember 2, 2018 16:00
@austindrenski
austindrenskiforce-pushed the metadata-ranges branch 2 times, most recently from 111ecdf to 78067afCompareDecember 6, 2018 21:19
@austindrenski

Copy link
Copy Markdown
ContributorAuthor

@roji This is updated and ready for review. It follows #685, so filter on the last commit for review.

@austindrenski

Copy link
Copy Markdown
ContributorAuthor

Rebased for #685.

roji
roji approved these changes Dec 6, 2018
/// </summary>
/// <param name="annotatable">The annotatable to search for the annotation.</param>
/// <param name="annotationName">The annotation name to search for in the annotatable.</param>
/// <exception cref="ArgumentNullException"><paramref name="annotatable"/></exception>

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.

I don't think these exception xmldocs have much value (not sure I've actually seen them specified in other projects etc.). I'm especially skeptical of documenting each and every internal method, it seems to bloat the source for very little gain...

But let's move on...

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

FWIW, they show up in the on-hover documentation, which is nice for a quick check on whether or not a null parameter is going to throw.

@austindrenski
austindrenski merged commit d644272 into npgsql:devDec 6, 2018
@austindrenski
austindrenski deleted the metadata-ranges branch December 6, 2018 22:07
@rojiroji added cleanup and removed refactor labels May 29, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@austindrenski@roji