Skip to content
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

Allow private access specifiers on functions #341

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

saucecontrol
Copy link
Member

private access specifier on a function identifier is getting overridden to internal by the check meant to prevent private on non-nested types.

The XML generator is already doing the right thing.

@@ -3677,7 +3677,7 @@ private bool IsPrimitiveValue(Type type)
{
return IsPrimitiveValue(autoType.CanonicalType);
}
else if (type is BuiltinType builtinType)
Copy link
Member Author

Choose a reason for hiding this comment

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

this was giving a compiler warning for unused variable

@tannergooding tannergooding merged commit 9538cce into dotnet:main Apr 28, 2022
@saucecontrol saucecontrol deleted the funcacc branch April 28, 2022 01:45
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.

2 participants