2 references to Assert
WindowsBase (2)
Base\System\Windows\Freezable.cs (2)
1990
Invariant.
Assert
(newInstance != null, "{0} should not return null.", methodName);
1995
Invariant.
Assert
(!newInstance.IsFrozen, "{0} should return a mutable instance. Recieved a frozen instance.",