PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Module­Annotation­Provider Class / Module­Annotation­Provider Methods / Module­Annotation­Provider.​Get­Annotations Method

ModuleAnnotationProvider.GetAnnotations Method

Enumerates the custom attribute instances (IAnnotationInstance) provided by the current task.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public IEnumerator<IAnnotationInstance> GetAnnotations()

Return Value

Type: IEnumerator<IAnnotationInstance>
An enumerator of custom attributes provided by the current task.

Implements

IAnnotationProvider.GetAnnotations()
See Also