PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsCaller­InfoCaller­Info
Open sandboxFocus

CallerInfo Constructor

CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32)

Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column)
Parameters
Type Name Description
System.RuntimeTypeHandle sourceTypeToken
String methodName
String file
Int32 line
Int32 column

CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32, CallerAttributes)

Initializes a new CallerInfo, and uses as a System.RuntimeTypeHandle to specify the source type.

Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type Name Description
System.RuntimeTypeHandle sourceTypeToken

System.RuntimeTypeHandle of the calling type.

String methodName

Name of the calling method.

String file

Path of the source code of the calling code.

Int32 line

Line in file of the caller.

Int32 column

Column in file of the caller.

CallerAttributes attributes

Attributes.

CallerInfo(Type, String, String, Int32, Int32)

Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column)
Parameters
Type Name Description
Type sourceType
String methodName
String file
Int32 line
Int32 column

CallerInfo(Type, String, String, Int32, Int32, CallerAttributes)

Initializes a new CallerInfo, and uses as a Type to specify the source type.

Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column, CallerAttributes attributes)
Parameters
Type Name Description
Type sourceType

Type of the calling type.

String methodName

Name of the calling method.

String file

Path of the source code of the calling code.

Int32 line

Line in file of the caller.

Int32 column

Column in file of the caller.

CallerAttributes attributes

Attributes.