PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Element­Collection(T) Class/Element­Collection(T) Properties/Element­Collection(T).​Is­Read­Only Property

ElementCollection<T>.IsReadOnly Property

Gets a value indicating whether the ICollection<T> is read-only.

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public virtual bool IsReadOnly { get; }

Return Value

Type: Boolean
true if the ICollection<T> is read-only; otherwise, false.

Implements

ICollection<T>.IsReadOnly
See Also