20 references to Length
System.Numerics (20)
System\Numerics\BigInteger.cs (19)
68
Contract.Assert(
Length
(_bits) > 0 /*, "_bits must contain at least 1 element or be null"*/);
69
if (
Length
(_bits) == 1)
106
int iu =
Length
(_bits) - 1;
151
for (int iv =
Length
(_bits); --iv >= 0; )
164
if ((_sign ^ other) < 0 || (cu =
Length
(_bits)) > 2)
184
int cu =
Length
(_bits);
205
int cu =
Length
(_bits);
206
if (cu !=
Length
(other._bits))
219
if ((_sign ^ other) < 0 || (cu =
Length
(_bits)) > 2)
235
int cu =
Length
(_bits);
261
if (other._bits == null || (cuThis =
Length
(_bits)) > (cuOther =
Length
(other._bits)))
913
int uintLength =
Length
(value._bits);
1035
int len =
Length
(exponent._bits);
1219
else if (
Length
(value._bits) > 1) { // more than 32 bits
1240
else if (
Length
(value._bits) > 1 || value._sign < 0) {
1255
int len =
Length
(value._bits);
1284
int len =
Length
(value._bits);
1322
int length =
Length
(value._bits);
System\Numerics\BigNumber.cs (1)
542
int cuSrc = BigInteger.
Length
(value._bits);