PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Instance Class / Aspect­Weaver­Instance Methods / Aspect­Weaver­Instance.​Validate­Target­Type­Signature Method

AspectWeaverInstance.ValidateTargetTypeSignature Method

Validates whether the specified type is supported by this aspect weaver.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
protected bool ValidateTargetTypeSignature(
	ITypeSignature typeSignature
)

Parameters

typeSignature
Type: PostSharp.Sdk.CodeModel.ITypeSignature
The target type to validate.

Return Value

Type: Boolean
true if the specifed type is supported, false otherwise.
Remarks

The meaning of the typeSignature parameter depends on the actual aspect weaver implementation. E.g. it can represent a parameter type for a method level aspect weaver or a property type for a location level aspect weaver.

This method also calls ValidateTargetType(IType) if the typeSignature is IType.

See Also