Task that remove declarations from the module. Typically called immediately before compilation.

Namespace:  PostSharp.Extensibility.Tasks
Assembly:  PostSharp.Core (in PostSharp.Core.dll)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class RemoveTask _
	Inherits Task
C#
public sealed class RemoveTask : Task
Visual C++
public ref class RemoveTask sealed : public Task

Remarks

Declaration removal should be two-phased: first declarations should be marked for removal using the MarkForRemoval(IRemoveable) method, then they are removed, typically immediately before compilation, during task execution.

Inheritance Hierarchy

System..::.Object
  System..::.MarshalByRefObject
    PostSharp.Extensibility..::.Task
      PostSharp.Extensibility.Tasks..::.RemoveTask

See Also