115 references to Level
System (8)
compmod\system\diagnostics\TraceSwitch.cs (8)
52
/// indicating whether the <see cref='System.Diagnostics.TraceSwitch.
Level
'/> is set to
58
return (
Level
>= TraceLevel.Error);
64
/// indicating whether the <see cref='System.Diagnostics.TraceSwitch.
Level
'/> is set to
69
return (
Level
>= TraceLevel.Warning);
75
/// indicating whether the <see cref='System.Diagnostics.TraceSwitch.
Level
'/> is set to
80
return (
Level
>= TraceLevel.Info);
86
/// indicating whether the <see cref='System.Diagnostics.TraceSwitch.
Level
'/> is set to
91
return (
Level
== TraceLevel.Verbose);
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
200
if (TraceLevel.Verbose == perfCtrSwitch.
Level
) {
System.Drawing (9)
misc\DebugHandleTracker.cs (9)
44
if (CompModSwitches.HandleLeak.
Level
> TraceLevel.Off || CompModSwitches.TraceCollect.Enabled) {
63
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Warning) {
86
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Warning) {
141
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Error) {
182
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Info) {
186
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Verbose)
260
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Info) {
264
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Verbose)
308
if (CompModSwitches.HandleLeak.
Level
> TraceLevel.Off) {
System.Windows.Forms (97)
misc\DebugHandleTracker.cs (9)
44
if (CompModSwitches.HandleLeak.
Level
> TraceLevel.Off || CompModSwitches.TraceCollect.Enabled) {
63
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Warning) {
86
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Warning) {
141
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Error) {
182
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Info) {
186
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Verbose)
260
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Info) {
264
if (CompModSwitches.HandleLeak.
Level
>= TraceLevel.Verbose)
308
if (CompModSwitches.HandleLeak.
Level
> TraceLevel.Off) {
winforms\Managed\System\WinForms\ContainerControl.cs (1)
267
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_CanEnableIme(), value = false" + ", this = " + this );
winforms\Managed\System\WinForms\Control.cs (1)
10521
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "charsToIgnore decreased, new val = " + charsToIgnore + ", this=" + this);
winforms\Managed\System\WinForms\Control.Ime.cs (80)
96
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_CachedImeMode(), this = " + this );
105
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "using DefaultImeMode == " + cachedImeMode );
108
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "using property store ImeMode == " + cachedImeMode );
117
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "inherited from parent = " + parent.GetType() );
124
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "returning CachedImeMode == " + cachedImeMode );
135
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside set_CachedImeMode(), this = " + this );
138
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Warning, "Setting cached Ime == " + value );
155
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format(CultureInfo.CurrentCulture, "Inside get_CanEnableIme(), value = {0}, this = {1}", ImeSupported, this ) );
167
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_CurrentImeContextMode(), this = " + this );
191
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_DisableImeModeChangedCount()" );
198
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value: " + val );
204
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside set_DisableImeModeChangedCount(): " + value );
215
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_IgnoreWmImeNotify()");
220
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value: " + val);
226
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside set_IgnoreWmImeNotify(): " + value);
264
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_ImeModeBase(), this = " + this );
269
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value = " + imeMode );
275
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeModeBase({0}), this = {1}", value, this ) );
357
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeWmCharToIgnore(value={0}), this = {1}", value, this ) );
366
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImeWmCharsToIgnore on leaving setter: " + ImeWmCharsToIgnore );
378
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_LastCanEnableIme()" );
391
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value: " + valueFound );
397
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside set_LastCanEnableIme(): " + value );
409
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_PropagatingImeMode()" );
415
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "Initializing PropagatingImeMode" );
438
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "Value: " + Control.propagatingImeMode );
444
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside set_PropagatingImeMode()" );
452
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "Cannot change PropagatingImeMode to " + value);
456
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Warning, string.Format( CultureInfo.CurrentCulture, "Setting PropagatingImeMode: Current value = {0}, New value = {1}", propagatingImeMode, value ) );
476
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside UpdateImeContextMode(), this = " + this );
541
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside VerifyImeModeChanged(oldMode={0}, newMode={1}), this = {2}", oldMode, newMode, this ) );
559
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside VerifyImeRestrictedModeChanged(), this = " + this );
602
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside OnImeContextStatusChanged(), this = " + this );
636
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside OnImeModeChanged(), this = " + this );
646
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside ResetImeMode(), this = " + this );
668
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmInputLangChange(), this = " + this );
687
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Culture=" + e.Culture );
703
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmInputLangChangeRequest(), this=" + this );
710
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Culture=" + e.Culture );
738
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmImeEndComposition() - Disabling ImeWmCharToIgnore, this=" + this );
785
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside WmImeNotify(m.wparam=[{0}]), this={1}", m.WParam, this ) );
803
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmImeSetFocus(), this=" + this);
819
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmImeStartComposition() - Enabling ImeWmCharToIgnore, this=" + this );
831
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside WmImeKillFocus(), this=" + this);
841
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Unfocused TopMostParent = " + topMostWinformsParent);
856
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "Setting IME context to PropagatingImeMode (leaving Microsoft container). this = " + this);
859
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "Resetting PropagatingImeMode. this = " + this);
889
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside ImeContext.Disable(" + handle + ")" );
901
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmAssociateContext(" + handle + ", null)" );
916
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside ImeContext.Enable(" + handle + ")" );
920
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetContext(" + handle + ")" );
922
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "context = " + inputContext );
927
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmCreateContext()" );
930
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmAssociateContext(" + handle + ", " + inputContext + ")" );
935
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmAssociateContext()" );
940
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmReleaseContext(" + handle + ", " + inputContext + ")" );
958
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Insise ImeContext.GetImeMode(" + handle + ")" );
973
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetContext(" + handle + ")" );
975
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "context = " + inputContext );
995
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetConversionStatus(" + inputContext + ", conversion, sentence)" );
1022
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmReleaseContext(" + handle + ", " + inputContext + ")" );
1109
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside ImeContext.IsOpen(" + handle + ")" );
1112
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetContext(" + handle + ")" );
1114
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "context = " + inputContext );
1119
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetOpenStatus(" + inputContext + ")" );
1121
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmReleaseContext(" + handle + ", " + inputContext + ")" );
1125
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, " IsOpen = " + retval );
1135
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside ImeContext.SetImeStatus(ImeMode=[{0}, handle=[{1}])", imeMode, handle ) );
1153
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Warning, "\tSetting IME context to " + imeMode );
1203
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetContext(" + handle + ")" );
1205
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "context = " + inputContext );
1206
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetConversionStatus(" + inputContext + ", conversion, sentence)" );
1212
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmSetConversionStatus(" + inputContext + ", conversion, sentence)" );
1214
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmReleaseContext(" + handle + ", " + inputContext + ")" );
1229
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside SetOpenStatus(open=[{0}], handle=[{1}])", open, handle ) );
1233
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmGetContext(" + handle + ")" );
1235
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "context = " + inputContext );
1238
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmSetOpenStatus(" + inputContext + ", " + open + ")" );
1243
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Verbose, "ImmReleaseContext(" + handle + ", " + inputContext + ")" );
1366
Debug.WriteLineIf(CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_InputLanguageTable(), Input Language = " + InputLanguage.CurrentInputLanguage.Culture.DisplayName + ", Thread = " + System.Threading.Thread.CurrentThread.ManagedThreadId);
winforms\Managed\System\WinForms\DataGridView.cs (2)
1477
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_CanEnableIme(), this = " + this );
1491
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value = " + canEnable );
winforms\Managed\System\WinForms\TextBoxBase.cs (4)
440
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_CanEnableIme(), this = " + this );
445
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value = " + canEnable );
652
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Inside get_ImeModeInternal(), this = " + this );
657
Debug.WriteLineIf( CompModSwitches.ImeMode.
Level
>= TraceLevel.Info, "Value = " + imeMode );