63 references to Assert
PresentationFramework (63)
System\Windows\Shell\WindowChrome.cs (2)
76Assert.IsNotNull(window); 333Assert.IsNotNull(bp.DependencyProperty);
System\Windows\Shell\WindowChromeWorker.cs (33)
100Assert.IsNotNull(_window); 139Assert.IsNotNull(w); 140Assert.IsNotNull(cw); 141Assert.IsNull(cw._window); 148Assert.IsNull(_window); 149Assert.IsNotNull(window); 174Assert.IsNotNull(_hwndSource); 191Assert.IsNotDefault(_hwnd); 193Assert.IsNotNull(_hwndSource); 305Assert.IsNotNull(_chromeInfo); 306Assert.IsNotNull(_window); 455Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 484Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 503Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 525Assert.AreEqual(hwnd, _hwnd); 753Assert.IsNotDefault(lParam); 785Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 796Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 802Assert.Implies(_window.WindowState == WindowState.Maximized, Utility.IsOSWindows7OrNewer); 823Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 831Assert.IsTrue(Utility.IsOSWindows7OrNewer); 843Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 862Assert.IsNotDefault(_hwnd); 1087Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 1095Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 1103Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 1104Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 1185Assert.IsNotNull(_window); 1369Assert.IsNotDefault(_hwnd); 1370Assert.IsNotNull(_window); 1390Assert.IsTrue(_isFixedUp); 1398Assert.IsNull(_chromeInfo); 1399Assert.IsNotNull(_window);
System\Windows\Standard\Debug.cs (2)
198Assert.Fail(); 207Assert.Fail();
System\Windows\Standard\ErrorCodes.cs (6)
254Assert.Implies((int)facility != (int)((int)facility & 0x1FF), facility == Facility.Ese || facility == Facility.WinCodec); 256Assert.AreEqual(code, code & 0xFFFF); 426Assert.IsNotNull(e); 431Assert.IsFalse(e is ArgumentNullException); 453Assert.IsNotNull(e); 467Assert.Fail();
System\Windows\Standard\MessageWindow.cs (1)
165Assert.IsNotNull(hwndWrapper);
System\Windows\Standard\NativeMethods.cs (7)
1405Assert.NullableIsNull(_hwnd); 1622Assert.IsNotNull(_cp); 2416Assert.AreEqual(IntPtr.Zero, p); 2629Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2637Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2645Assert.IsTrue(Utility.IsOSVistaOrNewer); 2653Assert.IsTrue(Utility.IsOSWindows7OrNewer);
System\Windows\Standard\Utilities.cs (5)
253Assert.IsTrue(Marshal.IsComObject(t)); 264Assert.IsNotNull(property); 265Assert.IsNotNull(listener); 277Assert.IsNotNull(property); 278Assert.IsNotNull(listener);
System\Windows\Standard\Verify.cs (6)
61Assert.IsNeitherNullNorEmpty(name); 86Assert.IsNeitherNullNorEmpty(name); 270Assert.IsNeitherNullNorEmpty(parameterName); 295Assert.IsNotNull(parameter); 296Assert.IsNotNull(interfaceType); 297Assert.IsTrue(interfaceType.IsInterface);
System\Windows\SystemParameters.cs (1)
5611Standard.Assert.IsNeitherNullNorEmpty(UxThemeName);