Compiler Error CS0582

The Conditional not valid on interface members

ConditionalAttribute is not valid on an interface member.

The following sample generates CS0582:

// CS0582.cs
// compile with: /target:library
using System.Diagnostics;
interface MyIFace
{
   [ConditionalAttribute("DEBUG")]   // CS0582
   void zz();
}