PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Event­Declaration Class / Event­Declaration Methods / Event­Declaration.​Get­System­Event Method / Event­Declaration.​Get­System­Event Method

EventDeclaration.GetSystemEvent Method

Gets the system runtime event corresponding to the current event.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public EventInfo GetSystemEvent()

Return Value

Type: EventInfo
The system runtime EventInfo, or null if the current event could not be bound.
See Also