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