Remove DEBUG-only TraceSource/Switch usage from corefx (dotnet/corefx#41177)
authorStephen Toub <stoub@microsoft.com>
Wed, 18 Sep 2019 20:43:25 +0000 (16:43 -0400)
committerSantiago Fernandez Madero <safern@microsoft.com>
Wed, 18 Sep 2019 20:43:25 +0000 (13:43 -0700)
commit664de1795e59ff70faf1bcd245ec64630fed59f5
tree0c03bca072e9af0819bea895a61e395559bd131d
parentbc290cc3170519b3294e6293f21a0babd4ab5d1d
Remove DEBUG-only TraceSource/Switch usage from corefx (dotnet/corefx#41177)

A lot of TraceSource/Switch usage in corefx exists only to enable some optional DEBUG-only tracing and asserts, which haven't been used in a very long time, but some of it is keeping these types from being trimmed in a default MVC app.

Commit migrated from https://github.com/dotnet/corefx/commit/80adc8b87163dfe77d5b4262ea7970cc2de87f46
28 files changed:
src/libraries/System.ComponentModel.TypeConverter/src/System.ComponentModel.TypeConverter.csproj
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/DesigntimeLicenseContext.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/ServiceContainer.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ReflectPropertyDescriptor.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModelSwitches.cs [deleted file]
src/libraries/System.Data.Common/src/System.Data.Common.csproj
src/libraries/System.Data.Common/src/System/Data/Common/AdapterSwitches.cs [deleted file]
src/libraries/System.Data.Common/src/System/Data/Common/DataColumnMapping.cs
src/libraries/System.Data.Common/src/System/Data/Common/DataColumnMappingCollection.cs
src/libraries/System.Data.Common/src/System/Data/Common/DataTableMapping.cs
src/libraries/System.Data.Common/src/System/Data/Common/DataTableMappingCollection.cs
src/libraries/System.Data.Common/src/System/Data/ProviderBase/SchemaMapping.cs
src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj
src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/CompModSwitches.cs [deleted file]
src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/EventLog.cs
src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/EventLogInternal.cs
src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj
src/libraries/System.Drawing.Common/src/System/Drawing/Gdiplus.cs
src/libraries/System.Drawing.Common/src/misc/CompModSwitches.cs [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/DiagnosticsSwitches.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/ContentValidator.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/DtdValidator.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/SchemaCollectionCompiler.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/SchemaSetCompiler.cs
src/libraries/System.Private.Xml/src/System/Xml/Schema/XdrValidator.cs
src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSchemas.cs
src/libraries/System.Private.Xml/src/System/Xml/Serialization/Xmlcustomformatter.cs
src/libraries/System.Private.Xml/src/System/Xml/Xsl/Xslt/XslAstAnalyzer.cs