Type.Type is RuntimeType

integration
SignpostMarv 2012-08-31 15:19:26 +01:00 committed by Melanie
parent edd3577b66
commit dac31303b7
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.ScriptModuleComms
public void RegisterScriptInvocation(object target, MethodInfo mi) public void RegisterScriptInvocation(object target, MethodInfo mi)
{ {
m_log.DebugFormat("[MODULE COMMANDS] Register method {0} from type {1}", mi.Name, target.GetType().Name); m_log.DebugFormat("[MODULE COMMANDS] Register method {0} from type {1}", mi.Name, (target is Type) ? ((Type)target).Name : target.GetType().Name);
Type delegateType; Type delegateType;
List<Type> typeArgs = mi.GetParameters() List<Type> typeArgs = mi.GetParameters()