This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-16
lines changed
src/System.Private.CoreLib Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 279
279
<Compile Include =" $(BclSourcesRoot)\System\Threading\SynchronizationContext.cs" />
280
280
<Compile Include =" $(BclSourcesRoot)\System\Threading\Tasks\Task.cs" />
281
281
<Compile Include =" $(BclSourcesRoot)\System\Threading\Tasks\TaskContinuation.cs" />
282
- <Compile Include =" $(BclSourcesRoot)\System\Threading\Tasks\TPLETWProvider.cs" />
283
282
<Compile Include =" $(BclSourcesRoot)\System\Threading\Thread.cs" />
284
283
<Compile Include =" $(BclSourcesRoot)\System\Threading\ThreadPool.cs" />
285
284
<Compile Include =" $(BclSourcesRoot)\System\Threading\Timer.cs" />
Original file line number Diff line number Diff line change 788
788
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\TaskScheduler.cs" />
789
789
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\TaskSchedulerException.cs" />
790
790
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\ThreadPoolTaskScheduler.cs" />
791
+ <Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\TplEtwProvider.cs" />
791
792
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\ValueTask.cs" />
792
793
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs" />
793
794
<Compile Include =" $(MSBuildThisFileDirectory)System\Threading\Tasks\Sources\IValueTaskSource.cs" />
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
6
- //
7
- //
8
- //
9
- // EventSource for TPL.
10
- //
11
- // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
12
-
13
- using System ;
14
- using System . Collections . Generic ;
15
- using System . Text ;
16
- using System . Security ;
17
5
using System . Runtime . CompilerServices ;
18
6
using System . Diagnostics . Tracing ;
19
-
20
7
using Internal . Runtime . CompilerServices ;
21
8
22
9
namespace System . Threading . Tasks
23
10
{
24
11
/// <summary>Provides an event source for tracing TPL information.</summary>
25
12
[ EventSource (
26
13
Name = "System.Threading.Tasks.TplEventSource" ,
27
- Guid = "2e5dba47-a3d2-4d16-8ee0-6671ffdcd7b5" ,
28
- LocalizationResources = "FxResources.System.Private.CoreLib.SR" ) ]
14
+ Guid = "2e5dba47-a3d2-4d16-8ee0-6671ffdcd7b5"
15
+ #if CORECLR
16
+ , LocalizationResources = "FxResources.System.Private.CoreLib.SR"
17
+ #endif
18
+ ) ]
29
19
internal sealed class TplEtwProvider : EventSource
30
20
{
31
21
/// Used to determine if tasks should generate Activity IDs for themselves
You can’t perform that action at this time.
0 commit comments