System.Runtime.CompilerServices.CallerMemberNameAttribute public sealed class CallerMemberNameAttribute : Attribute Allows you to obtain the method or property name of the caller to the method. Documentation public CallerMemberNameAttribute()