PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Caller­Info Structure / Caller­Info Constructor / Caller­Info Constructor (Type, String, String, Int32, Int32)

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

Note: This API is now obsolete.

Initializes a new instance of the CallerInfo class

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
[ObsoleteAttribute("Use the constructor that accepts a CallerAttributes parameter.")]
public CallerInfo(
	Type sourceType,
	string methodName,
	string file,
	int line,
	int column
)

Parameters

sourceType
Type: System.Type
methodName
Type: System.String
file
Type: System.String
line
Type: System.Int32
column
Type: System.Int32
See Also