PexExceptionValidatorAttributeBase.IsTargetSiteValid(MethodDefinition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.