PostSharp / / API Reference / Post­Sharp.​Patterns.​Contracts / Not­Null­Attribute

Class NotNullAttribute

Inheritance
NotNullAttribute
Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common.dll
Syntax
[HasConstraint]
public sealed class NotNullAttribute : LocationContractAttribute, ILocationLevelAspect, IAspect

Constructors

Name Description
NotNullAttribute()

Methods

Name Description
GetErrorMessage()
ValidateValueDynamic(Object, String, LocationKind, LocationValidationContext)