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

Message.LocationFile Property

Note: This API is now obsolete.

Gets the name of the file that caused the message.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: (
[ObsoleteAttribute("Use the Location property.")]
public string LocationFile { get; }

Property Value

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