6 references to WriteLineIf
System.Private.Windows.Core (1)
Windows\Win32\System\Com\ComHelpers.cs (1)
231
Debug.
WriteLineIf
(count > 0, $"{nameof(TryGetObjectForIUnknown)}: Count for {typeof(TObject).Name} is {count} after release.");
System.Windows.Forms (5)
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (1)
178
Debug.
WriteLineIf
(result.Failed, $"{nameof(TrySetName)}: put_accName call failed with {result}");
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1429
Debug.
WriteLineIf
(hr.Failed, $"Failed to advise with {eventInterface.Name}.");
System\Windows\Forms\Control.cs (1)
9154
Debug.
WriteLineIf
(CoreSwitches.PerfTrack.Enabled, $"RecreateHandle: {GetType().FullName} [Text={Text}]");
System\Windows\Forms\Layout\DefaultLayout.cs (1)
175
Debug.
WriteLineIf
(width < 0 || height < 0, $"\t\t'{element}' destination bounds resulted in negative");
System\Windows\Forms\NativeWindow.cs (1)
466
Debug.
WriteLineIf
(