PostSharp 6.7 / / 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: 6.7.12.0 (6.7.12.0)
Syntax
C#
public string File { get; }

Property Value

Type: String
Absolute path to the file or null if the file name is unknown or not applicable.
See Also