This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/System.Diagnostics.Tracing/ref Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -294,8 +294,10 @@ internal EventWrittenEventArgs() { }
294294 public System . Diagnostics . Tracing . EventTags Tags { get { throw null ; } }
295295 public System . Diagnostics . Tracing . EventTask Task { get { throw null ; } }
296296 public byte Version { get { throw null ; } }
297+ #if FEATURE_EVENTLISTENERCONTEXT
297298 public long OSThreadId { get { throw null ; } }
298299 public DateTime TimeStamp { get { throw null ; } }
300+ #endif
299301 }
300302 [ System . AttributeUsageAttribute ( ( System . AttributeTargets ) ( 64 ) ) ]
301303 public sealed partial class NonEventAttribute : System . Attribute
Original file line number Diff line number Diff line change 55 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
66 <ProjectGuid >{0D8C8BAE-E5A5-4E9F-B101-3D18BD81D261}</ProjectGuid >
77 <IsPartialFacadeAssembly Condition =" '$(TargetGroup)' == 'netfx'" >true</IsPartialFacadeAssembly >
8- <DefineConstants Condition =" '$(TargetGroup)' == 'netcoreapp'" >$(DefineConstants);FEATURE_ETLEVENTS</DefineConstants >
8+ <DefineConstants Condition =" '$(TargetGroup)' == 'netcoreapp'" >$(DefineConstants);FEATURE_ETLEVENTS;FEATURE_EVENTLISTENERCONTEXT </DefineConstants >
99 <!-- CS0067: unused event, reference assembly does not care -->
1010 <NoWarn >$(NoWarn);0067</NoWarn >
1111 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments