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: (
protected bool ValidateTargetTypeSignature(
	ITypeSignature typeSignature


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

Return Value

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

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