public global::OpenTracing.IScope StartActive(bool activate) { Span span = BuildSpan(); IScope scope = null; if (activate) { scope = startTimestamp.HasValue ? span.Activate(startTimestamp.Value) : span.Activate(); } else { scope = new SpanHandle(span); } return(new Adapters.OTScope(scope)); }