Mono.Debugger.Soft.StackFrame.GetVisibleVariableByName C# (CSharp) Méthode

GetVisibleVariableByName() public méthode

public GetVisibleVariableByName ( string name ) : Mono.Debugger.Soft.LocalVariable
name string
Résultat Mono.Debugger.Soft.LocalVariable
		public LocalVariable GetVisibleVariableByName (string name) {
			if (name == null)
				throw new ArgumentNullException ("name");

			if (Location.ILOffset == -1)
				throw new AbsentInformationException ();

			return Method.GetLocals ().Where (l => l.LiveRangeStart <= location.ILOffset && l.LiveRangeEnd >= location.ILOffset && l.Name == name).FirstOrDefault ();
		}
    }