PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Assume­Immutable­Attribute Class / Assume­Immutable­Attribute Properties / Assume­Immutable­Attribute.​Target­Type Property

AssumeImmutableAttribute.TargetType Property

Gets the targetType that should be assumed immutable, if the AssumeImmutableAttribute(Type) constructor was used.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Type TargetType { get; }

Property Value

Type: Type
See Also