Partager via


PexAllowedExceptionAttributeBase.Validate Method

Definition

Validates the attribute in a particular visibility context.

protected:
 override bool Validate(Microsoft::Pex::Engine::Logging::IPexLog ^ log, Microsoft::ExtendedReflection::Metadata::ICustomAttributeProviderEx ^ target, Microsoft::ExtendedReflection::Metadata::VisibilityContext ^ visibilityContextOfGeneratedTests);
protected override bool Validate (Microsoft.Pex.Engine.Logging.IPexLog log, Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx target, Microsoft.ExtendedReflection.Metadata.VisibilityContext visibilityContextOfGeneratedTests);
override this.Validate : Microsoft.Pex.Engine.Logging.IPexLog * Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx * Microsoft.ExtendedReflection.Metadata.VisibilityContext -> bool
Protected Overrides Function Validate (log As IPexLog, target As ICustomAttributeProviderEx, visibilityContextOfGeneratedTests As VisibilityContext) As Boolean

Parameters

log
Microsoft.Pex.Engine.Logging.IPexLog

The log.

target
Microsoft.ExtendedReflection.Metadata.ICustomAttributeProviderEx

The target.

visibilityContextOfGeneratedTests
Microsoft.ExtendedReflection.Metadata.VisibilityContext

The visibility context of generated tests.

Returns

Applies to