71 references to GetLowerBound
mscorlib (52)
system\array.cs (41)
284Copy(sourceArray, sourceArray.GetLowerBound(0), destinationArray, destinationArray.GetLowerBound(0), length, false); 717return Array.IndexOf(this, value) >= this.GetLowerBound(0); 722Array.Clear(this, this.GetLowerBound(0), this.Length); 844Contract.Ensures((Contract.Result<int>() >= array.GetLowerBound(0) && Contract.Result<int>() <= array.GetUpperBound(0)) || (Contract.Result<int>() < array.GetLowerBound(0) && ~Contract.Result<int>() <= array.GetUpperBound(0) + 1)); 846int lb = array.GetLowerBound(0); 889int lb = array.GetLowerBound(0); 915int lb = array.GetLowerBound(0); 1064Array.Copy(this, GetLowerBound(0), array, index, Length); 1270int lowerBound = GetLowerBound(0); 1285Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1287int lb = array.GetLowerBound(0); 1301Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1303int lb = array.GetLowerBound(0); 1320Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1323int lb = array.GetLowerBound(0); 1425Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1427int lb = array.GetLowerBound(0); 1440Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1442int lb = array.GetLowerBound(0); 1457Contract.Ensures(Contract.Result<int>() < array.GetLowerBound(0) + array.Length); 1459int lb = array.GetLowerBound(0); 1583Reverse(array, array.GetLowerBound(0), array.Length); 1597if (index < array.GetLowerBound(0) || length < 0) 1599if (array.Length - (index - array.GetLowerBound(0)) < length) 1647Sort(array, null, array.GetLowerBound(0), array.Length, null); 1661Sort(keys, items, keys.GetLowerBound(0), keys.Length, null); 1695Sort(array, null, array.GetLowerBound(0), array.Length, comparer); 1711Sort(keys, items, keys.GetLowerBound(0), keys.Length, comparer); 1740if (items != null && keys.GetLowerBound(0) != items.GetLowerBound(0)) 1742if (index < keys.GetLowerBound(0) || length < 0) 1744if (keys.Length - (index - keys.GetLowerBound(0)) < length || (items != null && (index - items.GetLowerBound(0)) > items.Length - length)) 1783Sort<T>(array, array.GetLowerBound(0), array.Length, null); 2578Contract.Assert(array.Rank == 1 && array.GetLowerBound(0) == 0, "SZArrayEnumerator only works on single dimension arrays w/ a lower bound of zero."); 2627_indices[i] = array.GetLowerBound(i); 2654_indices[j] = array.GetLowerBound(j); 2687_indices[i] = array.GetLowerBound(i); 2863Contract.Assert((array == null && endIndex == -1) || (array.Rank == 1 && array.GetLowerBound(0) == 0),
system\collections\generic\dictionary.cs (3)
537if( array.GetLowerBound(0) != 0 ) { 878if( array.GetLowerBound(0) != 0 ) { 1065if( array.GetLowerBound(0) != 0 ) {
system\collections\objectmodel\collection.cs (1)
183if( array.GetLowerBound(0) != 0 ) {
system\collections\objectmodel\readonlycollection.cs (1)
128if( array.GetLowerBound(0) != 0 ) {
system\collections\objectmodel\readonlydictionary.cs (2)
240if (array.GetLowerBound(0) != 0) { 568if (array.GetLowerBound(0) != 0) {
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (1)
79int destLB = array.GetLowerBound(0);
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (1)
376Contract.Assert(obj.Rank == 1 && obj.GetLowerBound(0) == 0 && !type.IsArray);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
769lowerBoundA[i] = array.GetLowerBound(i);
system\threading\Tasks\Parallel.cs (1)
2292int from = array.GetLowerBound(0);
System (7)
compmod\system\collections\generic\linkedlist.cs (1)
406if( array.GetLowerBound(0) != 0 ) {
compmod\system\collections\generic\queue.cs (1)
165if( array.GetLowerBound(0) != 0 ) {
compmod\system\collections\generic\sorteddictionary.cs (2)
495if( array.GetLowerBound(0) != 0 ) { 650if( array.GetLowerBound(0) != 0 ) {
compmod\system\collections\generic\sortedlist.cs (1)
434if( array.GetLowerBound(0) != 0 ) {
compmod\system\collections\generic\sortedset.cs (1)
627if (array.GetLowerBound(0) != 0) {
compmod\system\collections\generic\stack.cs (1)
163if( array.GetLowerBound(0) != 0 ) {
System.Data.DataSetExtensions (3)
System\Data\DataRowComparer.cs (3)
66int index1 = a.GetLowerBound(0); 67int index2 = b.GetLowerBound(0); 224hash = array.GetValue(array.GetLowerBound(0)).GetHashCode();
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
161if (arrayIndex < array.GetLowerBound(0))
System.Management (5)
managementobject.cs (2)
2727int minIndex = args.GetLowerBound(0); 2811minIndex = args.GetLowerBound(0);
managementobjectcollection.cs (1)
218if ((index < array.GetLowerBound (0)) || (index > array.GetUpperBound(0)))
propertyset.cs (1)
129 if ((index < array.GetLowerBound(0)) || (index > array.GetUpperBound(0)))
qualifierset.cs (1)
186 if ((index < array.GetLowerBound(0)) || (index > array.GetUpperBound(0)))
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
440if (a1.GetLowerBound(i) != a2.GetLowerBound(i)
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
158if( array.GetLowerBound(0) != 0 ) {