IGNITE-7473 .NET: Fix ConfigurationManager assembly error on Linux
authorPavel Tupitsyn <ptupitsyn@apache.org>
Wed, 31 Jan 2018 16:49:07 +0000 (19:49 +0300)
committerPavel Tupitsyn <ptupitsyn@apache.org>
Wed, 31 Jan 2018 16:49:07 +0000 (19:49 +0300)
modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs

index 20d6dc3..5b93609 100644 (file)
@@ -193,7 +193,7 @@ namespace Apache.Ignite.Core
         /// Gets the configuration section.
         /// </summary>
         private static T GetConfigurationSection<T>(string sectionName, string configPath)
-            where T : ConfigurationSection
+            where T : class
         {
             IgniteArgumentCheck.NotNullOrEmpty(sectionName, "sectionName");
             IgniteArgumentCheck.NotNullOrEmpty(configPath, "configPath");