21 references to Assert
PresentationFramework (1)
src\Framework\System\Windows\Style.cs (1)
688
Debug.
Assert
(setterBase is EventSetter,
System (1)
net\System\Net\HttpWebRequest.cs (1)
5791
Debug.
Assert
(hostUriSuccess, "Can't rebuild HostUri from redirected URI: {0}", _Uri.ToString());
System.Data (3)
fx\src\data\System\Data\SQLTypes\SQLUtility.cs (3)
194
Debug.
Assert
(condition, "", "");
199
Debug.
Assert
(condition, conditionString, message);
204
Debug.
Assert
(condition, conditionString, "");
System.Data.Entity (1)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
492
Debug.
Assert
(
System.Xml (14)
System\Xml\BinaryXml\SqlUtils.cs (14)
159
Debug.
Assert
(iulD != 0, "iulD != 0", "Divided by zero!");
160
Debug.
Assert
(iulD > 0, "iulD > 0", "Invalid data: less than zero");
161
Debug.
Assert
(ciulU > 0, "ciulU > 0", "No data in the array");
282
Debug.
Assert
(dwlAccum < x_ulInt32Base, "dwlAccum < x_lInt32Base", "");
323
Debug.
Assert
(dwlAccum < x_ulInt32Base, "dwlAccum < x_dwlBaseUI4", "Integer overflow");
415
Debug.
Assert
(bPrec <= MaxPrecision && bPrec > 0, "bPrec <= MaxPrecision && bPrec > 0", "Invalid numeric precision");
523
Debug.
Assert
(m_bScale <= NUMERIC_MAX_PRECISION, "m_bScale <= NUMERIC_MAX_PRECISION", "In AssertValid");
524
Debug.
Assert
(m_bScale <= m_bPrec, "m_bScale <= m_bPrec", "In AssertValid");
525
Debug.
Assert
(m_bScale >= 0, "m_bScale >= 0", "In AssertValid");
526
Debug.
Assert
(m_bPrec > 0, "m_bPrec > 0", "In AssertValid");
527
Debug.
Assert
(CLenFromPrec(m_bPrec) >= m_bLen, "CLenFromPrec(m_bPrec) >= m_bLen", "In AssertValid");
528
Debug.
Assert
(m_bLen <= x_cNumeMax, "m_bLen <= x_cNumeMax", "In AssertValid");
534
Debug.
Assert
(m_bLen == 1, "m_bLen == 1", "In AssertValid");
539
Debug.
Assert
(rglData[iulData] == 0, "rglData[iulData] == 0", "In AssertValid");
WindowsBase (1)
Shared\MS\Internal\Invariant.cs (1)
269
Debug.
Assert
(false, "Invariant failure: " + message, detailMessage);