Skip to content

Fix SkipClrVisibilityChecks to notice private fields in base classes #2153

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

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Feb 8, 2025

Fix SkipClrVisibilityChecks to notice private fields in base classes

Fixes #2152

@AArnott AArnott requested review from Copilot and neuecc February 8, 2025 19:02
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

tests/MessagePack.Tests/DynamicObjectResolverTests.cs:830

  • The private field 'baseValue' should be renamed to '_baseValue' to follow the common naming convention for private fields.
private int baseValue;

Copy link
Member

@neuecc neuecc left a comment

Choose a reason for hiding this comment

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

ok, thanks

@neuecc neuecc merged commit a21c201 into master Feb 9, 2025
3 checks passed
@neuecc neuecc deleted the fix2152 branch February 9, 2025 13:02
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.

Error accessing private members of parent class
2 participants