This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch feature/GEODE-4946-msvc-warn
in repository https://gitbox.apache.org/repos/asf/geode-native.git

commit 87f0a25d72e0ccb77b32a1b239ebbf08139188fe
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Thu Mar 29 11:26:46 2018 +0000

    C# projects warning free
---
 clicache/integration-test/DurableListenerN.cs      |   1 -
 clicache/integration-test/PutGetTestsN.cs          |   5 -
 .../RegionAttributesFactoryTestsN.cs               |   2 -
 clicache/integration-test/TallyLoaderN.cs          |   1 -
 clicache/integration-test/TallyResolverN.cs        |   1 -
 .../ThinClientAppDomainFunctionExecutionTests.cs   |   1 -
 .../ThinClientAppDomainQueryTests.cs               |   6 --
 clicache/integration-test/ThinClientQueryTestsN.cs |   2 -
 plugins/SQLiteCLI/SQLiteCLI.csproj.in              |  29 +-----
 plugins/SQLiteCLI/SqLiteImpl.cs                    |  10 +-
 templates/security/csharp/securityImpl.csproj.in   |   4 +
 tests/cli/DUnitFramework/DUnitFramework.csproj.in  |  29 +-----
 tests/cli/FwkClient/FwkClient.csproj.in            |  28 +-----
 tests/cli/FwkLauncher/FwkLauncher.csproj.in        |  28 +-----
 tests/cli/FwkUtil/FwkUtil.csproj.in                |  24 +----
 tests/cli/NewFwkLib/CacheHelper.cs                 |   3 -
 .../DeltaTest/DeltaClientValidationListener.cs     |   4 +-
 tests/cli/NewFwkLib/NewFwkLib.csproj.in            |  25 +----
 .../cli/PdxClassLibrary/PdxClassLibrary.csproj.in  |  27 +-----
 tests/cli/PdxClassLibrary/VariousPdxTypes.cs       | 108 +++++++++++++++++++++
 tests/cli/PdxVersion2Lib/Version2.cs               |  91 ++++++++++++++++-
 tests/cli/SecurityUtil/SecurityUtil.csproj.in      |  30 +-----
 22 files changed, 239 insertions(+), 220 deletions(-)

diff --git a/clicache/integration-test/DurableListenerN.cs 
b/clicache/integration-test/DurableListenerN.cs
index c01211d..25bc956 100644
--- a/clicache/integration-test/DurableListenerN.cs
+++ b/clicache/integration-test/DurableListenerN.cs
@@ -24,7 +24,6 @@ namespace Apache.Geode.Client.UnitTests
   using NUnit.Framework;
   using Apache.Geode.DUnitFramework;
   using Apache.Geode.Client;
-  using Apache.Geode.Client;
   
   //using Com.Vmware.Cache;
   //using Region = Com.Vmware.Cache.IRegion<object, object>;
diff --git a/clicache/integration-test/PutGetTestsN.cs 
b/clicache/integration-test/PutGetTestsN.cs
index 5097ac4..5b1b3a4 100644
--- a/clicache/integration-test/PutGetTestsN.cs
+++ b/clicache/integration-test/PutGetTestsN.cs
@@ -46,9 +46,6 @@ namespace Apache.Geode.Client.UnitTests
     private uint[] m_cKeyCksums;
     private CacheableWrapper[] m_cValues;
     private uint[] m_cValCksums;
-    private static string FEOnRegionPrSHOP_OptimizeForWrite = 
"FEOnRegionPrSHOP_OptimizeForWrite";
-    private static string FEOnRegionPrSHOP = "FEOnRegionPrSHOP";
-    private static string getFuncName = "MultiGetFunction";
 
     #endregion
 
