PexAssumeNotNullAttribute Class
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.
The test fails if the specified parameter is a null reference.
public ref class PexAssumeNotNullAttribute sealed : Microsoft::Pex::Framework::PexAssumeAttributeBase
[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)]
public sealed class PexAssumeNotNullAttribute : Microsoft.Pex.Framework.PexAssumeAttributeBase
[<System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)>]
type PexAssumeNotNullAttribute = class
inherit PexAssumeAttributeBase
Public NotInheritable Class PexAssumeNotNullAttribute
Inherits PexAssumeAttributeBase
- Inheritance
- Attributes
Remarks
This attribute provides a convenient alternative to IsNotNull(Object) and related overloads.
Constructors
PexAssumeNotNullAttribute() |
A constructor to be used only on target declarations. |
PexAssumeNotNullAttribute(Type, String) |
A constructor for a specified type and public field. |
PexAssumeNotNullAttribute(Type) |
A constructor for a specified type |
Properties
Name |
Gets the name of this package. (Inherited from PexExplorationPackageAttributeBase) |
Methods
AfterExploration(IPexExplorationComponent, Object) |
Callback that is executed after the exploration ends. (Inherited from PexExplorationPackageAttributeBase) |
BeforeExploration(IPexExplorationComponent) |
Callback that is executed before the exploration starts. (Inherited from PexDomainAttributeBase) |
Decorate(Name, IPexDecoratedComponentElement) |
This method can announce filters, focuses, and packages to IntelliTest. (Inherited from PexExplorationPackageAttributeBase) |
GetPreciseType(TypeEx, ICopyable<TypeEx>, Boolean) |
Checks a list of types compatible with this domain. (Inherited from PexAssumeAttributeBase) |
GetTargetType() |
Gets the type of the target. (Inherited from PexDomainAttributeBase) |
Initialize(IPexExplorationEngine) |
Initializes the specified exploration package. May interact with services. (Inherited from PexExplorationPackageAttributeBase) |
Load(IContainer) |
This method provides the opportunity install or substitute services. (Inherited from PexExplorationPackageAttributeBase) |
MatchesTarget(PexDomainTarget, MetadataEntity, Int32) |
Checks whether the target of this attribute matches a given target. (Inherited from PexDomainAttributeBase) |
TryGetInvariant(IPexExplorationComponent, Layout, Converter<Term,Term>) |
Tries to get an invariant. |
UpdateTarget(PexDomainTarget, MetadataEntity, Int32) |
Updates the target of this domain. (Inherited from PexDomainAttributeBase) |
Validate(IPexLog, ICustomAttributeProviderEx, VisibilityContext) |
Validates the attribute in a particular visibility context. (Inherited from PexComponentElementDecoratorAttributeBase) |
ValidateTargetIsDefined(IPexLog, Name) |
Validates that the target is defined. (Inherited from PexAssumeAttributeBase) |
ValidateTargetIsNotNull(IPexLog, Name) |
Validates this attribute in the case that the target may not be null. (Inherited from PexAssumeAttributeBase) |