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

RemoveTask.IsMarkedForRemoval Method

Determines whether a declaration has been marked for removal.

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 static bool IsMarkedForRemoval(
	IRemovable declaration
)

Parameters

declaration
Type: PostSharp.Sdk.CodeModel.IRemovable
A declaration.

Return Value

Type: Boolean
true if declaration has been marked for removal, otherwise false.
See Also