@@ -219,8 +216,6 @@ namespace Apache.Geode.Client.UnitTests
     public void DoPRSHFixedPartitionResolverTests(string rname)
     {
       IRegion<object, object> region = CacheHelper.GetRegion<object, 
object>(rname);
-      int metadatarefreshCount = 0;
-      int metadatarefreshCount1 = 0;
       Assert.IsNotNull(region, "DoPRSHPartitionResolverPuts: null region.");
       Util.Log("Inside DoPRSHFixedPartitionResolverTests region name is {0} ", 
region.Name.ToString());
       for (int i = 0; i < 2000; i++)
diff --git a/clicache/integration-test/RegionAttributesFactoryTestsN.cs 
b/clicache/integration-test/RegionAttributesFactoryTestsN.cs
index 304c6ee..358bc5b 100644
--- a/clicache/integration-test/RegionAttributesFactoryTestsN.cs
+++ b/clicache/integration-test/RegionAttributesFactoryTestsN.cs
@@ -34,8 +34,6 @@ namespace Apache.Geode.Client.UnitTests
   public class RegionAttributesFactoryTests : UnitTests
   {
 
-    private UnitProcess m_client1, m_client2;
-
     protected override ClientBase[] GetClients()
     {
       return new ClientBase[] {};
diff --git a/clicache/integration-test/TallyLoaderN.cs 
b/clicache/integration-test/TallyLoaderN.cs
index 64db895..dcbbcc4 100644
--- a/clicache/integration-test/TallyLoaderN.cs
+++ b/clicache/integration-test/TallyLoaderN.cs
@@ -23,7 +23,6 @@ namespace Apache.Geode.Client.UnitTests
   using Apache.Geode.DUnitFramework;
 
   using Apache.Geode.Client;
-  using Apache.Geode.Client;
 
   class TallyLoader<TKey, TVal> : ICacheLoader<TKey, TVal>
   {
diff --git a/clicache/integration-test/TallyResolverN.cs 
b/clicache/integration-test/TallyResolverN.cs
index a37c3a0..be0b409 100755
--- a/clicache/integration-test/TallyResolverN.cs
+++ b/clicache/integration-test/TallyResolverN.cs
@@ -23,7 +23,6 @@ namespace Apache.Geode.Client.UnitTests
   using Apache.Geode.DUnitFramework;
 
   using Apache.Geode.Client;
-  using Apache.Geode.Client;
 
   class TallyResolver<TKey, TVal> : IPartitionResolver<TKey, TVal>
   {
diff --git 
a/clicache/integration-test/ThinClientAppDomainFunctionExecutionTests.cs 
b/clicache/integration-test/ThinClientAppDomainFunctionExecutionTests.cs
index 223debe..3f3836f 100644
--- a/clicache/integration-test/ThinClientAppDomainFunctionExecutionTests.cs
+++ b/clicache/integration-test/ThinClientAppDomainFunctionExecutionTests.cs
@@ -179,7 +179,6 @@ namespace Apache.Geode.Client.UnitTests
         args1.Add(routingObj[i]);
       }
 
-      Boolean getResult = true;
       //test data independant function execution with result onServer
       Pool/*<TKey, TValue>*/ pool = 
CacheHelper.DCache.GetPoolManager().Find(poolName);
 
diff --git a/clicache/integration-test/ThinClientAppDomainQueryTests.cs 
b/clicache/integration-test/ThinClientAppDomainQueryTests.cs
index 1376208..6ebc8ac 100644
--- a/clicache/integration-test/ThinClientAppDomainQueryTests.cs
+++ b/clicache/integration-test/ThinClientAppDomainQueryTests.cs
@@ -35,16 +35,10 @@ namespace Apache.Geode.Client.UnitTests
   {
     #region Private members
 
-    private UnitProcess m_client1;
-    private UnitProcess m_client2;
 
     private static string[] QueryRegionNames = { "Portfolios", "Positions", 
"Portfolios2",
       "Portfolios3" };
 
-    private static string QERegionName = "Portfolios";
-    private static string endpoint1;
-    private static string endpoint2;
-
     #endregion Private members
 
     protected override ClientBase[] GetClients()
diff --git a/clicache/integration-test/ThinClientQueryTestsN.cs 
b/clicache/integration-test/ThinClientQueryTestsN.cs
index 8156c23..c48035d 100644
--- a/clicache/integration-test/ThinClientQueryTestsN.cs
+++ b/clicache/integration-test/ThinClientQueryTestsN.cs
@@ -44,8 +44,6 @@ namespace Apache.Geode.Client.UnitTests
     private static string[] QueryRegionNames = { "Portfolios", "Positions", 
"Portfolios2",
       "Portfolios3" };
     private static string QERegionName = "Portfolios";
-    private static string endpoint1;
-    private static string endpoint2;
     #endregion
 
     protected override ClientBase[] GetClients()
diff --git a/plugins/SQLiteCLI/SQLiteCLI.csproj.in 
b/plugins/SQLiteCLI/SQLiteCLI.csproj.in
index 8fefebf..54ac914 100644
--- a/plugins/SQLiteCLI/SQLiteCLI.csproj.in
+++ b/plugins/SQLiteCLI/SQLiteCLI.csproj.in
@@ -53,29 +53,6 @@
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <IntermediateOutputPath>Debug</IntermediateOutputPath>
@@ -85,7 +62,9 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     <IntermediateOutputPath>Release</IntermediateOutputPath>
     <OutputPath>Release</OutputPath>
@@ -95,6 +74,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/plugins/SQLiteCLI/SqLiteImpl.cs b/plugins/SQLiteCLI/SqLiteImpl.cs
index 5edb2e4..b67f888 100644
--- a/plugins/SQLiteCLI/SqLiteImpl.cs
+++ b/plugins/SQLiteCLI/SqLiteImpl.cs
@@ -68,7 +68,7 @@ namespace Apache.Geode.Plugins.SQLite
           Path.Combine(m_regionDir, m_tableName + ".db"), pageSize, 
maxPageCount);
         SqliteHelper.InitalizeSqLite(m_tableName, m_connectionString);
       }
-      catch (Exception ex)
+      catch (Exception)
       {
         throw;
       }
@@ -81,7 +81,7 @@ namespace Apache.Geode.Plugins.SQLite
       {
         return (TValue)SqliteHelper.GetValue(key, m_tableName, 
m_connectionString);
       }
-      catch (Exception ex)
+      catch (Exception)
       {
         throw;
       }
@@ -93,7 +93,7 @@ namespace Apache.Geode.Plugins.SQLite
       {
         SqliteHelper.InsertKeyValue(key, value, m_tableName, 
m_connectionString);
       }
-      catch (Exception ex)
+      catch (Exception)
       {
         throw;
       }
@@ -115,7 +115,7 @@ namespace Apache.Geode.Plugins.SQLite
       {
         SqliteHelper.RemoveKey(key, m_tableName, m_connectionString);
       }
-      catch (Exception ex)
+      catch (Exception)
       {
         throw;
       }
@@ -129,7 +129,7 @@ namespace Apache.Geode.Plugins.SQLite
         Directory.Delete(m_regionDir, true);
         Directory.Delete(m_persistenceDir);
       }
-      catch (Exception ex)
+      catch (Exception)
       {
       }
     }
diff --git a/templates/security/csharp/securityImpl.csproj.in 
b/templates/security/csharp/securityImpl.csproj.in
index d312d84..7fe52c6 100644
--- a/templates/security/csharp/securityImpl.csproj.in
+++ b/templates/security/csharp/securityImpl.csproj.in
@@ -36,6 +36,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
     <OutputPath>bin\x64\Release\</OutputPath>
@@ -45,6 +47,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="Apache.Geode.Client">
diff --git a/tests/cli/DUnitFramework/DUnitFramework.csproj.in 
b/tests/cli/DUnitFramework/DUnitFramework.csproj.in
index 79a8a38..eab062a 100755
--- a/tests/cli/DUnitFramework/DUnitFramework.csproj.in
+++ b/tests/cli/DUnitFramework/DUnitFramework.csproj.in
@@ -54,30 +54,6 @@
     <BootstrapperEnabled>true</BootstrapperEnabled>
     <TargetFrameworkProfile />
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-     <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-   <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <NoWarn>618</NoWarn>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-     <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-   <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <IntermediateOutputPath>Debug</IntermediateOutputPath>
@@ -87,8 +63,9 @@
     <Optimize>false</Optimize>
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
-    <NoWarn>618</NoWarn>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     <DefineConstants>TRACE</DefineConstants>
@@ -99,6 +76,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework">
diff --git a/tests/cli/FwkClient/FwkClient.csproj.in 
b/tests/cli/FwkClient/FwkClient.csproj.in
index 3ed8bd4..53f5834 100644
--- a/tests/cli/FwkClient/FwkClient.csproj.in
+++ b/tests/cli/FwkClient/FwkClient.csproj.in
@@ -53,30 +53,6 @@
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-    <Optimize>false</Optimize>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <NoWarn>618</NoWarn>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <Optimize>false</Optimize>
@@ -87,7 +63,7 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <NoWarn>618</NoWarn>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
@@ -99,6 +75,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/tests/cli/FwkLauncher/FwkLauncher.csproj.in 
b/tests/cli/FwkLauncher/FwkLauncher.csproj.in
index 669cef4..db68f30 100644
--- a/tests/cli/FwkLauncher/FwkLauncher.csproj.in
+++ b/tests/cli/FwkLauncher/FwkLauncher.csproj.in
@@ -53,30 +53,6 @@
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <NoWarn>618</NoWarn>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <Optimize>false</Optimize>
@@ -87,7 +63,7 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <NoWarn>618</NoWarn>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
@@ -99,6 +75,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/tests/cli/FwkUtil/FwkUtil.csproj.in 
b/tests/cli/FwkUtil/FwkUtil.csproj.in
index 47c2d7b..9652025 100644
--- a/tests/cli/FwkUtil/FwkUtil.csproj.in
+++ b/tests/cli/FwkUtil/FwkUtil.csproj.in
@@ -62,7 +62,8 @@
     <DebugType>full</DebugType>
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
-    <NoWarn>618</NoWarn>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
@@ -74,25 +75,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <OutputPath>Debug</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <NoWarn>618</NoWarn>
-    <DebugType>full</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <Optimize>true</Optimize>
-    <DebugType>pdbonly</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework">
diff --git a/tests/cli/NewFwkLib/CacheHelper.cs 
b/tests/cli/NewFwkLib/CacheHelper.cs
index 6e6d381..43a9905 100644
--- a/tests/cli/NewFwkLib/CacheHelper.cs
+++ b/tests/cli/NewFwkLib/CacheHelper.cs
@@ -102,7 +102,6 @@ namespace Apache.Geode.Client.FwkLib
     private static DistributedSystem m_dsys = null;
     private static Cache m_cache = null;
     private static IRegion<TKey,TVal> m_currRegion = null;
-    private static bool m_doDisconnect = true;
 
     private const string DefaultDSName = "dstest";
     private const string DefaultCacheName = "cachetest";
@@ -244,8 +243,6 @@ namespace Apache.Geode.Client.FwkLib
       {
         try
         {
-          CacheHelper<TKey, TVal>.m_doDisconnect = false;
-
           CacheFactory cf = new CacheFactory(config);
 
           if (cacheXml != null && cacheXml.Length > 0)
diff --git a/tests/cli/NewFwkLib/DeltaTest/DeltaClientValidationListener.cs 
b/tests/cli/NewFwkLib/DeltaTest/DeltaClientValidationListener.cs
index b13cd02..87b591c 100644
--- a/tests/cli/NewFwkLib/DeltaTest/DeltaClientValidationListener.cs
+++ b/tests/cli/NewFwkLib/DeltaTest/DeltaClientValidationListener.cs
@@ -147,11 +147,11 @@ namespace Apache.Geode.Client.FwkLib
     {
     }
 
-    public void Close(Apache.Geode.Client.IRegion<TKey, TVal> region)
+    public override void Close(Apache.Geode.Client.IRegion<TKey, TVal> region)
     {
     }
 
-    public void AfterRegionDisconnected(Apache.Geode.Client.IRegion<TKey, 
TVal> region)
+    public override void 
AfterRegionDisconnected(Apache.Geode.Client.IRegion<TKey, TVal> region)
     {
     }
     public override void AfterRegionClear(RegionEvent<TKey, TVal> ev)
diff --git a/tests/cli/NewFwkLib/NewFwkLib.csproj.in 
b/tests/cli/NewFwkLib/NewFwkLib.csproj.in
index f58de91..8263912 100644
--- a/tests/cli/NewFwkLib/NewFwkLib.csproj.in
+++ b/tests/cli/NewFwkLib/NewFwkLib.csproj.in
@@ -62,8 +62,9 @@
     <DebugType>full</DebugType>
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
-    <NoWarn>618</NoWarn>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     <DefineConstants>TRACE</DefineConstants>
@@ -75,26 +76,8 @@
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     <NoWarn>618</NoWarn>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <OutputPath>Debug</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <NoWarn>618</NoWarn>
-    <DebugType>full</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <Optimize>true</Optimize>
-    <DebugType>pdbonly</DebugType>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-    <NoWarn>618</NoWarn>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework">
diff --git a/tests/cli/PdxClassLibrary/PdxClassLibrary.csproj.in 
b/tests/cli/PdxClassLibrary/PdxClassLibrary.csproj.in
index 2110a83..ffc642f 100644
--- a/tests/cli/PdxClassLibrary/PdxClassLibrary.csproj.in
+++ b/tests/cli/PdxClassLibrary/PdxClassLibrary.csproj.in
@@ -53,29 +53,6 @@
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
@@ -85,6 +62,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     <DefineConstants>TRACE</DefineConstants>
@@ -95,6 +74,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
diff --git a/tests/cli/PdxClassLibrary/VariousPdxTypes.cs 
b/tests/cli/PdxClassLibrary/VariousPdxTypes.cs
index 13e0958..4557952 100644
--- a/tests/cli/PdxClassLibrary/VariousPdxTypes.cs
+++ b/tests/cli/PdxClassLibrary/VariousPdxTypes.cs
@@ -1368,6 +1368,114 @@ namespace PdxTests
       return true;
     }
 
+    public override int GetHashCode()
+    {
+      var hashCode = 1263783689;
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_asciiNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_ascii0);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_ascii255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_ascii35000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_ascii89000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_utf10);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_utf255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_utf2000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_utf4000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_listNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_list0);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_list252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_list253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_list35000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_list70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalistNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalist0);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalist252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalist253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalist35000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(_oalist70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylistNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylist0);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylist252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylist253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylist35000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(_arraylist70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtableNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtable0);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtable252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtable253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtable35000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(_hashtable70000);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dictNULL);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dict0);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dict252);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dict253);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dict35000);
+      hashCode = hashCode * -1521134295 + EqualityComparer<Dictionary<object, 
object>>.Default.GetHashCode(_dict70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(_stringArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(_byteArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(_shortArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(_intArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(_longArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(_doubleArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(_floatArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(_charArray70000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebytearrayNULL);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebytearrayEmpty);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebyteArray252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebyteArray253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebyteArray255);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebyteArray40000);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(_bytebyteArray70000);
+      return hashCode;
+    }
+
     #region IPdxSerializable Members
 
     public void FromData(IPdxReader reader)
diff --git a/tests/cli/PdxVersion2Lib/Version2.cs 
b/tests/cli/PdxVersion2Lib/Version2.cs
index 9532291..c6e6359 100755
--- a/tests/cli/PdxVersion2Lib/Version2.cs
+++ b/tests/cli/PdxVersion2Lib/Version2.cs
@@ -1040,6 +1040,15 @@ namespace PdxVersionTests
       throw new IllegalStateException("In TestDiffTypePdxS.ToData serializer 
class not found " + classname);
     }
 
+    public override int GetHashCode()
+    {
+      var hashCode = -414132507;
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_id);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(_name);
+      hashCode = hashCode * -1521134295 + _count.GetHashCode();
+      return hashCode;
+    }
+
     #endregion
 
 
@@ -2038,8 +2047,88 @@ static Random _random = new Random();
         {
             return "PdxVersioned 2 : " + m_string;
         }
-        #endregion
+
+    public override int GetHashCode()
+    {
+      var hashCode = 1454868752;
+      hashCode = hashCode * -1521134295 + m_char.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_bool.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_byte.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_sbyte.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_int16.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_uint16.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_int32.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_uint32.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_long.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_ulong.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_float.GetHashCode();
+      hashCode = hashCode * -1521134295 + m_double.GetHashCode();
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(m_string);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<bool[]>.Default.GetHashCode(m_boolArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_byteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_sbyteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(m_charArray);
+      hashCode = hashCode * -1521134295 + m_dateTime.GetHashCode();
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(m_int16Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(m_uint16Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(m_int32Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(m_uint32Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(m_longArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(m_ulongArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(m_floatArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(m_doubleArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(m_byteByteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(m_stringArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(m_arraylist);
+      hashCode = hashCode * -1521134295 + EqualityComparer<IDictionary<object, 
object>>.Default.GetHashCode(m_map);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(m_hashtable);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(m_vector);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_byte252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_byte253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_byte65535);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(m_byte65536);
+      hashCode = hashCode * -1521134295 + m_pdxEnum.GetHashCode();
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string>.Default.GetHashCode(PString);
+      hashCode = hashCode * -1521134295 + Char.GetHashCode();
+      hashCode = hashCode * -1521134295 + Bool.GetHashCode();
+      hashCode = hashCode * -1521134295 + Byte.GetHashCode();
+      hashCode = hashCode * -1521134295 + Sbyte.GetHashCode();
+      hashCode = hashCode * -1521134295 + Int16.GetHashCode();
+      hashCode = hashCode * -1521134295 + Uint16.GetHashCode();
+      hashCode = hashCode * -1521134295 + Int32.GetHashCode();
+      hashCode = hashCode * -1521134295 + Uint32.GetHashCode();
+      hashCode = hashCode * -1521134295 + Long.GetHashCode();
+      hashCode = hashCode * -1521134295 + Ulong.GetHashCode();
+      hashCode = hashCode * -1521134295 + Float.GetHashCode();
+      hashCode = hashCode * -1521134295 + Double.GetHashCode();
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<bool[]>.Default.GetHashCode(BoolArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(ByteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(SbyteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<char[]>.Default.GetHashCode(CharArray);
+      hashCode = hashCode * -1521134295 + DateTime.GetHashCode();
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(Int16Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<short[]>.Default.GetHashCode(Uint16Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(Int32Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<int[]>.Default.GetHashCode(Uint32Array);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(LongArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<long[]>.Default.GetHashCode(UlongArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<float[]>.Default.GetHashCode(FloatArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<double[]>.Default.GetHashCode(DoubleArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[][]>.Default.GetHashCode(ByteByteArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<string[]>.Default.GetHashCode(StringArray);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<List<object>>.Default.GetHashCode(Arraylist);
+      hashCode = hashCode * -1521134295 + EqualityComparer<IDictionary<object, 
object>>.Default.GetHashCode(Map);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<Hashtable>.Default.GetHashCode(Hashtable);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<ArrayList>.Default.GetHashCode(Vector);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(Byte252);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(Byte253);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(Byte65535);
+      hashCode = hashCode * -1521134295 + 
EqualityComparer<byte[]>.Default.GetHashCode(Byte65536);
+      hashCode = hashCode * -1521134295 + PdxEnum.GetHashCode();
+      return hashCode;
     }
+    #endregion
+  }
 
     public class InnerPdx : IPdxSerializable
     {
diff --git a/tests/cli/SecurityUtil/SecurityUtil.csproj.in 
b/tests/cli/SecurityUtil/SecurityUtil.csproj.in
index ff92148..6874ba8 100644
--- a/tests/cli/SecurityUtil/SecurityUtil.csproj.in
+++ b/tests/cli/SecurityUtil/SecurityUtil.csproj.in
@@ -53,31 +53,6 @@
     <UseApplicationTrust>false</UseApplicationTrust>
     <BootstrapperEnabled>true</BootstrapperEnabled>
   </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <IntermediateOutputPath>Debug</IntermediateOutputPath>
-    <OutputPath>Debug</OutputPath>
-    <Optimize>false</Optimize>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <NoWarn>618</NoWarn>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <IntermediateOutputPath>Release</IntermediateOutputPath>
-    <OutputPath>Release</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <PlatformTarget>x86</PlatformTarget>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-    <NoWarn>618</NoWarn>
-  </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     <DebugSymbols>true</DebugSymbols>
     <Optimize>false</Optimize>
@@ -88,7 +63,7 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
-    <NoWarn>618</NoWarn>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
@@ -100,7 +75,8 @@
     <PlatformTarget>x64</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-    <NoWarn>618</NoWarn>
+    <WarningLevel>4</WarningLevel>
+    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />

-- 
To stop receiving notification emails like this one, please contact
jbarr...@apache.org.

Reply via email to