247 references to GetLowerBound
Microsoft.Build.Framework (4)
SegmentedArray.cs (1)
143var dstLB = destinationArray.GetLowerBound(0);
SegmentedDictionary`2.cs (3)
857if (array.GetLowerBound(0) != 0) 1338if (array.GetLowerBound(0) != 0) 1538if (array.GetLowerBound(0) != 0)
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\SegmentedArray.cs (1)
149var dstLB = destinationArray.GetLowerBound(0);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
863if (array.GetLowerBound(0) != 0) 1358if (array.GetLowerBound(0) != 0) 1566if (array.GetLowerBound(0) != 0)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\SegmentedArray.cs (1)
149var dstLB = destinationArray.GetLowerBound(0);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
863if (array.GetLowerBound(0) != 0) 1358if (array.GetLowerBound(0) != 0) 1566if (array.GetLowerBound(0) != 0)
Microsoft.CodeAnalysis.Collections.Package (4)
SegmentedArray.cs (1)
149var dstLB = destinationArray.GetLowerBound(0);
SegmentedDictionary`2.cs (3)
863if (array.GetLowerBound(0) != 0) 1358if (array.GetLowerBound(0) != 0) 1566if (array.GetLowerBound(0) != 0)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Debugger\Engine\DkmClrValue.cs (2)
596builder.Add(array.GetUpperBound(i) - array.GetLowerBound(i) + 1); 616builder.Add(array.GetLowerBound(i));
Microsoft.CodeAnalysis.Scripting (5)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (3)
659indices[i] = array.GetLowerBound(i); 670indices[i] = array.GetLowerBound(i); 686while (i >= 0 && indices[i] == array.GetLowerBound(i))
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (2)
163if (arrayOpt.GetLowerBound(i) > 0) 172int lowerBound = arrayOpt.GetLowerBound(i);
Microsoft.CodeAnalysis.UnitTests (1)
Collections\List\ICollection.NonGeneric.Tests.cs (1)
205Assert.Equal(2, arr.GetLowerBound(0));
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\SegmentedArray.cs (1)
149var dstLB = destinationArray.GetLowerBound(0);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
863if (array.GetLowerBound(0) != 0) 1358if (array.GetLowerBound(0) != 0) 1566if (array.GetLowerBound(0) != 0)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\SegmentedArray.cs (1)
149var dstLB = destinationArray.GetLowerBound(0);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
863if (array.GetLowerBound(0) != 0) 1358if (array.GetLowerBound(0) != 0) 1566if (array.GetLowerBound(0) != 0)
Microsoft.Data.Analysis (2)
TextFieldParser.cs (2)
1085lowerBound = _delimitersCopy.GetLowerBound(0); 1105lowerBound = _fieldWidthsCopy.GetLowerBound(0);
Microsoft.Data.Analysis.Tests (2)
src\Microsoft.Data.Analysis\TextFieldParser.cs (2)
1085lowerBound = _delimitersCopy.GetLowerBound(0); 1105lowerBound = _fieldWidthsCopy.GetLowerBound(0);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (2)
1288lowerBound = m_DelimitersCopy.GetLowerBound(0) 1306lowerBound = m_FieldWidthsCopy.GetLowerBound(0)
System.Collections (11)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
26if (array.GetLowerBound(0) != 0)
System\Collections\Generic\LinkedList.cs (1)
456if (array.GetLowerBound(0) != 0)
System\Collections\Generic\OrderedDictionary.cs (3)
1285if (array.GetLowerBound(0) != 0) 1528if (array.GetLowerBound(0) != 0) 1837if (array.GetLowerBound(0) != 0)
System\Collections\Generic\PriorityQueue.cs (1)
958if (array.GetLowerBound(0) != 0)
System\Collections\Generic\SortedDictionary.cs (2)
559if (array.GetLowerBound(0) != 0) 720if (array.GetLowerBound(0) != 0)
System\Collections\Generic\SortedList.cs (1)
461if (array.GetLowerBound(0) != 0)
System\Collections\Generic\SortedSet.cs (1)
549if (array.GetLowerBound(0) != 0)
System\Collections\Generic\Stack.cs (1)
129if (array.GetLowerBound(0) != 0)
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenDictionary.cs (1)
357if (array.GetLowerBound(0) != 0)
System.Data.Common (3)
System\Data\DataRowComparer.cs (3)
63int index1 = a.GetLowerBound(0); 64int index2 = b.GetLowerBound(0); 203hash = array.GetValue(array.GetLowerBound(0))!.GetHashCode();
System.ObjectModel (1)
System\Collections\CollectionHelpers.cs (1)
19if (array.GetLowerBound(0) != 0)
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\Array.cs (21)
385CopyImpl(sourceArray, sourceArray.GetLowerBound(0), destinationArray, destinationArray.GetLowerBound(0), length, reliable: false); 655return IndexOf(this, value) >= this.GetLowerBound(0); 785return BinarySearch(array, array.GetLowerBound(0), array.Length, value, null); 824return BinarySearch(array, array.GetLowerBound(0), array.Length, value, comparer); 846int lb = array.GetLowerBound(0); 1050Copy(this, GetLowerBound(0), array!, index, Length); 1340return IndexOf(array, value, array.GetLowerBound(0), array.Length); 1353int lb = array.GetLowerBound(0); 1370int lb = array.GetLowerBound(0); 1561int lb = array.GetLowerBound(0); 1574int lb = array.GetLowerBound(0); 1588int lb = array.GetLowerBound(0); 1814Reverse(array, array.GetLowerBound(0), array.Length); 1827int lowerBound = array.GetLowerBound(0); 1921Sort(array, null, array.GetLowerBound(0), array.Length, null); 1934Sort(keys, items, keys.GetLowerBound(0), keys.Length, null); 1967Sort(array, null, array.GetLowerBound(0), array.Length, comparer); 1982Sort(keys, items, keys.GetLowerBound(0), keys.Length, comparer); 2010int keysLowerBound = keys.GetLowerBound(0); 2011if (items != null && keysLowerBound != items.GetLowerBound(0))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1474if (array.GetLowerBound(0) != 0) 1963if (array.GetLowerBound(0) != 0) 2157if (array.GetLowerBound(0) != 0)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
130if (array.GetLowerBound(0) != 0)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
182if (array.GetLowerBound(0) != 0)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
26if (array.GetLowerBound(0) != 0)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
112if (array.GetLowerBound(0) != 0)
src\System\Array.CoreCLR.cs (2)
50int srcLB = sourceArray.GetLowerBound(0); 55int dstLB = destinationArray.GetLowerBound(0);
System.Private.Windows.Core (1)
Windows\Win32\System\Variant\VARIANT.cs (1)
474indices[i] = lower[i] = array.GetLowerBound(i);
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
1706int from = array.GetLowerBound(0);
System.Windows.Forms (1)
misc\CollectionHelper.cs (1)
22if (target.GetLowerBound(0) != 0)
System.Windows.Forms.Primitives.Tests (154)
Interop\Oleaut32\VARIANTTests.cs (154)
2010Assert.Equal(0, array.GetLowerBound(0)); 2029Assert.Equal(1, array.GetLowerBound(0)); 2062Assert.Equal(0, array.GetLowerBound(0)); 2063Assert.Equal(0, array.GetLowerBound(1)); 2081Assert.Equal(1, array.GetLowerBound(0)); 2082Assert.Equal(2, array.GetLowerBound(1)); 2099Assert.Equal(0, array.GetLowerBound(0)); 2116Assert.Equal(1, array.GetLowerBound(0)); 2153Assert.Equal(0, array.GetLowerBound(0)); 2154Assert.Equal(0, array.GetLowerBound(1)); 2180Assert.Equal(1, array.GetLowerBound(0)); 2181Assert.Equal(2, array.GetLowerBound(1)); 2206Assert.Equal(0, array.GetLowerBound(0)); 2231Assert.Equal(1, array.GetLowerBound(0)); 2268Assert.Equal(0, array.GetLowerBound(0)); 2269Assert.Equal(0, array.GetLowerBound(1)); 2295Assert.Equal(1, array.GetLowerBound(0)); 2296Assert.Equal(2, array.GetLowerBound(1)); 2321Assert.Equal(0, array.GetLowerBound(0)); 2346Assert.Equal(1, array.GetLowerBound(0)); 2383Assert.Equal(0, array.GetLowerBound(0)); 2384Assert.Equal(0, array.GetLowerBound(1)); 2410Assert.Equal(1, array.GetLowerBound(0)); 2411Assert.Equal(2, array.GetLowerBound(1)); 2436Assert.Equal(0, array.GetLowerBound(0)); 2461Assert.Equal(1, array.GetLowerBound(0)); 2498Assert.Equal(0, array.GetLowerBound(0)); 2499Assert.Equal(0, array.GetLowerBound(1)); 2525Assert.Equal(1, array.GetLowerBound(0)); 2526Assert.Equal(2, array.GetLowerBound(1)); 2551Assert.Equal(0, array.GetLowerBound(0)); 2576Assert.Equal(1, array.GetLowerBound(0)); 2600Assert.Equal(0, array.GetLowerBound(0)); 2601Assert.Equal(0, array.GetLowerBound(1)); 2627Assert.Equal(1, array.GetLowerBound(0)); 2628Assert.Equal(2, array.GetLowerBound(1)); 2653Assert.Equal(0, array.GetLowerBound(0)); 2678Assert.Equal(1, array.GetLowerBound(0)); 2715Assert.Equal(0, array.GetLowerBound(0)); 2716Assert.Equal(0, array.GetLowerBound(1)); 2742Assert.Equal(1, array.GetLowerBound(0)); 2743Assert.Equal(2, array.GetLowerBound(1)); 2768Assert.Equal(0, array.GetLowerBound(0)); 2793Assert.Equal(1, array.GetLowerBound(0)); 2817Assert.Equal(0, array.GetLowerBound(0)); 2818Assert.Equal(0, array.GetLowerBound(1)); 2844Assert.Equal(1, array.GetLowerBound(0)); 2845Assert.Equal(2, array.GetLowerBound(1)); 2870Assert.Equal(0, array.GetLowerBound(0)); 2895Assert.Equal(1, array.GetLowerBound(0)); 2932Assert.Equal(0, array.GetLowerBound(0)); 2933Assert.Equal(0, array.GetLowerBound(1)); 2959Assert.Equal(1, array.GetLowerBound(0)); 2960Assert.Equal(2, array.GetLowerBound(1)); 2985Assert.Equal(0, array.GetLowerBound(0)); 3010Assert.Equal(1, array.GetLowerBound(0)); 3034Assert.Equal(0, array.GetLowerBound(0)); 3035Assert.Equal(0, array.GetLowerBound(1)); 3061Assert.Equal(1, array.GetLowerBound(0)); 3062Assert.Equal(2, array.GetLowerBound(1)); 3087Assert.Equal(0, array.GetLowerBound(0)); 3112Assert.Equal(1, array.GetLowerBound(0)); 3149Assert.Equal(0, array.GetLowerBound(0)); 3150Assert.Equal(0, array.GetLowerBound(1)); 3176Assert.Equal(1, array.GetLowerBound(0)); 3177Assert.Equal(2, array.GetLowerBound(1)); 3202Assert.Equal(0, array.GetLowerBound(0)); 3227Assert.Equal(1, array.GetLowerBound(0)); 3251Assert.Equal(0, array.GetLowerBound(0)); 3252Assert.Equal(0, array.GetLowerBound(1)); 3278Assert.Equal(1, array.GetLowerBound(0)); 3279Assert.Equal(2, array.GetLowerBound(1)); 3304Assert.Equal(0, array.GetLowerBound(0)); 3329Assert.Equal(1, array.GetLowerBound(0)); 3366Assert.Equal(0, array.GetLowerBound(0)); 3367Assert.Equal(0, array.GetLowerBound(1)); 3393Assert.Equal(1, array.GetLowerBound(0)); 3394Assert.Equal(2, array.GetLowerBound(1)); 3418Assert.Equal(0, array.GetLowerBound(0)); 3443Assert.Equal(1, array.GetLowerBound(0)); 3480Assert.Equal(0, array.GetLowerBound(0)); 3481Assert.Equal(0, array.GetLowerBound(1)); 3507Assert.Equal(1, array.GetLowerBound(0)); 3508Assert.Equal(2, array.GetLowerBound(1)); 3533Assert.Equal(0, array.GetLowerBound(0)); 3558Assert.Equal(1, array.GetLowerBound(0)); 3595Assert.Equal(0, array.GetLowerBound(0)); 3596Assert.Equal(0, array.GetLowerBound(1)); 3622Assert.Equal(1, array.GetLowerBound(0)); 3623Assert.Equal(2, array.GetLowerBound(1)); 3648Assert.Equal(0, array.GetLowerBound(0)); 3673Assert.Equal(1, array.GetLowerBound(0)); 3710Assert.Equal(0, array.GetLowerBound(0)); 3711Assert.Equal(0, array.GetLowerBound(1)); 3737Assert.Equal(1, array.GetLowerBound(0)); 3738Assert.Equal(2, array.GetLowerBound(1)); 3763Assert.Equal(0, array.GetLowerBound(0)); 3788Assert.Equal(1, array.GetLowerBound(0)); 3825Assert.Equal(0, array.GetLowerBound(0)); 3826Assert.Equal(0, array.GetLowerBound(1)); 3852Assert.Equal(1, array.GetLowerBound(0)); 3853Assert.Equal(2, array.GetLowerBound(1)); 3885Assert.Equal(0, array.GetLowerBound(0)); 3911Assert.Equal(1, array.GetLowerBound(0)); 3954Assert.Equal(0, array.GetLowerBound(0)); 3955Assert.Equal(0, array.GetLowerBound(1)); 3981Assert.Equal(1, array.GetLowerBound(0)); 3982Assert.Equal(2, array.GetLowerBound(1)); 4018Assert.Equal(0, array.GetLowerBound(0)); 4044Assert.Equal(1, array.GetLowerBound(0)); 4093Assert.Equal(0, array.GetLowerBound(0)); 4094Assert.Equal(0, array.GetLowerBound(1)); 4121Assert.Equal(1, array.GetLowerBound(0)); 4122Assert.Equal(2, array.GetLowerBound(1)); 4147Assert.Equal(0, array.GetLowerBound(0)); 4172Assert.Equal(1, array.GetLowerBound(0)); 4214Assert.Equal(0, array.GetLowerBound(0)); 4215Assert.Equal(0, array.GetLowerBound(1)); 4241Assert.Equal(1, array.GetLowerBound(0)); 4242Assert.Equal(2, array.GetLowerBound(1)); 4267Assert.Equal(0, array.GetLowerBound(0)); 4292Assert.Equal(1, array.GetLowerBound(0)); 4341Assert.Equal(0, array.GetLowerBound(0)); 4342Assert.Equal(0, array.GetLowerBound(1)); 4368Assert.Equal(1, array.GetLowerBound(0)); 4369Assert.Equal(2, array.GetLowerBound(1)); 4397Assert.Equal(0, array.GetLowerBound(0)); 4424Assert.Equal(1, array.GetLowerBound(0)); 4459Assert.Equal(0, array.GetLowerBound(0)); 4460Assert.Equal(0, array.GetLowerBound(1)); 4496Assert.Equal(1, array.GetLowerBound(0)); 4497Assert.Equal(2, array.GetLowerBound(1)); 4529Assert.Equal(0, array.GetLowerBound(0)); 4566Assert.Equal(1, array.GetLowerBound(0)); 4613Assert.Equal(0, array.GetLowerBound(0)); 4614Assert.Equal(0, array.GetLowerBound(1)); 4670Assert.Equal(1, array.GetLowerBound(0)); 4671Assert.Equal(2, array.GetLowerBound(1)); 4711Assert.Equal(0, array.GetLowerBound(0)); 4748Assert.Equal(1, array.GetLowerBound(0)); 4795Assert.Equal(0, array.GetLowerBound(0)); 4796Assert.Equal(0, array.GetLowerBound(1)); 4852Assert.Equal(1, array.GetLowerBound(0)); 4853Assert.Equal(2, array.GetLowerBound(1)); 4894Assert.Equal(0, array.GetLowerBound(0)); 4932Assert.Equal(1, array.GetLowerBound(0)); 4980Assert.Equal(0, array.GetLowerBound(0)); 4981Assert.Equal(0, array.GetLowerBound(1)); 5038Assert.Equal(1, array.GetLowerBound(0)); 5039Assert.Equal(2, array.GetLowerBound(1)); 5100Assert.Equal(0, array.GetLowerBound(0)); 5152Assert.Equal(1, array.GetLowerBound(0)); 5235Assert.Equal(0, array.GetLowerBound(0)); 5236Assert.Equal(0, array.GetLowerBound(1));
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
421if (a1.GetLowerBound(i) != a2.GetLowerBound(i)
xunit.assert (4)
Sdk\CollectionTracker.cs (4)
145 if (expectedArray.Rank == 1 && expectedArray.GetLowerBound(0) == 0 && 146 actualArray.Rank == 1 && actualArray.GetLowerBound(0) == 0) 155 if (expectedArray.GetLowerBound(rank) != actualArray.GetLowerBound(rank) || expectedArray.GetUpperBound(rank) != actualArray.GetUpperBound(rank))