Skip to content

Commit 8041e10

Browse files
authored
[repo] Remove redundant usings (#4672)
1 parent cfbee7a commit 8041e10

File tree

51 files changed

+3
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3
-89
lines changed

examples/playground/AspNetCoreMvc/Controllers/ApiController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System;
5-
using System.Threading;
6-
using System.Threading.Tasks;
74
using Microsoft.AspNetCore.Mvc;
85

96
namespace Examples.AspNetCoreMvc.Controllers;

examples/playground/AspNetCoreMvc/Controllers/HomeController.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System;
54
using System.Collections;
6-
using System.Collections.Generic;
7-
using System.Linq;
8-
using System.Reflection;
9-
using System.Threading;
10-
using System.Threading.Tasks;
115
using Examples.AspNetCoreMvc.Shared;
126
using Microsoft.AspNetCore.Mvc;
137

examples/playground/AspNetCoreMvc/OtelSdkPlugin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System;
5-
64
namespace Examples.AspNetCoreMvc;
75

86
public class OtelSdkPlugin

examples/playground/AspNetCoreMvc/Program.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using Microsoft.AspNetCore.Hosting;
5-
using Microsoft.Extensions.Hosting;
6-
74
namespace Examples.AspNetCoreMvc;
85

96
public class Program

examples/playground/AspNetCoreMvc/Shared/StackTraceHelper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System;
5-
64
namespace Examples.AspNetCoreMvc.Shared;
75

86
public static class StackTraceHelper

examples/playground/AspNetCoreMvc/Startup.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using Microsoft.AspNetCore.Builder;
5-
using Microsoft.AspNetCore.Hosting;
6-
using Microsoft.Extensions.Configuration;
7-
using Microsoft.Extensions.DependencyInjection;
8-
using Microsoft.Extensions.Hosting;
9-
104
namespace Examples.AspNetCoreMvc;
115

126
public class Startup

src/OpenTelemetry.AutoInstrumentation.Loader/AssemblyResolver.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System.Reflection;
54
using OpenTelemetry.AutoInstrumentation.Logging;
65

76
namespace OpenTelemetry.AutoInstrumentation.Loader;

src/OpenTelemetry.AutoInstrumentation/Configurations/EnvironmentConfigurationLogHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
using System.Runtime.CompilerServices;
5-
using OpenTelemetry;
65
using OpenTelemetry.AutoInstrumentation.Configurations.FileBasedConfiguration;
76
using OpenTelemetry.AutoInstrumentation.Configurations.Otlp;
87
using OpenTelemetry.AutoInstrumentation.Loading;

src/OpenTelemetry.AutoInstrumentation/Configurations/FileBasedConfiguration/BatchProcessorConfigBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using OpenTelemetry;
54
using Vendors.YamlDotNet.Serialization;
65

76
namespace OpenTelemetry.AutoInstrumentation.Configurations.FileBasedConfiguration;

src/OpenTelemetry.AutoInstrumentation/Configurations/FileBasedConfiguration/MeterProviderConfiguration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
using System.Collections.Generic;
54
using Vendors.YamlDotNet.Serialization;
65

76
namespace OpenTelemetry.AutoInstrumentation.Configurations.FileBasedConfiguration;

0 commit comments

Comments
 (0)