LLDB.Module.FindGlobalVariables C# (CSharp) Method

FindGlobalVariables() public method

Find global and static variables by name.

public FindGlobalVariables ( LLDB target, string name, uint max_matches ) : LLDB.ValueList
target LLDB /// A valid SBTarget instance representing the debuggee. ///
name string /// The name of the global or static variable we are looking /// for. ///
max_matches uint /// Allow the number of matches to be limited to ///
return LLDB.ValueList
        public LLDB.ValueList FindGlobalVariables(LLDB.Target target, string name, uint max_matches)
        {
            if (ReferenceEquals(target, null))
                throw new global::System.ArgumentNullException("target", "Cannot be null because it is a C++ reference (&).");
            var arg0 = target.__Instance;
            var arg1 = Marshal.StringToHGlobalAnsi(name);
            var __ret = new LLDB.ValueList.Internal();
            Internal.FindGlobalVariables_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), arg0, arg1, max_matches);
            Marshal.FreeHGlobal(arg1);
            return LLDB.ValueList.__CreateInstance(__ret);
        }