PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Transformation­Adder Class / Aspect­Weaver­Transformation­Adder Methods / Aspect­Weaver­Transformation­Adder.​Add­Null­Transformation Method / Aspect­Weaver­Transformation­Adder.​Add­Null­Transformation Method (IMetadata­Declaration)

AspectWeaverTransformationAdder.AddNullTransformation Method (IMetadataDeclaration)

Adds a null transformation, i.e. a transformation doing nothing.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public void AddNullTransformation(
	IMetadataDeclaration targetElement
)

Parameters

targetElement
Type: PostSharp.Sdk.CodeModel.IMetadataDeclaration
Declaration to which the transformation should be added.
See Also