PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / IMulticast­Attribute­Service Interface / IMulticast­Attribute­Service Methods / IMulticast­Attribute­Service.​Has­Has­Inherited­Attribute­Attribute Method

IMulticastAttributeService.HasHasInheritedAttributeAttribute Method

Returns true if the declaration has logically inherited attributes (recognized by the presence of [HasInheritedAttribute]).

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#
bool HasHasInheritedAttributeAttribute(
	MetadataDeclaration targetElement
)

Parameters

targetElement
Type: PostSharp.Sdk.CodeModel.MetadataDeclaration

[Missing <param name="targetElement"/> documentation for "M:PostSharp.Sdk.Extensibility.Tasks.IMulticastAttributeService.HasHasInheritedAttributeAttribute(PostSharp.Sdk.CodeModel.MetadataDeclaration)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.Extensibility.Tasks.IMulticastAttributeService.HasHasInheritedAttributeAttribute(PostSharp.Sdk.CodeModel.MetadataDeclaration)"]

See Also