Merge the .Net Native and CoreCLR implementations of EventSource. This replaces a...
authorDavid Mason <davmason@microsoft.com>
Mon, 21 Dec 2015 23:43:42 +0000 (15:43 -0800)
committerDavid Mason <davmason@microsoft.com>
Thu, 7 Jan 2016 22:58:21 +0000 (14:58 -0800)
commitefa1dda2c1579417dcaed92633b8556fd68270ee
tree1a2e6fe446645f1dd96f6d07e5adc92ead2a8fd3
parentad4683f3e1d0f4b133b39003a24f983d2d01f7c4
Merge the .Net Native and CoreCLR implementations of EventSource. This replaces a lot of the previous ifdefs in the ProjectN impelmentation with a partial class that is cleaner and easier to understand.

Remove some ifdefs that can be done in a better way and merge additional bug fixes that happened in the nuget package branch.

Refactor some code to eliminate ifdefs for projectN.

Refactor code so that the ProjectN support uses partial classes instead of ifdefs.

Round 2 of making sure everything compiles in CoreCLR and in ProjectN.

Add formatting to the debugger message that EventSource prints when an internal error happens.

Change null strings to be represented as empty strings in TraceLogging.

Remove some ifdefs that can be done in a better way and merge additional bug fixes that happened in the nuget package branch.

Change WriteEventString to use an anonymous struct instead of EventMessage.
33 files changed:
src/mscorlib/model.xml
src/mscorlib/mscorlib.shared.sources.props
src/mscorlib/src/System/Diagnostics/Eventing/ActivityTracker.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventCounter.cs [new file with mode: 0644]
src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventProvider.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventSourceException.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventSource_CoreCLR.cs [new file with mode: 0644]
src/mscorlib/src/System/Diagnostics/Eventing/StubEnvironment.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/ArrayTypeInfo.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/DataCollector.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EnumHelper.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EnumerableTypeInfo.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventFieldFormat.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/EventSourceActivity.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/FieldMetadata.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/InvokeTypeInfo.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/NameInfo.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/PropertyAccessor.cs [deleted file]
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/PropertyAnalysis.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/PropertyValue.cs [new file with mode: 0644]
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/SimpleEventTypes.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/SimpleTypeInfos.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/Statics.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingDataCollector.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventSource.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventTypes.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingMetadataCollector.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingTypeInfo.cs
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingTypeInfo_T.cs [deleted file]
src/mscorlib/src/System/Diagnostics/Eventing/TraceLogging/TypeAnalysis.cs
src/mscorlib/src/System/Diagnostics/Eventing/Winmeta.cs