public static TargetClassObject CheckTypeProxy(Interpreter interpreter, Thread thread, TargetStructObject obj) { if (obj.Type.DebuggerTypeProxyAttribute == null) { return(null); } ScriptingContext expr_context = new ScriptingContext(interpreter); expr_context.CurrentThread = thread; expr_context.CurrentLanguage = obj.Type.Language; expr_context.ImplicitInstance = obj; return(expr_context.CheckTypeProxy(obj)); }
public static TargetClassObject CheckTypeProxy(Interpreter interpreter, Thread thread, TargetStructObject obj) { if (obj.Type.DebuggerTypeProxyAttribute == null) return null; ScriptingContext expr_context = new ScriptingContext (interpreter); expr_context.CurrentThread = thread; expr_context.CurrentLanguage = obj.Type.Language; expr_context.ImplicitInstance = obj; return expr_context.CheckTypeProxy (obj); }