Skip to content

Commit 18a7791

Browse files
Remove file summary (#49910)
* Update access-modifiers.md Added description for file access type modifier * Revise access modifiers summary table Updated the summary table for access modifiers to include 'file' accessibility. * Update docs/csharp/programming-guide/classes-and-structs/access-modifiers.md --------- Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
1 parent e6dfff8 commit 18a7791

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/csharp/programming-guide/classes-and-structs/access-modifiers.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ The [`record`](../../language-reference/builtin-types/record.md) modifier on a t
2222

2323
## Summary table
2424

25-
| Caller's location | `public` | `protected internal` | `protected` | `internal` | `private protected` | `private` | `file` |
26-
|--|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
27-
| Within the file | ✔️️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
28-
| Within the class | ✔️️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ||
29-
| Derived class (same assembly) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |||
30-
| Non-derived class (same assembly) | ✔️ | ✔️ || ✔️ ||||
31-
| Derived class (different assembly) | ✔️ | ✔️ | ✔️ |||||
32-
| Non-derived class (different assembly) | ✔️ |||||||
25+
| Caller's location | `public` | `protected internal` | `protected` | `internal` | `private protected` | `private` |
26+
|--|:-:|:-:|:-:|:-:|:-:|:-:|
27+
| Within the class | ✔️️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
28+
| Derived class (same assembly) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ ||
29+
| Non-derived class (same assembly) | ✔️ | ✔️ || ✔️ |||
30+
| Derived class (different assembly) | ✔️ | ✔️ | ✔️ ||||
31+
| Non-derived class (different assembly) | ✔️ ||||||
3332

3433
The following examples demonstrate how to specify access modifiers on a type and member:
3534

0 commit comments

Comments
 (0)