none
How to hide Deprecated / Obsolete methods, properties... ? RRS feed

  • Question

  • I want all deprecated items disappear , out of my suggestion list right now ! How to do it ?
    I am using Unity3D and it has too many obsolete / deprecated APIs !
    Sunday, May 6, 2018 4:02 PM

All replies

  • Do you want to disable the warning?

    If so you can use  both CS0612 and CS0618:

    
    
    #pragma warning disable 612, 618 
    ...
    #pragma warning restore 612, 618 

    Please feel free to let me know if misunderstood it.

     

    Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    Monday, May 7, 2018 5:03 AM