Skip to content

System.Text.Json based formatters - #8362

Merged
pranavkm merged 6 commits into
masterfrom
prkrishn/formatters
Mar 21, 2019
Merged

pranavkm merged 6 commits into
masterfrom
prkrishn/formatters

Conversation

@pranavkm

@pranavkm pranavkm commented Mar 9, 2019 •

Copy link
Copy Markdown
Contributor

Fixes #7256

@pranavkm
pranavkm requested a review from rynowak March 9, 2019 01:56
@Eilon Eilon added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Mar 10, 2019
@pranavkm
pranavkm force-pushed the prkrishn/formatters branch 4 times, most recently from c0bd648 to 4fe623a Compare March 14, 2019 04:57
@pranavkm
pranavkm marked this pull request as ready for review March 14, 2019 04:57
@pranavkm

Copy link
Copy Markdown
Contributor Author

🆙 📅


if (buffer.Length - offset < count)
{
throw new ArgumentOutOfRangeException(nameof(count));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: Why did you decide on throwing with count? What if offset > buffer.Length and count = 0?

@pranavkm
pranavkm force-pushed the prkrishn/formatters branch from bdc60bf to 377f408 Compare March 20, 2019 23:23
@pranavkm
pranavkm force-pushed the prkrishn/formatters branch from 377f408 to 9cf27be Compare March 21, 2019 16:50
@pranavkm
pranavkm merged commit f5ff181 into master Mar 21, 2019
@pranavkm
pranavkm deleted the prkrishn/formatters branch March 21, 2019 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants