PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Remove­Task Class / Remove­Task Methods / Remove­Task.​Mark­For­Removal Method

RemoveTask.MarkForRemoval Method

Order a declaration to be removed later by this 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 void MarkForRemoval(
	IRemovable declaration
)

Parameters

declaration
Type: PostSharp.Sdk.CodeModel.IRemovable
The declaration that should be removed.
See Also