System.Runtime.CompilerServices.CallerLineNumberAttribute public sealed class CallerLineNumberAttribute : Attribute Allows you to obtain the line number in the source file at which the method is called. Documentation public CallerLineNumberAttribute()