Bug 51195 - Fix Obsolete warnings in the class library build
Summary: Fix Obsolete warnings in the class library build
Status: CONFIRMED
Alias: None
Product: Class Libraries
Classification: Mono
Component: General (show other bugs)
Version: master
Hardware: PC Mac OS
: --- enhancement
Target Milestone: Future Release
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-01-03 17:01 UTC by Alexander Köplinger [MSFT]
Modified: 2017-09-08 23:22 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 51195 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Alexander Köplinger [MSFT] 2017-01-03 17:01:30 UTC
Right now there are these 209 CS0618 warnings during the build (some of which are duplicates due to different profiles):

> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> CompileUplevel.cs(943,25): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'ICodeGenerator is > obsolete'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/AuthenticationManager.cs(72,5): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: > 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Diagnostics/Win32EventLog.cs(724,51): warning CS0618: 'WaitHandle.Handle' is obsolete: 'Use the > SafeWaitHandle property instead.'
> System.Diagnostics/FileVersionInfo.cs(148,9): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/FileVersionInfo.cs(282,8): warning CS0618: 'SecurityManager.SecurityEnabled' is obsolete: 'The > security manager cannot be turned off on MS runtime'
> System.Diagnostics/EventLogEntry.cs(172,6): warning CS0618: 'EventLogEntry.EventID' is obsolete: 'Use InstanceId'
> System.Diagnostics/Process.cs(758,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(768,40): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Diagnostics/Process.cs(776,39): warning CS0618: 'FileStream.FileStream(IntPtr, FileAccess, bool, int)' is > obsolete: 'Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead'
> System.Net/HttpWebRequest.cs(137,23): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is obsolete: 'This > method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> /Users/alexander/dev/mono/mcs/class/referencesource/System/net/System/Net/Internal.cs(312,20): warning CS0618: > 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.Net/FtpWebRequest.cs(116,17): warning CS0618: 'GlobalProxySelection' is obsolete: 'This class has been > deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' > instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/EndPointManager.cs(89,27): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry > instead'
> System.Net/Dns.cs(323,11): warning CS0618: 'Socket.SupportsIPv6' is obsolete: 'SupportsIPv6 is obsoleted for this > type, please use OSSupportsIPv6 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(324,11): warning CS0618: 'Socket.SupportsIPv4' is obsolete: 'SupportsIPv4 is obsoleted for this > type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Net/Dns.cs(396,11): warning CS0618: 'Dns.GetHostByName(string)' is obsolete: 'Use GetHostEntry instead'
> System.DirectoryServices/DirectoryEntry.cs(519,4): warning CS0618: 'RecommendedAsConfigurableAttribute' is obsolete: > 'Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.'
> System.DirectoryServices/DirectorySearcher.cs(168,4): warning CS0618: 'RecommendedAsConfigurableAttribute' is > obsolete: 'Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.'
> System.DirectoryServices/DirectorySearcher.cs(315,4): warning CS0618: 'RecommendedAsConfigurableAttribute' is > obsolete: 'Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.'
> System.DirectoryServices/DirectoryEntry.cs(608,57): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is > obsolete: 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.DirectoryServices/DirectoryEntry.cs(627,57): warning CS0618: 'ConfigurationSettings.GetConfig(string)' is > obsolete: 'This method is obsolete, it has been replaced by > System.Configuration!System.Configuration.ConfigurationManager.GetSection'
> System.Runtime.Remoting.MetadataServices/MetaData.cs(64,25): warning CS0618: 'CodeDomProvider.CreateCompiler()' is > obsolete: 'ICodeCompiler is obsolete'
> System.Runtime.Remoting.MetadataServices/MetaData.cs(78,25): warning CS0618: 'CodeDomProvider.CreateCompiler()' is > obsolete: 'ICodeCompiler is obsolete'
> System.Runtime.Remoting.Channels/ChannelCore.cs(60,10): warning CS0618: 'Assembly.LoadWithPartialName(string)' is > obsolete: 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs(72,24): warning CS0618: 'Dns.Resolve(string)' is obsolete: > 'Use GetHostEntry instead'
> System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs(83,13): warning CS0618: 'Dns.GetHostByName(string)' is > obsolete: 'Use GetHostEntry instead'
> System.Runtime.Remoting.Channels.Ipc.Win32/IpcChannelHelper.cs(64,37): warning CS0618: 'Path.InvalidPathChars' is > obsolete: 'see GetInvalidPathChars and GetInvalidFileNameChars methods.'
> System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs(67,6): warning CS0618: > 'RemotingConfiguration.Configure(string)' is obsolete: 'Use Configure(String,Boolean)'
> System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs(92,6): warning CS0618: > 'ChannelServices.RegisterChannel(IChannel)' is obsolete: 'Use RegisterChannel(IChannel,Boolean)'
> System.Runtime.Remoting.Channels.Http/HttpServerChannel.cs(129,31): warning CS0618: 'Dns.Resolve(string)' is > obsolete: 'Use GetHostEntry instead'
> System.Runtime.Remoting.Channels.Http/HttpServerChannel.cs(137,30): warning CS0618: 'Dns.GetHostByName(string)' is > obsolete: 'Use GetHostEntry instead'
> Commons.Xml.Nvdl/NvdlXsdSupport.cs(24,5): warning CS0618: 'XmlSchema.Compile(ValidationEventHandler, XmlResolver)' > is obsolete: 'Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. > http://go.microsoft.com/fwlink/?linkid=14202'
> Commons.Xml.Relaxng/XsdDatatypeProvider.cs(194,4): warning CS0618: 'XmlSchema.Compile(ValidationEventHandler)' is > obsolete: 'Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?> linkid=14202'
> Commons.Xml.Relaxng/XsdDatatypeProvider.cs(217,4): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use XmlReader > created by XmlReader.Create() method using appropriate XmlReaderSettings instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> Commons.Xml.Relaxng/XsdDatatypeProvider.cs(217,32): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use > XmlReader created by XmlReader.Create() method using appropriate XmlReaderSettings instead. > http://go.microsoft.com/fwlink/?linkid=14202'
> Commons.Xml.Relaxng/XsdDatatypeProvider.cs(87,4): warning CS0618: 'XmlSchema.Compile(ValidationEventHandler)' is > obsolete: 'Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?> linkid=14202'
> Commons.Xml.Relaxng/XsdDatatypeProvider.cs(89,56): warning CS0618: 'XmlSchemaElement.ElementType' is obsolete: 'This > property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. > http://go.microsoft.com/fwlink/?linkid=14202'
> Commons.Xml.Relaxng.Inference/RelaxngInference.cs(896,5): warning CS0618: 'XmlConvert.ToDateTime(string)' is > obsolete: 'Use XmlConvert.ToDateTime() that takes in XmlDateTimeSerializationMode'
> Assembly/AssemblyInfo.cs(49,30): warning CS0618: 'SecurityCriticalScope' is obsolete: 'SecurityCriticalScope is only > used for .NET 2.0 transparency compatibility.'
> Assembly/AssemblyInfo.cs(65,30): warning CS0618: 'SecurityCriticalScope' is obsolete: 'SecurityCriticalScope is only > used for .NET 2.0 transparency compatibility.'
> Assembly/AssemblyInfo.cs(64,30): warning CS0618: 'SecurityCriticalScope' is obsolete: 'SecurityCriticalScope is only > used for .NET 2.0 transparency compatibility.'
> Assembly/AssemblyInfo.cs(63,30): warning CS0618: 'SecurityCriticalScope' is obsolete: 'SecurityCriticalScope is only > used for .NET 2.0 transparency compatibility.'
> System.Xaml/TypeExtensionMethods.cs(152,13): warning CS0618: 'XmlConvert.ToString(DateTime)' is obsolete: 'Use > XmlConvert.ToString() that takes in XmlDateTimeSerializationMode'
> System.Xaml/XamlSchemaContext.cs(239,11): warning CS0618: 'Assembly.LoadWithPartialName(string)' is obsolete: 'This > method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202'
> System.Security.RightsManagement/ContentGrant.cs(31,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/ContentUser.cs(31,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.IO.Packaging/PackageDigitalSignature.cs(94,4): warning CS0618: 'SecurityTreatAsSafeAttribute' is obsolete: > 'SecurityTreatAsSafe is only used for .NET 2.0 transparency compatibility.  Please use the > SecuritySafeCriticalAttribute instead.'
> System.Security.RightsManagement/CryptoProvider.cs(32,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/LocalizedNameDescriptionPair.cs(31,21): warning CS0618: 'SecurityCriticalScope' is > obsolete: 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/PublishLicense.cs(31,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/SecureEnvironment.cs(32,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/UnsignedPublishLicense.cs(32,21): warning CS0618: 'SecurityCriticalScope' is > obsolete: 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.Security.RightsManagement/UseLicense.cs(32,21): warning CS0618: 'SecurityCriticalScope' is obsolete: > 'SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.'
> System.ServiceModel.Discovery/UdpDiscoveryEndpoint.cs(43,17): warning CS0618: 'Socket.SupportsIPv4' is obsolete: > 'SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> System.ServiceModel.Discovery/UdpAnnouncementEndpoint.cs(43,17): warning CS0618: 'Socket.SupportsIPv4' is obsolete: > 'SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> System.ServiceModel/WebHttpBinding.cs(63,11): warning CS0618: 'ConfigurationException.ConfigurationException(string)> ' is obsolete: 'This class is obsolete.  Use System.Configuration.ConfigurationErrorsException'
> Microsoft.Build.Tasks/CodeTaskFactory.cs(214,18): warning CS0618: 'Assembly.LoadWithPartialName(string)' is > obsolete: 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> Manager.cs(55,31): warning CS0618: 'CaseInsensitiveHashCodeProvider' is obsolete: 'Please use StringComparer > instead.'
> Manager.cs(55,16): warning CS0618: 'Hashtable.Hashtable(IHashCodeProvider, IComparer)' is obsolete: 'Please use > Hashtable(IEqualityComparer) instead.'
> Client/System/Data/Services/Client/ALinq/InputReferenceExpression.cs(25,13): warning CS0618: 'Expression.Expression> (ExpressionType, Type)' is obsolete: 'use a different constructor that does not take ExpressionType. Then override > NodeType and Type properties to provide the values that would be specified to this constructor.'
> Client/System/Data/Services/Client/ALinq/QueryOptionExpression.cs(20,76): warning CS0618: 'Expression.Expression> (ExpressionType, Type)' is obsolete: 'use a different constructor that does not take ExpressionType. Then override > NodeType and Type properties to provide the values that would be specified to this constructor.'
> Client/System/Data/Services/Client/ALinq/ResourceExpression.cs(51,13): warning CS0618: 'Expression.Expression> (ExpressionType, Type)' is obsolete: 'use a different constructor that does not take ExpressionType. Then override > NodeType and Type properties to provide the values that would be specified to this constructor.'
> CompileUplevel.cs(943,25): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'ICodeGenerator is > obsolete'
> mono-service.cs(135,28): warning CS0618: 'AppDomain.CreateInstanceAndUnwrap(string, string, bool, BindingFlags, > Binder, object[], CultureInfo, object[], Evidence)' is obsolete: 'Use an overload that does not take an Evidence > parameter'
> mono-service.cs(207,11): warning CS0618: 'AppDomain.ExecuteAssembly(string, Evidence, string[])' is obsolete: 'Use > an overload that does not take an Evidence parameter'
> NewMonoXSD.cs(119,47): warning CS0618: 'Path.InvalidPathChars' is obsolete: 'see GetInvalidPathChars and > GetInvalidFileNameChars methods.'
> NewMonoXSD.cs(405,30): warning CS0618: 'XmlSchema.Compile(ValidationEventHandler)' is obsolete: 'Use > System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202'
> NewMonoXSD.cs(432,25): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'ICodeGenerator is obsolete'
> NewMonoXSD.cs(466,25): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'ICodeGenerator is obsolete'
> NewMonoXSD.cs(468,4): warning CS0618: 'TypedDataSetGenerator' is obsolete: 'TypedDataSetGenerator class will be > removed in a future release. Please use System.Data.Design.TypedDataSetGenerator in System.Design.dll.'
> MonoWSDL2.cs(285,31): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'ICodeGenerator is obsolete'
> MonoWSDL2.cs(464,60): warning CS0618: 'Path.InvalidPathChars' is obsolete: 'see GetInvalidPathChars and > GetInvalidFileNameChars methods.'
> xmltool.cs(181,4): warning CS0618: 'XmlSchema.Compile(ValidationEventHandler)' is obsolete: 'Use > System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(184,5): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use XmlReader created by XmlReader.Create() > method using appropriate XmlReaderSettings instead. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(184,35): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use XmlReader created by XmlReader.Create() > method using appropriate XmlReaderSettings instead. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(208,5): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use XmlReader created by XmlReader.Create() > method using appropriate XmlReaderSettings instead. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(208,35): warning CS0618: 'XmlValidatingReader' is obsolete: 'Use XmlReader created by XmlReader.Create() > method using appropriate XmlReaderSettings instead. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(220,4): warning CS0618: 'XslTransform' is obsolete: 'This class has been deprecated. Please use > System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202'
> xmltool.cs(220,25): warning CS0618: 'XslTransform' is obsolete: 'This class has been deprecated. Please use > System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202'
> mono-shlib-cop.cs(250,9): warning CS0618: 'Assembly.LoadWithPartialName(string)' is obsolete: 'This method has been > deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202'
> sgen.cs(230,105): warning CS0618: 'Path.InvalidPathChars' is obsolete: 'see GetInvalidPathChars and > GetInvalidFileNameChars methods.'
> Mono.Cecil/HashCodeProvider.cs(33,43): warning CS0618: 'IHashCodeProvider' is obsolete: 'Please use > IEqualityComparer instead.'
> Mono.Cecil.Metadata/BlobHeap.cs(57,36): warning CS0618: 'IHashCodeProvider' is obsolete: 'Please use > IEqualityComparer instead.'
> Mono.Cecil/ExternTypeCollection.cs(85,60): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase> (IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
> Mono.Cecil/TypeDefinitionCollection.cs(85,64): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase> (IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
> Mono.Cecil/TypeReferenceCollection.cs(85,63): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase> (IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
> Mono.Cecil.Cil/SymbolStoreHelper.cs(67,29): warning CS0618: 'Assembly.LoadWithPartialName(string)' is obsolete: > 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202'
> Mono.Cecil.Metadata/MetadataWriter.cs(134,18): warning CS0618: 'Hashtable.Hashtable(IHashCodeProvider, IComparer)' > is obsolete: 'Please use Hashtable(IEqualityComparer) instead.'
> Mono.Documentation/mdoc.cs(51,31): warning CS0618: 'MDocPreserve' is obsolete: 'This functionality is no longer > supported.'
> mod.cs(27,23): warning CS0618: 'RootTree.RenderUrl(string, out Node)' is obsolete: 'Use the RenderUrl variant > accepting a generator'
> /Users/alexander/dev/mono/external/ikdasm/Disassembler.cs(2222,26): warning CS0618: 'SecurityAction.RequestMinimum' > is obsolete: 'This requests should not be used'
> /Users/alexander/dev/mono/external/ikdasm/Disassembler.cs(2225,26): warning CS0618: 'SecurityAction.RequestRefuse' > is obsolete: 'This requests should not be used'
> /Users/alexander/dev/mono/external/ikdasm/Disassembler.cs(2228,26): warning CS0618: 'SecurityAction.RequestOptional' > is obsolete: 'This requests should not be used'
> Microsoft.Build.Tasks/CodeTaskFactory.cs(214,18): warning CS0618: 'Assembly.LoadWithPartialName(string)' is > obsolete: 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?> linkid=14202'
> Microsoft.Build.Tasks/CodeTaskFactory.cs(214,18): warning CS0618: 'Assembly.LoadWithPartialName(string)' is > obsolete: 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?> linkid=14202'

They should be fixed by updating the code or using pragma warning disable.