83 instantiations of IndexOutOfRangeException
mscorlib (26)
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (4)
85throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_AddScalarOutOfRange")); 272throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_PinArrayOutOfRange")); 278throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_DataDescriptorsOutOfRange")); 296throw new IndexOutOfRangeException(Environment.GetResourceString("EventSource_DataDescriptorsOutOfRange"));
system\io\__consolestream.cs (1)
182throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition"));
system\io\filestream.cs (2)
2495throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition")); 2552throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_IORaceCondition"));
system\io\unmanagedmemorystream.cs (1)
359throw new IndexOutOfRangeException(Environment.GetResourceString("IndexOutOfRange_UMSPosition"));
system\reflection\emit\enumbuilder.cs (1)
383throw new IndexOutOfRangeException();
system\reflection\emit\generictypeparameterbuilder.cs (1)
86throw new IndexOutOfRangeException();
system\reflection\emit\symboltype.cs (1)
307throw new IndexOutOfRangeException();
system\reflection\emit\typebuilder.cs (1)
1486throw new IndexOutOfRangeException();
system\reflection\emit\typebuilderinstantiation.cs (1)
97throw new IndexOutOfRangeException();
system\reflection\mdimport.cs (1)
183throw new IndexOutOfRangeException();
system\rttype.cs (1)
4323throw new IndexOutOfRangeException();
system\string.cs (1)
1542throw new IndexOutOfRangeException();
system\text\stringbuilder.cs (2)
526throw new IndexOutOfRangeException(); 531throw new IndexOutOfRangeException();
system\tuple.cs (7)
162throw new IndexOutOfRangeException(); 265throw new IndexOutOfRangeException(); 378throw new IndexOutOfRangeException(); 502throw new IndexOutOfRangeException(); 637throw new IndexOutOfRangeException(); 783throw new IndexOutOfRangeException(); 940throw new IndexOutOfRangeException();
system\unsafecharbuffer.cs (1)
42throw new IndexOutOfRangeException();
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\Quad.cs (1)
69throw new IndexOutOfRangeException("index");
Core\CSharp\MS\Internal\Ink\StrokeNodeEnumerator.cs (1)
228throw new IndexOutOfRangeException();
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
603throw new IndexOutOfRangeException();
PresentationFramework (1)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
147throw new IndexOutOfRangeException(string.Empty, tex);
System (9)
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
238throw new IndexOutOfRangeException("index");
compmod\system\componentmodel\EventDescriptorCollection.cs (2)
122throw new IndexOutOfRangeException(); 453throw new IndexOutOfRangeException();
compmod\system\componentmodel\MaskedTextProvider.cs (1)
882throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
compmod\system\componentmodel\PropertyDescriptorCollection.cs (3)
145throw new IndexOutOfRangeException(); 543throw new IndexOutOfRangeException(); 673throw new IndexOutOfRangeException();
net\System\Net\SocketAddress.cs (2)
90throw new IndexOutOfRangeException(); 96throw new IndexOutOfRangeException();
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
System.Data (7)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Common\AdapterUtil.cs (3)
184IndexOutOfRangeException e = new IndexOutOfRangeException(value.ToString(CultureInfo.InvariantCulture)); 189IndexOutOfRangeException e = new IndexOutOfRangeException(error); 194IndexOutOfRangeException e = new IndexOutOfRangeException();
fx\src\data\System\Data\DataException.cs (1)
300IndexOutOfRangeException e = new IndexOutOfRangeException(error);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8387throw new IndexOutOfRangeException();
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
301return new IndexOutOfRangeException(error);
System.Data.SqlXml (23)
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (1)
127throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilBinary.cs (2)
49default: throw new IndexOutOfRangeException(); 56default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilExpression.cs (2)
83default: throw new IndexOutOfRangeException(); 96default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilFunction.cs (2)
59default: throw new IndexOutOfRangeException(); 67default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilIterator.cs (2)
39get { if (index != 0) throw new IndexOutOfRangeException(); return this.binding; } 40set { if (index != 0) throw new IndexOutOfRangeException(); this.binding = value; }
System\Xml\Xsl\QIL\QilList.cs (4)
94throw new IndexOutOfRangeException(); 100throw new IndexOutOfRangeException(); 109throw new IndexOutOfRangeException(); 129throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilNode.cs (2)
113get { throw new IndexOutOfRangeException(); } 114set { throw new IndexOutOfRangeException(); }
System\Xml\Xsl\QIL\QilParameter.cs (2)
44default: throw new IndexOutOfRangeException(); 51default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilTernary.cs (2)
51default: throw new IndexOutOfRangeException(); 59default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilUnary.cs (2)
44get { if (index != 0) throw new IndexOutOfRangeException(); return this.child; } 45set { if (index != 0) throw new IndexOutOfRangeException(); this.child = value; }
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
435throw new IndexOutOfRangeException();
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
656throw new IndexOutOfRangeException();
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ImageList.cs (1)
1609throw new IndexOutOfRangeException(); //
winforms\Managed\System\WinForms\ListBox.cs (2)
2672throw new IndexOutOfRangeException(); 2685throw new IndexOutOfRangeException();
System.Workflow.Activities (3)
Task.cs (3)
843throw new IndexOutOfRangeException(); 858throw new IndexOutOfRangeException(); 880throw new IndexOutOfRangeException();
System.Workflow.Runtime (1)
Tracking\PropertyHelper.cs (1)
144throw new IndexOutOfRangeException();
System.Xml (4)
System\Xml\HWStack.cs (2)
72 throw new IndexOutOfRangeException(); 80 throw new IndexOutOfRangeException();
System\Xml\NameTable.cs (2)
106throw new IndexOutOfRangeException(); 160throw new IndexOutOfRangeException();
109 references to IndexOutOfRangeException
mscorlib (13)
system\array.cs (6)
2015catch (IndexOutOfRangeException) 2055catch (IndexOutOfRangeException) 2108catch (IndexOutOfRangeException) 2334catch (IndexOutOfRangeException) 2372catch (IndexOutOfRangeException) 2425catch (IndexOutOfRangeException)
system\collections\generic\arraysorthelper.cs (4)
159catch (IndexOutOfRangeException) 523catch (IndexOutOfRangeException) 935catch (IndexOutOfRangeException) 1286catch (IndexOutOfRangeException)
system\guid.cs (1)
454catch(IndexOutOfRangeException ex) {
system\resources\resourcereader.cs (1)
877catch (IndexOutOfRangeException e) {
system\runtime\versioning\multitargetinghelpers.cs (1)
71|| ex is IndexOutOfRangeException
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
186catch (IndexOutOfRangeException)
PresentationFramework (2)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
114/// <exception cref="System.IndexOutOfRangeException"></exception>
src\Framework\System\Windows\Application.cs (1)
2628catch (System.IndexOutOfRangeException)
System (7)
misc\ClientUtils.cs (1)
43|| ex is IndexOutOfRangeException
net\System\Net\HttpWebResponse.cs (6)
763if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 785if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 814if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 869if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 891if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 919if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){
System.Activities (1)
System\Activities\Debugger\DebugInfo.cs (1)
524catch (IndexOutOfRangeException)
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (6)
48/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than or equal to count.</exception> 151/// <exception cref="IndexOutOfRangeException"> 179/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than count.</exception> 191/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than count.</exception> 207/// <exception cref="IndexOutOfRangeException"> 233/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than or equal to count.</exception>
System.Data (42)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (6)
48/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than or equal to count.</exception> 151/// <exception cref="IndexOutOfRangeException"> 179/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than count.</exception> 191/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than count.</exception> 207/// <exception cref="IndexOutOfRangeException"> 233/// <exception cref="IndexOutOfRangeException">if index is less than 0 or greater than or equal to count.</exception>
fx\src\data\System\Data\Common\AdapterUtil.cs (9)
183static internal IndexOutOfRangeException IndexOutOfRange(int value) { 184IndexOutOfRangeException e = new IndexOutOfRangeException(value.ToString(CultureInfo.InvariantCulture)); 188static internal IndexOutOfRangeException IndexOutOfRange(string error) { 189IndexOutOfRangeException e = new IndexOutOfRangeException(error); 193static internal IndexOutOfRangeException IndexOutOfRange() { 194IndexOutOfRangeException e = new IndexOutOfRangeException(); 940static internal IndexOutOfRangeException CollectionIndexInt32(int index, Type collection, int count) { 943static internal IndexOutOfRangeException CollectionIndexString(Type itemType, string propertyName, string propertyValue, Type collection) { 1503static internal IndexOutOfRangeException InvalidBufferSizeOrIndex(int numBytes, int bufferIndex) {
fx\src\data\System\Data\DataException.cs (2)
299static private IndexOutOfRangeException _IndexOutOfRange(string error) { 300IndexOutOfRangeException e = new IndexOutOfRangeException(error);
fx\src\data\System\Data\DataRowView.cs (1)
70/// <exception cref="IndexOutOfRangeException"><see cref="DataColumnCollection.get_Item(int)"/></exception>
fx\src\data\System\Data\DataTableReader.cs (19)
254catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 305catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 317catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 330catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 365catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 378catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 420catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 432catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 444catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 456catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 468catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 480catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 492catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 504catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 516catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 528catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 553catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 566catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection 588catch(IndexOutOfRangeException e) { // thrown by DataColumnCollection
fx\src\data\System\Data\DataView.cs (2)
591/// <exception cref="IndexOutOfRangeException"></exception> 1271/// <exception cref="IndexOutOfRangeException"></exception>
fx\src\data\System\Data\RbTree.cs (2)
1229/// <exception cref="IndexOutOfRangeException"></exception> 1388/// <exception cref="IndexOutOfRangeException"></exception>
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1903catch (IndexOutOfRangeException e) {
System.Data.Entity (5)
System\Data\Common\EntityUtil.cs (3)
299static internal IndexOutOfRangeException IndexOutOfRange(string error) 437static internal IndexOutOfRangeException InvalidBufferSizeOrIndex(int numBytes, int bufferIndex) { 440static internal IndexOutOfRangeException InvalidDataLength(long length) {
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
328catch (IndexOutOfRangeException)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
386catch (IndexOutOfRangeException)
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
533new CodeObjectCreateExpression(new CodeTypeReference(typeof(IndexOutOfRangeException)))));
System.Drawing (1)
misc\ClientUtils.cs (1)
43|| ex is IndexOutOfRangeException
System.ServiceModel (1)
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
415catch (IndexOutOfRangeException e)
System.Web (4)
Configuration\MachineKeySection.cs (2)
1020catch (IndexOutOfRangeException) 1040catch (IndexOutOfRangeException)
State\SessionIDManager.cs (1)
449catch (IndexOutOfRangeException) {
UI\Control.cs (1)
2054catch (IndexOutOfRangeException) {
System.Web.DataVisualization (9)
Common\DataManager\DataPoint.cs (2)
1252catch (IndexOutOfRangeException) 1276catch (IndexOutOfRangeException)
Common\Formulas\GeneralFormulas.cs (1)
181 catch( IndexOutOfRangeException )
Common\Formulas\Oscillator.cs (1)
673 catch( IndexOutOfRangeException )
Common\Formulas\PriceIndicators.cs (1)
1162 catch( IndexOutOfRangeException )
Common\Formulas\StatisticalAnalysis.cs (1)
147 catch( IndexOutOfRangeException )
Common\Formulas\TechGeneralIndicators.cs (1)
864 catch( IndexOutOfRangeException )
Common\Formulas\TimeSeriesAndForecasting.cs (1)
117 catch( IndexOutOfRangeException )
Common\Formulas\VolumeIndicator.cs (1)
103 catch( IndexOutOfRangeException )
System.Windows.Forms (7)
misc\ClientUtils.cs (1)
43|| ex is IndexOutOfRangeException
misc\MultitargetUtil.cs (1)
60|| ex is IndexOutOfRangeException
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (3)
1219if (ClientUtils.IsCriticalException(exception) && !(exception is IndexOutOfRangeException)) 1253if (ClientUtils.IsCriticalException(exception) && !(exception is IndexOutOfRangeException)) 1286if (ClientUtils.IsCriticalException(exception) && !(exception is IndexOutOfRangeException))
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
55catch (IndexOutOfRangeException) { 87catch (IndexOutOfRangeException) {
System.Windows.Forms.DataVisualization (9)
Common\DataManager\DataPoint.cs (2)
1252catch (IndexOutOfRangeException) 1276catch (IndexOutOfRangeException)
Common\Formulas\GeneralFormulas.cs (1)
181 catch( IndexOutOfRangeException )
Common\Formulas\Oscillator.cs (1)
673 catch( IndexOutOfRangeException )
Common\Formulas\PriceIndicators.cs (1)
1162 catch( IndexOutOfRangeException )
Common\Formulas\StatisticalAnalysis.cs (1)
147 catch( IndexOutOfRangeException )
Common\Formulas\TechGeneralIndicators.cs (1)
864 catch( IndexOutOfRangeException )
Common\Formulas\TimeSeriesAndForecasting.cs (1)
117 catch( IndexOutOfRangeException )
Common\Formulas\VolumeIndicator.cs (1)
103 catch( IndexOutOfRangeException )