-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Issue moved from MicrosoftDocs/feedback#2857
- Please respond to @EamonNerbonne.
From @EamonNerbonne on Friday, June 12, 2020 1:32:02 PM
Describe the bug
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/private-protected
now exists, rendering the docs at https://docs.microsoft.com/en-us/dotnet/api/system.reflection.methodbase.isfamilyandassembly?view=net-5.0 incorrect.
Expected behavior
The note that "The Visual Basic and C# languages cannot define methods with MethodAttributes.FamANDAssem visibility; that access level appears only in the C++ example." is outdated. Instead, the docs should refer to private protected.
The same issue is present at https://docs.microsoft.com/en-us/dotnet/api/system.reflection.fieldinfo.isfamilyandassembly?view=net-5.0#System_Reflection_FieldInfo_IsFamilyAndAssembly too