CallerInfo(RuntimeTypeHandle, string, string, int, int)
Initializes a new instance of the CallerInfo struct specifying the source type as a RuntimeTypeHandle.
Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
RuntimeTypeHandle | sourceTypeToken | RuntimeTypeHandle of the calling type. |
string | methodName | Name of the calling method. |
string | file | Path of the source code of the calling code. |
int | line | Line in |
int | column | Column in |
CallerInfo(Type, string, string?, int, int)
Initializes a new instance of the CallerInfo struct specifying the source type as a Type.
Declaration
public CallerInfo(Type sourceType, string methodName, string? file, int line, int column)
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. |
int | line | Line in |
int | column | Column in |