53 references to Assert
PresentationFramework (53)
System\Windows\Shell\WindowChrome.cs (2)
76Assert.IsNotNull(window); 333Assert.IsNotNull(bp.DependencyProperty);
System\Windows\Shell\WindowChromeWorker.cs (23)
83Assert.IsNotNull(_window); 122Assert.IsNotNull(w); 123Assert.IsNotNull(cw); 124Assert.IsNull(cw._window); 131Assert.IsNull(_window); 132Assert.IsNotNull(window); 157Assert.IsNotNull(_hwndSource); 174Assert.IsNotDefault(_hwnd); 176Assert.IsNotNull(_hwndSource); 287Assert.IsNotNull(_chromeInfo); 288Assert.IsNotNull(_window); 353Assert.AreEqual(hwnd, _hwnd); 581Assert.IsNotDefault(lParam); 617Assert.IsNotDefault(_hwnd); 842Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 850Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 858Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 859Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 940Assert.IsNotNull(_window); 1124Assert.IsNotDefault(_hwnd); 1125Assert.IsNotNull(_window); 1144Assert.IsNull(_chromeInfo); 1145Assert.IsNotNull(_window);
System\Windows\Standard\Debug.cs (2)
198Assert.Fail(); 207Assert.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)
164Assert.IsNotNull(hwndWrapper);
System\Windows\Standard\NativeMethods.cs (7)
1400Assert.NullableIsNull(_hwnd); 1613Assert.IsNotNull(_cp); 2381Assert.AreEqual(IntPtr.Zero, p); 2564Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2571Assert.IsTrue(Utility.IsWindows11_22H2OrNewer); 2579Assert.IsTrue(Utility.IsOSVistaOrNewer); 2586Assert.IsTrue(Utility.IsOSWindows7OrNewer);
System\Windows\Standard\Utilities.cs (5)
223Assert.IsTrue(Marshal.IsComObject(t)); 234Assert.IsNotNull(property); 235Assert.IsNotNull(listener); 247Assert.IsNotNull(property); 248Assert.IsNotNull(listener);
System\Windows\Standard\Verify.cs (6)
59Assert.IsNeitherNullNorEmpty(name); 83Assert.IsNeitherNullNorEmpty(name); 254Assert.IsNeitherNullNorEmpty(parameterName); 277Assert.IsNotNull(parameter); 278Assert.IsNotNull(interfaceType); 279Assert.IsTrue(interfaceType.IsInterface);
System\Windows\SystemParameters.cs (1)
5611Standard.Assert.IsNeitherNullNorEmpty(UxThemeName);