Skip to content

Commit

Permalink
remove ImplicitUsings disable from projects (part 7) (#3991)
Browse files Browse the repository at this point in the history
* remove ImplicitUsings disable from projects.
ZPages

* Hosting

* Propagators

* remove implicitusings disable from projectsn
AspNetCore

* Http and GrpcNetClient

* remove implicitusings disable from projects
SqlClient

* Shims
  • Loading branch information
TimothyMothra authored Dec 8, 2022
1 parent ab3e407 commit 2d02255
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using OpenTelemetry.Trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>
#if !NETFRAMEWORK
using System;
using System.Data;
using System.Diagnostics;
using OpenTelemetry.Trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Diagnostics.Tracing;
using OpenTelemetry.Internal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// </copyright>

#if NETFRAMEWORK
using System;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using OpenTelemetry.Trace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

<!-- this is temporary. will remove in future PR. -->
<Nullable>disable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
using System;
#if !NETFRAMEWORK
using System.Collections.Generic;
#endif

using OpenTelemetry.Instrumentation.SqlClient.Implementation;

namespace OpenTelemetry.Instrumentation.SqlClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Concurrent;
using System.Data;
using System.Diagnostics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using OpenTelemetry.Instrumentation.SqlClient;
using OpenTelemetry.Instrumentation.SqlClient.Implementation;
using OpenTelemetry.Internal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<!-- this is temporary. will remove in future PR. -->
<Nullable>disable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions src/OpenTelemetry.Shims.OpenTracing/ScopeManagerShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
// limitations under the License.
// </copyright>

using System;
using System.Runtime.CompilerServices;
#if DEBUG
using System.Threading;
#endif
using OpenTelemetry.Internal;
using OpenTelemetry.Trace;
using OpenTracing;
Expand Down
2 changes: 0 additions & 2 deletions src/OpenTelemetry.Shims.OpenTracing/SpanBuilderShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using OpenTelemetry.Internal;
using OpenTelemetry.Trace;
using OpenTracing;
Expand Down
2 changes: 0 additions & 2 deletions src/OpenTelemetry.Shims.OpenTracing/SpanContextShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using OpenTracing;

namespace OpenTelemetry.Shims.OpenTracing
Expand Down
3 changes: 0 additions & 3 deletions src/OpenTelemetry.Shims.OpenTracing/SpanShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Linq;
using OpenTelemetry.Internal;
using OpenTelemetry.Trace;
using OpenTracing;
Expand Down
1 change: 0 additions & 1 deletion src/OpenTelemetry.Shims.OpenTracing/TracerShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System.Collections.Generic;
using OpenTelemetry.Context.Propagation;
using OpenTelemetry.Internal;
using OpenTracing.Propagation;
Expand Down

0 comments on commit 2d02255

Please sign in to comment.