PostSharp 2023.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: 2023.0.3.0 (2023.0.3.0)
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