public class Error { [System.ObsoleteAttribute ("Obsolete method", true)] public void Report (string arg) {} }