private static StackFrame GetLine() { StackTrace t = new StackTrace(true); return t.GetFrame(3); // Take care! }