53 references to Assert
PresentationFramework (53)
System\Windows\Shell\WindowChrome.cs (2)
72Assert.IsNotNull(window); 329Assert.IsNotNull(bp.DependencyProperty);
System\Windows\Shell\WindowChromeWorker.cs (23)
77Assert.IsNotNull(_window); 116Assert.IsNotNull(w); 117Assert.IsNotNull(cw); 118Assert.IsNull(cw._window); 125Assert.IsNull(_window); 126Assert.IsNotNull(window); 151Assert.IsNotNull(_hwndSource); 168Assert.IsNotDefault(_hwnd); 170Assert.IsNotNull(_hwndSource); 281Assert.IsNotNull(_chromeInfo); 282Assert.IsNotNull(_window); 347Assert.AreEqual(hwnd, _hwnd); 575Assert.IsNotDefault(lParam); 611Assert.IsNotDefault(_hwnd); 836Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 844Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 852Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 853Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 934Assert.IsNotNull(_window); 1118Assert.IsNotDefault(_hwnd); 1119Assert.IsNotNull(_window); 1138Assert.IsNull(_chromeInfo); 1139Assert.IsNotNull(_window);
System\Windows\Standard\Debug.cs (2)
193Assert.Fail(); 202Assert.Fail();
System\Windows\Standard\ErrorCodes.cs (6)
252Assert.Implies((int)facility != (int)((int)facility & 0x1FF), facility == Facility.Ese || facility == Facility.WinCodec); 254Assert.AreEqual(code, code & 0xFFFF); 416Assert.IsNotNull(e); 421Assert.IsFalse(e is ArgumentNullException); 443Assert.IsNotNull(e); 457Assert.Fail();
System\Windows\Standard\MessageWindow.cs (1)
160Assert.IsNotNull(hwndWrapper);
System\Windows\Standard\NativeMethods.cs (7)
1394Assert.NullableIsNull(_hwnd); 1607Assert.IsNotNull(_cp); 2380Assert.AreEqual(IntPtr.Zero, p); 2563Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2570Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2578Assert.IsTrue(Utility.IsOSVistaOrNewer); 2585Assert.IsTrue(Utility.IsOSWindows7OrNewer);
System\Windows\Standard\Utilities.cs (5)
213Assert.IsTrue(Marshal.IsComObject(t)); 224Assert.IsNotNull(property); 225Assert.IsNotNull(listener); 237Assert.IsNotNull(property); 238Assert.IsNotNull(listener);
System\Windows\Standard\Verify.cs (6)
56Assert.IsNeitherNullNorEmpty(name); 80Assert.IsNeitherNullNorEmpty(name); 251Assert.IsNeitherNullNorEmpty(parameterName); 274Assert.IsNotNull(parameter); 275Assert.IsNotNull(interfaceType); 276Assert.IsTrue(interfaceType.IsInterface);
System\Windows\SystemParameters.cs (1)
5592Standard.Assert.IsNeitherNullNorEmpty(UxThemeName);