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)
312
Debug.
WriteLineIf
(hr == HRESULT.CLIPBRD_E_BAD_DATA, "CLIPBRD_E_BAD_DATA returned when trying to get clipboard data.");
313
Debug.
WriteLineIf
(hr == HRESULT.DV_E_TYMED, "DV_E_TYMED returned when trying to get clipboard data.");
315
Debug.
WriteLineIf
(hr == HRESULT.E_UNEXPECTED, "E_UNEXPECTED returned when trying to get clipboard data.");
316
Debug.
WriteLineIf
(hr == HRESULT.COR_E_SERIALIZATION,
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
622
Debug.
WriteLineIf
(_activeControl is not null
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
100
Debug.
WriteLineIf
(result == 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)
1838
Debug.
WriteLineIf
(item is DesignerToolStripControlHost, " Why are we here for non DesignerMenuItem??");
WindowsFormsIntegration (9)
System\Windows\Integration\ElementHost.cs (6)
119
Debug.
WriteLineIf
(_traceLayout.TraceInfo, String.Format(CultureInfo.CurrentCulture, "AvalonAdapter({0}): MeasureOverride (constraint={1},result={2})", this.Name, proposedSize, prefSize));
638
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside SyncHwndSrcImeStatus(), this = " + this);
675
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Verbose, "SetChildElementsIsImeEnabled, element = " + element);
696
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside OnHwndSrcWmInputLangChange(), this = " + this);
725
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside OnHwndSrcWmImeNotify(), this = " + this);
756
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Verbose, "Inside OnHwndSourceMsgNotifyElementHost()");
System\Windows\Integration\WindowsFormsHost.cs (3)
89
Debug.
WriteLineIf
(HostUtils.ImeMode.Level >= TraceLevel.Info, "Inside SyncChildImeEnabledContext(), this = " + this);
476
Debug.
WriteLineIf
(_traceHandle.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): BuildWindowCore (parent=0x{1:x8})", this.Name, hwndParent.Handle.ToInt32()));
1032
Debug.
WriteLineIf
(WindowsFormsHost._traceLayout.TraceInfo, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): Layout invalidated (control='{1}',property='{2}')", _host.Name, compName, e.AffectedProperty));