Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Seal overridden virtual methodSetDefaultFallbacks#100030

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
stephentoub merged 1 commit intodotnet:mainfromxtqqczze:SetDefaultFallbacks
Jul 1, 2024

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczzextqqczze commentedMar 20, 2024
edited
Loading

@dotnet-policy-servicedotnet-policy-servicebot added the community-contributionIndicates that the PR has been added by a community member labelMar 20, 2024
@xtqqczze
Copy link
ContributorAuthor

Build Analysis is green.

@stephentoub
Copy link
Member

Thanks, but what does this improve?

@stephentoubstephentoub added the needs-author-actionAn issue or pull request that requires more info or actions from the author. labelMay 14, 2024
@xtqqczze
Copy link
ContributorAuthor

xtqqczze commentedMay 25, 2024
edited
Loading

Thanks, but what does this improve?

SetDefaultFallbacks is sealed inASCIIEncoding,UTF7Encoding,UTF8Encoding,UnicodeEncoding. This change provides for consistency with these classes and clarifies that the method is not intended to be overridden.

@dotnet-policy-servicedotnet-policy-servicebot removed the needs-author-actionAn issue or pull request that requires more info or actions from the author. labelMay 25, 2024
@xtqqczze
Copy link
ContributorAuthor

@MihuBot

@xtqqczze
Copy link
ContributorAuthor

This change enables inlining ofSetDefaultFallbacks into the ctor:

MihuBot/runtime-utils#386 (comment)

@stephentoub
Copy link
Member

Thanks, but what does this improve?

SetDefaultFallbacks is sealed inASCIIEncoding,UTF7Encoding,UTF8Encoding,UnicodeEncoding. This change provides for consistency with these classes and clarifies that the method is not intended to be overridden.

That's fair. Thanks

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@stephentoubstephentoubstephentoub approved these changes

Assignees

No one assigned

Labels

area-System.Text.Encodingcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@xtqqczze@stephentoub

[8]ページ先頭

©2009-2025 Movatter.jp