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); 109Assert.IsNotNull(w); 110Assert.IsNotNull(cw); 111Assert.IsNull(cw._window); 118Assert.IsNull(_window); 119Assert.IsNotNull(window); 144Assert.IsNotNull(_hwndSource); 161Assert.IsNotDefault(_hwnd); 163Assert.IsNotNull(_hwndSource); 271Assert.IsNotNull(_chromeInfo); 272Assert.IsNotNull(_window); 337Assert.AreEqual(hwnd, _hwnd); 565Assert.IsNotDefault(lParam); 601Assert.IsNotDefault(_hwnd); 826Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 834Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 842Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 843Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 924Assert.IsNotNull(_window); 1108Assert.IsNotDefault(_hwnd); 1109Assert.IsNotNull(_window); 1128Assert.IsNull(_chromeInfo); 1129Assert.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)
1396Assert.NullableIsNull(_hwnd); 1600Assert.IsNotNull(_cp); 2373Assert.AreEqual(IntPtr.Zero, p); 2592Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2599Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2607Assert.IsTrue(Utility.IsOSVistaOrNewer); 2614Assert.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);