public string GetCallingMethod() { var outsideCallingMethod = new Caller().Methods.First(m => m.DeclaringType.Namespace != this.GetType().Namespace); return outsideCallingMethod.ToStandardString(); }