ConditionalAttribute Class
Indicates to compilers that a particular method is callable if a specified preprocessing identifier is applied to that method.
Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)
Syntax
[AttributeUsageAttribute]
[SerializableAttribute]
public sealed class ConditionalAttribute : Attribute
Version Information
Available in .NET Micro Framework version 2.0, 2.5