53 references to Assert
PresentationFramework (53)
System\Windows\Shell\WindowChrome.cs (2)
73Assert.IsNotNull(window); 330Assert.IsNotNull(bp.DependencyProperty);
System\Windows\Shell\WindowChromeWorker.cs (23)
78Assert.IsNotNull(_window); 117Assert.IsNotNull(w); 118Assert.IsNotNull(cw); 119Assert.IsNull(cw._window); 126Assert.IsNull(_window); 127Assert.IsNotNull(window); 152Assert.IsNotNull(_hwndSource); 169Assert.IsNotDefault(_hwnd); 171Assert.IsNotNull(_hwndSource); 282Assert.IsNotNull(_chromeInfo); 283Assert.IsNotNull(_window); 348Assert.AreEqual(hwnd, _hwnd); 576Assert.IsNotDefault(lParam); 612Assert.IsNotDefault(_hwnd); 837Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 845Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 853Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 854Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 935Assert.IsNotNull(_window); 1119Assert.IsNotDefault(_hwnd); 1120Assert.IsNotNull(_window); 1139Assert.IsNull(_chromeInfo); 1140Assert.IsNotNull(_window);
System\Windows\Standard\Debug.cs (2)
194Assert.Fail(); 203Assert.Fail();
System\Windows\Standard\ErrorCodes.cs (6)
253Assert.Implies((int)facility != (int)((int)facility & 0x1FF), facility == Facility.Ese || facility == Facility.WinCodec); 255Assert.AreEqual(code, code & 0xFFFF); 417Assert.IsNotNull(e); 422Assert.IsFalse(e is ArgumentNullException); 444Assert.IsNotNull(e); 458Assert.Fail();
System\Windows\Standard\MessageWindow.cs (1)
161Assert.IsNotNull(hwndWrapper);
System\Windows\Standard\NativeMethods.cs (7)
1395Assert.NullableIsNull(_hwnd); 1608Assert.IsNotNull(_cp); 2376Assert.AreEqual(IntPtr.Zero, p); 2559Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2566Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2574Assert.IsTrue(Utility.IsOSVistaOrNewer); 2581Assert.IsTrue(Utility.IsOSWindows7OrNewer);
System\Windows\Standard\Utilities.cs (5)
214Assert.IsTrue(Marshal.IsComObject(t)); 225Assert.IsNotNull(property); 226Assert.IsNotNull(listener); 238Assert.IsNotNull(property); 239Assert.IsNotNull(listener);
System\Windows\Standard\Verify.cs (6)
57Assert.IsNeitherNullNorEmpty(name); 81Assert.IsNeitherNullNorEmpty(name); 252Assert.IsNeitherNullNorEmpty(parameterName); 275Assert.IsNotNull(parameter); 276Assert.IsNotNull(interfaceType); 277Assert.IsTrue(interfaceType.IsInterface);
System\Windows\SystemParameters.cs (1)
5607Standard.Assert.IsNeitherNullNorEmpty(UxThemeName);