Skip to content

Commit da4859c

Browse files
committed
wp
1 parent f08d009 commit da4859c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/OpenTelemetry.AutoInstrumentation/Configurations/EnvironmentConfigurationTracerHelper.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ public static TracerProviderBuilder AddAzureInstrumentation(TracerProviderBuilde
309309
[MethodImpl(MethodImplOptions.NoInlining)]
310310
public static TracerProviderBuilder AddSqlClientInstrumentation(TracerProviderBuilder builder, PluginManager pluginManager, LazyInstrumentationLoader lazyInstrumentationLoader, TracerSettings tracerSettings)
311311
{
312-
#if NETFRAMEWORK
313-
NativeMethods.SetSqlClientNetFxILRewriteEnabled(tracerSettings.InstrumentationOptions.SqlClientNetFxIlRewriteEnabled);
314-
#endif
315312
DelayedInitialization.Traces.AddSqlClient(lazyInstrumentationLoader, pluginManager, tracerSettings);
316313

317314
return builder.AddSource("OpenTelemetry.Instrumentation.SqlClient");

0 commit comments

Comments
 (0)