34 references to CompModSwitches
System (34)
compmod\system\componentmodel\ReflectEventDescriptor.cs (4)
180
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
203
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || dict != null, "IDictionaryService not found");
443
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
462
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || dict != null, "IDictionaryService not found");
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (4)
630
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
673
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
1050
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
1118
Debug.Assert(!
CompModSwitches
.CommonDesignerServices.Enabled || changeService != null, "IComponentChangeService not found");
services\monitoring\system\diagnosticts\EventLog.cs (5)
399
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "CreateEventSource: Checking arguments");
419
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "CreateEventSource: Calling SourceExists");
421
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "CreateEventSource: SourceExists returned true");
432
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "CreateEventSource: Getting DllPath");
444
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "CreateEventSource: Getting local machine regkey");
services\monitoring\system\diagnosticts\EventLogInternal.cs (21)
552
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::AddListenerComponent(" + compLogName + ")");
556
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::AddListenerComponent: listener already active.");
661
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::Close");
672
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::Close: closed read handle");
683
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::Close: closed write handle");
710
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: starting at " + lastSeenCount.ToString(CultureInfo.InvariantCulture));
714
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: aborting because we're already notifying.");
737
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: OldestEntryNumber is " + OldestEntryNumber + ", EntryCount is " + EntryCount);
753
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: Caught exception notifying event handlers: " + e.ToString());
764
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: finishing at " + lastSeenCount.ToString(CultureInfo.InvariantCulture));
767
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: Caught exception updating last entry number: " + e.ToString());
905
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture));
917
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "Increasing buffer size from " + buf.Length.ToString(CultureInfo.InvariantCulture) + " to " + minBytesNeeded.ToString(CultureInfo.InvariantCulture) + " bytes");
1098
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture));
1275
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::OpenForRead");
1325
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::OpenForWrite");
1363
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::Reset");
1388
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::RemoveListenerComponent(" + compLogName + ")");
1420
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::StartListening: lastSeenCount = " + lastSeenCount);
1444
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::StaticCompletionCallback: notifying " + interestedComponents.Length + " components.");
1455
Debug.WriteLineIf(
CompModSwitches
.EventLog.TraceVerbose, "EventLog::StaticCompletionCallback: ignored an ObjectDisposedException");