Mono Class Library: System.ObsoleteAttribute Overview | Members

System.ObsoleteAttribute.IsError Property

Gets a bool that indicates whether the compiler treats usage of the target of the current instance as an error. [Edit]

public bool IsError { get; }

Value

true if the compiler treats usage of the target of the current instance as an error; otherwise, false. [Edit]

Remarks

This property is read-only.

The default value of this property is false.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0