Cone.Core.ConeTestFailure.GetNestedStackFrames C# (CSharp) Method

GetNestedStackFrames() static private method

static private GetNestedStackFrames ( Exception e ) : IEnumerable
e System.Exception
return IEnumerable
		static IEnumerable<StackFrame> GetNestedStackFrames(Exception e) => 
			e == null 
			? Enumerable.Empty<StackFrame>() 
			: GetNestedStackFrames(e.InnerException).Concat(new StackTrace(e, 0, true).GetFrames() ?? Enumerable.Empty<StackFrame>());
	}