<PackageReference Include="Microsoft.ApplicationInsights" Version="3.2.0" />

Microsoft.ApplicationInsights.Internal.ActivityShimMapper

static class ActivityShimMapper
Copies an operation's telemetry item onto its Activity when the operation is stopped, using the Microsoft override attributes that the Azure Monitor exporter maps to the Application Insights fields (the same keys TrackDependency and TrackRequest use). Only values that are set are applied.
public static void ApplyDependencyTags(Activity activity, DependencyTelemetry dep)

public static void ApplyRequestTags(Activity activity, RequestTelemetry request)