protected virtual void SetUp() { Context cx = Context.Enter(); try { global = cx.InitStandardObjects(); string[] names = new string[] { "f", "g" }; global.DefineFunctionProperties(names, typeof(DefineFunctionPropertiesTest), ScriptableObject.DONTENUM); } finally { Context.Exit(); } }