assign binding flags to variable

integration
SignpostMarv 2012-08-31 13:01:07 +01:00 committed by Melanie
parent 7a9eee8538
commit bcf944db48
1 changed files with 3 additions and 1 deletions

View File

@ -132,8 +132,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.ScriptModuleComms
private static MethodInfo GetMethodInfoFromType(Type target, string meth)
{
BindingFlags getMethodFlags =
BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance;
return target.GetMethod(meth,
BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
getMethodFlags);
}
public void RegisterScriptInvocation(object target, string meth)