Compartir a través de


PexExceptionValidatorAttributeBase.IsTargetSiteValid(MethodDefinition) Method

Definition

Determines whether the target method is allowed.

protected:
 abstract bool IsTargetSiteValid(Microsoft::ExtendedReflection::Metadata::MethodDefinition ^ targetSite);
protected abstract bool IsTargetSiteValid (Microsoft.ExtendedReflection.Metadata.MethodDefinition targetSite);
abstract member IsTargetSiteValid : Microsoft.ExtendedReflection.Metadata.MethodDefinition -> bool
Protected MustOverride Function IsTargetSiteValid (targetSite As MethodDefinition) As Boolean

Parameters

targetSite
Microsoft.ExtendedReflection.Metadata.MethodDefinition

The target site.

Returns

Returns Boolean.

Applies to