Duplicate: Why are the properties of the C # collection not marked obsolete when properties are called on them?
I just migrated the .NET 1.1 project to .NET 2.0 using Visual Studio 2008. I know there are references to deprecated methods in the project.
But Visual Studio does not show "obsolete" -warnings after building. The assembly succeeds and displays only 3 warnings from members who are assigned a value that is never used. When I delete these items, there are no warnings at all.
I NEED THESE “REVERSIBLE" OPTIONS
Warning Level 4 (maximum), warnings enabled.
Just one example:
protected internal DataConnector()
{
_connectionString = ConfigurationSettings.AppSettings["ProductConnectionString"];
}
, "" -warning, .NET Framework.