Description

[Note: A System.Diagnostics.ConditionalAttribute, which has an associated condition System.Diagnostics.ConditionalAttribute.ConditionString, can be attached to the definition of a method, creating a conditionalmethod. Thereafter, when a compiler encounters a call to that method, it may choose to ignore the call unless a compilation variable is defined at the site of the call, with a value that matches in a case-sensitive manner the System.Diagnostics.ConditionalAttribute.ConditionString supplied to the System.Diagnostics.ConditionalAttribute. Note that compilers may provide several techniques to define such compilation variables, such as: CLS-Compliant compilers are permitted to ignore uses of the System.Diagnostics.ConditionalAttribute ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.