IGNITE-7473 .NET: Fix ConfigurationManager assembly error on Linux

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0088405c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0088405c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0088405c

Branch: refs/heads/ignite-7485-2
Commit: 0088405ce305a915174c53bcafcc9a1740da64c7
Parents: af8cb62
Author: Pavel Tupitsyn <ptupit...@apache.org>
Authored: Wed Jan 31 19:49:07 2018 +0300
Committer: Pavel Tupitsyn <ptupit...@apache.org>
Committed: Wed Jan 31 19:49:07 2018 +0300

----------------------------------------------------------------------
 modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0088405c/modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs 
b/modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs
index 20d6dc3..5b93609 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Ignition.cs
@@ -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");

Reply via email to