24 references to Check
System.Data (24)
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (22)
726
SQLDebug.
Check
(ulLen <= NUMERIC_MAX_PRECISION, "ulLen <= NUMERIC_MAX_PRECISION", "");
1785
SQLDebug.
Check
(m_bScale <= NUMERIC_MAX_PRECISION, "m_bScale <= NUMERIC_MAX_PRECISION", "In AssertValid");
1786
SQLDebug.
Check
(m_bScale <= m_bPrec, "m_bScale <= m_bPrec", "In AssertValid");
1787
SQLDebug.
Check
(m_bScale >= 0, "m_bScale >= 0", "In AssertValid");
1788
SQLDebug.
Check
(m_bPrec > 0, "m_bPrec > 0", "In AssertValid");
1790
SQLDebug.
Check
(CLenFromPrec(m_bPrec) >= m_bLen, "CLenFromPrec(m_bPrec) >= m_bLen", "In AssertValid");
1791
SQLDebug.
Check
(m_bLen <= x_cNumeMax, "m_bLen <= x_cNumeMax", "In AssertValid");
1797
SQLDebug.
Check
(m_bLen == 1, "m_bLen == 1", "In AssertValid");
1802
SQLDebug.
Check
(rglData[iulData] == 0, "rglData[iulData] == 0", "In AssertValid");
1833
SQLDebug.
Check
(rgulData.Length == x_cNumeMax, "rgulData.Length == x_cNumeMax", "Invalid array length");
1883
SQLDebug.
Check
(bPrec <= MaxPrecision && bPrec > 0, "bPrec <= MaxPrecision && bPrec > 0",
1901
SQLDebug.
Check
(rglData.Length == 4, "rglData.Length == 4", "Wrong array length: " + rglData.Length.ToString(CultureInfo.InvariantCulture));
2087
SQLDebug.
Check
(dwlAccum < x_ulInt32Base, "dwlAccum < x_lInt32Base", "");
2130
SQLDebug.
Check
(dwlAccum < x_ulInt32Base, "dwlAccum < x_dwlBaseUI4", "Integer overflow");
2219
SQLDebug.
Check
(!IsNull, "!IsNull", "In AdjustScale");
2400
SQLDebug.
Check
(rgulS.Length >= ciulS, "rgulS.Length >= ciulS", "Invalid array length");
2401
SQLDebug.
Check
(rgulD.Length >= ciulS, "rgulD.Length >= ciulS", "Invalid array length");
2474
SQLDebug.
Check
(iulD != 0, "iulD != 0", "Divided by zero!");
2475
SQLDebug.
Check
(iulD > 0, "iulD > 0", "Invalid data: less than zero");
2476
SQLDebug.
Check
(ciulU > 0, "ciulU > 0", "No data in the array");
2528
SQLDebug.
Check
(ciulU > 0, "ciulU > 0", "In method MpDiv");
2529
SQLDebug.
Check
(ciulD > 0, "ciulD > 0", "In method MpDiv");
fx\src\data\System\Data\SQLTypes\SQLString.cs (2)
419
SQLDebug.
Check
(!x.IsNull && !y.IsNull,
427
SQLDebug.
Check
(x.FBinarySort() || (x.m_cmpInfo != null && y.m_cmpInfo != null),