PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelDisposable­AttributeThrow­Object­Disposed­Exception
Open sandboxFocus

DisposableAttribute.ThrowObjectDisposedException Property

ThrowObjectDisposedException

Determines whether an ObjectDisposedException should be thrown when an attempt is made to access an object that has already been disposed.

Declaration
public bool ThrowObjectDisposedException { get; set; }
Property Value
Type Description
Boolean