Surpress Obsolete warnings

  • Thread starter Thread starter Boon
  • Start date Start date
B

Boon

Is there a way to surpress the obsolete warnings on a function being used
inside another function that will be obsolete?

C# has something like

#pragma warning disable 0612
// Call obsolete type/enum member here
#pragma warning restore 0612

Is there a way to do this in VB.net?

Thanks
 
Boon said:
Is there a way to surpress the obsolete warnings on a function being used
inside another function that will be obsolete?

C# has something like

#pragma warning disable 0612
// Call obsolete type/enum member here
#pragma warning restore 0612

Is there a way to do this in VB.net?

No. Warning settings are for the whole project (-> project properties)


Armin
 
Back
Top