Closed veroarriola closed 1 year ago
Thanks for the observation @veroarriola
We should add the defaults for all declarations:
class
, struct
, interface
(including record
types): internal
all members (method, field, property, event and indexer): private
I've added this to our backlog for when we next update this article. I've also added the "help wanted" label for anyone that wants to submit a pull request before we make the updates.
@BillWagner
There are some more edge cases:
private
.public
.@BillWagner I will work on this!
Thanks @BartoszKlonowski
I've assigned it to you. I'll watch for a PR.
[Enter feedback here] What is the default access of method? In general, it would be quite useful if you added a table with default access for each component, it is a lot faster to grasp the rules.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.