18 references to WriteLineIf
System.Console (1)
System\TerminalFormatStrings.cs (1)
91
Debug.
WriteLineIf
(db.GetString(TermInfo.WellKnownStrings.CursorPositionReport) != CursorPositionReport,
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (1)
263
WriteLineIf
(condition, message.ToStringAndClear());
System.Private.Windows.Core (4)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (4)
309
Debug.
WriteLineIf
(hr == HRESULT.CLIPBRD_E_BAD_DATA, "CLIPBRD_E_BAD_DATA returned when trying to get clipboard data.");
310
Debug.
WriteLineIf
(hr == HRESULT.DV_E_TYMED, "DV_E_TYMED returned when trying to get clipboard data.");
312
Debug.
WriteLineIf
(hr == HRESULT.E_UNEXPECTED, "E_UNEXPECTED returned when trying to get clipboard data.");
313
Debug.
WriteLineIf
(hr == HRESULT.COR_E_SERIALIZATION,
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
628
Debug.
WriteLineIf
(_activeControl is not null
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
125
Debug.
WriteLineIf
(hr == HRESULT.CLIPBRD_E_BAD_DATA, "CLIPBRD_E_BAD_DATA returned when trying to get clipboard data.");
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
1847
Debug.
WriteLineIf
(item is DesignerToolStripControlHost, " Why are we here for non DesignerMenuItem??");
WindowsFormsIntegration (9)
System\Windows\Integration\ElementHost.cs (6)
120
Debug.
WriteLineIf
(_traceLayout.TraceInfo, String.Format(CultureInfo.CurrentCulture, "AvalonAdapter({0}): MeasureOverride (constraint={1},result={2})", this.Name, proposedSize, prefSize));
641
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside SyncHwndSrcImeStatus(), this = " + this);
678
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Verbose, "SetChildElementsIsImeEnabled, element = " + element);
699
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside OnHwndSrcWmInputLangChange(), this = " + this);
728
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside OnHwndSrcWmImeNotify(), this = " + this);
759
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Verbose, "Inside OnHwndSourceMsgNotifyElementHost()");
System\Windows\Integration\WindowsFormsHost.cs (3)
90
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside SyncChildImeEnabledContext(), this = " + this);
477
Debug.
WriteLineIf
(_traceHandle.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): BuildWindowCore (parent=0x{1:x8})", this.Name, hwndParent.Handle.ToInt32()));
1033
Debug.
WriteLineIf
(WindowsFormsHost._traceLayout.TraceInfo, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): Layout invalidated (control='{1}',property='{2}')", _host.Name, compName, e.AffectedProperty));