Implemented interface member:
property
this
System.Collections.IList.this[System.Int32]
7 overrides of Item
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
238public override object? this[int index]
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (5)
735public override object? this[int index] 1184public override object? this[int index] 1677public override object? this[int index] 1935public override object? this[int index] 2505public override object? this[int index]
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
27public override object? this[int index]
48 writes to Item
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
41_data[index] = value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
2301_list[index] = value;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
554argList[i] = arg; 593argList[i] = arg;
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1402list[k+2] = strValue;
PresentationFramework (21)
MS\Internal\Controls\InnerItemCollectionView.cs (4)
113_viewList[index] = value; 119_rawList[originalIndexR] = value; 138_viewList[index] = originalItem; 141_rawList[originalIndexR] = originalItem;
MS\Internal\Data\SortFieldComparer.cs (1)
104al[i] = list[i].OriginalItem;
System\Windows\Controls\PasswordTextContainer.cs (2)
744_positionList[backwardGravitySlot] = _positionList[index]; 745_positionList[index] = tempWeakReference;
System\Windows\Data\CompositeCollection.cs (1)
318InternalList[itemIndex] = value;
System\Windows\Data\ListCollectionView.cs (2)
2390ShadowCollection[e.OldStartingIndex] = e.NewItems[0]; 2397ShadowCollection[tempIndex] = e.NewItems[0];
System\Windows\Documents\RtfToXamlReader.cs (4)
7473dnaSpanCells[kCSA] = dnCell; 7477dnaSpanCells[kCSA] = null; 7481dnaSpanCells[l] = null; 11565mlWant[nLists] = mlWant[mlWant.Count - 1];
System\Windows\Documents\XamlToRtfWriter.cs (6)
1783spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1786dnaSpanCells[nColHere] = null; 1796spanCounts[nColHere] = dnCell.RowSpan - 1; 1797dnaSpanCells[nColHere] = (dnCell.RowSpan > 1) ? dnCell : null; 1847spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1850dnaSpanCells[nColHere] = null;
System\Windows\Markup\MarkupExtensionParser.cs (1)
1402list[k+2] = strValue;
ReachFramework (1)
AlphaFlattener\Primitive.cs (1)
2091_children[index] = ((Primitive)_children[index]).DeepClone();
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
19_data[index] = value;
System.Collections.NonGeneric (2)
System\Collections\CollectionBase.cs (2)
130InnerList[index] = value; 137InnerList[index] = temp;
System.Collections.Specialized (3)
System\Collections\Specialized\OrderedDictionary.cs (2)
171objectsArray[index] = new DictionaryEntry(key, value); 200objectsArray[IndexOfKey(key)] = new DictionaryEntry(key, value);
System\Collections\Specialized\StringCollection.cs (1)
27data[index] = value;
System.Net.Primitives (2)
System\Net\CookieCollection.cs (2)
78m_list[idx] = cookie; 208m_list[idx] = cookie;
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
244base[index] = value;
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
1197_list[index] = value; 1682_list[index] = value; 2517_baseList[_baseIndex + index] = value;
System.Private.Xml (5)
System\Xml\Schema\ContentValidator.cs (1)
128_particles[lookup] = particle;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2348_list[index] = value;
System\Xml\Xsl\XsltOld\ContainerAction.cs (1)
231imports[i] = CompileImport(compiler, uri, ++_maxid);
System\Xml\Xsl\XsltOld\Stylesheet.cs (2)
101_whitespaceList[j - 1] = elem2; 102_whitespaceList[j] = elem1;
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
90_nodeArray[index] = value;
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (1)
144_props[index] = value;
System\Security\Cryptography\Xml\ReferenceList.cs (1)
105_references[index] = value;
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
36base[index] = value;
605 references to Item
dotnet-svcutil-lib (87)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
37return ((CodeNamespaceImport)_data[index]);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (2)
256type.TypeArguments.Add((CodeTypeReference)typeArgumentList[i]); 274TypeArguments.Add((CodeTypeReference)typeArgumentList[i]);
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (4)
1147ValidatingReaderNodeData attNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]; 1252_cachedNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]; 1320_cachedNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]; 2171defaultNode = (ValidatingReaderNodeData)_defaultAttributes[i];
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (1)
442schemaAttribute = _defaultAttributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
47return list[index];
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (9)
220((AxisElement)_stack[i]).MoveToParent(depth, _subtree); 242if (((AxisElement)_stack[i]).MoveToChild(name, URN, depth, _subtree)) 274AxisElement eaxis = (AxisElement)_stack[i]; 318AxisStack stack = new AxisStack((ForwardAxis)axisTree.SubtreeArray[i], this); 336AxisStack stack = (AxisStack)_axisStack[i]; 373((AxisStack)_axisStack[i]).MoveToParent(localname, URN, _currentDepth); 389if (((AxisStack)_axisStack[i]).MoveToAttribute(localname, URN, _currentDepth + 1)) 523ForwardAxis axis = (ForwardAxis)_fAxisArray[i]; 599Axis ast = (Axis)AstArray[i];
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (2)
90get { return (_KSpointer == 0) ? -1 : ((KSStruct)_KSs[_KSpointer - 1]).depth; } 121kss = (KSStruct)_KSs[_KSpointer];
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (5)
87if (_particles[symbol] != particle) 215return symbol == _last ? _particleLast : _particles[symbol]; 266get { return (Position)_positions[pos]; } 1109XmlSchemaElement member = (XmlSchemaElement)grp.Members[i]; 1567int[] transition = (int[])transitionTable[state];
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
3144XmlQualifiedName notation = (XmlQualifiedName)dt.Restriction.Enumeration[i];
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (11)
882Regex regex = (Regex)restriction.Patterns[i]; 1098if (value == valueConverter.ToDecimal(enumeration[i])) 1199if (value == valueConverter.ToDouble(enumeration[i])) 1270if (TimeSpan.Compare(value, (TimeSpan)enumeration[i]) == 0) 1342if (datatype.Compare(value, (DateTime)enumeration[i]) == 0) 1435if (value.Equals(((Uri)enumeration[i]).OriginalString)) 1445if (value.Equals((string)enumeration[i])) 1564if (value.Equals((XmlQualifiedName)enumeration[i])) 1633if (datatype.Compare(value, (byte[])enumeration[i]) == 0) 1694if (datatype.Compare(value, enumeration[i]) == 0) 1724if (datatype.Compare(value, enumeration[i]) == 0)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
151PreprocessRedefine((RedefineEntry)_redefinedList[i]);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
444XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 477XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i];
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
498XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 508if (g.Members[j] != element) 514newMembers.Add(g.Members[j]); 524substitutionGroup.Members.Add(newMembers[i]); 1237choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (11)
527importedNS = (string)schemaToRemove.ImportedNamespaces[i]; 552mainSchema = (XmlSchema)needToCheckSchemaList[i]; 570XmlSchema impSchema = (XmlSchema)schemaToRemove.ImportedSchemas[i]; 771XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]; 982XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]; 1085XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]; 1120if (!oldSubstGroup.Members.Contains(substGroup.Members[i])) 1122oldSubstGroup.Members.Add(substGroup.Members[i]); 1143XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 1152XmlSchemaElement element1 = (XmlSchemaElement)g.Members[j]; 1506_chameleonSchemas.Remove(removalList[j]);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (8)
363XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]; 2278LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[j].axisFields[k]; 2322LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[i].axisFields[j]; 2369LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]; 2639currentParticle = expected[i - 1] as XmlSchemaParticle; 2640nextParticle = expected[i] as XmlSchemaParticle; 2676builder.Append(expected[i].ToString()); 2711name = expected[i] as XmlQualifiedName;
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (3)
953LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[j].axisFields[k]; 998LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]; 1052LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j];
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (4)
162XmlSchemaObject cachedItem = (XmlSchemaObject)list[i]; 210GetDependencies((XmlSchemaObject)list[i], deps, refs); 223object cachedHash = Hash[list[i]]; 239GetHash((XmlSchemaObject)items[i]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (4)
224XmlAttribute attribute = (XmlAttribute)attrs[i]; 294Write3_XmlSchemaObject((XmlSchemaObject)list[i]); 608XmlQualifiedName q = (XmlQualifiedName)list[i]; 662XmlSchemaObject ai = (XmlSchemaObject)a[ia];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
905MemberMapping member = (MemberMapping)members[i]; 2297return (ImportStructWorkItem)_list[index];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (2)
1621Fixup fixup = (Fixup)_fixups[i]; 1628CollectionFixup collectionFixup = (CollectionFixup)_collectionFixups[i];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
1458WriteReferencedElement(_referencesToWrite[i], null);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (1)
450argList.Add(ProcessNode((AstNode)args[count], Flags.None, out argProps));
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathMultyIterator.cs (1)
26this.arr[i] = new XPathArrayIterator((ArrayList)inputArray[i]);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
549AstNode arg = (AstNode)argList[i]; 569AstNode arg = (AstNode)argList[i];
FrameworkFork\System.ServiceModel\Internals\System\Runtime\UrlUtility.cs (1)
622item = (string)values[j];
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (2)
318_entries.Remove(keysToBeRemoved[i]); 402_entries.Remove(expiredItems[i]);
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (4)
28o = m_Files.Item(lChannel) 45f = CType(m_Files.Item(lChannel), VB6File) 49m_Files.Item(lChannel) = Nothing 52m_Files.Item(lChannel) = o
PresentationBuildTasks (46)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1315if (ReferenceAssemblyList[i] is ReferenceAssembly refasm && refasm.Path.Length > 0) 1332if (ReferenceAssemblyList[i] is ReferenceAssembly refasm && refasm.Path.Length > 0)
MS\Internal\Tasks\CompilerWrapper.cs (1)
257if (_mc.ReferenceAssemblyList[i] is ReferenceAssembly asmReference)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (15)
351((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 494KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 536ValueDeferRecord valueDeferRecord = (ValueDeferRecord)record.RecordList[i]; 567KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 601KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 705BamlAssemblyInfoRecord bamlAssemblyInfoRecord = MapTable.AddAssemblyMap(BinaryWriter, (string)asmList[i]); 835KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 1167KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]); 1491((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1527ValueDeferRecord deferRecord = (ValueDeferRecord)_deferElement[h]; 1546KeyDeferRecord keyRecord = (KeyDeferRecord)_deferKeys[i]; 1561ValueDeferRecord keyValueRec = (ValueDeferRecord)keyRecord.RecordList[j]; 1610ValueDeferRecord deferRecord = (ValueDeferRecord)_deferValues[j]; 1613KeyDeferRecord deferKeyRecord = (KeyDeferRecord)_deferKeys[keyIndex++]; 1685KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (14)
614AttributeData data = (AttributeData)markupExtensionList[i]; 823DefAttributeData data = (DefAttributeData)complexDefAttributesList[i]; 1097else if (list[list.Count - 1] is Char) 1110parameterName = (string) list[list.Count - 1]; 1130else if (list.Count > 0 && (list[list.Count-1] is Char)) 1242if (!(list[listIndex] is String)) 1251list[listIndex+1] is Char && 1252(Char)list[listIndex+1] == '=') 1264string value = (String)list[listIndex]; 1345(list[k+1] is String) || 1346((Char)list[k+1]) != '=') 1355string propertyName = list[k] as String; 1392string strValue = list[k+2] as String; 1436((String)list[k+2]),
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserStack.cs (4)
61object o = this[Count - 1]; 88get { return Count > 0 ? this[Count - 1] : null; } 96get { return Count > 1 ? this[Count - 2] : null; } 104get { return Count > 2 ? this[Count - 3] : null; }
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (10)
2940TokenReaderNodeCollection.Add((XamlNode)xamlNodes[i]); 2952TokenReaderNodeCollection.Add((XamlNode)xamlNodes[i]); 5834xamlNode = (XamlNode)_xamlNodes[_nodeIndex]; 5923if (((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.ElementStart || 5924((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.EndAttributes) 6067Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6086Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex])==xamlNode, 6110Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex])==xamlNode, 6155Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6159((XamlElementStartNode)_xamlNodes[_typeConverterCandidateIndex]).CreateUsingTypeConverter = true;
PresentationCore (12)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
666_byteRangesInProgress[0,Offset_Index] = (int) _requestsOnWait[Offset_Index]; 667_byteRangesInProgress[0,Length_Index] = (int) _requestsOnWait[Length_Index];
MS\Internal\IO\Packaging\NetStream.cs (3)
912Block b = (Block)ranges[i]; 915while (b.Mergeable((Block)ranges[i + 1])) 917b.Merge((Block)ranges[i + 1]);
MS\Internal\TextFormatting\FullTextLine.cs (1)
1726bounds[i] = (TextBounds)boundsList[i];
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
276SimpleRun run = (SimpleRun)runs[count]; 334SimpleRun run = (SimpleRun)runs[i];
System\Windows\Input\AccessKeyManager.cs (4)
564WeakReference weakReference = (WeakReference)elements[i]; 593WeakReference weakReference = (WeakReference)elements[i]; 679WeakReference currentElementWeakRef = (WeakReference)elements[i]; 700WeakReference currentElementWeakRef = (WeakReference)elements[i];
PresentationFramework (143)
MS\Internal\Controls\InnerItemCollectionView.cs (8)
110object originalItem = _viewList[index]; 233ClearModelParent(_rawList[i]); 434return _viewList[index]; 524if (Filter(_rawList[k])) 525_viewList.Add(_rawList[k]); 772SetCurrent(_viewList[position], position); 794SetCurrent(_viewList[newCurrentPosition], newCurrentPosition); 813SetCurrent(_viewList[newCurrentPosition], newCurrentPosition);
MS\Internal\Data\DataExtensionMethods.cs (1)
52object item = al[oldIndex];
MS\Internal\Data\DefaultAsyncDataDispatcher.cs (1)
40AsyncDataRequest request = (AsyncDataRequest)_list[i];
MS\Internal\Data\SortFieldComparer.cs (1)
93list[i].Initialize(al[i], nFields);
MS\Internal\Data\ViewManager.cs (2)
273this.Remove(al[k]); 820this.Remove(al[k]);
MS\Internal\DataStreams.cs (1)
240SubStream subStream = (SubStream)subStreams[subStreamIndex];
MS\Internal\Documents\DocumentGrid.cs (2)
1495Visual current = (Visual)visiblePages[i]; 1537documentPageViews.Add(((DocumentGridPage)visiblePages[i]).DocumentPageView);
MS\Internal\Helper.cs (2)
91object appResource = Application.Current.FindResourceInternal(keys[k]); 110object sysResource = SystemResources.FindResourceInternal(keys[k]);
MS\Internal\PtsHost\PtsContext.cs (4)
84Invariant.Assert(((IntPtr)_pageBreakRecords[index]) != IntPtr.Zero, "Invalid break record object"); 85PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index])); 102Invariant.Assert(((IntPtr)_pages[index]) != IntPtr.Zero, "Invalid break record object"); 103PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index]));
MS\Internal\Utility\TraceLog.cs (1)
51Console.WriteLine(_log[k]);
System\Windows\Controls\DataGrid.cs (1)
2665object itemToRemove = itemsToRemove[i];
System\Windows\Controls\PasswordTextContainer.cs (3)
743WeakReference tempWeakReference = (WeakReference)_positionList[backwardGravitySlot]; 744_positionList[backwardGravitySlot] = _positionList[index]; 878weakReference = (WeakReference)_positionList[index];
System\Windows\Controls\RadioButton.cs (2)
118WeakReference weakReference = (WeakReference)elements[i]; 145WeakReference weakReference = (WeakReference)elements[i];
System\Windows\Controls\TextBlock.cs (2)
1973if (((InlineObject)inlineObjects[index]).Dcp == inlineObject.Dcp) 1975Debug.Assert(((InlineObject)inlineObjects[index]).Element == inlineObject.Element, "InlineObject cache is out of sync.");
System\Windows\Data\BindingOperations.cs (1)
260target.ClearValue((DependencyProperty)batch[i]);
System\Windows\Data\CompositeCollection.cs (2)
299return InternalList[itemIndex]; 304object originalItem = InternalList[itemIndex];
System\Windows\Documents\AdornerLayer.cs (11)
216InvalidateAdorner((AdornerInfo)adornerInfos[i++]); 241InvalidateAdorner((AdornerInfo)adornerInfos[i++]); 265adorners[i] = ((AdornerInfo)adornerInfos[i]).Adorner; 424AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[j++]; 459AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[j++]; 648int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[index - 1]).Adorner) + 1; 665int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[adornerInfos.Count - 1]).Adorner) + 1; 725AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[i]; 811Clear((UIElement)removeList[i]); 930if (((AdornerInfo)adornerInfos[i]).Adorner == adorner) 932return (AdornerInfo)adornerInfos[i];
System\Windows\Documents\CompositionAdorner.cs (3)
151AttributeRange attributeRange = (AttributeRange)_attributeRanges[i]; 235CompositionLine compositionLine = (CompositionLine)attributeRange.CompositionLines[j]; 342AttributeRange attributeRange = (AttributeRange)_attributeRanges[i];
System\Windows\Documents\FixedFlowMap.cs (1)
228 if (!element.FixedNode.Equals(range[range.Count - 1]))
System\Windows\Documents\Highlights.cs (1)
320return (HighlightLayer)_layers[index];
System\Windows\Documents\MoveSizeWinEventHandler.cs (1)
68TextStore textstore = (TextStore)_arTextStore[i];
System\Windows\Documents\RtfFormatStack.cs (1)
79return (FormatState)this[index];
System\Windows\Documents\RtfToXamlReader.cs (11)
2937return (CellFormat)_cellFormats[n]; 3173return (MarkerListEntry)this[index]; 3608return (FontTableEntry)this[index]; 3975return (ColorTableEntry)this[index]; 4178return (ListLevel)(Count > index && index >= 0 ? this[index] : null); 4329return (ListTableEntry)this[index]; 4504return (ListOverride)this[index]; 5596ColumnState cs = (ColumnState)cols[k]; 6215return (ColumnState)this[i]; 6278return (DocumentNode)this[nAt]; 11565mlWant[nLists] = mlWant[mlWant.Count - 1];
System\Windows\Documents\Speller.cs (5)
1178sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Max(i, 0)]; 1186sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Min(i, segments.Count-1)]; 1253sTextRange = (SpellerInteropBase.ITextRange)segments[segments.Count - 1]; 1265sTextRange = (SpellerInteropBase.ITextRange)segments[index]; 1281sTextRange = (SpellerInteropBase.ITextRange)segments[index + 1];
System\Windows\Documents\SpellerStatusTable.cs (1)
744return (Run)_runList[index];
System\windows\Documents\TextEditor.cs (3)
321if (((Type)_registeredEditingTypes[i]).IsAssignableFrom(controlType)) 329if (controlType.IsAssignableFrom((Type)_registeredEditingTypes[i])) 332SR.Format(SR.TextEditorCanNotRegisterCommandHandler, ((Type)_registeredEditingTypes[i]).Name, controlType.Name));
System\windows\Documents\TextEditorTyping.cs (1)
159((InputItem)threadLocalStore.PendingInputItems[i]).Do();
System\Windows\Documents\TextMapOffsetErrorLogger.cs (1)
82var textSegment = segments[i] as SpellerInteropBase.ITextRange;
System\Windows\Documents\TextStore.cs (4)
905attributeVals[i] = ((UnsafeNativeMethods.TS_ATTRVAL)_preparedattributes[i]); 1536if (((MouseSink)_mouseSinks[dwCookie]).Cookie != dwCookie) 1567MouseSink mSink = (MouseSink)_mouseSinks[i]; 3048MouseSink mSink = (MouseSink)_mouseSinks[i];
System\Windows\Documents\XamlToRtfParser.cs (4)
518string top = (string)this[Count - 1]; 633localName = (string)_xamlParsePoints[index * 2 + 1]; 634qName = (string)_xamlParsePoints[index * 2 + 2]; 678valueName = (string)_xamlParsePoints[index * 2 + 2];
System\Windows\Documents\XamlToRtfWriter.cs (13)
236DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 279DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 326dnList = (DocumentNode)openLists[j]; 410DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 446DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 1763while (nColExtra < spanCounts.Count && ((int)spanCounts[nColExtra]) > 0) 1780while (nColHere < spanCounts.Count && ((int)spanCounts[nColHere]) > 0) 1783spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1784if ((int)spanCounts[nColHere] == 0) 1820if (((int)spanCounts[nColExtra]) > 0) 1845if (((int)spanCounts[nColHere]) > 0) 1847spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1848if ((int)spanCounts[nColHere] == 0)
System\Windows\FrameworkElement.cs (1)
1594object candidate = table[keys[k]];
System\Windows\Interop\HwndHost.cs (1)
1116result = ((HwndSourceHook)_hooks[i])(hwnd, msg, wParam, lParam, ref handled);
System\Windows\Markup\BamlReader.cs (1)
379object obj = _properties[_propertiesIndex];
System\Windows\Markup\BamlRecordReader.cs (2)
1517ProcessConstructorParameter(paramInfos[j], paramList[j], ref paramArray[j]); 4066ReaderContextStackData stackData = (ReaderContextStackData) contextStack[i];
System\Windows\Markup\BamlRecordWriter.cs (14)
351((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 494KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 536ValueDeferRecord valueDeferRecord = (ValueDeferRecord)record.RecordList[i]; 567KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 601KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 835KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 1167KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]); 1491((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1527ValueDeferRecord deferRecord = (ValueDeferRecord)_deferElement[h]; 1546KeyDeferRecord keyRecord = (KeyDeferRecord)_deferKeys[i]; 1561ValueDeferRecord keyValueRec = (ValueDeferRecord)keyRecord.RecordList[j]; 1610ValueDeferRecord deferRecord = (ValueDeferRecord)_deferValues[j]; 1613KeyDeferRecord deferKeyRecord = (KeyDeferRecord)_deferKeys[keyIndex++]; 1685KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]);
System\Windows\Markup\BamlWriter.cs (1)
954XamlNode node = _markupExtensionNodes[i] as XamlNode;
System\Windows\Markup\MarkupExtensionParser.cs (14)
614AttributeData data = (AttributeData)markupExtensionList[i]; 823DefAttributeData data = (DefAttributeData)complexDefAttributesList[i]; 1097else if (list[list.Count - 1] is Char) 1110parameterName = (string) list[list.Count - 1]; 1130else if (list.Count > 0 && (list[list.Count-1] is Char)) 1242if (!(list[listIndex] is String)) 1251list[listIndex+1] is Char && 1252(Char)list[listIndex+1] == '=') 1264string value = (String)list[listIndex]; 1345(list[k+1] is String) || 1346((Char)list[k+1]) != '=') 1355string propertyName = list[k] as String; 1392string strValue = list[k+2] as String; 1436((String)list[k+2]),
System\Windows\Markup\ParserStack.cs (6)
61object o = this[Count - 1]; 70return this[Count - 1]; 88get { return Count > 0 ? this[Count - 1] : null; } 96get { return Count > 1 ? this[Count - 2] : null; } 104get { return Count > 2 ? this[Count - 3] : null; } 113get { return Count > 3 ? this[Count - 4] : null; }
System\Windows\Markup\XamlStream.cs (1)
389buffer = bufferArray[bufferIndex] as byte[];
System\Windows\Navigation\NavigationService.cs (4)
555((NavigationService)ChildNavigationServices[i]).InvalidateJournalNavigationScope(); 1318return BindUriHelper.GetUriRelativeToPackAppBase((_recursiveNavigateList[_recursiveNavigateList.Count - 1] as NavigateQueueItem).Source); 1874((NavigationService)_childNavigationServices[i]).DoStopLoading(true, succeed/*fireEvent: we only fire when succeed*/); 1885((NavigationService)_childNavigationServices[i]).DoStopLoading(true, false/*fireEvents*/);
System\Windows\WindowCollection.cs (3)
57return _list[index] as Window; 152clone._list.Add(_list[i]); 188if (_list[i] == win)
ReachFramework (6)
AlphaFlattener\BrushProxy.cs (1)
2157(_brushList[i] as BrushProxy).AddTo(b._opacityMask);
AlphaFlattener\DrawingContext.cs (1)
489two = brushes[from] as BrushProxy;
AlphaFlattener\Primitive.cs (1)
2091_children[index] = ((Primitive)_children[index]).DeepClone();
Serialization\VisualSerializer.cs (3)
275if ((string) _objects[i] == sBrush) 277return _objnams[i] as string; 297return _objnams[_objects.Count - 1] as string;
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
16get => (CodeNamespaceImport)_data[index];
System.Collections.NonGeneric (3)
System\Collections\CollectionBase.cs (3)
75object? temp = InnerList[index]; 121return InnerList[index]; 128object? temp = InnerList[index];
System.Collections.Specialized (12)
System\Collections\Specialized\NameObjectCollectionBase.cs (3)
319NameObjectEntry entry = (NameObjectEntry)_entriesArray[index]!; // no null entry added to the array 330NameObjectEntry entry = (NameObjectEntry)_entriesArray[index]!; 343NameObjectEntry entry = (NameObjectEntry)_entriesArray[index]!;
System\Collections\Specialized\NameValueCollection.cs (1)
129s.Append((string?)list[i]);
System\Collections\Specialized\OrderedDictionary.cs (7)
156return ((DictionaryEntry)objectsArray[index]!).Value; 170object key = ((DictionaryEntry)objectsArray[index]!).Key; 288object o = ((DictionaryEntry)_objectsArray[i]!).Key; 337object key = ((DictionaryEntry)objectsArray[index]!).Key; 606object entryKey = ((DictionaryEntry)_objects[i]!).Key; 619else if (object.Equals(((DictionaryEntry)_objects[i]!).Value, value)) 635DictionaryEntry entry = (DictionaryEntry)_objects[index]!;
System\Collections\Specialized\StringCollection.cs (1)
23return ((string?)data[index]);
System.ComponentModel.Primitives (1)
System\ComponentModel\ComponentCollection.cs (1)
39public virtual IComponent? this[int index] => (IComponent?)InnerList[index];
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (1)
222return (DesignerOptionCollection?)_children[index];
System\ComponentModel\ListSortDescriptionCollection.cs (1)
30get => (ListSortDescription?)_sorts[index];
System.Configuration.ConfigurationManager (13)
System\Configuration\BaseConfigurationRecord.cs (1)
365(LocationSectionRecord)_parent._locationSections[i];
System\Configuration\ConfigurationElementCollection.cs (4)
310(Entry)parentCollection.Items[parentCollection.RealIndexOf(entry.Value)]; 513Entry entry = (Entry)Items[index]; 936Entry entry = (Entry)Items[checkIndex]; 943Entry entry = (Entry)Items[removeIndex];
System\Configuration\ConfigurationLocationCollection.cs (1)
15public ConfigurationLocation this[int index] => (ConfigurationLocation)InnerList[index];
System\Configuration\ConfigurationPropertyCollection.cs (4)
21ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 22if (cp.Name == name) return (ConfigurationProperty)_items[index]; 53ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 68ConfigurationProperty cp = (ConfigurationProperty)_items[index];
System\Configuration\MgmtConfigurationRecord.cs (2)
783LocationSectionRecord locationSectionRecord = (LocationSectionRecord)_locationSections[i]; 1915LocationSectionRecord locationSectionRecord = (LocationSectionRecord)_locationSections[i];
System\Configuration\SettingsPropertyValueCollection.cs (1)
80return (SettingsPropertyValue)_values[ipos];
System.Data.Common (74)
System\Data\ConstraintCollection.cs (13)
51return (Constraint)List[index]!; 74return (index < 0) ? null : (Constraint)List[index]!; 482return (name == ((Constraint)List[index]!).ConstraintName); 495array[index + i] = (Constraint)_list[i]!; 507if (((Constraint)List[i]!).Equals(constraint)) 508return (Constraint)List[i]!; 521UniqueConstraint? constraint = (List[i] as UniqueConstraint); 538UniqueConstraint? constraint = (List[i] as UniqueConstraint); 553ForeignKeyConstraint? constraint = (List[i] as ForeignKeyConstraint); 599if (constraint == (Constraint)List[i]!) 628Constraint constraint = (Constraint)List[i]!; 672if (NamesEqual(name, ((Constraint)List[i]!).ConstraintName, true, _table.Locale) != 0) 674throw ExceptionBuilder.DuplicateConstraintName(((Constraint)List[i]!).ConstraintName);
System\Data\DataColumnCollection.cs (8)
66return (DataColumn)_list[index]!; 94column = (DataColumn)_list[index]!; 288((DataColumn)_list[i]!).SetOrdinalInternal(i); 669array[index + i] = (DataColumn)_list[i]!; 681if (column == (DataColumn)_list[i]!) 702if (column == _list[j]) 723DataColumn column = (DataColumn)_list[i]!; 785((DataColumn)_list[i]!).SetOrdinalInternal(i);
System\Data\DataRelationCollection.cs (11)
302array[index + i] = (DataRelation)alist[i]!; 314if (relation == (DataRelation)List[i]!) 341DataRelation relation = (DataRelation)List[i]!; 561return (DataRelation)_relations[index]!; 576return (index < 0) ? null : (DataRelation)List[index]!; 652if (relation == _relations[i]) 742return (DataRelation)_relations[index]!; 757return (index < 0) ? null : (DataRelation)List[index]!; 788if (childKey.ColumnsEqual(((DataRelation)_relations[i]!).ChildKey)) 790if (relation.ParentKey.ColumnsEqual(((DataRelation)_relations[i]!).ParentKey)) 844if (relation == _relations[i])
System\Data\DataRow.cs (6)
1403_columns[i].CopyValueIntoStore(_oldRecord, storeList[i]!, (BitArray)nullbitList[i]!, storeIndex); 1415_columns[i].CopyValueIntoStore(_newRecord, storeList[i]!, (BitArray)nullbitList[i]!, storeIndex); 1426_columns[i].CopyValueIntoStore(_tempRecord, storeList[i]!, (BitArray)nullbitList[i]!, storeIndex);
System\Data\DataTable.cs (2)
804Columns[i].SetStorage(storeList[i]!, (BitArray)nullbitList[i]!);
System\Data\DataTableCollection.cs (14)
59return (DataTable)_list[index]!; 84return (index < 0) ? null : (DataTable)_list[index]!; 102return (index < 0) ? null : (DataTable)_list[index]!; 111DataTable table = (DataTable)_list[i]!; 128DataTable table = (DataTable)_list[i]!; 518DataTable table = (DataTable)_list[i]!; 540DataTable table = (DataTable)_list[i]!; 565array[index + i] = (DataTable)_list[i]!; 577if (table == (DataTable)_list[i]!) 637DataTable table = (DataTable)_list[i]!; 646DataTable dupTable = (DataTable)_list[j]!; 674DataTable table = (DataTable)_list[i]!; 743DataTable table = (DataTable)_list[i]!; 746throw ExceptionBuilder.DuplicateTableName(((DataTable)_list[i]!).TableName);
System\Data\XMLDiffLoader.cs (2)
242row = (DataRow?)((DataTable)dt[i]!).RowDiffId[diffId]; 284DataTable dt = (DataTable)_tables[i]!;
System\Data\xmlsaver.cs (15)
326GenerateConstraintNames((DataTable)tables[i]!, true); 427SetupAutoGenerated((DataTable)dt[i]!); 509DataTable table = (DataTable)_tables[i]!; 2323rows += ((DataTable)tables[i]!).Rows.Count; 2328DataTable dt = (DataTable)tables[i]!; 2340if (((DataTable)_tables[i]!).Rows.Count > 0) 2384GenerateTable((DataTable)_tables[i]!); 2402GenerateTableErrors((DataTable)_tables[i]!); 2731DataTable table = (DataTable)_dTables[i]!; 2822DataTable tempTable = ((DataTable)_dTables[i]!); 2830DataTable tempDT = ((DataTable)_dTables[i]!); 2880if (((DataTable)_dTables[i]!)._xmlText != null) 2902foreach (DataRow row in ((DataTable)_dTables[i]!).Rows) 2909XmlDataRowWriter(row, ((DataTable)_dTables[i]!).EncodedTableName); 2913DataTable dt = (DataTable)_dTables[i]!;
System\Data\XMLSchema.cs (1)
806DataColumn dc = ((DataColumn)(_columnExpressions[i])!);
System\Data\XmlToDatasetMap.cs (1)
424foreach (DataRelation childRelations in ((DataTable)tableList[nCounter]!).ChildRelations)
System\Xml\XmlDataDocument.cs (1)
72_pointers.Remove(al[i]!);
System.Data.Odbc (1)
System\Data\Odbc\OdbcErrorCollection.cs (1)
40return (OdbcError)_items[i]!;
System.Diagnostics.Process (2)
System\Diagnostics\ProcessModuleCollection.cs (1)
33public ProcessModule this[int index] => (ProcessModule)InnerList[index]!;
System\Diagnostics\ProcessThreadCollection.cs (1)
33get { return (ProcessThread)InnerList[index]!; }
System.Net.Primitives (2)
System\Net\CookieCollection.cs (2)
42return (m_list[index] as Cookie)!; 200Cookie c = (Cookie)m_list[i]!;
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
240get => base[index];
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (6)
1190return _list[index]; 1679get => _list[index]; 1937get => _list[index]; 2264if (_baseList[_baseIndex + i] == null) 2271if (_baseList[_baseIndex + i] is object o && o.Equals(item)) 2511return _baseList[_baseIndex + index];
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (10)
91hashtable.Add(_attributes[i]!, _attributes[i + 1]); 180string? strAttrName = (string?)_attributes[i]; 245string? lhs = (string?)_attributes[i]; 246string? rhs = (string?)other._attributes[i]; 425string? strAttrName = (string?)_attributes[i]; 426string? strAttrValue = (string?)_attributes[i + 1]; 461((SecurityElement)_children[i]!).ToString(obj, write); 489string? strAttrName = (string?)_attributes[i]; 493string? strAttrValue = (string?)_attributes[i + 1];
System.Private.Xml (142)
System\Xml\Core\XsdValidatingReader.cs (4)
1176ValidatingReaderNodeData attNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]!; 1297_cachedNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]!; 1374_cachedNode = (ValidatingReaderNodeData)_defaultAttributes[defaultIndex]!; 2287defaultNode = (ValidatingReaderNodeData)_defaultAttributes[i]!;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
420XmlSchemaAttribute schemaAttribute = (XmlSchemaAttribute)_defaultAttributes[i]!;
System\Xml\Schema\Asttree.cs (8)
221((AxisElement)_stack[i]!).MoveToParent(depth, _subtree); 243if (((AxisElement)_stack[i]!).MoveToChild(name, URN, depth, _subtree)) 275AxisElement eaxis = (AxisElement)_stack[i]!; 319AxisStack stack = new AxisStack((ForwardAxis)axisTree.SubtreeArray[i]!, this); 337AxisStack stack = (AxisStack)_axisStack[i]!; 375((AxisStack)_axisStack[i]!).MoveToParent(localname, URN, _currentDepth); 392if (((AxisStack)_axisStack[i]!).MoveToAttribute(localname, URN, _currentDepth + 1)) 580Axis ast = (Axis)AstArray[i]!;
System\Xml\Schema\ConstraintStruct.cs (2)
87get { return (_KSpointer == 0) ? -1 : ((KSStruct)_KSs[_KSpointer - 1]!).depth; } 118kss = (KSStruct)_KSs[_KSpointer]!;
System\Xml\Schema\ContentValidator.cs (4)
76if (_particles[symbol] != particle) 195return symbol == _last ? _particleLast : _particles[symbol]; 248get { return (Position)_positions[pos]!; } 1029XmlSchemaElement member = (XmlSchemaElement)grp.Members[i]!;
System\Xml\Schema\DataTypeImplementation.cs (1)
3084XmlQualifiedName notation = (XmlQualifiedName)dt.Restriction.Enumeration[i]!;
System\Xml\Schema\FacetChecker.cs (11)
874Regex regex = (Regex)restriction.Patterns[i]!; 1086if (value == valueConverter.ToDecimal(enumeration[i]!)) 1187if (value == valueConverter.ToDouble(enumeration[i]!)) 1258if (TimeSpan.Compare(value, (TimeSpan)enumeration[i]!) == 0) 1332if (datatype.Compare(value, (DateTime)enumeration[i]!) == 0) 1414if (value.Equals(((Uri)enumeration[i]!).OriginalString)) 1424if (value.Equals((string)enumeration[i]!)) 1545if (value.Equals((XmlQualifiedName)enumeration[i]!)) 1614if (datatype.Compare(value, (byte[])enumeration[i]!) == 0) 1682Array enumValue = (enumeration[i] as Array)!; 1721if (datatype.Compare(value, enumeration[i]!) == 0)
System\Xml\Schema\Preprocessor.cs (1)
144PreprocessRedefine((RedefineEntry)_redefinedList[i]!);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
457XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]!; 490XmlSchemaElement? element = (XmlSchemaElement?)substitutionGroup.Members[i];
System\Xml\Schema\SchemaSetCompiler.cs (5)
517XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]!; 527if (g.Members[j] != element) 530newMembers.Add(g.Members[j]); 541substitutionGroup.Members.Add(newMembers[i]); 1245choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]!);
System\Xml\Schema\XmlSchemaSet.cs (11)
416importedNS = (string)schemaToRemove.ImportedNamespaces[i]!; 439XmlSchema mainSchema = (XmlSchema)needToCheckSchemaList[i]!; 457XmlSchema impSchema = (XmlSchema)schemaToRemove.ImportedSchemas[i]!; 640XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]!; 831XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]!; 933XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]!; 968if (!oldSubstGroup.Members.Contains(substGroup.Members[i])) 970oldSubstGroup.Members.Add(substGroup.Members[i]); 991XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]!; 1000XmlSchemaElement element1 = (XmlSchemaElement)g.Members[j]!; 1340_chameleonSchemas.Remove(removalList[j]!);
System\Xml\Schema\XmlSchemaValidator.cs (8)
351XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]!; 2250LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[j].axisFields[k]!; 2294LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[i].axisFields[j]!; 2341LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]!; 2626currentParticle = (expected[i - 1] as XmlSchemaParticle)!; 2627nextParticle = (expected[i] as XmlSchemaParticle)!; 2665builder.Append(expected[i]!.ToString()); 2700name = (expected[i] as XmlQualifiedName)!;
System\Xml\Schema\XsdValidator.cs (3)
935LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[j].axisFields[k]!; 980LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]!; 1035LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]!;
System\Xml\Serialization\Compilation.cs (1)
293sb.Append(list[i]!.ToString());
System\Xml\Serialization\ImportContext.cs (4)
84XmlSchemaObject cachedItem = (XmlSchemaObject)list[i]!; 132GetDependencies((XmlSchemaObject)list[i]!, deps, refs); 145object? cachedHash = Hash[list[i]!]; 163GetHash((XmlSchemaObject)items[i]!);
System\Xml\Serialization\SchemaObjectWriter.cs (4)
222XmlAttribute attribute = (XmlAttribute)attrs[i]!; 293Write3_XmlSchemaObject((XmlSchemaObject?)list[i]); 607XmlQualifiedName q = (XmlQualifiedName)list[i]!; 661XmlSchemaObject? ai = (XmlSchemaObject?)a[ia];
System\Xml\Serialization\XmlReflectionImporter.cs (1)
2344return (ImportStructWorkItem)_list[index]!;
System\Xml\Serialization\XmlSerializationReader.cs (3)
1520Fixup fixup = (Fixup)_fixups[i]!; 1527CollectionFixup collectionFixup = (CollectionFixup)_collectionFixups[i]!; 3777AttributeAccessor attribute = (AttributeAccessor)attributes[i]!;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1425WriteReferencedElement(_referencesToWrite[i]!, null);
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
25var iterator = (ArrayList?)inputArray[i];
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
872XmlQualifiedName qnameDup = (XmlQualifiedName)_dupAttrs[idx]!;
System\Xml\Xsl\QIL\SubstitutionList.cs (2)
53if (_s[i] == n) 54return (QilNode)_s[i + 1]!;
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
101wildcardRule = _wildcards[pos] as InternalWhitespaceRule;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
906if (((XPathNavigator)docIndexes[i]!).IsSamePosition(navRoot)) 908index = (XmlILIndex)docIndexes[i + 1]!;
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
148Sort sort = (Sort)sortarray[i]!;
System\Xml\Xsl\XsltOld\Avt.cs (1)
31_events[i] = (TextEvent)eventList[i]!;
System\Xml\Xsl\XsltOld\ContainerAction.cs (3)
229Uri? uri = imports[i] as Uri; 985return (Action)this.containedActions[actionIndex]!; 1016((Action)this.containedActions[i]!).ReplaceNamespaceAlias(compiler);
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (2)
40((Event)_copyEvents[i]!).ReplaceNamespaceAlias(compiler); 62Event copyEvent = (Event)_copyEvents[frame.Counter]!;
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (2)
40Debug.Assert(record.AttributeList[attrib] is BuilderInfo); 41BuilderInfo attrInfo = (BuilderInfo)record.AttributeList[attrib]!;
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
548result.Append(numberingFormat.FormatItem(numberlist[i]!)); 565result.Append(numberingFormat.FormatItem(numberlist[i]!));
System\Xml\Xsl\XsltOld\ReaderOutput.cs (6)
606Debug.Assert(_attributeList[attrib] is BuilderInfo); 609_currentInfo = (BuilderInfo)_attributeList[attrib]!; 619return (BuilderInfo)_attributeList[attrib]!; 631BuilderInfo attribute = (BuilderInfo)_attributeList[index]!; 651BuilderInfo attribute = (BuilderInfo)_attributeList[index]!; 679Debug.Assert((_currentIndex == -1) || (_currentInfo == _attributeValue || _attributeList![_currentIndex] is BuilderInfo && _attributeList[_currentIndex] == _currentInfo));
System\Xml\Xsl\XsltOld\RecordBuilder.cs (15)
261Debug.Assert(_attributeList[attrib] != null && _attributeList[attrib] is BuilderInfo); 263BuilderInfo attribute = (BuilderInfo)_attributeList[attrib]!; 327Debug.Assert(_attributeList[attrib] != null && _attributeList[attrib] is BuilderInfo); 329BuilderInfo attribute = (BuilderInfo)_attributeList[attrib]!; 491Debug.Assert(_attributeList[attr] is BuilderInfo); 492BuilderInfo info = (BuilderInfo)_attributeList[attr]!; 562Debug.Assert(_attributeList[attr] is BuilderInfo); 563BuilderInfo info = (BuilderInfo)_attributeList[attr]!; 607BuilderInfo attribute = (BuilderInfo)_attributeList[NewAttribute()]!; 608attribute.Initialize((BuilderInfo)_namespaceList[i]!); 750Debug.Assert(_namespaceList[index] != null && _namespaceList[index] is BuilderInfo); 752BuilderInfo ns = (BuilderInfo)_namespaceList[index]!;
System\Xml\Xsl\XsltOld\RootAction.cs (3)
48if (((DocumentKeyList)_keyNodes[i]!).RootNav.IsSamePosition(root)) 50return ((DocumentKeyList)_keyNodes[i]!).KeyTable; 157dstAttList!.Add(srcAttList[src]);
System\Xml\Xsl\XsltOld\SequentialOutput.cs (4)
407Debug.Assert(_outputCache[record] is BuilderInfo); 408BuilderInfo info = (BuilderInfo)_outputCache[record]!; 690Debug.Assert(list[attrib] is BuilderInfo); 691BuilderInfo attribute = (BuilderInfo)list[attrib]!;
System\Xml\Xsl\XsltOld\Stylesheet.cs (15)
97elem1 = (WhitespaceElement)_whitespaceList[j - 1]!; 98elem2 = (WhitespaceElement)_whitespaceList[j]!; 112Stylesheet stylesheet = (Stylesheet)_imports[importIndex]!; 129WhitespaceElement elem = (WhitespaceElement)_whitespaceList[i]!; 140Stylesheet stylesheet = (Stylesheet)_imports[importIndex]!; 230Debug.Assert(_imports[importIndex] is Stylesheet); 231Stylesheet? stylesheet = (Stylesheet?)_imports[importIndex]; 256TemplateAction template = (TemplateAction)manager.templates[i]!; 275Stylesheet stylesheet = (Stylesheet)_imports[importIndex]!; 320Debug.Assert(_imports[importIndex] is Stylesheet); 321Stylesheet? stylesheet = (Stylesheet?)_imports[importIndex]; 388Debug.Assert(_imports[importIndex] is Stylesheet); 389Stylesheet? stylesheet = (Stylesheet?)_imports[importIndex]; 420Debug.Assert(_imports[importIndex] is Stylesheet); 421Stylesheet? stylesheet = (Stylesheet?)_imports[importIndex];
System\Xml\Xsl\XsltOld\TemplateManager.cs (1)
85TemplateAction action = (TemplateAction)this.templates[templateIndex]!;
System\Xml\Xsl\XsltOld\WriterOutput.cs (2)
94Debug.Assert(list[attrib] is BuilderInfo); 95BuilderInfo attribute = (BuilderInfo)list[attrib]!;
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
330value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Before, 337if (value.ComparePosition((XPathNavigator?)list[list.Count - 1]) == XmlNodeOrder.Same) 345value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Same,
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\AncestralNamespaceContextManager.cs (1)
15return (NamespaceFrame)_ancestorStack[i]!;
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (2)
20return (XmlNode)_nodeArray[index]!; 85get { return _nodeArray[index]; }
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (2)
119return (EncryptionProperty)_props[index]!; 138get { return _props[index]; }
System\Security\Cryptography\Xml\KeyInfo.cs (1)
53XmlElement xmlElement = ((KeyInfoClause)_keyInfoClauses[i]!).GetXml(xmlDocument);
System\Security\Cryptography\Xml\ReferenceList.cs (2)
77return (EncryptedReference?)_references[index]; 96get { return _references[index]; }
System\Security\Cryptography\Xml\SignedInfo.cs (1)
198Reference reference = (Reference)_references[i]!;
System\Security\Cryptography\Xml\SignedXml.cs (3)
815Reference reference = (Reference)references[index]!; 832if (((Reference)references[j]!).Id == idref) 923Reference digestedReference = (Reference)references[i]!;
System\Security\Cryptography\Xml\TransformChain.cs (1)
56return (Transform)_transforms[index]!;
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
199if (IsTargetElement(encryptedDataElement, (string)ExceptUris[index]!))
System.Windows.Forms (7)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
31return base[index];
System\Windows\Forms\DataBinding\BindingManagerBase.cs (4)
121if (dataSources[offset - 1] is IList list && list.Count > 0) 154list = dataSources[offset - 1] as IList; 167if (itemProps[j].Equals(listAccessors[offset])) 178if (property.Name.Equals(((PropertyDescriptor)listAccessors[offset]!).Name))
System\Windows\Forms\FormCollection.cs (1)
58f = (Form?)InnerList[index];
System\Windows\Forms\Input\InputLanguageCollection.cs (1)
28public InputLanguage this[int index] => (InputLanguage)InnerList[index]!; // Forcing non-nullable due to legacy requirements.
System.Windows.Forms.Design (1)
System\Drawing\Design\ToolboxItemCollection.cs (1)
32public ToolboxItem this[int index] => (ToolboxItem)InnerList[index]!;
UIAutomationClient (6)
MS\Internal\Automation\ClientEventManager.cs (4)
162EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 299EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 558EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 621EventListenerClientSide ec = (EventListenerClientSide)_listeners[i];
MS\Internal\Automation\ProxyManager.cs (1)
610entry = array[i];
MS\Internal\Automation\WinEventWrap.cs (1)
152handlers[i] = _clientCallbacks[i];
UIAutomationClientSideProviders (9)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
107Accessible ancestor = (Accessible)actualParentChain[i];
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
141return GetGroupRcInternal((Group)_groups[index]); 150groupIds[i] = ((Group)_groups[i])._groupID; 161Group group = (Group)_groups[i]; 179return ((Group)_groups[index])._groupID; 193Group group = (Group)_groups[i]; 355current = (Group)(_groups[i]); 446Group group = (Group)manager._groups[i];
MS\Internal\AutomationProxies\WindowsTab.cs (1)
416selection[i] = (ProxySimple)list[i];