Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code­Fixes / ICode­Action­Builder / Change­Accessibility­Async

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