Value
Gets a reference to the value of the current project.
Declaration
public ref T Value { get; }Property Value
| Type | Description |
|---|---|
| T |
Remarks
The property returns a reference, so you can assign the value (local.Value = x) or pass it to
Interlocked (Interlocked.Increment( ref local.Value )).
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | PostSharp is not processing a project. |