Unfortunately there is no magic in the
ObsoleteAttribute[
^] class. The compiler service looks for this attribute and displays the warnings in the dialog box.
However, you can raise warnings yourself, like:
public void MyMethod()
{
#warning This method is still in development and is not recommended for production.
}
See
#warning[
^]