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.
parent
83059724ee
commit
4cbbbefbf6
|
@ -67,7 +67,7 @@ namespace OpenSim.Region.ClientStack
|
||||||
{
|
{
|
||||||
if (pluginType.IsPublic)
|
if (pluginType.IsPublic)
|
||||||
{
|
{
|
||||||
Type typeInterface = pluginType.GetInterface("IClientNetworkServer", true);
|
Type typeInterface = pluginType.GetInterface("IClientNetworkServer");
|
||||||
|
|
||||||
if (typeInterface != null)
|
if (typeInterface != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -172,7 +172,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||||
{
|
{
|
||||||
if (!pluginType.IsAbstract)
|
if (!pluginType.IsAbstract)
|
||||||
{
|
{
|
||||||
Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin", true);
|
Type physTypeInterface = pluginType.GetInterface("IPhysicsPlugin");
|
||||||
|
|
||||||
if (physTypeInterface != null)
|
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)
|
if (meshTypeInterface != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -268,7 +268,7 @@ namespace OpenSim.Server.Base
|
||||||
&& pluginType.ToString() != pluginType.Namespace + "." + className)
|
&& pluginType.ToString() != pluginType.Namespace + "." + className)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Type typeInterface = pluginType.GetInterface(interfaceName, true);
|
Type typeInterface = pluginType.GetInterface(interfaceName);
|
||||||
|
|
||||||
if (typeInterface != null)
|
if (typeInterface != null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -86,7 +86,7 @@ namespace OpenSim.Services.Base
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Type typeInterface =
|
Type typeInterface =
|
||||||
pluginType.GetInterface(interfaceName, true);
|
pluginType.GetInterface(interfaceName);
|
||||||
if (typeInterface != null)
|
if (typeInterface != null)
|
||||||
{
|
{
|
||||||
T plug = (T)Activator.CreateInstance(pluginType,
|
T plug = (T)Activator.CreateInstance(pluginType,
|
||||||
|
|
Loading…
Reference in New Issue