4 writes to internalSwitch
System (4)
compmod\system\diagnostics\TraceSource.cs (4)
110
internalSwitch
= new SourceSwitch(sourceName, switchLevel.ToString());
468
internalSwitch
= (SourceSwitch) TraceUtils.GetRuntimeObject(typename, typeof(SourceSwitch), name);
470
internalSwitch
= new SourceSwitch(name, switchLevel.ToString());
517
internalSwitch
= value;
16 references to internalSwitch
System (16)
compmod\system\diagnostics\TraceSource.cs (16)
89
internalSwitch
.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.SwitchValue);
183
if ((String.IsNullOrEmpty(sourceElement.SwitchType) &&
internalSwitch
.GetType() != typeof(SourceSwitch)) ||
184
(sourceElement.SwitchType !=
internalSwitch
.GetType().AssemblyQualifiedName)) {
193
internalSwitch
.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.SwitchValue);
198
if (sourceElement.SwitchName !=
internalSwitch
.DisplayName)
201
internalSwitch
.Refresh();
206
internalSwitch
.Level = (SourceLevels) Enum.Parse(typeof(SourceLevels), sourceElement.SwitchValue);
208
internalSwitch
.Level = SourceLevels.Off;
231
internalSwitch
.Level = switchLevel;
245
if (
internalSwitch
.ShouldTrace(eventType) && listeners != null) {
281
if (
internalSwitch
.ShouldTrace(eventType) && listeners != null) {
317
if (
internalSwitch
.ShouldTrace(eventType) && listeners != null) {
353
if (
internalSwitch
.ShouldTrace(eventType) && listeners != null) {
389
if (
internalSwitch
.ShouldTrace(eventType) && listeners != null) {
437
if (
internalSwitch
.ShouldTrace(TraceEventType.Transfer) && listeners != null) {
507
return
internalSwitch
;