public SpanShim(Trace.ISpan span)
        {
            this.Span = span ?? throw new ArgumentNullException(nameof(span));

            if (this.Span.Context == null)
            {
                throw new ArgumentNullException(nameof(this.Span.Context));
            }

            if (!this.Span.Context.IsValid)
            {
                throw new ArgumentException(nameof(this.Span.Context));
            }

            this.spanContextShim = new SpanContextShim(this.Span.Context);
        }