Bug #80040 Latest code in github compiles success but with many warnings

Submitted: 19 Jan 2016 2:18 Modified: 27 Jan 2016 6:12
Reporter: William ZHANG Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.9 OS:Windows
Assigned to: CPU Architecture:Any
Tags: Visual Studio Community 2013 update 5

[19 Jan 2016 2:18] William ZHANG
Description:
1>------ Build started: Project: MySql.Data, Configuration: Debug Any CPU ------
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\MySqlConnectionStringBuilder.cs(35,31,35,59): warning CS0659: 'MySql.Data.MySqlClient.MySqlConnectionStringBuilder' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\extensions\NonRT\MySqlTrace.cs(36,33,36,39): warning CS0628: 'MySql.Data.MySqlClient.MySqlTrace.qaHost': new protected member declared in sealed class
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\extensions\NonRT\MySqlTrace.cs(37,31,37,40): warning CS0628: 'MySql.Data.MySqlClient.MySqlTrace.qaEnabled': new protected member declared in sealed class
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\command.cs(995,17,995,24): warning CS0108: 'MySql.Data.MySqlClient.MySqlCommand.Dispose()' hides inherited member 'System.ComponentModel.Component.Dispose()'. Use the new keyword if hiding was intended.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Connection.cs(817,17,817,24): warning CS0108: 'MySql.Data.MySqlClient.MySqlConnection.Dispose()' hides inherited member 'System.ComponentModel.Component.Dispose()'. Use the new keyword if hiding was intended.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\parameter.cs(152,17,152,26): warning CS0114: 'MySql.Data.MySqlClient.MySqlParameter.Precision' hides inherited member 'System.Data.Common.DbParameter.Precision'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\parameter.cs(158,17,158,22): warning CS0114: 'MySql.Data.MySqlClient.MySqlParameter.Scale' hides inherited member 'System.Data.Common.DbParameter.Scale'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\transaction.cs(85,17,85,24): warning CS0108: 'MySql.Data.MySqlClient.MySqlTransaction.Dispose()' hides inherited member 'System.Data.Common.DbTransaction.Dispose()'. Use the new keyword if hiding was intended.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\transaction.cs(91,19,91,26): warning CS0114: 'MySql.Data.MySqlClient.MySqlTransaction.Dispose(bool)' hides inherited member 'System.Data.Common.DbTransaction.Dispose(bool)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\SystemPerformanceMonitor.cs(73,17,73,38): warning CS0114: 'MySql.Data.MySqlClient.SystemPerformanceMonitor.AddHardProcedureQuery()' hides inherited member 'MySql.Data.MySqlClient.PerformanceMonitor.AddHardProcedureQuery()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\SystemPerformanceMonitor.cs(80,17,80,38): warning CS0114: 'MySql.Data.MySqlClient.SystemPerformanceMonitor.AddSoftProcedureQuery()' hides inherited member 'MySql.Data.MySqlClient.PerformanceMonitor.AddSoftProcedureQuery()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Properties\AssemblyInfo.cs(82,12,82,29): warning CS1699: Use command line option '/delaysign' or appropriate project settings instead of 'AssemblyDelaySign'
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Properties\AssemblyInfo.cs(83,12,83,36): warning CS1699: Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFileAttribute'
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Properties\AssemblyInfo.cs(85,12,85,27): warning CS1699: Use command line option '/keycontainer' or appropriate project settings instead of 'AssemblyKeyName'
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Authentication\WindowsAuthenticationPlugin.cs(180,7,180,9): warning CS0162: Unreachable code detected
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Connection.cs(521,11,521,39): warning CS0618: 'MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseOldSyntax' is obsolete: 'Use Old Syntax is no longer needed.  See documentation'
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Connection.cs(514,24,514,26): warning CS0168: The variable 'ex' is declared but never used
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Driver.cs(442,30,442,38): warning CS0219: The variable 'warnings' is assigned but its value is never used
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\extensions\NonRT\MySqlTrace.cs(72,46,72,71): warning CS0618: 'System.Activator.CreateInstance(string, string, bool, System.Reflection.BindingFlags, System.Reflection.Binder, object[], System.Globalization.CultureInfo, object[], System.Security.Policy.Evidence)' is obsolete: 'Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of CreateInstance which does not take an Evidence parameter. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\SystemPerformanceMonitor.cs(69,9,69,85): warning CS0618: 'System.Diagnostics.PerformanceCounterCategory.Create(string, string, System.Diagnostics.CounterCreationDataCollection)' is obsolete: 'This method has been deprecated.  Please use System.Diagnostics.PerformanceCounterCategory.Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) instead.  http://go.microsoft.com/fwlink/?linkid=14202';
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\command.cs(51,10,51,25): warning CS0414: The field 'MySql.Data.MySqlClient.MySqlCommand.updatedRowCount' is assigned but its value is never used
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\common\StreamCreator.cs(39,10,39,17): warning CS0169: The field 'MySql.Data.Common.StreamCreator.timeOut' is never used
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\Memcached\TextClient.cs(43,36,43,48): warning CS0414: The field 'MySql.Data.MySqlClient.Memcached.TextClient.PROTOCOL_GET' is assigned but its value is never used
1>D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\PerformanceMonitor.cs(31,29,31,39): warning CS0169: The field 'MySql.Data.MySqlClient.PerformanceMonitor.connection' is never used
1>  MySql.Data -> D:\Workspace\Code\mysql-connector-net\Source\MySql.Data\bin\v4.5.1\Debug\MySql.Data.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

How to repeat:
Open the solution file MySQLClient-VS2013.sln, and build the Debug for Any CPU configuration.
[27 Jan 2016 6:12] Chiranjeevi Battula
Hello William ZHANG,

Thank you for the bug report.
Verified based on internal discussion with dev's.

Thanks,
Chiranjeevi.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.