Skip to content

Commit ccc11af

Browse files
authored
Revert "Add ActivitySource support to DiagnosticsHandler (#54437)" (#55006)
This reverts commit c88da29.
1 parent ffa4923 commit ccc11af

File tree

6 files changed

+252
-238
lines changed

6 files changed

+252
-238
lines changed

src/libraries/System.Net.Http/src/ILLink/ILLink.Substitutions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<linker>
22
<assembly fullname="System.Net.Http">
33
<type fullname="System.Net.Http.DiagnosticsHandler">
4-
<method signature="System.Boolean get_IsGloballyEnabled()" body="stub" value="false" feature="System.Net.Http.EnableActivityPropagation" featurevalue="false" />
4+
<method signature="System.Boolean IsGloballyEnabled()" body="stub" value="false" feature="System.Net.Http.EnableActivityPropagation" featurevalue="false" />
55
</type>
66
<type fullname="System.Net.Http.HttpClient">
77
<method signature="System.Boolean IsNativeHandlerEnabled()" body="stub" value="true" feature="System.Net.Http.UseNativeHttpHandler" featurevalue="true" />

src/libraries/System.Net.Http/src/System.Net.Http.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<WindowsRID>win</WindowsRID>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -494,6 +494,7 @@
494494
<!-- Common -->
495495
<ItemGroup>
496496
<Compile Include="System\Net\Http\DiagnosticsHandler.cs" />
497+
<Compile Include="System\Net\Http\DiagnosticsHandlerLoggingStrings.cs" />
497498
<Compile Include="System\Net\Http\SocketsHttpHandler\SocketsHttpPlaintextStreamFilterContext.cs" />
498499
<Compile Include="$(CommonPath)System\Threading\Tasks\TaskCompletionSourceWithCancellation.cs"
499500
Link="Common\System\Threading\Tasks\TaskCompletionSourceWithCancellation.cs" />

0 commit comments

Comments
 (0)