} // the stacktrace when the 'context' that contains the scope went null public override string ToString() => new StringBuilder() .AppendLine("ScopeInfo:") .Append("Instance Id: ") .AppendLine(Scope.InstanceId.ToString()) .Append("Parent Id: ") .AppendLine(Parent.ToString()) .Append("Created Thread Id: ") .AppendLine(Scope.CreatedThreadId.ToInvariantString()) .Append("Created At: ") .AppendLine(Created.ToString("O")) .Append("Disposed: ") .AppendLine(Disposed.ToString()) .Append("CTOR stack: ") .AppendLine(CtorStack) .ToString();