5 writes to Level
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Remote\InProcRemostHostClient.cs (1)
165Switch = { Level = SourceLevels.Warning },
System.Configuration.ConfigurationManager (4)
System\Diagnostics\TraceConfiguration.cs (4)
58traceSource.Switch.Level = Enum.Parse<SourceLevels>(sourceElement.SwitchValue); 77traceSource.Switch.Level = Enum.Parse<SourceLevels>(sourceElement.SwitchValue); 81traceSource.Switch.Level = SourceLevels.Off; 108traceSource.Switch.Level = traceSource.DefaultLevel;
12 references to Level
Microsoft.Extensions.Logging.TraceSource (1)
TraceSourceLoggerProvider.cs (1)
110traceSource.Switch.Level == SourceLevels.Off;
WindowsBase.Tests (11)
System\Diagnostics\PresentationTraceSourcesTests.cs (11)
75Assert.True(Enum.IsDefined(source.Switch.Level)); 85Assert.True(Enum.IsDefined(source.Switch.Level)); 95Assert.True(Enum.IsDefined(source.Switch.Level)); 105Assert.True(Enum.IsDefined(source.Switch.Level)); 115Assert.True(Enum.IsDefined(source.Switch.Level)); 125Assert.True(Enum.IsDefined(source.Switch.Level)); 135Assert.True(Enum.IsDefined(source.Switch.Level)); 145Assert.True(Enum.IsDefined(source.Switch.Level)); 155Assert.True(Enum.IsDefined(source.Switch.Level)); 165Assert.True(Enum.IsDefined(source.Switch.Level)); 175Assert.True(Enum.IsDefined(source.Switch.Level));