111 references to GetUpperBound
Microsoft.Build.Engine.UnitTests (1)
XmlUtilities_Tests.cs (1)
36for (int i = 0; i <= _invalidNames.GetUpperBound(0); i++)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrValue.cs (1)
596builder.Add(array.GetUpperBound(i) - array.GetLowerBound(i) + 1);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (1)
668while (indices[i] > array.GetUpperBound(i))
Microsoft.Data.Analysis (2)
TextFieldParser.cs (2)
1086upperBound = _delimitersCopy.GetUpperBound(0); 1106upperBound = _fieldWidthsCopy.GetUpperBound(0);
Microsoft.Data.Analysis.Tests (2)
src\Microsoft.Data.Analysis\TextFieldParser.cs (2)
1086upperBound = _delimitersCopy.GetUpperBound(0); 1106upperBound = _fieldWidthsCopy.GetUpperBound(0);
Microsoft.VisualBasic.Core (98)
Microsoft\VisualBasic\CompilerServices\IOUtils.vb (1)
118If Index > files.GetUpperBound(0) Then
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (16)
41For i = 1 To mi.GetUpperBound(0) 292If args(args.GetUpperBound(0)) Is Nothing Then 295args(args.GetUpperBound(0)) = New DispatchWrapper(Nothing) 301flags = flags Or GetPropertyPutFlags(args(args.GetUpperBound(0))) 372If (OptimisticSet AndAlso args.GetUpperBound(0) > 0) Then 391indexTypes = New System.Type(args.GetUpperBound(0) - 1) {} 393For i = 0 To indexTypes.GetUpperBound(0) 571For i = 0 To members.GetUpperBound(0) 809flags = flags Or GetPropertyPutFlags(args(args.GetUpperBound(0))) 822For i = 0 To members.GetUpperBound(0) 1077For i = 0 To args.GetUpperBound(0) 1126For MemberIndex = 0 To mi.GetUpperBound(0) 1139For j = 0 To mi.GetUpperBound(0) 1250For MemberIndex As Integer = 0 To Members.GetUpperBound(0) 1258If NonGenericMemberCount = Members.GetUpperBound(0) + 1 Then 1267For MemberIndex As Integer = 0 To Members.GetUpperBound(0)
Microsoft\VisualBasic\CompilerServices\StructUtils.vb (1)
44iUpperBound = fi.GetUpperBound(0)
Microsoft\VisualBasic\CompilerServices\Utils.vb (2)
94If aryDest.GetUpperBound(iDim) <> arySrc.GetUpperBound(iDim) Then
Microsoft\VisualBasic\CompilerServices\VB6File.vb (2)
2147ParamCount = Output.GetUpperBound(0) 2241For i = 0 To Output.GetUpperBound(0)
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (64)
81For i = 0 To m_ByRefFlags.GetUpperBound(0) 87For i = 0 To state.m_OriginalParamOrder.GetUpperBound(0) 90If j >= 0 AndAlso j <= args.GetUpperBound(0) Then 107For i = 0 To m_ByRefFlags.GetUpperBound(0) 111For i = 0 To m_ByRefFlags.GetUpperBound(0) 203For MethodIndex = 0 To match.GetUpperBound(0) 222For j = 0 To match.GetUpperBound(0) 240For j = 0 To match.GetUpperBound(0) 267For MethodIndex = 0 To match.GetUpperBound(0) 276LastParmIndexToCheck = Parameters.GetUpperBound(0) 298For NameIndex = 0 To names.GetUpperBound(0) 360For MethodIndex = 0 To match.GetUpperBound(0) 369LastParmIndexToCheck = Parameters.GetUpperBound(0) 444For MethodIndex = 0 To match.GetUpperBound(0) 465TmpLastIndex = args.GetUpperBound(0) 470If TypeOf args(ArgIndex) Is System.Reflection.Missing AndAlso (ArgIndex > Parameters.GetUpperBound(0) OrElse Parameters(ArgIndex).IsOptional) Then 478TmpLastIndex = ArgIndexes.GetUpperBound(0) 487ArgIndexes(TmpLastIndex) = args.GetUpperBound(0) 526For ArgIndex = 0 To args.GetUpperBound(0) 537For MethodIndex = 0 To match.GetUpperBound(0) 545LastParmIndexToCheck = ArgIndexes.GetUpperBound(0) 767For MethodIndex = 0 To match.GetUpperBound(0) 784LastParmIndexToCheck = Parameters.GetUpperBound(0) 789LastArgIndexToCheck = args.GetUpperBound(0) 1036For MethodIndex = 0 To match.GetUpperBound(0) 1044For j = 0 To match.GetUpperBound(0) 1062For MethodIndex = 0 To match.GetUpperBound(0) 1066For j = MethodIndex + 1 To match.GetUpperBound(0) 1112state.m_ByRefFlags = New Boolean(args.GetUpperBound(0)) {} 1118For ParmIndex = 0 To parms.GetUpperBound(0) 1150LastParmIndexToCheck = parms.GetUpperBound(0) 1155LastArgIndexToCheck = args.GetUpperBound(0) 1177Dim SetValueIndex As Integer = objs.GetUpperBound(0) 1178objs(SetValueIndex) = ObjectType.CTypeHelper(args(args.GetUpperBound(0)), parms(SetValueIndex).ParameterType) 1223For ArgIndex = 0 To objs.GetUpperBound(0) 1225If MappedArgIndex >= 0 AndAlso MappedArgIndex <= args.GetUpperBound(0) Then 1232For ParmIndex = ArgIndex To parms.GetUpperBound(0) 1269Dim ArgCountUpperBound As Integer = args.GetUpperBound(0) 1277LastNonSetValueIndexArgs = args.GetUpperBound(0) 1278LastNonSetValueIndex0 = AmbigParams.GetUpperBound(0) 1279LastNonSetValueIndex1 = Parameters.GetUpperBound(0) 1483UpperBound = param0.GetUpperBound(0) 1529UpperBound = System.Math.Min(p1.GetUpperBound(0), p2.GetUpperBound(0)) 1547For i = UpperBound + 1 To p2.GetUpperBound(0) 1555For i = UpperBound + 1 To p1.GetUpperBound(0) 1580For i = 1 To match.GetUpperBound(0) 1619For PropertyIndex = 0 To match.GetUpperBound(0) 1652For ParmIndex = 0 To Parameters.GetUpperBound(0) 1778LastArgNonSetValueIndex = ArgTypes.GetUpperBound(0) 1779LastParamNonSetValueIndex = Parameters.GetUpperBound(0) 1858Dim ArrayUBound As Integer = Math.Max(vars.GetUpperBound(0), paramOrder.GetUpperBound(0)) 1880Dim LastNonSetIndex As Integer = pars.GetUpperBound(0) 1883For i = 0 To pars.GetUpperBound(0) 1890paramOrder(pars.GetUpperBound(0)) = args.GetUpperBound(0) 1901For i = 0 To names.GetUpperBound(0) 1965For i As Integer = 0 To namedParameters.GetUpperBound(0) 2077For MemberIndex = 0 To mi.GetUpperBound(0) 2093For j = 0 To mi.GetUpperBound(0) 2128For j = 0 To mi.GetUpperBound(0) 2173For j = 0 To mi.GetUpperBound(0) 2210For j = 0 To mi.GetUpperBound(0)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (2)
1289upperBound = m_DelimitersCopy.GetUpperBound(0) 1307upperBound = m_FieldWidthsCopy.GetUpperBound(0)
Microsoft\VisualBasic\FileSystem.vb (2)
400For i = 0 To files.GetUpperBound(0) 558For Index = 0 To FileNumbers.GetUpperBound(0)
Microsoft\VisualBasic\Financial.vb (5)
252lUpper = ValueArray.GetUpperBound(0) 383lUpper = ValueArray.GetUpperBound(0) 510lUpper = ValueArray.GetUpperBound(0) 884lUpper = ValueArray.GetUpperBound(0) 908lUpper = ValueArray.GetUpperBound(0)
Microsoft\VisualBasic\Interaction.vb (2)
155ElseIf FixedIndex < 0 OrElse FixedIndex > Choice.GetUpperBound(0) Then 377lUpperBound = sValueNames.GetUpperBound(0)
Microsoft\VisualBasic\Strings.vb (1)
1772For i = 1 To nfi.NumberGroupSizes.GetUpperBound(0)
System.Private.Windows.Core (1)
Windows\Win32\System\Variant\VARIANT.cs (1)
475upper[i] = array.GetUpperBound(i);
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
1707int to = array.GetUpperBound(0) + 1;
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
422|| a1.GetUpperBound(i) != a2.GetUpperBound(i))
xunit.assert (2)
Sdk\CollectionTracker.cs (2)
155 if (expectedArray.GetLowerBound(rank) != actualArray.GetLowerBound(rank) || expectedArray.GetUpperBound(rank) != actualArray.GetUpperBound(rank))