Class RequiresThreadSafeAttribute
Custom attribute that, when applied to a field, property or parameter, checks that the assigned object is thread safe.
Otherwise, the assignment results in an ArgumentException/
Inheritance
RequiresThreadSafeAttribute
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[MulticastAttributeUsage]
[Serializer]
public sealed class RequiresThreadSafeAttribute : LocationLevelAspect, ILocationLevelAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ILocationValidationAspect<object>, ILocationValidationAspect, IAspect
Constructors
Methods
Explicit Interface Implementations