Partager via


PexDomainAttributeBase.MatchesTarget Method

Definition

Checks whether the target of this attribute matches a given target.

protected:
 virtual bool MatchesTarget(Microsoft::Pex::Framework::Domains::PexDomainTarget target, Microsoft::ExtendedReflection::Metadata::MetadataEntity ^ targetInfo, int targetIndex);
protected virtual bool MatchesTarget (Microsoft.Pex.Framework.Domains.PexDomainTarget target, Microsoft.ExtendedReflection.Metadata.MetadataEntity targetInfo, int targetIndex);
abstract member MatchesTarget : Microsoft.Pex.Framework.Domains.PexDomainTarget * Microsoft.ExtendedReflection.Metadata.MetadataEntity * int -> bool
override this.MatchesTarget : Microsoft.Pex.Framework.Domains.PexDomainTarget * Microsoft.ExtendedReflection.Metadata.MetadataEntity * int -> bool
Protected Overridable Function MatchesTarget (target As PexDomainTarget, targetInfo As MetadataEntity, targetIndex As Integer) As Boolean

Parameters

target
PexDomainTarget

The target.

targetInfo
Microsoft.ExtendedReflection.Metadata.MetadataEntity

The target info.

targetIndex
Int32

Index of the target.

Returns

Applies to