public void SetWorkingMember(TypeMemberInfo member) { if (member == null) { throw new ArgumentNullException("member"); } CaptureStack.Peek().CurrentMember = member; }
public void CaptureLateBinding(int id, TypeMemberInfo info) { if (id == 0) { throw new ArgumentNullException("id"); } if (info == null) { throw new ArgumentNullException("info"); } CaptureStack.Peek().CaptureNodes.Add(new CaptureNode(id, info)); }
public void CaptureLateBinding(int id) { if (id == 0) { throw new ArgumentNullException("id"); } CaptureSet set = CaptureStack.Peek(); if (set.CurrentMember == null) { throw new ReferenceException("CurrentMember of ReferenceManager is null"); } set.CaptureNodes.Add(new CaptureNode(id, set.CurrentMember)); }