From 87f66d3845756c4192c44b670376837038c19a88 Mon Sep 17 00:00:00 2001 From: Utkarsh Umesan Pillai Date: Tue, 14 Dec 2021 12:56:18 -0800 Subject: [PATCH] Remove unnecessary using statements (#2727) --- docs/metrics/extending-the-sdk/MyExporterExtensions.cs | 1 - examples/Console/Program.cs | 1 - test/Benchmarks/Exporter/PrometheusSerializerBenchmarks.cs | 2 -- .../HostingMeterExtensionTests.cs | 1 - 4 files changed, 5 deletions(-) diff --git a/docs/metrics/extending-the-sdk/MyExporterExtensions.cs b/docs/metrics/extending-the-sdk/MyExporterExtensions.cs index 1caf3197f98..23e174e3eb9 100644 --- a/docs/metrics/extending-the-sdk/MyExporterExtensions.cs +++ b/docs/metrics/extending-the-sdk/MyExporterExtensions.cs @@ -15,7 +15,6 @@ // using System; -using OpenTelemetry; using OpenTelemetry.Metrics; internal static class MyExporterExtensions diff --git a/examples/Console/Program.cs b/examples/Console/Program.cs index 3ee742505f3..d00d11db443 100644 --- a/examples/Console/Program.cs +++ b/examples/Console/Program.cs @@ -15,7 +15,6 @@ // using CommandLine; -using OpenTelemetry.Exporter; namespace Examples.Console { diff --git a/test/Benchmarks/Exporter/PrometheusSerializerBenchmarks.cs b/test/Benchmarks/Exporter/PrometheusSerializerBenchmarks.cs index 65b58caa811..05126d5b092 100644 --- a/test/Benchmarks/Exporter/PrometheusSerializerBenchmarks.cs +++ b/test/Benchmarks/Exporter/PrometheusSerializerBenchmarks.cs @@ -16,10 +16,8 @@ extern alias Prometheus; -using System; using System.Collections.Generic; using System.Diagnostics.Metrics; -using System.IO; using BenchmarkDotNet.Attributes; using OpenTelemetry; using OpenTelemetry.Metrics; diff --git a/test/OpenTelemetry.Extensions.Hosting.Tests/HostingMeterExtensionTests.cs b/test/OpenTelemetry.Extensions.Hosting.Tests/HostingMeterExtensionTests.cs index ea55aa58d93..9ed9e3a1f75 100644 --- a/test/OpenTelemetry.Extensions.Hosting.Tests/HostingMeterExtensionTests.cs +++ b/test/OpenTelemetry.Extensions.Hosting.Tests/HostingMeterExtensionTests.cs @@ -15,7 +15,6 @@ // using System; -using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection;