54 instantiations of TraceSwitch
System (6)
compmod\system\componentmodel\CompModSwitches.cs (1)
36
eventLog = new
TraceSwitch
("EventLog", "Enable tracing for the EventLog component.");
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
64
private static TraceSwitch RuntimeLicenseContextSwitch = new
TraceSwitch
("RuntimeLicenseContextTrace", "RuntimeLicenseContext tracing");
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
26
private static TraceSwitch TRACESERVICE = new
TraceSwitch
("TRACESERVICE", "ServiceProvider: Trace service provider requests.");
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
65
private static TraceSwitch PropDescCreateSwitch = new
TraceSwitch
("PropDescCreate", "ReflectPropertyDescriptor: Dump errors when creating property info");
66
private static TraceSwitch PropDescUsageSwitch = new
TraceSwitch
("PropDescUsage", "ReflectPropertyDescriptor: Debug propertydescriptor usage");
67
private static TraceSwitch PropDescSwitch = new
TraceSwitch
("PropDesc", "ReflectPropertyDescriptor: Debug property descriptor");
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
199
TraceSwitch perfCtrSwitch = new
TraceSwitch
("ConnectionPoolPerformanceCounterDetail", "level of detail to track with connection pool performance counters");
System.Drawing (4)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
82
private static readonly TraceSwitch GdiPlusInitialization = new
TraceSwitch
("GdiPlusInitialization", "Tracks GDI+ initialization and teardown");
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
75
doubleBuffering = new
TraceSwitch
("DoubleBuffering", "Output information about double buffering");
commonui\System\Drawing\Design\ToolboxItem.cs (1)
40
private static TraceSwitch ToolboxItemPersist = new
TraceSwitch
("ToolboxPersisting", "ToolboxItem: write data");
misc\CompModSwitches.cs (1)
313
handleLeak = new
TraceSwitch
("HANDLELEAK", "HandleCollector: Track Win32 Handle Leaks");
System.Web.Services (2)
System\ComponentModel\CompModSwitches.cs (2)
30
dynamicDiscoSearcher = new
TraceSwitch
("DynamicDiscoverySearcher", "Enable tracing for the DynamicDiscoverySearcher class.");
48
remote = new
TraceSwitch
("Microsoft.WFC.Remote", "Enable tracing for remote method calls.");
System.Windows.Forms (38)
misc\CompModSwitches.cs (28)
54
activeX = new
TraceSwitch
("ActiveX", "Debug ActiveX sourcing");
63
dataCursor = new
TraceSwitch
("Microsoft.WFC.Data.DataCursor", "DataCursor");
72
dataGridCursor = new
TraceSwitch
("DataGridCursor", "DataGrid cursor tracing");
81
dataGridEditing = new
TraceSwitch
("DataGridEditing", "DataGrid edit related tracing");
90
dataGridKeys = new
TraceSwitch
("DataGridKeys", "DataGrid keystroke management tracing");
99
dataGridLayout = new
TraceSwitch
("DataGridLayout", "DataGrid layout tracing");
108
dataGridPainting = new
TraceSwitch
("DataGridPainting" , "DataGrid Painting related tracing");
117
dataGridParents = new
TraceSwitch
("DataGridParents", "DataGrid parent rows");
126
dataGridScrolling = new
TraceSwitch
("DataGridScrolling", "DataGrid scrolling");
135
dataGridSelection = new
TraceSwitch
("DataGridSelection", "DataGrid selection management tracing");
144
dataObject = new
TraceSwitch
("DataObject", "Enable tracing for the DataObject class.");
153
dataView = new
TraceSwitch
("DataView", "DataView");
162
debugGridView = new
TraceSwitch
("PSDEBUGGRIDVIEW", "Debug PropertyGridView");
171
dgCaptionPaint = new
TraceSwitch
("DGCaptionPaint", "DataGridCaption");
180
dgEditColumnEditing = new
TraceSwitch
("DGEditColumnEditing", "Editing related tracing");
189
dgRelationShpRowLayout = new
TraceSwitch
("DGRelationShpRowLayout", "Relationship row layout");
198
dgRelationShpRowPaint = new
TraceSwitch
("DGRelationShpRowPaint", "Relationship row painting");
207
dgRowPaint = new
TraceSwitch
("DGRowPaint", "DataGrid Simple Row painting stuff");
216
dragDrop = new
TraceSwitch
("DragDrop", "Debug OLEDragDrop support in Controls");
225
flowLayout = new
TraceSwitch
("FlowLayout", "Debug flow layout");
234
imeMode = new
TraceSwitch
("ImeMode", "Debug IME Mode");
243
layoutPerformance = new
TraceSwitch
("LayoutPerformance", "Tracks layout events which impact performance.");
252
layoutSuspendResume = new
TraceSwitch
("LayoutSuspendResume", "Tracks SuspendLayout/ResumeLayout.");
270
msaa = new
TraceSwitch
("MSAA", "Debug Microsoft Active Accessibility");
279
msoComponentManager = new
TraceSwitch
("MSOComponentManager", "Debug MSO Component Manager support");
288
richLayout = new
TraceSwitch
("RichLayout", "Debug layout in RichControls");
298
setBounds = new
TraceSwitch
("SetBounds", "Trace changes to control size/position.");
313
handleLeak = new
TraceSwitch
("HANDLELEAK", "HandleCollector: Track Win32 Handle Leaks");
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
60
private static TraceSwitch ResValueProviderSwitch = new
TraceSwitch
("ResX", "Debug the resource value provider");
winforms\Managed\System\WinForms\AxHost.cs (3)
58
private static TraceSwitch AxHTraceSwitch = new
TraceSwitch
("AxHTrace", "ActiveX handle tracing");
59
private static TraceSwitch AxPropTraceSwitch = new
TraceSwitch
("AxPropTrace", "ActiveX property tracing");
60
private static TraceSwitch AxHostSwitch = new
TraceSwitch
("AxHost", "ActiveX host creation");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
27
private static TraceSwitch CAMarshalSwitch = new
TraceSwitch
("CAMarshal", "BaseCAMarshaler: Debug CA* struct marshaling");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Properties.cs (1)
25
private static TraceSwitch DbgCom2PropertiesSwitch = new
TraceSwitch
("DbgCom2Properties", "Com2Properties: debug Com2 properties manager");
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
1174
dgEditColumnEditing = new
TraceSwitch
("DGEditColumnEditing", "Editing related tracing");
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
52
public static TraceSwitch GridViewDebugPaint = new
TraceSwitch
("GridViewDebugPaint", "PropertyGridView: Debug property painting");
winforms\Managed\System\WinForms\RichTextBox.cs (1)
56
richTextDbg = new
TraceSwitch
("RichTextDbg", "Debug info about RichTextBox");
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
21
public static readonly TraceSwitch SecurityDemand = new
TraceSwitch
("SecurityDemand", "Trace when security demands occur.");
System.Xml (3)
System\Xml\DiagnosticsSwitches.cs (3)
36
xmlSchema = new
TraceSwitch
("XmlSchema", "Enable tracing for the XmlSchema class.");
63
xmlSerialization = new
TraceSwitch
("XmlSerialization", "Enable tracing for the System.Xml.Serialization component.");
72
xslTypeInference = new
TraceSwitch
("XslTypeInference", "Enable tracing for the XSLT type inference algorithm.");
128 references to TraceSwitch
System (13)
compmod\system\componentmodel\CompModSwitches.cs (2)
22
private static volatile
TraceSwitch
eventLog;
33
public static
TraceSwitch
EventLog {
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
64
private static
TraceSwitch
RuntimeLicenseContextSwitch = new TraceSwitch("RuntimeLicenseContextTrace", "RuntimeLicenseContext tracing");
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
26
private static
TraceSwitch
TRACESERVICE = new TraceSwitch("TRACESERVICE", "ServiceProvider: Trace service provider requests.");
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
65
private static
TraceSwitch
PropDescCreateSwitch = new TraceSwitch("PropDescCreate", "ReflectPropertyDescriptor: Dump errors when creating property info");
66
private static
TraceSwitch
PropDescUsageSwitch = new TraceSwitch("PropDescUsage", "ReflectPropertyDescriptor: Debug propertydescriptor usage");
67
private static
TraceSwitch
PropDescSwitch = new TraceSwitch("PropDesc", "ReflectPropertyDescriptor: Debug property descriptor");
compmod\system\diagnostics\TraceSwitch.cs (5)
24
/// <para>Initializes a new instance of the <see cref='System.Diagnostics.
TraceSwitch
'/> class.</para>
52
/// indicating whether the <see cref='System.Diagnostics.
TraceSwitch
.Level'/> is set to
64
/// indicating whether the <see cref='System.Diagnostics.
TraceSwitch
.Level'/> is set to
75
/// indicating whether the <see cref='System.Diagnostics.
TraceSwitch
.Level'/> is set to
86
/// indicating whether the <see cref='System.Diagnostics.
TraceSwitch
.Level'/> is set to
services\monitoring\system\diagnosticts\Process.cs (1)
138
internal static
TraceSwitch
processTracing = null;
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
199
TraceSwitch
perfCtrSwitch = new TraceSwitch("ConnectionPoolPerformanceCounterDetail", "level of detail to track with connection pool performance counters");
System.Drawing (6)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
82
private static readonly
TraceSwitch
GdiPlusInitialization = new TraceSwitch("GdiPlusInitialization", "Tracks GDI+ initialization and teardown");
commonui\System\Drawing\BufferedGraphicsContext.cs (2)
44
static
TraceSwitch
doubleBuffering;
72
internal static
TraceSwitch
DoubleBuffering {
commonui\System\Drawing\Design\ToolboxItem.cs (1)
40
private static
TraceSwitch
ToolboxItemPersist = new TraceSwitch("ToolboxPersisting", "ToolboxItem: write data");
misc\CompModSwitches.cs (2)
308
private static
TraceSwitch
handleLeak;
310
public static
TraceSwitch
HandleLeak {
System.Web.Services (4)
System\ComponentModel\CompModSwitches.cs (4)
14
private static
TraceSwitch
dynamicDiscoSearcher;
16
private static
TraceSwitch
remote;
27
public static
TraceSwitch
DynamicDiscoverySearcher {
45
public static
TraceSwitch
Remote {
System.Windows.Forms (98)
misc\CompModSwitches.cs (56)
21
private static
TraceSwitch
activeX;
22
private static
TraceSwitch
flowLayout;
23
private static
TraceSwitch
dataCursor;
24
private static
TraceSwitch
dataGridCursor;
25
private static
TraceSwitch
dataGridEditing;
26
private static
TraceSwitch
dataGridKeys;
27
private static
TraceSwitch
dataGridLayout;
28
private static
TraceSwitch
dataGridPainting;
29
private static
TraceSwitch
dataGridParents;
30
private static
TraceSwitch
dataGridScrolling;
31
private static
TraceSwitch
dataGridSelection;
32
private static
TraceSwitch
dataObject;
33
private static
TraceSwitch
dataView;
34
private static
TraceSwitch
debugGridView;
35
private static
TraceSwitch
dgCaptionPaint;
36
private static
TraceSwitch
dgEditColumnEditing;
37
private static
TraceSwitch
dgRelationShpRowLayout;
38
private static
TraceSwitch
dgRelationShpRowPaint;
39
private static
TraceSwitch
dgRowPaint;
40
private static
TraceSwitch
dragDrop;
41
private static
TraceSwitch
imeMode;
42
private static
TraceSwitch
msaa;
43
private static
TraceSwitch
msoComponentManager;
44
private static
TraceSwitch
layoutPerformance;
45
private static
TraceSwitch
layoutSuspendResume;
46
private static
TraceSwitch
richLayout;
47
private static
TraceSwitch
setBounds;
51
public static
TraceSwitch
ActiveX {
60
public static
TraceSwitch
DataCursor {
69
public static
TraceSwitch
DataGridCursor {
78
public static
TraceSwitch
DataGridEditing {
87
public static
TraceSwitch
DataGridKeys {
96
public static
TraceSwitch
DataGridLayout {
105
public static
TraceSwitch
DataGridPainting {
114
public static
TraceSwitch
DataGridParents {
123
public static
TraceSwitch
DataGridScrolling {
132
public static
TraceSwitch
DataGridSelection {
141
public static
TraceSwitch
DataObject {
150
public static
TraceSwitch
DataView {
159
public static
TraceSwitch
DebugGridView {
168
public static
TraceSwitch
DGCaptionPaint {
177
public static
TraceSwitch
DGEditColumnEditing {
186
public static
TraceSwitch
DGRelationShpRowLayout {
195
public static
TraceSwitch
DGRelationShpRowPaint {
204
public static
TraceSwitch
DGRowPaint {
213
public static
TraceSwitch
DragDrop {
222
public static
TraceSwitch
FlowLayout {
231
public static
TraceSwitch
ImeMode {
240
public static
TraceSwitch
LayoutPerformance {
249
public static
TraceSwitch
LayoutSuspendResume {
267
public static
TraceSwitch
MSAA {
276
public static
TraceSwitch
MSOComponentManager {
285
public static
TraceSwitch
RichLayout {
295
public static
TraceSwitch
SetBounds {
308
private static
TraceSwitch
handleLeak;
310
public static
TraceSwitch
HandleLeak {
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
60
private static
TraceSwitch
ResValueProviderSwitch = new TraceSwitch("ResX", "Debug the resource value provider");
winforms\Managed\System\WinForms\AxHost.cs (3)
58
private static
TraceSwitch
AxHTraceSwitch = new TraceSwitch("AxHTrace", "ActiveX handle tracing");
59
private static
TraceSwitch
AxPropTraceSwitch = new TraceSwitch("AxPropTrace", "ActiveX property tracing");
60
private static
TraceSwitch
AxHostSwitch = new TraceSwitch("AxHost", "ActiveX host creation");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
27
private static
TraceSwitch
CAMarshalSwitch = new TraceSwitch("CAMarshal", "BaseCAMarshaler: Debug CA* struct marshaling");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Properties.cs (1)
25
private static
TraceSwitch
DbgCom2PropertiesSwitch = new TraceSwitch("DbgCom2Properties", "Com2Properties: debug Com2 properties manager");
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
39
private static
TraceSwitch
DbgTypeInfoProcessorSwitch;
winforms\Managed\System\WinForms\Control.cs (3)
148
internal static readonly
TraceSwitch
ControlKeyboardRouting;
149
internal static readonly
TraceSwitch
PaletteTracing;
150
internal static readonly
TraceSwitch
FocusTracing;
winforms\Managed\System\WinForms\DataGrid.cs (1)
46
internal
TraceSwitch
DataGridAcc = null;
winforms\Managed\System\WinForms\DataGridColumn.cs (2)
1168
private static
TraceSwitch
dgEditColumnEditing;
1171
public static
TraceSwitch
DGEditColumnEditing {
winforms\Managed\System\WinForms\Help.cs (1)
37
internal static readonly
TraceSwitch
WindowsFormsHelpTrace;
winforms\Managed\System\WinForms\NativeWindow.cs (1)
48
private static readonly
TraceSwitch
WndProcChoice;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
52
public static
TraceSwitch
GridViewDebugPaint = new TraceSwitch("GridViewDebugPaint", "PropertyGridView: Debug property painting");
winforms\Managed\System\WinForms\RichTextBox.cs (2)
52
static
TraceSwitch
richTextDbg;
53
static
TraceSwitch
RichTextDbg {
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
41
internal static readonly
TraceSwitch
AutoScrolling;
winforms\Managed\System\WinForms\ToolStrip.cs (11)
159
internal static readonly
TraceSwitch
SelectionDebug;
160
internal static readonly
TraceSwitch
DropTargetDebug;
161
internal static readonly
TraceSwitch
LayoutDebugSwitch;
162
internal static readonly
TraceSwitch
MouseActivateDebug;
163
internal static readonly
TraceSwitch
MergeDebug;
164
internal static readonly
TraceSwitch
SnapFocusDebug;
165
internal static readonly
TraceSwitch
FlickerDebug;
166
internal static readonly
TraceSwitch
ItemReorderDebug;
167
internal static readonly
TraceSwitch
MDIMergeDebug;
168
internal static readonly
TraceSwitch
MenuAutoExpandDebug;
169
internal static readonly
TraceSwitch
ControlTabDebug;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
68
internal static
TraceSwitch
DropDownActivateDebug;
69
internal static
TraceSwitch
DropDownDebugBounds;
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
37
internal static readonly
TraceSwitch
DragDropDebug;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
48
internal static readonly
TraceSwitch
MouseDebugging;
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
33
internal static readonly
TraceSwitch
PopupLayoutDebug;
winforms\Managed\System\WinForms\ToolStripPanel.cs (3)
48
internal static
TraceSwitch
ToolStripPanelDebug;
49
internal static
TraceSwitch
ToolStripPanelFeedbackDebug;
50
internal static
TraceSwitch
ToolStripPanelMissingRowDebug;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
49
internal static
TraceSwitch
ToolStripPanelRowCreationDebug ;
707
internal static readonly
TraceSwitch
ToolStripPanelMouseDebug;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
25
internal static readonly
TraceSwitch
DebugLayoutTraceSwitch;
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
21
public static readonly
TraceSwitch
SecurityDemand = new TraceSwitch("SecurityDemand", "Trace when security demands occur.");
System.Xml (6)
System\Xml\DiagnosticsSwitches.cs (6)
17
private static volatile
TraceSwitch
xmlSchema;
20
private static volatile
TraceSwitch
xmlSerialization;
21
private static volatile
TraceSwitch
xslTypeInference;
33
public static
TraceSwitch
XmlSchema {
60
public static
TraceSwitch
XmlSerialization {
69
public static
TraceSwitch
XslTypeInference {