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