From 88fb9cdd253bb9beeecf941b6dbed058a608ed0e Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Tue, 26 Jul 2022 16:01:16 -0700 Subject: [PATCH] explicit Span.ToString() for older runtime --- test/OpenTelemetry.Tests/Shared/IEEE754Double.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/OpenTelemetry.Tests/Shared/IEEE754Double.cs b/test/OpenTelemetry.Tests/Shared/IEEE754Double.cs index 4d25ebd59ac..4ae89faaba8 100644 --- a/test/OpenTelemetry.Tests/Shared/IEEE754Double.cs +++ b/test/OpenTelemetry.Tests/Shared/IEEE754Double.cs @@ -98,6 +98,6 @@ public override string ToString() chars[index--] = (char)(bits & 0x01 | 0x30); - return $"{chars} ({this.DoubleValue})"; + return $"{chars.ToString()} ({this.DoubleValue})"; } }