MessageLocation.Explicit Method (String, Int32, Int32, Int32, Int32) |
Builds a MessageLocation explicitly by specifying a filename, line, and column.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static MessageLocation Explicit( string file, int lineStart, int columnStart, int lineEnd, int columnEnd )
Parameters
- file
- Type: System.String
File name. - lineStart
- Type: System.Int32
Starting line number. - columnStart
- Type: System.Int32
Starting column number. - lineEnd
- Type: System.Int32
Ending line number. - columnEnd
- Type: System.Int32
Ending column number.
Return Value
Type: MessageLocationA MessageLocation.