PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message­Location Class / Message­Location Properties / Message­Location.​File Property

MessageLocation.File Property

Gets the name of the file that caused the message.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public string File { get; }

Property Value

Type: String
A full file name, or null if the file name is unknown or not applicable.
See Also