Skip to content

MethodBase.IsFamilyAndAssembly docs outdated #4400

@gewarren

Description

@gewarren

Issue moved from MicrosoftDocs/feedback#2857


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

Metadata

Metadata

Labels

Pri3Indicates issues/PRs that are low priorityarea-System.ReflectionbuguntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions