I have two functions: Method(A val)
and Method(B val)
, one taking val
of type A
and the other of type B
.
I want to mark Method(A val)
obsolete, so that IDE can highlight the fact that it's obsolete.
I have decorated the method with [Obsolete]
, however, am not seeing it as deprecated.
Am I missing something? From my research, I have only seen examples of creating a brand new method to replace the old one but not seen any example of a overloaded function taking place of the older deprecated one. Any help would be highly appreciated.