Open sandboxFocus

Method ChangeAccessibilityAsync

ChangeAccessibilityAsync(IMemberOrNamedType, Accessibility)

Changes the visibility of a type or member.

Declaration
Task ChangeAccessibilityAsync(IMemberOrNamedType targetMember, Accessibility accessibility)
Parameters
Type Name Description
IMemberOrNamedType targetMember
Accessibility accessibility
Returns
Type Description
Task