Mono.Debugger.Soft.StackFrame.GetValues C# (CSharp) Method

GetValues() public method

public GetValues ( Mono.Debugger.Soft.LocalVariable vars ) : Mono.Debugger.Soft.Value[]
vars Mono.Debugger.Soft.LocalVariable
return Mono.Debugger.Soft.Value[]
		public Value[] GetValues (LocalVariable[] vars) {
			if (vars == null)
				throw new ArgumentNullException ("vars");
			for (int i = 0; i < vars.Length; ++i) {
				if (vars [i] == null)
					throw new ArgumentNullException ("vars");
				if (vars [i].Method != Method)
					throw new ArgumentException ("Local variable doesn't belong to this frame's method.");
			}
			int[] pos = new int [vars.Length];
			for (int i = 0; i < vars.Length; ++i)
				pos [i] = vars [i].GetValueIndex;
			return vm.DecodeValues (vm.conn.StackFrame_GetValues (thread.Id, Id, pos));
		}