From 4cbbbefbf63f6cab4241563ebf56c6b0bea30ed3 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 15 Aug 2015 16:08:14 -0700 Subject: [PATCH] Removed ignoreCase=true from the call to Type.GetInterface, because, well, we don't want to ignore case. And this seems to be causing problems in mono 4.3. --- OpenSim/Region/ClientStack/ClientStackManager.cs | 2 +- OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | 4 ++-- OpenSim/Server/Base/ServerUtils.cs | 2 +- OpenSim/Services/Base/ServiceBase.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/ClientStack/ClientStackManager.cs b/OpenSim/Region/ClientStack/ClientStackManager.cs index 299aabd787..3ec968f706 100644 --- a/OpenSim/Region/ClientStack/ClientStackManager.cs +++ b/OpenSim/Region/ClientStack/ClientStackManager.cs @@ -67,7 +67,7 @@ namespace OpenSim.Region.ClientStack { if (pluginType.IsPublic) { - Type typeInterface = pluginType.GetInterface("IClientNetworkServer", true); + Type typeInterface = pluginType.GetInterface("IClientNetworkServer"); if (typeInterface != null) { diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs index 9b06353599..d8279b753a 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs @@ -172,7 +172,7 @@ namespace OpenSim.Region.Physics.Manager { if (!pluginType.IsAbstract) { - Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin", true); + Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin"); if (physTypeInterface != null) { @@ -186,7 +186,7 @@ namespace OpenSim.Region.Physics.Manager } } - Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin", true); + Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin"); if (meshTypeInterface != null) { diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs index c384406c0b..18a426676e 100644 --- a/OpenSim/Server/Base/ServerUtils.cs +++ b/OpenSim/Server/Base/ServerUtils.cs @@ -268,7 +268,7 @@ namespace OpenSim.Server.Base && pluginType.ToString() != pluginType.Namespace + "." + className) continue; - Type typeInterface = pluginType.GetInterface(interfaceName, true); + Type typeInterface = pluginType.GetInterface(interfaceName); if (typeInterface != null) { diff --git a/OpenSim/Services/Base/ServiceBase.cs b/OpenSim/Services/Base/ServiceBase.cs index addbe94a00..a7eb2be9f9 100644 --- a/OpenSim/Services/Base/ServiceBase.cs +++ b/OpenSim/Services/Base/ServiceBase.cs @@ -86,7 +86,7 @@ namespace OpenSim.Services.Base continue; Type typeInterface = - pluginType.GetInterface(interfaceName, true); + pluginType.GetInterface(interfaceName); if (typeInterface != null) { T plug = (T)Activator.CreateInstance(pluginType,