Implemented interface member:
property
this
System.Collections.IList.this[System.Int32]
6 overrides of
mscorlib (5)
system\collections\arraylist.cs (5)
831public override Object this[int index] { 1255public override Object this[int index] { 1688public override Object this[int index] { 1945public override Object this[int index] { 2503public override Object this[int index] {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
632public override object this[int index] {
97 writes to
mscorlib (11)
system\collections\arraylist.cs (3)
1263_list[index] = value; 1693_list[index] = value; 2512_baseList[_baseIndex + index] = value;
system\collections\collectionbase.cs (2)
117InnerList[index] = value; 122InnerList[index] = temp;
system\runtime\remoting\leasemanager.cs (1)
260tempObjects[i] = null;
system\security\accesscontrol\acl.cs (1)
566_aces[index] = value;
system\security\policy\policylevel.cs (2)
1347elem.m_lAttributes[i+1] = GenerateFriendlyName(strAttrValue, classes); 1386elem.m_lAttributes[i+1] = className;
system\security\securityelement.cs (1)
276m_lChildren[i] = iseFactory.CreateSecurityElement();
system\security\util\stringexpressionset.cs (1)
722this.m_list[i] = this.m_list[j];
PresentationBuildTasks (1)
Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1427list[k+2] = strValue;
PresentationFramework (21)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (4)
117_viewList[index] = value; 123_rawList[originalIndexR] = value; 142_viewList[index] = originalItem; 145_rawList[originalIndexR] = originalItem;
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
115al[i] = list[i].OriginalItem;
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (2)
754_positionList[backwardGravitySlot] = _positionList[index]; 755_positionList[index] = tempWeakReference;
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
335InternalList[itemIndex] = value;
src\Framework\System\Windows\Data\ListCollectionView.cs (2)
2426ShadowCollection[e.OldStartingIndex] = e.NewItems[0]; 2433ShadowCollection[tempIndex] = e.NewItems[0];
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (4)
7550dnaSpanCells[kCSA] = dnCell; 7554dnaSpanCells[kCSA] = null; 7558dnaSpanCells[l] = null; 11764mlWant[nLists] = mlWant[mlWant.Count - 1];
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (6)
1787spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1790dnaSpanCells[nColHere] = null; 1800spanCounts[nColHere] = dnCell.RowSpan - 1; 1801dnaSpanCells[nColHere] = (dnCell.RowSpan > 1) ? dnCell : null; 1851spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1854dnaSpanCells[nColHere] = null;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1427list[k+2] = strValue;
System (10)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
41data[index] = value;
compmod\system\collections\specialized\ordereddictionary.cs (2)
167objectsArray[index] = new DictionaryEntry(key, value); 185objectsArray[IndexOfKey(key)] = new DictionaryEntry(key, value);
compmod\system\collections\specialized\stringcollection.cs (1)
29data[index] = value;
compmod\system\componentmodel\EventDescriptorCollection.cs (1)
380eventArrayList[j] = null;
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
405propArrayList[j] = null;
compmod\system\diagnostics\TraceListeners.cs (2)
35list[i] = value; 198list[index] = listener;
net\System\Net\cookiecollection.cs (2)
107m_list[idx] = cookie; 211m_list[idx] = cookie;
System.Data.SqlXml (4)
System\Xml\Xsl\XsltOld\ContainerAction.cs (1)
197imports[i] = CompileImport(compiler, uri, ++ this.maxid);
System\Xml\Xsl\XsltOld\DbgCompiler.cs (1)
87this.globalVars[i] = variable;
System\Xml\Xsl\XsltOld\Stylesheet.cs (2)
89this.whitespaceList[j - 1] = elem2; 90this.whitespaceList[j] = elem1;
System.Drawing (2)
misc\ClientUtils.cs (2)
321InnerList[index] = CreateWeakRefObject(value); 386destinationList.InnerList[destinationIndex++] = sourceList.InnerList[sourceIndex++];
System.Runtime.Remoting (2)
metadata\wsdlparser.cs (2)
6757_URTComplexTypes[i] = null; 6774_URTSimpleTypes[i] = null;
System.Security (3)
system\security\cryptography\xml\c14nutil.cs (1)
644m_nodeArray[index] = value;
system\security\cryptography\xml\encryptedkey.cs (1)
298m_references[index] = value;
system\security\cryptography\xml\encryptedtype.cs (1)
389m_props[index] = value;
System.Web (11)
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
384_customTreeNames[index] = bd.Name; 616_customBrowserDefinitionCollections[index] = new BrowserDefinitionCollection();
HttpWriter.cs (2)
1231_buffers[dstIndex + i] = _buffers[srcIndex + i]; 1236_buffers[dstIndex + srcCount + i] = temp[i];
Management\EventlogProvider.cs (1)
245dataFields[i] = ((string)field).Substring(0, _maxTruncatedParamLen) + _truncateWarning;
SiteMapNodeCollection.cs (1)
113List[index] = value;
UI\WebControls\GridView.cs (4)
2162keyArray[index] = new DataKey(keyTable, dataKeyNames); 2176suffixArray[index] = new DataKey(suffixTable, ClientIDRowSuffixInternal); 2222keyArray[index] = new DataKey(keyTable, dataKeyNames); 2236suffixArray[index] = new DataKey(suffixTable, ClientIDRowSuffixInternal);
UI\WebControls\ListItemCollection.cs (1)
56listItems[index] = (ListItem)value;
System.Web.DataVisualization (2)
Common\ChartTypes\PieChart.cs (2)
1998 _labelsRectangles[positionIndex[ splitIndex ]] = rect; 2051 _labelsRectangles[positionIndex[ splitIndex ]] = rect;
System.Web.Extensions (3)
UI\WebControls\ListView.cs (3)
1690keyArray[dataItemIndex] = new DataKey(keyTable, DataKeyNamesInternal); 1834keyArray[dataItemIndex] = new DataKey(keyTable, DataKeyNamesInternal); 1939suffixArray[dataItemIndex] = new DataKey(suffixTable, ClientIDRowSuffixInternal);
System.Web.Services (1)
System\Web\Services\WebMethodAttribute.cs (1)
315list[list.IndexOf(method)] = methods[i];
System.Windows.Forms (17)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (1)
39data[index] = value;
winforms\Managed\System\WinForms\ComboBox.cs (1)
4400InnerList[index] = value;
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (1)
188this.items[index] = dataGridViewCell;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2980this.InnerArray[index] = value;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (3)
281this.SharedList[index] = newDataGridViewRow; 2517this.items[rowIndex1] = this.items[rowIndex2]; 2518this.items[rowIndex2] = item;
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
638base[index] = value;
winforms\Managed\System\WinForms\ImageList.cs (1)
1613imageInfoCollection[index] = new ImageInfo();
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (3)
71this.InnerList[fromIndex] = this.InnerList[toIndex]; 95this.InnerList[toIndex] = element; 111destinationList.InnerList[destinationIndex++] = sourceList.InnerList[sourceIndex++];
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1987owner.links[index] = value;
winforms\Managed\System\WinForms\ListViewGroup.cs (2)
386this.List[index] = value; 424this.list[index] = value;
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
71Items[index] = value;
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
71_innerList[index] = style;
System.Windows.Forms.DataVisualization (2)
Common\ChartTypes\PieChart.cs (2)
1998 _labelsRectangles[positionIndex[ splitIndex ]] = rect; 2051 _labelsRectangles[positionIndex[ splitIndex ]] = rect;
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
2583positionalArgs[i] = XmlConvert.DecodeName((string)positionalArgs[i]); 2586positionalArgs[i] = InternalDeserializeFromString(serializationManager, matchParameters[i].ParameterType, argVal); 2587positionalArgs[i] = GetValueFromMarkupExtension(serializationManager, positionalArgs[i]);
System.Xml (3)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1996list[index] = value;
System\Xml\XPath\Internal\XPathParser.cs (2)
475argList[i] = arg; 507argList[i] = arg;
WindowsBase (1)
Shared\MS\Internal\WeakReferenceList.cs (1)
249list[destIndex++] = list[i];
1539 references to
mscorlib (123)
system\activationcontext.cs (2)
324return (ICMS) _manifests[_manifests.Count-1]; 326return GetComponentManifest((IDefinitionIdentity)_definitionIdentities[_definitionIdentities.Count-1]);
system\collections\arraylist.cs (7)
1258return _list[index]; 1690return _list[index]; 1947return _list[index]; 2256if (_baseList[_baseIndex + i]==null) 2262if (_baseList[_baseIndex + i] != null && _baseList[_baseIndex + i].Equals(item)) 2507return _baseList[_baseIndex + index];
system\collections\collectionbase.cs (3)
69Object temp = InnerList[index]; 108return InnerList[index]; 115Object temp = InnerList[index];
system\deployment\isolationinterop.cs (1)
2510object o = _list[i];
system\resources\resourcemanager.cs (1)
1585String cultureName = (String)list[i];
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (2)
26EventItfInfo CurrEventItf = (EventItfInfo)EventItfList[cEventItfs]; 102if ((MethodInfo)methods[i] == accessor)
system\runtime\remoting\activationservices.cs (2)
656IContextProperty prop = list[i] as IContextProperty; 684if (!((IContextProperty)list[i]).IsNewContextOK(
system\runtime\remoting\ichannel.cs (1)
451String headerKey = (String)((DictionaryEntry)_headerList[co]).Key;
system\runtime\remoting\leasemanager.cs (4)
208Lease lease = (Lease)tempObjects[i]; 218Lease lease = (Lease)tempObjects[i]; 246SponsorInfo sponsorInfo = (SponsorInfo)tempObjects[i]; 256SponsorInfo sponsorInfo = (SponsorInfo)tempObjects[i];
system\runtime\remoting\message.cs (6)
3363if (parameterType != argValues[j].GetType()) 3419argValues.Add(info.GetValue((String)argNames[i], typeof(Object))); 3472memberName = (String)paramNames[i]; 3511String memberName = (String)paramNames[i]; 4449String memberName = (String)paramNames[i]; 4499String memberName = (String)paramNames[j];
system\runtime\remoting\messagesmuggler.cs (6)
160return deserializedArgs[serializedArg.Index]; 392return (Type[])deserializedArgs[_instantiation.Index]; 400return (Object[])deserializedArgs[_methodSignature.Index]; 437DictionaryEntry de = (DictionaryEntry)deserializedArgs[co]; 570return (Exception)deserializedArgs[_exception.Index]; 601DictionaryEntry de = (DictionaryEntry)deserializedArgs[co];
system\security\accesscontrol\acl.cs (5)
479GenericAce ace = _aces[i] as GenericAce; 506GenericAce ace = _aces[i] as GenericAce; 537return _aces[index] as GenericAce; 559int newBinaryLength = BinaryLength - ( index < _aces.Count ? ( _aces[index] as GenericAce ).BinaryLength : 0 ) + value.BinaryLength; 596GenericAce ace = _aces[index] as GenericAce;
system\security\accesscontrol\rules.cs (1)
378get { return InnerList[index] as AuthorizationRule; }
system\security\permissionlistset.cs (5)
302if (!current.Contains(newList[i])) 303current.Add(newList[i]); 460PermissionSetTriple psTriple = (PermissionSetTriple)m_permSetTriples[i]; 490PermissionSetTriple psTriple = (PermissionSetTriple)m_permSetTriples[i]; 519check &= ((PermissionSetTriple)m_permSetTriples[i]).CheckFlags(ref flags);
system\security\permissions\keycontainerpermission.cs (4)
244return (KeyContainerPermissionAccessEntry)m_list[index]; 269((KeyContainerPermissionAccessEntry)m_list[index]).Flags &= accessEntry.Flags; 614String strAttrName = (String) current.m_lAttributes[i]; 615String strAttrValue = (String) current.m_lAttributes[i+1];
system\security\permissionset.cs (3)
753ISecurityElementFactory current = (ISecurityElementFactory)elChild.InternalChildren[i]; 1774SecurityElement elem = (SecurityElement)et.Children[i]; 1878int childIndex = (int)childrenIndices[i];
system\security\policy\applicationtrust.cs (1)
418return AppTrusts[index] as ApplicationTrust;
system\security\policy\codegroup.cs (3)
492SecurityElement elGroup = (SecurityElement)m_element.Children[i]; 755if (!((CodeGroup) list1[i]).Equals( (CodeGroup) list2[i], true ))
system\security\policy\netcodegroup.cs (13)
315if ((string)m_schemesList[i] == originScheme) 321ArrayList list = (ArrayList)m_accessList[i]; 324if (((CodeConnectAccess)list[i]).Equals(connectAccess)) 354result[i].Key = m_schemesList[i]; 355result[i].Value = ((ArrayList)m_accessList[i]).ToArray(typeof(CodeConnectAccess)); 563ArrayList accessList = (ArrayList)m_accessList[i]; 732group.m_accessList.Add(((ArrayList)this.m_accessList[i]).Clone()); 793int idx = that.m_schemesList.IndexOf(this.m_schemesList[i]); 797ArrayList thisList = (ArrayList)this.m_accessList[i]; 798ArrayList thatList = (ArrayList)that.m_accessList[idx]; 804if (!thatList.Contains(thisList[k])) 824result += ((string)m_schemesList[i]).GetHashCode(); 828result += ((CodeConnectAccess)accessList[i]).GetHashCode();
system\security\policy\policylevel.cs (9)
389if (((NamedPermissionSet)namedPermissionSets[index]).Name.Equals(name)) { 406CodeGroup group = (CodeGroup)groups[index]; 421NamedPermissionSet permSet = (NamedPermissionSet)namedPermissionSets[permSetIndex]; 1195SecurityElement elPermSet = (SecurityElement)m_permSetElement.Children[m_permSetElement.InternalChildren.Count-1]; 1342string strAttrName = (string)elem.m_lAttributes[i]; 1345string strAttrValue = (string)elem.m_lAttributes[i+1]; 1379string strAttrName = (string)elem.m_lAttributes[i]; 1382string strAttrValue = (string)elem.m_lAttributes[i+1]; 1421CodeGroupStackFrame temp = (CodeGroupStackFrame) m_array[count-1];
system\security\policy\policystatement.cs (2)
484if (doc.GetTagForElement( (int)childPositions[i] ).Equals( "PermissionSet" )) 486positionPermissionSet = (int)childPositions[i];
system\security\policymanager.cs (1)
370group = (CodeGroup)list[i];
system\security\securitydocument.cs (3)
224AddString( (String)elCurrent.m_lAttributes[i], ref position ); 225AddString( (String)elCurrent.m_lAttributes[i+1], ref position ); 239ConvertElement( (SecurityElement)elCurrent.Children[i], ref position );
system\security\securityelement.cs (13)
180hashtable.Add( m_lAttributes[i], m_lAttributes[i+1]); 274ISecurityElementFactory iseFactory = m_lChildren[i] as ISecurityElementFactory; 275if (iseFactory != null && !(m_lChildren[i] is SecurityElement)) 305String strAttrName = (String)m_lAttributes[i]; 373if (m_lChildren[i] == child) 412String lhs = (String)m_lAttributes[i]; 413String rhs = (String)other.m_lAttributes[i]; 688String strAttrName = (String)m_lAttributes[i]; 689String strAttrValue = (String)m_lAttributes[i+1]; 752((SecurityElement)m_lChildren[i]).ToString( "", obj, func ); 792String strAttrName = (String)m_lAttributes[i]; 796String strAttrValue = (String)m_lAttributes[i+1];
system\security\util\sitestring.cs (7)
219!operand.m_separatedSite[operand.m_separatedSite.Count - 1].Equals("*")) 230if (String.Compare((String)this.m_separatedSite[index], (String)operand.m_separatedSite[index], strComp) != 0) 238return operand.m_separatedSite[operand.m_separatedSite.Count - 1].Equals("*"); 243return (String.Compare((String)this.m_separatedSite[this.m_separatedSite.Count - 1], 244(String)operand.m_separatedSite[this.m_separatedSite.Count - 1], 246operand.m_separatedSite[operand.m_separatedSite.Count - 1].Equals("*"));
system\security\util\stringexpressionset.cs (18)
380if (!StringSubsetStringExpression( (String)this.m_list[index], ses, m_ignoreCase )) 402if (!StringSubsetStringExpressionPathDiscovery( (String)this.m_list[index], ses, m_ignoreCase )) 437unionSet.AddSingleExpressionNoDuplicates( (String)smaller.m_list[index] ); 465if (StringSubsetString( (String)this.m_list[this_index], (String)ses.m_list[ses_index], m_ignoreCase )) 471intersectSet.AddSingleExpressionNoDuplicates( (String)this.m_list[this_index] ); 473else if (StringSubsetString( (String)ses.m_list[ses_index], (String)this.m_list[this_index], m_ignoreCase )) 479intersectSet.AddSingleExpressionNoDuplicates( (String)ses.m_list[ses_index] ); 567if (StringSubsetString( left, (String)right.m_list[index], ignoreCase )) 580if (StringSubsetStringPathDiscovery( left, (String)right.m_list[index], ignoreCase )) 683if (StringSubsetString( (String)this.m_list[index], expression, m_ignoreCase )) 687else if (StringSubsetString( expression, (String)this.m_list[index], m_ignoreCase )) 715if (StringSubsetString( (String)this.m_list[j], (String)this.m_list[i], m_ignoreCase )) 719else if (StringSubsetString( (String)this.m_list[i], (String)this.m_list[j], m_ignoreCase )) 722this.m_list[i] = this.m_list[j];
PresentationBuildTasks (46)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1322ReferenceAssembly refasm = ReferenceAssemblyList[i] as ReferenceAssembly;
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (1)
252ReferenceAssembly asmReference = _mc.ReferenceAssemblyList[i] as ReferenceAssembly;
Framework\System\Windows\Markup\BamlMapTable.cs (1)
1007return (BamlAssemblyInfoRecord)AssemblyIdMap[id];
Framework\System\Windows\Markup\BamlRecordWriter.cs (15)
362((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 506KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 548ValueDeferRecord valueDeferRecord = (ValueDeferRecord)record.RecordList[i]; 581KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 616KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 720BamlAssemblyInfoRecord bamlAssemblyInfoRecord = MapTable.AddAssemblyMap(BinaryWriter, (string)asmList[i]); 850KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 1182KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]); 1506((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1542ValueDeferRecord deferRecord = (ValueDeferRecord)_deferElement[h]; 1561KeyDeferRecord keyRecord = (KeyDeferRecord)_deferKeys[i]; 1576ValueDeferRecord keyValueRec = (ValueDeferRecord)keyRecord.RecordList[j]; 1625ValueDeferRecord deferRecord = (ValueDeferRecord)_deferValues[j]; 1628KeyDeferRecord deferKeyRecord = (KeyDeferRecord)_deferKeys[keyIndex++]; 1704KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]);
Framework\System\Windows\Markup\MarkupExtensionParser.cs (14)
635AttributeData data = (AttributeData)markupExtensionList[i]; 845DefAttributeData data = (DefAttributeData)complexDefAttributesList[i]; 1120else if (list[list.Count - 1] is Char) 1134parameterName = (string) list[list.Count - 1]; 1154else if (list.Count > 0 && (list[list.Count-1] is Char)) 1266if (!(list[listIndex] is String)) 1275list[listIndex+1] is Char && 1276(Char)list[listIndex+1] == '=') 1288string value = (String)list[listIndex]; 1370(list[k+1] is String) || 1371((Char)list[k+1]) != '=') 1380string propertyName = list[k] as String; 1417string strValue = list[k+2] as String; 1461((String)list[k+2]),
Framework\System\Windows\Markup\ParserStack.cs (4)
82object o = this[Count - 1]; 109get { return Count > 0 ? this[Count - 1] : null; } 117get { return Count > 1 ? this[Count - 2] : null; } 125get { return Count > 2 ? this[Count - 3] : null; }
Framework\System\Windows\Markup\XamlReaderHelper.cs (10)
2954TokenReaderNodeCollection.Add((XamlNode)xamlNodes[i]); 2966TokenReaderNodeCollection.Add((XamlNode)xamlNodes[i]); 5793xamlNode = (XamlNode)_xamlNodes[_nodeIndex]; 5882if (((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.ElementStart || 5883((XamlNode)_xamlNodes[i]).TokenType == XamlNodeType.EndAttributes) 6026Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6045Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex])==xamlNode, 6069Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex])==xamlNode, 6114Debug.Assert(((XamlNode)_xamlNodes[_typeConverterCandidateIndex]).TokenType==XamlNodeType.ElementStart, 6118((XamlElementStartNode)_xamlNodes[_typeConverterCandidateIndex]).CreateUsingTypeConverter = true;
PresentationCore (39)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
772_byteRangesInProgress[0,Offset_Index] = (int) _requestsOnWait[Offset_Index]; 773_byteRangesInProgress[0,Length_Index] = (int) _requestsOnWait[Length_Index];
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (3)
978Block b = (Block)ranges[i]; 981while (b.Mergeable((Block)ranges[i + 1])) 983b.Merge((Block)ranges[i + 1]);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
1776bounds[i] = (TextBounds)boundsList[i];
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
290SimpleRun run = (SimpleRun)runs[count]; 348SimpleRun run = (SimpleRun)runs[i];
Core\CSharp\System\Windows\DataFormats.cs (5)
94formatItem = (DataFormat)_formatList[n]; 106formatItem = (DataFormat)_formatList[n]; 127return (DataFormat)_formatList[index]; 398formatItem = (DataFormat)_formatList[n]; 420return (DataFormat)_formatList[index];
Core\CSharp\System\Windows\GlobalEventManager.cs (1)
448return _globalIndexToEventMap[globalIndex];
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (4)
663WeakReference weakReference = (WeakReference)elements[i]; 692WeakReference weakReference = (WeakReference)elements[i]; 778WeakReference currentElementWeakRef = (WeakReference)elements[i]; 799WeakReference currentElementWeakRef = (WeakReference)elements[i];
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
769KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
769KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
769KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
769KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
769KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
PresentationFramework (165)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
770NavigationService childNavService = (NavigationService)(navigationService.ChildNavigationServices[i]);
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (8)
114object originalItem = _viewList[index]; 237ClearModelParent(_rawList[i]); 438return _viewList[index]; 528if (Filter(_rawList[k])) 529_viewList.Add(_rawList[k]); 777SetCurrent(_viewList[position], position); 799SetCurrent(_viewList[newCurrentPosition], newCurrentPosition); 818SetCurrent(_viewList[newCurrentPosition], newCurrentPosition);
src\Framework\MS\Internal\Data\DataExtensionMethods.cs (1)
60object item = al[oldIndex];
src\Framework\MS\Internal\Data\DefaultAsyncDataDispatcher.cs (1)
46AsyncDataRequest request = (AsyncDataRequest)_list[i];
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
104list[i].Initialize(al[i], nFields);
src\Framework\MS\Internal\Data\ViewManager.cs (2)
279this.Remove(al[k]); 831this.Remove(al[k]);
src\Framework\MS\Internal\DataStreams.cs (1)
283SubStream subStream = (SubStream)subStreams[subStreamIndex];
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1533Visual current = (Visual)visiblePages[i]; 1575documentPageViews.Add(((DocumentGridPage)visiblePages[i]).DocumentPageView);
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
72DictionaryEntry entry = (DictionaryEntry) deferredResources[i];
src\Framework\MS\Internal\Helper.cs (2)
111object appResource = Application.Current.FindResourceInternal(keys[k]); 130object sysResource = SystemResources.FindResourceInternal(keys[k]);
src\Framework\MS\Internal\PtsHost\Line.cs (1)
733GlyphRun run = (GlyphRun)glyphRunsCollection[runIndex];
src\Framework\MS\Internal\PtsHost\PtsContext.cs (4)
103Invariant.Assert(((IntPtr)_pageBreakRecords[index]) != IntPtr.Zero, "Invalid break record object"); 104PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index])); 121Invariant.Assert(((IntPtr)_pages[index]) != IntPtr.Zero, "Invalid break record object"); 122PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index]));
src\Framework\MS\Internal\Utility\TraceLog.cs (1)
56Console.WriteLine(_log[k]);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
2697object itemToRemove = itemsToRemove[i];
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (3)
753WeakReference tempWeakReference = (WeakReference)_positionList[backwardGravitySlot]; 754_positionList[backwardGravitySlot] = _positionList[index]; 888weakReference = (WeakReference)_positionList[index];
src\Framework\System\Windows\Controls\RadioButton.cs (2)
123WeakReference weakReference = (WeakReference)elements[i]; 150WeakReference weakReference = (WeakReference)elements[i];
src\Framework\System\Windows\Controls\TextBlock.cs (2)
2084if (((InlineObject)inlineObjects[index]).Dcp == inlineObject.Dcp) 2086Debug.Assert(((InlineObject)inlineObjects[index]).Element == inlineObject.Element, "InlineObject cache is out of sync.");
src\Framework\System\Windows\Data\BindingOperations.cs (1)
280target.ClearValue((DependencyProperty)batch[i]);
src\Framework\System\Windows\Data\CollectionView.cs (1)
1881NotifyCollectionChangedEventArgs args = changeLog[currentIndex] as NotifyCollectionChangedEventArgs;
src\Framework\System\Windows\Data\CompositeCollection.cs (2)
316return InternalList[itemIndex]; 321object originalItem = InternalList[itemIndex];
src\Framework\System\Windows\Documents\AdornerLayer.cs (11)
231InvalidateAdorner((AdornerInfo)adornerInfos[i++]); 257InvalidateAdorner((AdornerInfo)adornerInfos[i++]); 282adorners[i] = ((AdornerInfo)adornerInfos[i]).Adorner; 442AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[j++]; 477AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[j++]; 665int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[index - 1]).Adorner) + 1; 682int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[adornerInfos.Count - 1]).Adorner) + 1; 743AdornerInfo adornerInfo = (AdornerInfo)adornerInfos[i]; 829Clear((UIElement)removeList[i]); 946if (((AdornerInfo)adornerInfos[i]).Adorner == adorner) 948return (AdornerInfo)adornerInfos[i];
src\Framework\System\Windows\Documents\CompositionAdorner.cs (3)
157AttributeRange attributeRange = (AttributeRange)_attributeRanges[i]; 241CompositionLine compositionLine = (CompositionLine)attributeRange.CompositionLines[j]; 346AttributeRange attributeRange = (AttributeRange)_attributeRanges[i];
src\Framework\System\Windows\Documents\Highlights.cs (1)
328return (HighlightLayer)_layers[index];
src\Framework\System\Windows\Documents\MoveSizeWinEventHandler.cs (1)
83TextStore textstore = (TextStore)_arTextStore[i];
src\Framework\System\Windows\Documents\RtfFormatStack.cs (1)
82return (FormatState)this[index];
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (11)
2996return (CellFormat)_cellFormats[n]; 3232return (MarkerListEntry)this[index]; 3665return (FontTableEntry)this[index]; 4028return (ColorTableEntry)this[index]; 4240return (ListLevel)(Count > index && index >= 0 ? this[index] : null); 4391return (ListTableEntry)this[index]; 4566return (ListOverride)this[index]; 5679ColumnState cs = (ColumnState)cols[k]; 6294return (ColumnState)this[i]; 6357return (DocumentNode)this[nAt]; 11764mlWant[nLists] = mlWant[mlWant.Count - 1];
src\Framework\System\Windows\Documents\Speller.cs (5)
1261sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Max(i, 0)]; 1269sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Min(i, segments.Count-1)]; 1336sTextRange = (SpellerInteropBase.ITextRange)segments[segments.Count - 1]; 1348sTextRange = (SpellerInteropBase.ITextRange)segments[index]; 1364sTextRange = (SpellerInteropBase.ITextRange)segments[index + 1];
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (1)
748return (Run)_runList[index];
src\Framework\System\windows\Documents\TextEditor.cs (3)
351if (((Type)_registeredEditingTypes[i]).IsAssignableFrom(controlType)) 359if (controlType.IsAssignableFrom((Type)_registeredEditingTypes[i])) 362SR.Get(SRID.TextEditorCanNotRegisterCommandHandler, ((Type)_registeredEditingTypes[i]).Name, controlType.Name));
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
176((InputItem)threadLocalStore.PendingInputItems[i]).Do();
src\Framework\System\Windows\Documents\TextStore.cs (4)
780attributeVals[i] = ((UnsafeNativeMethods.TS_ATTRVAL)_preparedattributes[i]); 1424if (((MouseSink)_mouseSinks[dwCookie]).Cookie != dwCookie) 1455MouseSink mSink = (MouseSink)_mouseSinks[i]; 2982MouseSink mSink = (MouseSink)_mouseSinks[i];
src\Framework\System\Windows\Documents\XamlToRtfParser.cs (4)
521string top = (string)this[Count - 1]; 636localName = (string)_xamlParsePoints[index * 2 + 1]; 637qName = (string)_xamlParsePoints[index * 2 + 2]; 681valueName = (string)_xamlParsePoints[index * 2 + 2];
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (13)
239DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 282DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 329dnList = (DocumentNode)openLists[j]; 413DocumentNode dn1 = (DocumentNode)openLists[openLists.Count - 1]; 449DocumentNode dnList = (DocumentNode)openLists[openLists.Count - 1]; 1767while (nColExtra < spanCounts.Count && ((int)spanCounts[nColExtra]) > 0) 1784while (nColHere < spanCounts.Count && ((int)spanCounts[nColHere]) > 0) 1787spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1788if ((int)spanCounts[nColHere] == 0) 1824if (((int)spanCounts[nColExtra]) > 0) 1849if (((int)spanCounts[nColHere]) > 0) 1851spanCounts[nColHere] = ((int)spanCounts[nColHere]) - 1; 1852if ((int)spanCounts[nColHere] == 0)
src\Framework\System\Windows\FrameworkElement.cs (1)
1615object candidate = table[keys[k]];
src\Framework\System\Windows\Interop\HwndHost.cs (1)
1374result = ((HwndSourceHook)_hooks[i])(hwnd, msg, wParam, lParam, ref handled);
src\Framework\System\Windows\Markup\BamlMapTable.cs (18)
390BamlAttributeInfoRecord info = AttributeIdMap[i] as BamlAttributeInfoRecord; 401BamlTypeInfoRecord info = TypeIdMap[j] as BamlTypeInfoRecord; 429BamlTypeInfoRecord typeInfo = (BamlTypeInfoRecord)TypeIdMap[id]; 521return (BamlTypeInfoRecord) TypeIdMap[id]; 534string mapName = ((BamlAssemblyInfoRecord)AssemblyIdMap[i]).AssemblyFullName; 636BamlStringInfoRecord infoRecord = (BamlStringInfoRecord)StringIdMap[id]; 666return (BamlAttributeInfoRecord)AttributeIdMap[id]; 697BamlAttributeInfoRecord record = (BamlAttributeInfoRecord)AttributeIdMap[id]; 717BamlAttributeInfoRecord record = (BamlAttributeInfoRecord)AttributeIdMap[id]; 738BamlAttributeInfoRecord record = (BamlAttributeInfoRecord)AttributeIdMap[id]; 754BamlAttributeInfoRecord record = (BamlAttributeInfoRecord)AttributeIdMap[id]; 818BamlTypeInfoRecord typeInfo = (BamlTypeInfoRecord)TypeIdMap[bamlAttributeInfoRecord.OwnerTypeId]; 927BamlAttributeInfoRecord attribInfo = (BamlAttributeInfoRecord)AttributeIdMap[id]; 1007return (BamlAssemblyInfoRecord)AssemblyIdMap[id]; 1129((BamlAssemblyInfoRecord)AssemblyIdMap[record.AssemblyId]).AssemblyFullName); 1281((BamlTypeInfoRecord)TypeIdMap[record.TypeId]).TypeFullName); 1658((BamlAttributeInfoRecord)AttributeIdMap[record.AttributeId]).Name); 1674((BamlStringInfoRecord)StringIdMap[record.StringId]).Value);
src\Framework\System\Windows\Markup\BamlReader.cs (1)
397object obj = _properties[_propertiesIndex];
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
1561ProcessConstructorParameter(paramInfos[j], paramList[j], ref paramArray[j]); 4132ReaderContextStackData stackData = (ReaderContextStackData) contextStack[i];
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (14)
362((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRecord); 506KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 548ValueDeferRecord valueDeferRecord = (ValueDeferRecord)record.RecordList[i]; 581KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 616KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 850KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.Count-1]); 1182KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]); 1506((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]).RecordList.Add(deferRec); 1542ValueDeferRecord deferRecord = (ValueDeferRecord)_deferElement[h]; 1561KeyDeferRecord keyRecord = (KeyDeferRecord)_deferKeys[i]; 1576ValueDeferRecord keyValueRec = (ValueDeferRecord)keyRecord.RecordList[j]; 1625ValueDeferRecord deferRecord = (ValueDeferRecord)_deferValues[j]; 1628KeyDeferRecord deferKeyRecord = (KeyDeferRecord)_deferKeys[keyIndex++]; 1704KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.Count-1]);
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
979XamlNode node = _markupExtensionNodes[i] as XamlNode;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (14)
635AttributeData data = (AttributeData)markupExtensionList[i]; 845DefAttributeData data = (DefAttributeData)complexDefAttributesList[i]; 1120else if (list[list.Count - 1] is Char) 1134parameterName = (string) list[list.Count - 1]; 1154else if (list.Count > 0 && (list[list.Count-1] is Char)) 1266if (!(list[listIndex] is String)) 1275list[listIndex+1] is Char && 1276(Char)list[listIndex+1] == '=') 1288string value = (String)list[listIndex]; 1370(list[k+1] is String) || 1371((Char)list[k+1]) != '=') 1380string propertyName = list[k] as String; 1417string strValue = list[k+2] as String; 1461((String)list[k+2]),
src\Framework\System\Windows\Markup\ParserStack.cs (6)
82object o = this[Count - 1]; 91return this[Count - 1]; 109get { return Count > 0 ? this[Count - 1] : null; } 117get { return Count > 1 ? this[Count - 2] : null; } 125get { return Count > 2 ? this[Count - 3] : null; } 134get { return Count > 3 ? this[Count - 4] : null; }
src\Framework\System\Windows\Markup\XamlStream.cs (1)
430buffer = bufferArray[bufferIndex] as byte[];
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
861KeyTimeBlock block = (KeyTimeBlock)unspecifiedBlocks[j];
src\Framework\System\Windows\Navigation\NavigationService.cs (4)
704((NavigationService)ChildNavigationServices[i]).InvalidateJournalNavigationScope(); 1517return BindUriHelper.GetUriRelativeToPackAppBase((_recursiveNavigateList[_recursiveNavigateList.Count - 1] as NavigateQueueItem).Source); 2102((NavigationService)_childNavigationServices[i]).DoStopLoading(true, succeed/*fireEvent: we only fire when succeed*/); 2113((NavigationService)_childNavigationServices[i]).DoStopLoading(true, false/*fireEvents*/);
src\Framework\System\Windows\Window.cs (1)
3714IntPtr hWnd = (IntPtr)_threadWindowHandles[i];
src\Framework\System\Windows\WindowCollection.cs (3)
64return _list[index] as Window; 159clone._list.Add(_list[i]); 195if (_list[i] == win)
System (89)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
38return ((CodeNamespaceImport)data[index]);
compmod\system\codedom\CodeTypeReference.cs (2)
228type.TypeArguments.Add((CodeTypeReference)typeArgumentList[i]); 243TypeArguments.Add((CodeTypeReference)typeArgumentList[i]);
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (2)
135((CompilerInfo)_allCompilerInfo[i])._mapped = false; 148if (!((CompilerInfo)_allCompilerInfo[i])._mapped) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (4)
165NameObjectEntry entry = (NameObjectEntry)_entriesArray[i]; 454NameObjectEntry entry = (NameObjectEntry)_entriesArray[index]; 464NameObjectEntry entry = (NameObjectEntry)_entriesArray[index]; 476NameObjectEntry entry = (NameObjectEntry)_entriesArray[index];
compmod\system\collections\specialized\namevaluecollection.cs (1)
148s.Append((String)list[i]);
compmod\system\collections\specialized\ordereddictionary.cs (4)
157return ((DictionaryEntry)objectsArray[index]).Value; 166object key = ((DictionaryEntry)objectsArray[index]).Key; 247object o = ((DictionaryEntry)objectsArray[i]).Key; 315object key = ((DictionaryEntry)objectsArray[index]).Key;
compmod\system\collections\specialized\stringcollection.cs (1)
26return ((string)data[index]);
compmod\system\componentmodel\ComponentCollection.cs (1)
79return (IComponent)InnerList[index];
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
240return (DesignerOptionCollection)_children[index];
compmod\system\componentmodel\design\serialization\ContextStack.cs (3)
41return contextStack[contextStack.Count - 1]; 57return contextStack[contextStack.Count - 1 - level]; 115context = contextStack[idx];
compmod\system\componentmodel\EventDescriptorCollection.cs (3)
373EventDescriptor currentEvent = (EventDescriptor)eventArrayList[j]; 392if (eventArrayList[i] != null) { 393events[foundCount++] = (EventDescriptor)eventArrayList[i];
compmod\system\componentmodel\ListSortDescriptionCollection.cs (1)
39return (ListSortDescription) sorts[index];
compmod\system\componentmodel\PropertyDescriptorCollection.cs (3)
398PropertyDescriptor currentProp = (PropertyDescriptor)propArrayList[j]; 417if (propArrayList[i] != null) { 418properties[foundCount++] = (PropertyDescriptor)propArrayList[i];
compmod\system\diagnostics\TraceListeners.cs (2)
30return (TraceListener)list[i]; 190return list[index];
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
495SecurityElement currentElement = (SecurityElement)securityElement.Children[index];
net\System\Net\_AuthenticationManagerDefault.cs (3)
152((IAuthenticationModule)list[i]).AuthenticationType, 201IAuthenticationModule authenticationModule = (IAuthenticationModule)ModuleList[i]; 452authenticationModule = (IAuthenticationModule)moduleList[k];
net\System\Net\_Connection.cs (1)
3890DebugDumpListEntry(i, m_WriteList[i] as HttpWebRequest, "WriteList");
net\System\Net\_ConnectionGroup.cs (1)
246connectionsToClose.Add(m_ConnectionList[i]);
net\System\Net\_SecureChannel.cs (1)
700clientCertificate = filteredCerts[i] as X509Certificate;
net\System\Net\_TLSstream.cs (1)
591LazyAsyncResult lazyResult = (LazyAsyncResult )m_PendingIO[m_PendingIO.Count-1];
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
1371string[] requestValues = ctx.Request.Headers.GetValues((string)varyValues[i]); 1379string[] cacheValues = ctx.SystemMeta.GetValues((string)varyValues[i]); 1388if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_mismatched_count, (string)varyValues[i])); 1394if (!AsciiLettersNoCaseEqual((string)cacheFields[j], (string)requestFields[j])) { 1395if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_vary_header_mismatched_field, (string)varyValues[i], (string)cacheFields[j], (string)requestFields[j])); 1791string headerValue = ctx.Request.Headers[(string)varyValues[i]]; 1792ctx.SystemMeta[(string)varyValues[i]] = headerValue;
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
570byte[] buffer = (byte[])_Buffers[i];
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
1165CacheHeaders.Add(HttpKnownHeaderNames.Warning, (string)remainingWarnings[i]);
net\System\Net\cookiecollection.cs (1)
74return (Cookie)(m_list[index]);
net\System\Net\HttpListener.cs (2)
2368byte[] byteChallenge = Encoding.Default.GetBytes((string) challenges[i]); 2625((NTAuthentication)digestsToClose[i]).CloseContext();
net\System\Net\SocketPermission.cs (2)
328result.AddPermission(NetworkAccess.Connect, (EndpointPermission)m_connectList[i]); 331result.AddPermission(NetworkAccess.Accept, (EndpointPermission)m_acceptList[i]);
net\System\Net\WebPermission.cs (18)
274cloned.Add(m_connectList[i] is DelayedRegex? (object)((DelayedRegex)m_connectList[i]).AsRegex : 275m_connectList[i] is Uri? (object)((Uri)m_connectList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 276m_connectList[i]); 297cloned.Add(m_acceptList[i] is DelayedRegex? (object)((DelayedRegex)m_acceptList[i]).AsRegex : 298m_acceptList[i] is Uri? (object)((Uri)m_acceptList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 299m_acceptList[i]); 680DelayedRegex uriPattern = m_connectList[i] as DelayedRegex; 682if (m_connectList[i] is string) 683result.AddPermission(NetworkAccess.Connect, (string)m_connectList[i]); 685result.AddPermission(NetworkAccess.Connect, (Uri)m_connectList[i]); 700DelayedRegex uriPattern = m_acceptList[i] as DelayedRegex; 702if (m_acceptList[i] is string) 703result.AddPermission(NetworkAccess.Accept, (string)m_acceptList[i]); 705result.AddPermission(NetworkAccess.Accept, (Uri)m_acceptList[i]);
net\System\Net\webproxy.cs (1)
312regExBypassList[i] = new Regex((string)bypassList[i], RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
net\System\Net\WebRequest.cs (2)
153Current = (WebRequestPrefixElement)prefixList[i]; 403Current = (WebRequestPrefixElement)prefixList[i];
regex\system\text\regularexpressions\RegexMatchCollection.cs (1)
72return (Match)_matches[i];
security\system\security\cryptography\asnencodeddata.cs (1)
145return (AsnEncodedData) m_list[index];
security\system\security\cryptography\oid.cs (1)
147return m_list[index] as Oid;
security\system\security\cryptography\x509\x509extension.cs (1)
629return (X509Extension) m_list[index];
services\monitoring\system\diagnosticts\Process.cs (1)
1055newThreadsArray[i] = new ProcessThread(isRemoteMachine, (ThreadInfo)processInfo.threadInfoList[i]);
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
399ThreadInfo threadInfo = (ThreadInfo)threadInfos[i]; 877ThreadInfo threadInfo = (ThreadInfo)threadInfos[i];
services\monitoring\system\diagnosticts\ProcessModuleCollection.cs (1)
33get { return (ProcessModule)InnerList[index]; }
services\monitoring\system\diagnosticts\ProcessThreadCollection.cs (1)
36get { return (ProcessThread)InnerList[index]; }
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (4)
211totalSize += (((string)categoryData.CounterNames[i]).Length + 1) * 2; 297counterName = (string) categoryData.CounterNames[i]; 353totalSize += (((string)categoryData.CounterNames[i]).Length + 1) * 2; 417string counterName = (string) categoryData.CounterNames[i];
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
104return (SettingsPropertyValue)_Values[ipos];
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
939object expectedValue = _standardValues[j];
System.Configuration (12)
System\Configuration\BaseConfigurationRecord.cs (1)
380LocationSectionRecord locationSectionRecord = (LocationSectionRecord) _parent._locationSections[i];
System\Configuration\ConfigurationElementCollection.cs (4)
254Entry parentEntry = (Entry)parentCollection.Items[parentCollection.RealIndexOf(entry._value)]; 485Entry entry = (Entry)_items[index]; 913Entry entry = (Entry)_items[CheckIndex]; 920Entry entry = (Entry)_items[RemoveIndex];
System\Configuration\ConfigurationLocationCollection.cs (1)
21return (ConfigurationLocation) InnerList[index];
System\Configuration\ConfigurationPropertyCollection.cs (4)
55ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 57return (ConfigurationProperty)_items[index]; 66ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 82ConfigurationProperty cp = (ConfigurationProperty)_items[index];
System\Configuration\MgmtConfigurationRecord.cs (2)
900LocationSectionRecord locationSectionRecord = (LocationSectionRecord) _locationSections[i]; 2055LocationSectionRecord locationSectionRecord = (LocationSectionRecord) _locationSections[i];
System.Data (80)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
939object expectedValue = _standardValues[j];
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (1)
107info.AddValue(KEY_ARRAYVALUES + i, errorList[i].ToString());
fx\src\data\System\Data\ConstraintCollection.cs (13)
58return(Constraint) List[index]; 82return (index < 0) ? null : (Constraint)List[index]; 437return (name == ((Constraint) List[index]).ConstraintName); 448array[index + i] = (Constraint)list[i]; 458if (((Constraint)List[i]).Equals(constraint)) 459return(Constraint)List[i]; 470UniqueConstraint constraint = (List[i] as UniqueConstraint); 484UniqueConstraint constraint = (List[i] as UniqueConstraint); 497ForeignKeyConstraint constraint = (List[i] as ForeignKeyConstraint); 535if (constraint == (Constraint) List[i]) 561Constraint constraint = (Constraint) List[i]; 602if (NamesEqual(name, ((Constraint)List[i]).ConstraintName, true, table.Locale) != 0) { 603throw ExceptionBuilder.DuplicateConstraintName(((Constraint)List[i]).ConstraintName);
fx\src\data\System\Data\DataColumnCollection.cs (8)
87return (DataColumn)_list[index]; 108column = (DataColumn)_list[index]; 285((DataColumn) _list[i]).SetOrdinalInternal(i); 608array[index + i] = (DataColumn)_list[i]; 620if (column == (DataColumn) _list[i]) { 638if (column == _list[j]) { 655column = (DataColumn) _list[i]; 706((DataColumn) _list[i]).SetOrdinalInternal(i);
fx\src\data\System\Data\DataRelationCollection.cs (11)
279array[index + i] = (DataRelation)alist[i]; 291if (relation == (DataRelation) List[i]) { 316DataRelation relation = (DataRelation) List[i]; 521return (DataRelation)relations[index]; 533return (index < 0) ? null : (DataRelation)List[index]; 595if (relation == relations[i]) { 670return (DataRelation)relations[index]; 682return (index < 0) ? null : (DataRelation)List[index]; 704if (childKey.ColumnsEqual(((DataRelation)relations[i]).ChildKey)) { 705if (relation.ParentKey.ColumnsEqual(((DataRelation)relations[i]).ParentKey)) 756if (relation == relations[i]) {
fx\src\data\System\Data\DataRow.cs (6)
1274_columns[i].CopyValueIntoStore(oldRecord, storeList[i], (BitArray) nullbitList[i], storeIndex); 1283_columns[i].CopyValueIntoStore(newRecord, storeList[i], (BitArray) nullbitList[i], storeIndex); 1291_columns[i].CopyValueIntoStore(tempRecord, storeList[i], (BitArray)nullbitList[i], storeIndex);
fx\src\data\System\Data\DataTable.cs (2)
727Columns[i].SetStorage(storeList[i], (BitArray) nullbitList[i]);
fx\src\data\System\Data\DataTableCollection.cs (14)
74return(DataTable) _list[index]; 94return (index < 0) ? null : (DataTable)_list[index]; 106return (index < 0) ? null : (DataTable)_list[index]; 114DataTable table = (DataTable) _list[i]; 127DataTable table = (DataTable) _list[i]; 479DataTable table = (DataTable) _list[i]; 495DataTable table = (DataTable) _list[i]; 510array[index + i] = (DataTable)_list[i]; 522if (table == (DataTable) _list[i]) { 573DataTable table = (DataTable) _list[i]; 580DataTable dupTable = (DataTable) _list[j]; 605DataTable table = (DataTable) _list[i]; 673DataTable table = (DataTable) _list[i]; 675throw ExceptionBuilder.DuplicateTableName(((DataTable) _list[i]).TableName);
fx\src\data\System\Data\Odbc\OdbcErrorCollection.cs (1)
38return (OdbcError)_items[i];
fx\src\data\System\Data\OleDb\OleDbErrorCollection.cs (1)
55return (this.items[index] as OleDbError);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
95return (Row)_rowset[index]; 121return (Result)_results[idx];
fx\src\data\System\Data\SqlClient\SqlErrorCollection.cs (1)
47return (SqlError) this.errors[index];
fx\src\data\System\Data\XMLDiffLoader.cs (2)
226row = (DataRow)((DataTable)dt[i]).RowDiffId[diffId]; 264DataTable dt = (DataTable)tables[i];
fx\src\data\System\Data\xmlsaver.cs (15)
289GenerateConstraintNames((DataTable)tables[i], true); 370SetupAutoGenerated((DataTable)dt[i]); 437DataTable table =(DataTable) _tables[i]; 2012rows += ((DataTable)tables[i]).Rows.Count ; 2016DataTable dt = (DataTable)tables[i]; 2026if (((DataTable)_tables[i]).Rows.Count > 0) 2059GenerateTable((DataTable)_tables[i]); 2073GenerateTableErrors((DataTable)_tables[i]); 2366DataTable table =(DataTable) _dTables[i]; 2440DataTable tempTable = ((DataTable)_dTables[i]); 2446DataTable tempDT = ((DataTable)_dTables[i]); 2488if (((DataTable)_dTables[i]).xmlText != null) { 2505foreach (DataRow row in ((DataTable)_dTables[i]).Rows) { 2510XmlDataRowWriter(row, ((DataTable)_dTables[i]).EncodedTableName); 2513DataTable dt = (DataTable)_dTables[i];
fx\src\data\System\Data\XMLSchema.cs (1)
693DataColumn dc = ((DataColumn)(ColumnExpressions[i]));
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
392foreach(DataRelation childRelations in ((DataTable)tableList[nCounter]).ChildRelations) {
System.Data.SqlXml (74)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
793XmlQualifiedName qnameDup = (XmlQualifiedName) this.dupAttrs[idx];
System\Xml\Xsl\QIL\SubstitutionList.cs (2)
62if (s[i] == n) 63return (QilNode)s[i+1];
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
93wildcardRule = this.wildcards[pos] as InternalWhitespaceRule;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
852if (((XPathNavigator) docIndexes[i]).IsSamePosition(navRoot)) { 853index = (XmlILIndex) docIndexes[i + 1];
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
133Sort sort = (Sort) sortarray[i];
System\Xml\Xsl\XsltOld\Avt.cs (1)
30this.events[i] = (TextEvent) eventList[i];
System\Xml\Xsl\XsltOld\ContainerAction.cs (3)
195Uri uri = imports[i] as Uri; 821return (Action) this.containedActions[actionIndex]; 845((Action)this.containedActions[i]).ReplaceNamespaceAlias(compiler);
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (3)
38((Event) this.copyEvents[i]).ReplaceNamespaceAlias(compiler); 57Event copyEvent = (Event) this.copyEvents[frame.Counter]; 78return ((Event)this.copyEvents[frame.Counter]).DbgData;
System\Xml\Xsl\XsltOld\DbgCompiler.cs (1)
83VariableAction oldVar = (VariableAction)this.globalVars[i];
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (2)
42Debug.Assert(record.AttributeList[attrib] is BuilderInfo); 43BuilderInfo attrInfo = (BuilderInfo) record.AttributeList[attrib];
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
478result.Append(numberingFormat.FormatItem(numberlist[i])); 491result.Append(numberingFormat.FormatItem(numberlist[i]));
System\Xml\Xsl\XsltOld\ReaderOutput.cs (12)
165return((BuilderInfo)this.attributeList[ordinal]).Value; 177return((BuilderInfo)this.attributeList[ordinal]).Value; 514Debug.Assert(this.attributeList[attrib] is BuilderInfo); 517this.currentInfo = (BuilderInfo) this.attributeList[attrib]; 525Debug.Assert(this.attributeList[attrib] is BuilderInfo); 527return(BuilderInfo) this.attributeList[attrib]; 539Debug.Assert(this.attributeList[index] is BuilderInfo); 541BuilderInfo attribute = (BuilderInfo) this.attributeList[index]; 558Debug.Assert(this.attributeList[index] is BuilderInfo); 560BuilderInfo attribute = (BuilderInfo) this.attributeList[index]; 583Debug.Assert((this.currentIndex == -1) || (this.currentInfo == this.attributeValue || this.attributeList[this.currentIndex] is BuilderInfo && this.attributeList[this.currentIndex] == this.currentInfo));
System\Xml\Xsl\XsltOld\RecordBuilder.cs (15)
236Debug.Assert(this.attributeList[attrib] != null && this.attributeList[attrib] is BuilderInfo); 238BuilderInfo attribute = (BuilderInfo) this.attributeList[attrib]; 294Debug.Assert(this.attributeList[attrib] != null && this.attributeList[attrib] is BuilderInfo); 296BuilderInfo attribute = (BuilderInfo) this.attributeList[attrib]; 430Debug.Assert(this.attributeList[attr] is BuilderInfo); 431BuilderInfo info = (BuilderInfo) this.attributeList[attr]; 485Debug.Assert(this.attributeList[attr] is BuilderInfo); 486BuilderInfo info = (BuilderInfo) this.attributeList[attr]; 519BuilderInfo attribute = (BuilderInfo) this.attributeList[NewAttribute()]; 520attribute.Initialize((BuilderInfo)this.namespaceList[i]); 639Debug.Assert(this.namespaceList[index] != null && this.namespaceList[index] is BuilderInfo); 641BuilderInfo ns = (BuilderInfo) this.namespaceList[index];
System\Xml\Xsl\XsltOld\RootAction.cs (3)
48if (((DocumentKeyList)keyNodes[i]).RootNav.IsSamePosition(root)) { 49return ((DocumentKeyList)keyNodes[i]).KeyTable; 151dstAttList.Add(srcAttList[src]);
System\Xml\Xsl\XsltOld\SequentialOutput.cs (4)
361Debug.Assert(this.outputCache[record] is BuilderInfo); 362BuilderInfo info = (BuilderInfo) this.outputCache[record]; 607Debug.Assert(list[attrib] is BuilderInfo); 608BuilderInfo attribute = (BuilderInfo) list[attrib];
System\Xml\Xsl\XsltOld\Stylesheet.cs (15)
86elem1 = (WhitespaceElement) this.whitespaceList[j - 1]; 87elem2 = (WhitespaceElement) this.whitespaceList[j]; 98Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 111WhitespaceElement elem = (WhitespaceElement) this.whitespaceList[i]; 119Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 203Debug.Assert(this.imports[importIndex] is Stylesheet); 204Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 224TemplateAction template = (TemplateAction) manager.templates[i]; 239Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 282Debug.Assert(this.imports[importIndex] is Stylesheet); 283Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 345Debug.Assert(this.imports[importIndex] is Stylesheet); 346Stylesheet stylesheet = (Stylesheet) this.imports[importIndex]; 373Debug.Assert(this.imports[importIndex] is Stylesheet); 374Stylesheet stylesheet = (Stylesheet) this.imports[importIndex];
System\Xml\Xsl\XsltOld\Templatemanager.cs (1)
81TemplateAction action = (TemplateAction) this.templates[templateIndex];
System\Xml\Xsl\XsltOld\WriterOutput.cs (2)
95Debug.Assert(list[attrib] is BuilderInfo); 96BuilderInfo attribute = (BuilderInfo) list[attrib];
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
279value.ComparePosition((XPathNavigator) list[list.Count - 1]) != XmlNodeOrder.Before, 285if (value.ComparePosition((XPathNavigator) list[list.Count - 1]) == XmlNodeOrder.Same) { 290value.ComparePosition((XPathNavigator) list[list.Count - 1]) != XmlNodeOrder.Same,
System.Drawing (13)
commonui\System\Drawing\ColorConverter.cs (2)
376if (arrayValues[i].Equals(arrayValues[j])) {
commonui\System\Drawing\Design\CategoryNameCollection.cs (1)
46return ((string)(InnerList[index]));
commonui\System\Drawing\Design\ToolboxItemCollection.cs (1)
47return ((ToolboxItem)(InnerList[index]));
misc\ClientUtils.cs (9)
312WeakRefObject weakRef = InnerList[index] as WeakRefObject; 352if( this.InnerList[i] != other.InnerList[i] ) { 353if( this.InnerList[i] == null || !this.InnerList[i].Equals(other.InnerList[i])) { 386destinationList.InnerList[destinationIndex++] = sourceList.InnerList[sourceIndex++]; 406if(this.InnerList[idx] != null && this.InnerList[idx].GetHashCode() == hash ) {
System.Management (33)
WmiGenerator.cs (33)
1884cmf.Name = Values[i].ToString(); 1888cmf.InitExpression = new CodePrimitiveExpression(ValueMap[i]); 1889Int64 test = System.Convert.ToInt64(ValueMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))); 1895ValueMap[i], 1989cmf.Name = BitValues[i].ToString(); 1992cmf.InitExpression = new CodePrimitiveExpression(BitMap[i]); 1993Int64 test = System.Convert.ToInt64(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))); 2009if( (System.Convert.ToInt64(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))) == 0) ) // Bug No: 121987 2093strType = ((CodeTypeReference)arrKeyType[i]).BaseType; 2095"key"+arrKeys[i].ToString())); 2113if (((CodeTypeReference)arrKeyType[i]).BaseType == "System.String") 2115CodeMethodInvokeExpression cmie1 = GenerateConcatStrings(new CodeVariableReferenceExpression("key"+arrKeys[i]),new CodePrimitiveExpression("\"")); 2119CodeMethodInvokeExpression cmie3 = GenerateConcatStrings(new CodePrimitiveExpression(((i==0)?("."+arrKeys[i]+"="):(","+arrKeys[i]+"="))),cmie2); 2129cmie.Method.TargetObject = new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType + " "),new CodeVariableReferenceExpression("key"+arrKeys[i])); 2132CodeMethodInvokeExpression cmie1 = GenerateConcatStrings(new CodePrimitiveExpression(((i==0)?("."+arrKeys[i]+"="):(","+arrKeys[i]+"="))),cmie); 2204cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType); 2205cpde.Name = "key"+arrKeys[i].ToString(); 2228cmie.Parameters.Add(new CodeVariableReferenceExpression("key"+arrKeys[i])); 2263cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType); 2264cpde.Name = "key"+arrKeys[i].ToString(); 2289cmie.Parameters.Add(new CodeVariableReferenceExpression("key"+arrKeys[i])); 2986if (string.Compare(prop.Name,outParamsName[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 3075if (string.Compare(prop.Name,inoutParams[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 3226cie = new CodeIndexerExpression(cpre,new CodePrimitiveExpression(inoutParams[i].ToString())); 3227cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(inoutParams[i].ToString()), 3228new CodeCastExpression((CodeTypeReference)inoutParamsType[i], 4893strToAdd = arrIn[i].ToString(); 4898strToAdd = arrIn[i].ToString() + nCurIndex.ToString(formatProv); 4902strToAdd = arrIn[i].ToString() + nCurIndex.ToString(formatProv); 4919if (String.Compare(arrToSearch[i].ToString(),strToFind,StringComparison.OrdinalIgnoreCase) == 0)
System.Messaging (1)
System\Messaging\MessageQueuePermission.cs (1)
166SecurityElement currentElement = (SecurityElement)securityElement.Children[index];
System.Runtime.Remoting (124)
metadata\metadata.cs (4)
177if (outCodeStreamList[item] is String) 180String filename = (String)outCodeStreamList[item]; 186else if (outCodeStreamList[item] is Stream) 189inputStream = (Stream)outCodeStreamList[item];
metadata\wsdlparser.cs (83)
917URTNamespace urtNS = (URTNamespace) _URTNamespaces[i]; 1876WsdlBindingOperation op = (WsdlBindingOperation)binding.operations[i]; 2017methodInfo.inputNames[ip] = ((WsdlMessagePart)message.parts[ip]).name; 2018methodInfo.inputNamesNs[ip] = ((WsdlMessagePart)message.parts[ip]).nameNs; 2020methodInfo.inputElements[ip] = ((WsdlMessagePart)message.parts[ip]).element; 2021methodInfo.inputElementsNs[ip] = ((WsdlMessagePart)message.parts[ip]).elementNs; 2023methodInfo.inputTypes[ip] = ((WsdlMessagePart)message.parts[ip]).typeName; 2024methodInfo.inputTypesNs[ip] = ((WsdlMessagePart)message.parts[ip]).typeNameNs; 2061methodInfo.outputNames[ip] = ((WsdlMessagePart)message.parts[ip]).name; 2062methodInfo.outputNamesNs[ip] = ((WsdlMessagePart)message.parts[ip]).nameNs; 2064methodInfo.outputElements[ip] = ((WsdlMessagePart)message.parts[ip]).element; 2065methodInfo.outputElementsNs[ip] = ((WsdlMessagePart)message.parts[ip]).elementNs; 2067methodInfo.outputTypes[ip] = ((WsdlMessagePart)message.parts[ip]).typeName; 2068methodInfo.outputTypesNs[ip] = ((WsdlMessagePart)message.parts[ip]).typeNameNs; 2140((URTNamespace)_URTNamespaces[i]).ResolveElements(this); 2143((URTNamespace)_URTNamespaces[i]).ResolveTypes(this); 2146((URTNamespace)_URTNamespaces[i]).ResolveMethods(); 2679URTNamespace urtNS = (URTNamespace) _URTNamespaces[i]; 2734URTNamespace urtNS = (URTNamespace) _URTNamespaces[i]; 2748URTNamespace urtNS = (URTNamespace) _URTNamespaces[i]; 3503if (_params[i].Equals(suppliedMethod._params[i]) == false) 3522URTParam extParam = (URTParam) _params[i]; 3630baseType = (Type)inherit[j]; 3702URTParam param = (URTParam)_params[i]; 3722((URTParam) _params[i]).PrintCSC(sb, curNS); 3785((URTParam) _params[i]).PrintCSC(sb, curNS); 3820URTParam param = (URTParam) _params[i]; 3863((URTParam) _params[i]).PrintCSC(sb); 4200paramsInOrder[(int)_paramPosition[i]] = _params[i]; 4318paramsInOrder[(int)_paramPosition[i]] = _params[i]; 4481if (printedIFaces[i] is SystemInterface) 4483SystemInterface iface = (SystemInterface) printedIFaces[i]; 4500Type type = (Type) types[i]; 4743String baseIFaceName = (String) _baseIFaceNames[i]; 4744String baseIFaceXmlNS = (String) _baseIFaceNames[i+1]; 4775((URTMethod) _methods[i]).ResolveTypes(parser); 4835sb.Append(WsdlParser.IsValidCSAttr(((BaseInterface) _baseIFaces[i]).GetName(curNS))); 4850Util.Log("URTInterface.PrintCSC Invoke methods in Interface PrintCSC "+Name+" methodName "+((URTMethod) _methods[i]).Name); 4851NewNeeded((URTMethod)_methods[i]); 4852((URTMethod) _methods[i]).PrintCSC(textWriter, newIndentation, 4872if (printedIFaces[i] == this) 4909Util.Log("URTInterface.PrintClassMethods URTMethod invoke interface methods in class PrintCSC "+Name+" methodName "+((URTMethod) _methods[i])); 4911((URTMethod) _methods[i]).PrintCSC(textWriter, indentation, 4920((BaseInterface) _baseIFaces[i]).PrintClassMethods(textWriter, 5462((SchemaFacet) _facets[i]).PrintCSC(textWriter, newIndentation, curNS, sb); 5732URTMethod method = (URTMethod) _methods[i]; 5826String implIFaceName = (String) _implIFaceNames[i]; 5827String implIFaceXmlNS = (String) _implIFaceNames[i+1]; 5859((URTMethod) _methods[i]).ResolveTypes(parser); 5866URTMethod method = (URTMethod) _methods[i]; 6052sb.Append(WsdlParser.IsValidCS(((BaseInterface) _implIFaces[i]).GetName(curNS))); 6091Util.Log("URTComplexType.PrintCSC Invoke methods class methods PrintCSC class "+Name+" methodName "+((URTMethod) _methods[i]).Name); 6092((URTMethod) _methods[i]).PrintCSC(textWriter, newIndentation, 6118((URTField) _fields[i]).PrintCSC(textWriter, newIndentation, curNS, sb); 6180sb.Append(WsdlParser.IsValidUrl((string)_connectURLs[i])); 6187sb.Append(WsdlParser.IsValidUrl((string)_connectURLs[i])); 6678URTComplexType type = (URTComplexType) _URTComplexTypes[i]; 6693URTComplexType type = (URTComplexType) _URTComplexTypes[i]; 6713URTComplexType type = (URTComplexType) _URTComplexTypes[i]; 6731URTSimpleType type = (URTSimpleType) _URTSimpleTypes[i]; 6753Util.Log("URTNamespace.RemoveComplexType 1 "+type.Name+" complexTypes "+((_URTComplexTypes[i] != null) ? ((URTComplexType)_URTComplexTypes[i]).Name : "Null")); 6754if (_URTComplexTypes[i] == type) 6756Util.Log("URTNamespace.RemoveComplexType 2 match "+type.Name+" complexTypes "+((_URTComplexTypes[i] != null) ? ((URTComplexType)_URTComplexTypes[i]).Name : "Null")); 6772if (_URTSimpleTypes[i] == type) 6789URTInterface iFace = (URTInterface) _URTInterfaces[i]; 6803((ElementDecl) _elmDecls[i]).Resolve(parser); 6856if (_URTComplexTypes[i] != null) 6857((URTComplexType)_URTComplexTypes[i]).ResolveTypes(parser); 6861((URTInterface)_URTInterfaces[i]).ResolveTypes(parser); 6869if (_URTComplexTypes[i] != null) 6870((URTComplexType)_URTComplexTypes[i]).ResolveMethods(); 6886URTComplexType type = (URTComplexType) _URTComplexTypes[i]; 6896URTSimpleType type = (URTSimpleType) _URTSimpleTypes[i]; 6940URTComplexType type = (URTComplexType) _URTComplexTypes[i]; 6953URTSimpleType type = (URTSimpleType) _URTSimpleTypes[i]; 6965((URTInterface)_URTInterfaces[i]).PrintCSC(textWriter, indentation, _encodedNS, sb); 7015((INamespaces)parts[i]).UsedNamespace(namespaces); 7023((IDump)parts[i]).Dump();
metadata\wsdlwriter.cs (37)
502XMLNamespace xns = (XMLNamespace) _namespaces[i]; 550((XMLNamespace) _namespaces[i]).Resolve(); 595if (((XMLNamespace) _namespaces[i]).CheckForSchemaContent()) 609 if (((XMLNamespace) _namespaces[i]).CheckForSchemaContent()) 611Util.Log("WsdlGenerator.PrintWsdl call PrintWsdlNamespaces "+((XMLNamespace) _namespaces[i]).Namespace); 612((XMLNamespace) _namespaces[i]).PrintSchemaWsdl(_textWriter, sb, indent2); 622((XMLNamespace) _namespaces[i]).PrintMessageWsdl(_textWriter, sb, indent1, refNames); 679((XMLNamespace) _namespaces[i]).PrintDependsOnWsdl(_textWriter, sb, indent, usedNames); 725if (((_typeToServiceEndpoint != null) && (_typeToServiceEndpoint.ContainsKey(refNames[i]))) || 732sb.Append(refNames[i]); 736sb.Append(refNames[i]); 741if ((_typeToServiceEndpoint != null) && (_typeToServiceEndpoint.ContainsKey(refNames[i]))) 743foreach (String url in (ArrayList)_typeToServiceEndpoint[refNames[i]]) 1126((IAbstractElement) _abstractElms[i]).Print(textWriter, sb, IndentP(indent)); 1268((Particle) _particles[i]).Print(textWriter, sb, IndentP(indent2)); 1281((IAbstractElement) _abstractElms[i]).Print(textWriter, sb, IndentP(indent)); 1811sb.Append(phony._inParamNames[iparam]); 1813sb.Append(phony._inParamTypes[iparam]); 1853sb.Append(phony._outParamNames[iparam]); 1855sb.Append(phony._outParamTypes[iparam]); 1980RealSchemaType rsType = (RealSchemaType) _xns._realSchemaTypes[i]; 2362ifaceTypes[i] = (Type)ifaceA[i]; 2402baseType = (Type)inherit[j]; 2481finalMethodInfos[methodInfos.Length+i] = (MethodInfo)additionalInfos[i]; 2685SimpleSchemaType ssType = (SimpleSchemaType) _simpleSchemaTypes[i]; 2705 RealSchemaType rsType = (RealSchemaType) _realSchemaTypes[i]; 2724RealSchemaType rsType = (RealSchemaType) _realSchemaTypes[i]; 2737ArraySchemaType asType = (ArraySchemaType) _arraySchemaTypes[i]; 2785PhonySchemaType type = (PhonySchemaType) _phonySchemaTypes[i]; 2807XMLNamespace xns = (XMLNamespace) _dependsOnSchemaNS[i]; 2830XMLNamespace xns = (XMLNamespace) _dependsOnSUDSNS[i]; 2851((RealSchemaType) _realSchemaTypes[i]).Resolve(sb); 2863XMLNamespace xns = (XMLNamespace) _dependsOnSchemaNS[i]; 2942SimpleSchemaType ssType = (SimpleSchemaType) _simpleSchemaTypes[i]; 2948RealSchemaType rsType = (RealSchemaType) _realSchemaTypes[i]; 2955ArraySchemaType asType = (ArraySchemaType) _arraySchemaTypes[i]; 2981((RealSchemaType) _realSUDSTypes[i]).PrintMessageWsdl(textWriter, sb, indent, refNames);
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
279return (ArgBuilder)argList[index];
System.Security (18)
system\security\cryptography\cryptographicattribute.cs (2)
139CryptographicAttributeObject existing = (CryptographicAttributeObject) m_list[index]; 187return (CryptographicAttributeObject) m_list[index];
system\security\cryptography\pkcs\pkcs7recipient.cs (1)
109return (CmsRecipient) m_recipients[index];
system\security\cryptography\pkcs\recipientinfo.cs (1)
470return (RecipientInfo) m_recipientInfos[index];
system\security\cryptography\xml\c14nutil.cs (3)
587return (XmlNode) m_nodeArray[index]; 640get { return m_nodeArray[index]; } 727return (NamespaceFrame) m_ancestorStack[i];
system\security\cryptography\xml\encryptedkey.cs (2)
275return (EncryptedReference) m_references[index]; 290get { return m_references[index]; }
system\security\cryptography\xml\encryptedtype.cs (2)
369return (EncryptionProperty) m_props[index]; 384get { return m_props[index]; }
system\security\cryptography\xml\keyinfo.cs (1)
62XmlElement xmlElement = ((KeyInfoClause) m_KeyInfoClauses[i]).GetXml(xmlDocument);
system\security\cryptography\xml\signedinfo.cs (1)
180Reference reference = (Reference)m_references[i];
system\security\cryptography\xml\signedxml.cs (3)
791Reference reference = (Reference) references[index]; 804if (((Reference)references[j]).Id == idref) { 883Reference digestedReference = (Reference) references[i];
system\security\cryptography\xml\transform.cs (2)
66return (Transform) m_transforms[index]; 1261if (IsTargetElement(encryptedDataElement, (string) ExceptUris[index]))
System.ServiceModel (7)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
197return (ArgBuilder)argList[index];
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (1)
166return (Interval)base[index];
System\ServiceModel\Dispatcher\XPathExpr.cs (1)
171return (XPathExpr)this.list[index];
System\ServiceModel\Security\SecurityContextTokenCache.cs (2)
183base.TryRemoveItem(matchingKeys[i]); 204SecurityContextSecurityToken token = base.GetItem(matchingKeys[i]) as SecurityContextSecurityToken;
System\ServiceModel\Security\TimeBoundedCache.cs (2)
321this.entries.Remove(keysToBeRemoved[i]); 406this.entries.Remove(expiredItems[i]);
System.ServiceModel.Internals (1)
System\Runtime\UrlUtility.cs (1)
620item = (string)values[j];
System.Transactions (10)
System\Transactions\Oletx\OleTxTransaction.cs (2)
861localPhase0VolatileContainer = this.phase0EnlistVolatilementContainerList[this.phase0EnlistVolatilementContainerList.Count - 1] as OletxPhase0VolatileEnlistmentContainer; 1077localPhase0VolatileContainer = this.phase0EnlistVolatilementContainerList[this.phase0EnlistVolatilementContainerList.Count - 1] as OletxPhase0VolatileEnlistmentContainer;
System\Transactions\Oletx\OletxVolatileEnlistment.cs (8)
364enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 397enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 431enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 560enlistment = enlistmentList[i] as OletxVolatileEnlistment; 957enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 988enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 1020enlistment = this.enlistmentList[i] as OletxVolatileEnlistment; 1091enlistment = this.enlistmentList[i] as OletxVolatileEnlistment;
System.Web (186)
Cache\OutputCache.cs (3)
188HttpResponseHeader h = (HttpResponseHeader)(headers[i]); 199IHttpResponseElement elem = buffers[i] as IHttpResponseElement; 302HttpSubstBlockResponseElement substBlock = rawResponse.Buffers[i] as HttpSubstBlockResponseElement;
Cache\SqlCacheDependency.cs (1)
255info = (Sql7DependencyInfo)sqlDependencies[i];
Compilation\BrowserCapabilitiesCompiler.cs (4)
268customTreeRoots.Add((BrowserDefinition)(((BrowserTree)CustomTreeList[i])[CustomTreeNames[i]])); 308GenerateSingleProcessCall((BrowserDefinition)customTreeRoots[i], method); 463foreach (DictionaryEntry entry in (BrowserTree)CustomTreeList[i]) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (25)
563ArrayList fileNames = (ArrayList)_customBrowserFileLists[i]; 583ProcessBrowserNode(node, (BrowserTree)_customTreeList[i]); 607SetCustomTreeRoots((BrowserTree)_customTreeList[i], i); 608NormalizeAndValidateTree((BrowserTree)_customTreeList[i], false, true); 610AddCustomBrowserToCollectionRecursive((BrowserDefinition)(((BrowserTree)_customTreeList[i])[_customTreeNames[i]]), 0, i); 615if(_customBrowserDefinitionCollections[index] == null) { 620((BrowserDefinitionCollection)_customBrowserDefinitionCollections[index]).Add(bd); 679customTreeRoots.Add((BrowserDefinition)(((BrowserTree)_customTreeList[i])[_customTreeNames[i]])); 747GenerateSingleProcessCall((BrowserDefinition)customTreeRoots[i], method); 764foreach (DictionaryEntry entry in (BrowserTree)_customTreeList[i]) { 928foreach (BrowserDefinition bd in (BrowserDefinitionCollection)_customBrowserDefinitionCollections[i]) { 1167string matchedString = ((CheckPair)bd.IdHeaderChecks[i]).MatchString; 1182if (((CheckPair)bd.IdHeaderChecks[i]).Header.Equals("User-Agent")) { 1194string header = ((CheckPair)bd.IdHeaderChecks[i]).Header; 1237if(((CheckPair)bd.IdHeaderChecks[i]).NonMatch) { 1251string matchedString = ((CheckPair)bd.IdCapabilityChecks[i]).MatchString; 1269new CodePrimitiveExpression(((CheckPair)bd.IdCapabilityChecks[i]).Header) 1298if (((CheckPair)bd.IdCapabilityChecks[i]).NonMatch) { 1332string matchedString = ((CheckPair)bd.CaptureHeaderChecks[i]).MatchString; 1340if (((CheckPair)bd.CaptureHeaderChecks[i]).Header.Equals("User-Agent")) { 1347string header = ((CheckPair)bd.CaptureHeaderChecks[i]).Header; 1370string matchedString = ((CheckPair)bd.CaptureCapabilityChecks[i]).MatchString; 1382new CodeExpression[] { new CodePrimitiveExpression(((CheckPair)bd.CaptureCapabilityChecks[i]).Header) }
Configuration\CapabilitiesPattern.cs (1)
98_rules[i] = (int)rules[i];
Configuration\CapabilitiesState.cs (2)
79int groupnum = ((DelayedRegex)_regexlist[i]).GroupNumberFromName(refname); 82Group group = ((Match)_matchlist[i]).Groups[groupnum];
Configuration\HealthMonitoringSectionHelper.cs (3)
386RuleInfo curRule = (RuleInfo)_ruleInfos[i]; 399FiringRuleInfo info1 = (FiringRuleInfo)matchedRules[i]; 404FiringRuleInfo info2 = (FiringRuleInfo)matchedRules[j];
Configuration\HttpCapabilitiesBase.cs (2)
374return (string)_browsers[_browsers.Count - 1]; 1758if (String.Equals(browserName, (string)_browsers[i], StringComparison.OrdinalIgnoreCase)) {
Configuration\RemoteWebConfigurationHostServer.cs (1)
212string part = (string) filePaths[i];
Configuration\WebConfigurationHost.cs (1)
551WebConfigurationHostFileChange item = (WebConfigurationHostFileChange) list[i];
ErrorFormatter.cs (2)
1027Exception e = (Exception)_exStack[i]; 1029sb.Append("[" + _exStack[i].GetType().Name);
FileChangesMonitor.cs (1)
1172target = (FileMonitorTarget)targets[i];
Hosting\IIS7WorkerRequest.cs (4)
1312_unknownRequestHeaders[i][0] = (String)headers[j++]; 1313_unknownRequestHeaders[i][1] = (String)headers[j++]; 1359(MemoryBytes)_cachedResponseBodyBytes[i]; 1438((MemoryBytes)_cachedResponseBodyBytes[i]).UnlockMemory();
Hosting\ISAPIWorkerRequest.cs (4)
787_unknownRequestHeaders[i][0] = (String)headers[j++]; 788_unknownRequestHeaders[i][1] = (String)headers[j++]; 865((MemoryBytes)_cachedResponseBodyBytes[i]).UnlockMemory(); 902MemoryBytes bytes = (MemoryBytes)_cachedResponseBodyBytes[i];
HttpApplication.cs (4)
2706((HandlerWithFactory)_handlerRecycleList[i]).Recycle(); 2985(BeginEventHandler)_beginHandlers[i], 2986(EndEventHandler)_endHandlers[i], 2987_stateObjects[i]));
HttpApplicationFactory.cs (1)
323_eventHandlerMethods[i] = (MethodInfo)handlers[i];
HttpResponse.cs (4)
423headers.Add(_customHeaders[i]); 541header = headers[i] as HttpResponseHeader; 1138HttpResponseHeader h = (HttpResponseHeader)(headers[i]); 1640HttpResponseHeader h = (HttpResponseHeader)_customHeaders[i];
HttpWriter.cs (13)
913HttpBaseMemoryResponseBufferElement buf = _buffers[i] as HttpBaseMemoryResponseBufferElement; 980HttpBaseMemoryResponseBufferElement buf = _buffers[i] as HttpBaseMemoryResponseBufferElement; 1231_buffers[dstIndex + i] = _buffers[srcIndex + i]; 1241HttpBaseMemoryResponseBufferElement buf = _buffers[_buffers.Count-1] as HttpBaseMemoryResponseBufferElement; 1278size += ((IHttpResponseElement)_buffers[i]).GetSize(); 1305nativeBuffers.Add(writerBuffers[i]); 1320if (buffers[i] is HttpSubstBlockResponseElement) { 1356Object responseElement = _buffers[i]; 1387Object responseElement = buffers[i]; 1453IHttpResponseElement buf = (IHttpResponseElement)oldBuffers[i]; 1513IHttpResponseElement buf = (IHttpResponseElement)nativeBuffers[i]; 1530IHttpResponseElement buf = (IHttpResponseElement)oldBuffers[i]; 1566((IHttpResponseElement)_buffers[i]).Send(wr);
Management\EventlogProvider.cs (1)
235object field = dataFields[i];
Management\WebEvents.cs (1)
2491return (WebBaseEvent) InnerList[index];
Profile\ProfileInfo.cs (3)
149if (_ArrayList[iter] != null) 150al.Add(_ArrayList[iter]); 158ProfileInfo profileInfo = _ArrayList[iter] as ProfileInfo;
RequestTimeoutManager.cs (1)
98((RequestTimeoutEntry)entries[i]).TimeoutIfNeeded(now);
SiteMapNodeCollection.cs (1)
107return (SiteMapNode)List[index];
UI\ClientScriptManager.cs (1)
1409int hashKey = (int)validatedClientEvents[index];
UI\Control.cs (4)
2068string controlId = (string)childState[i]; 2069object state = childState[i + 1]; 2094int controlIndex = (int)childState[i]; 2095object state = childState[i + 1];
UI\ControlBuilder.cs (1)
1862return SubBuilders[SubBuilders.Count - 1];
UI\HtmlControls\HtmlHead.cs (2)
286StyleInfo si = (StyleInfo)_styles[i]; 297SelectorStyleInfo si = (SelectorStyleInfo)_selectorStyles[i];
UI\LegacyPageAsyncTaskManager.cs (4)
50LegacyPageAsyncTask task = (LegacyPageAsyncTask)_tasks[i]; 70LegacyPageAsyncTask task = (LegacyPageAsyncTask)_tasks[i]; 92LegacyPageAsyncTask task = (LegacyPageAsyncTask)_tasks[i]; 240LegacyPageAsyncTask task = (LegacyPageAsyncTask)_tasks[i];
UI\ObjectStateFormatter.cs (1)
956objectStack.Push(list[i]);
UI\OrderedDictionaryStateHelper.cs (1)
25Pair pairEntry = (Pair)state[i];
UI\Page.cs (6)
3264Control c = (Control)_changedPostDataConsumers[i]; 3292Control c = (Control)_changedPostDataConsumers[i]; 5848IAsyncResult ar = ((BeginEventHandler)_beginHandlers[_currentHandler])(_page, EventArgs.Empty, _completionCallback, _stateObjects[_currentHandler]); 5856((EndEventHandler)_endHandlers[_currentHandler])(ar); 5951((EndEventHandler)_endHandlers[_currentHandler])(ar);
UI\SkinBuilder.cs (1)
225ControlBuilder builder = subBuilders[i] as ControlBuilder;
UI\StateBag.cs (2)
261string key = ((IndexedString)data[i]).Value; 265object value = data[i + 1];
UI\StateManagedCollection.cs (14)
185string typeName = (string)typedObjectTypeNames[typeIndex - GetKnownTypeCount()]; 242int index = (int)indices[i]; 245((IStateManager)((IList)this)[index]).LoadViewState(states[i]); 256int typeIndex = (int)typeIndices[i]; 263string typeName = (string)typedObjectTypeNames[typeIndex - GetKnownTypeCount()]; 271((IStateManager)o).LoadViewState(states[i]); 284int index = (int)indices[i]; 287((IStateManager)((IList)this)[index]).LoadViewState(states[i]); 293typeIndex = (int)typeIndices[i]; 298((IStateManager)o).LoadViewState(states[i]); 376object o = _collectionItems[i]; 460object o = _collectionItems[i]; 590return _collectionItems[index]; 675object o = _collectionItems[index];
UI\TraceContext.cs (1)
802HttpResponseHeader h = (HttpResponseHeader)headers[i];
UI\ValidatorCollection.cs (1)
49return(IValidator) data[index];
UI\WebControls\AdRotator.cs (2)
919if (adDicts[i] != null) { 920adRecs[iRec].Initialize((IDictionary) adDicts[i]);
UI\WebControls\ColumnCollection.cs (4)
97return (DataGridColumn)columns[index]; 232((IStateManager)columns[i]).LoadViewState(columnsState[i]); 249((IStateManager)columns[i]).TrackViewState(); 264columnsState[i] = ((IStateManager)columns[i]).SaveViewState();
UI\WebControls\DataGrid.cs (4)
541item = (DataGridItem)itemsArray[oldSelectedIndex]; 551item = (DataGridItem)itemsArray[value]; 1004columnsArray.Add(autoColumns[i]); 1851autoGenColumnState[i] = ((IStateManager)autoGenColumnsArray[i]).SaveViewState();
UI\WebControls\DataGridItemCollection.cs (1)
78return(DataGridItem)items[index];
UI\WebControls\DataKeyArray.cs (4)
75return _keys[index] as DataKey; 122((IStateManager)_keys[i]).LoadViewState(keysState[i]); 136keysState[i] = ((IStateManager)_keys[i]).SaveViewState(); 151((IStateManager)_keys[i]).TrackViewState();
UI\WebControls\DataKeyCollection.cs (1)
74return keys[index];
UI\WebControls\DataList.cs (3)
515item = (DataListItem)itemsArray[oldSelectedIndex]; 525item = (DataListItem)itemsArray[value]; 1003item = (DataListItem)itemsArray[repeatIndex];
UI\WebControls\DataListItemCollection.cs (1)
75return(DataListItem)items[index];
UI\WebControls\DetailsViewRowCollection.cs (1)
75return(DetailsViewRow)_rows[index];
UI\WebControls\GridView.cs (8)
1239row = (GridViewRow)_rowsArray[oldSelectedIndex]; 1244row = (GridViewRow)_rowsArray[value]; 2182SetPersistedDataKey(index, (DataKey)keyArray[index]); 2242SetPersistedDataKey(index, (DataKey)keyArray[index]); 3487((IStateManager)DataKeysArrayList[i]).LoadViewState(dataKeysState[i]); 3502((IStateManager)ClientIDRowSuffixArrayList[i]).LoadViewState(ClientIDRowSuffixDataKeysState[i]); 4264((object[])keyState)[i] = ((IStateManager)_dataKeysArrayList[i]).SaveViewState(); 4277((object[])keyState)[i] = ((IStateManager)_clientIDRowSuffixArrayList[i]).SaveViewState();
UI\WebControls\GridViewRowCollection.cs (1)
78return(GridViewRow)_rows[index];
UI\WebControls\Listbox.cs (2)
226if (((int)newSelectedIndices[i]) != ((int)oldSelectedIndices[i])) {
UI\WebControls\ListControl.cs (1)
843int n = (int) selectedIndices[i];
UI\WebControls\ListItemCollection.cs (7)
45return (ListItem)listItems[index]; 53return listItems[index]; 160return (ListItem)listItems[index]; 179return (ListItem)listItems[index]; 344int index = (int) indices[i]; 347this[index].LoadViewState(items[i]); 350li.LoadViewState(items[i]);
UI\WebControls\RepeaterItemCollection.cs (1)
80return(RepeaterItem)items[index];
UI\WebControls\SelectedDatesCollection.cs (1)
44return(DateTime) dateList[index];
UI\WebControls\TreeNode.cs (3)
689object o = list[i]; 691writer.AddAttribute((string)o, (string)list[i + 1]); 694writer.AddAttribute((HtmlTextWriterAttribute)o, (string)list[i + 1]);
UI\WebParts\CatalogPartCollection.cs (1)
29return (CatalogPart) InnerList[index];
UI\WebParts\ConnectionInterfaceCollection.cs (1)
61return (Type)InnerList[index];
UI\WebParts\ConsumerConnectionPointCollection.cs (1)
53return (ConsumerConnectionPoint)InnerList[index];
UI\WebParts\EditorPartCollection.cs (1)
28return (EditorPart) InnerList[index];
UI\WebParts\PersonalizationStateInfoCollection.cs (2)
50return (PersonalizationStateInfo) _values[index]; 56return (PersonalizationStateInfo) _values[index];
UI\WebParts\PropertyGridEditorPart.cs (2)
116Control editorControl = (Control)EditorControls[i]; 328Control editorControl = (Control)EditorControls[count];
UI\WebParts\ProviderConnectionPointCollection.cs (1)
54return (ProviderConnectionPoint)InnerList[index];
UI\WebParts\TransformerTypeCollection.cs (1)
71return (Type)InnerList[index];
UI\WebParts\WebPartCollection.cs (1)
52return (WebPart) InnerList[index];
UI\WebParts\WebPartDescriptionCollection.cs (1)
58return (WebPartDescription) InnerList[index];
UI\WebParts\WebPartManager.cs (3)
4060WebPart webPart = (WebPart)dynamicWebParts[i]; 4135WebPartConnection deletedConnection = (WebPartConnection)deletedConnections[i]; 4167WebPartConnection connection = (WebPartConnection)dynamicConnections[i];
UI\WebParts\WebPartVerbCollection.cs (1)
35return (WebPartVerb) InnerList[index];
UI\WebParts\WebPartZoneCollection.cs (1)
50return (WebPartZoneBase) InnerList[index];
Util\ResourcePool.cs (1)
76result = _resources[_resources.Count-1];
Util\UrlPath.cs (1)
291sb.Length = (int)list[list.Count - 1];
System.Web.ApplicationServices (1)
Security\MembershipUserCollection.cs (1)
72return (MembershipUser)_Values[ipos];
System.Web.DataVisualization (63)
Common\ChartTypes\AreaChart.cs (2)
700 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 761 DataPoint3D p = (DataPoint3D)points[pointIndex + indexOffset];
Common\ChartTypes\BoxPlotChart.cs (1)
1768 newYValues[6 + index] = (double)unusualValuesList[index];
Common\ChartTypes\KagiChart.cs (2)
724 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 793 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\LineChart.cs (3)
1510 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 1578 DataPoint3D firstPoint = (DataPoint3D)points[pointIndex - 1]; 1579 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex];
Common\ChartTypes\PieChart.cs (7)
1379float calculatedY3 = (((RectangleF)this._labelsRectangles[pointIndex]).Top + ((RectangleF)this._labelsRectangles[pointIndex]).Bottom) / 2f; 1395rect = (RectangleF)this._labelsRectangles[pointIndex]; 1972 RectangleF rect = (RectangleF)_labelsRectangles[index]; 1993 RectangleF rect = (RectangleF)_labelsRectangles[index]; 2025 RectangleF rect = (RectangleF)_labelsRectangles[index]; 2046 RectangleF rect = (RectangleF)_labelsRectangles[index];
Common\ChartTypes\PointChart.cs (1)
1252 ((Label3DInfo)this.label3DInfoList[this.label3DInfoList.Count-1]).PointEx.zPosition != pointEx.zPosition)
Common\ChartTypes\RangeChart.cs (2)
805 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 1033 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\StackedAreaChart.cs (10)
536 yValue += (double)prevPointsArray[index]; 557 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 571 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 849 yValue += (double)prevPointsArray[index]; 865 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 878 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 955 yValue += (double)prevPointsArray[index]; 971 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 984 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 1162 DataPoint3D pointEx = ((DataPoint3D)points[pointIndex]);
Common\ChartTypes\StackedBarChart.cs (1)
647 this.currentStackGroup = (string)this.stackGroupNames[groupIndex];
Common\ChartTypes\StackedColumnChart.cs (1)
657 this.currentStackGroup = (string)this.stackGroupNames[groupIndex];
Common\ChartTypes\StepLineChart.cs (2)
262 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 304 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\ThreeLineBreakChart.cs (4)
415 if(((double)highLowHistory[index]) > lineBreakHigh) 417 lineBreakHigh = ((double)highLowHistory[index]); 433 if(((double)highLowHistory[index]) < lineBreakLow) 435 lineBreakLow = ((double)highLowHistory[index]);
Common\Formulas\FormulaRegistry.cs (1)
152 return (string)_modulesNames[index];
Common\General\Axis.cs (7)
4098 int labelInsertIndex = (int)removedLabelsIndexes[labelIndex] + reInsertedLabelsCount; 4126 RectangleF rect1 = (RectangleF)labelPositions[index]; 4129 RectangleF rect2 = (RectangleF)labelPositions[index2]; 4687string newText = ((string[])labelTextRows[longestLabelIndex])[longestLabelRowIndex]; 4709((string[])labelTextRows[longestLabelIndex])[longestLabelRowIndex] = newText; 4720for (int rowIndex = 0; rowIndex < ((string[])labelTextRows[longestLabelIndex]).Length; rowIndex++) 4726label.Text += ((string[])labelTextRows[longestLabelIndex])[rowIndex];
Common\General\AxisScale.cs (1)
1208 strip.IntervalOffset = (double)_stripLineOffsets[index];
Common\General\AxisScaleBreaks.cs (3)
929 if(segmentIndex >= (int)excludedSegments[index] && 930 segmentIndex < (int)excludedSegments[index] + (int)excludedSegments[index + 1])
Common\General\Chart.cs (4)
1070 newPoint.AxisLabel = (string)axisLabels[index]; 1193 series = (Series)seriesList[seriesIndex]; 1340 sortedSeriesList.Add(seriesList[oldList.IndexOf(obj)]); 1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) )
Common\General\ChartArea.cs (1)
2123IChartType chartType = Common.ChartTypeRegistry.GetChartType((string)ChartTypes[chartTypeIndex]);
Common\General\ChartAreaAxes.cs (1)
1907 double xValue = (double)xList[pointIndex];
Common\General\ChartGraphics.cs (1)
1625 ((HotRegion)common.HotRegionsList.List[common.HotRegionsList.List.Count - 1]).Type =
Common\General\ChartGraphics3D.cs (4)
1593 DataPoint3D p = (DataPoint3D)points[pointIndex + 1]; 2000 DataPoint3D p = (DataPoint3D)points[pointIndex + 1]; 2700 DataPoint3D point = (DataPoint3D)points[neighborPointIndex + 1]; 2714 DataPoint3D point = (DataPoint3D)points[neighborPointIndex - 1];
Common\General\Selection.cs (2)
2046HotRegion region = (HotRegion)regionList[index]; 2637HotRegion rgn = (HotRegion)hrList.List[i];
Common\Utilities\XmlSerializer.cs (2)
997 if(NameMatchMask((ItemInfo)contentList[itemIndex], className, out classFitType)) 999 if(NameMatchMask((ItemInfo)contentList[itemIndex + 1], propertyName, out propertyFitType))
System.Web.Extensions (10)
ClientServices\Providers\ClientRoleProvider.cs (1)
348_Roles[iter] = (string)al[iter];
UI\WebControls\ListView.cs (6)
1697DataKey currentKey = (DataKey)keyArray[dataItemIndex]; 1840DataKey currentKey = (DataKey)keyArray[dataItemIndex]; 2755((IStateManager)DataKeysArrayList[i]).LoadViewState(dataKeysState[i]); 2784((IStateManager)ClientIDRowSuffixArrayList[i]).LoadViewState(ClientIDRowSuffixDataKeysState[i]); 3248((object[])keyState)[i] = ((IStateManager)_dataKeysArrayList[i]).SaveViewState(); 3272((object[])keyState)[i] = ((IStateManager)_clientIDRowSuffixArrayList[i]).SaveViewState();
UI\WebControls\QueryableDataSourceView.cs (3)
554matches.Add(OriginalValueMatches(values[i], propertyValue)); 557matches[i] = OriginalValueMatches(values[i], propertyValue); 573rowValues.Add((string)entry.Key, value[rowIndex]);
System.Web.Mobile (21)
Mobile\UrlPath.cs (1)
195sb.Length = (int)list[list.Count - 1];
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (5)
76return (UpCard)_cards[_currentCardIndex]; 1046UpCard card = (UpCard)_cards[cardIndex]; 1094UpCard card = (UpCard)_cards[cardIndex]; 1121UpCard card = (UpCard)_cards[cardIndex]; 1127UpCard nextCard = (UpCard)_cards[cardIndex + 1];
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (2)
132if (String.Equals((String)styleArray[i], preID, StringComparison.OrdinalIgnoreCase)) { 137preID = ((String)styleArray[i]).ToLower(CultureInfo.InvariantCulture);
UI\MobileControls\DeviceSpecificChoiceCollection.cs (1)
41return (DeviceSpecificChoice)Items[index];
UI\MobileControls\Form.cs (1)
388Form form = (Form)set[i];
UI\MobileControls\MobileListItemCollection.cs (5)
105return (MobileListItem)Items[index]; 161((MobileListItem)Items[i]).SetIndex(i + BaseIndex); 175((MobileListItem)Items[i]).SetIndex(i + BaseIndex); 250((IStateManager)Items[changeIndices[i]]).LoadViewState (itemChanges[i]); 276((MobileListItem)Items[i]).Selected = selection[i];
UI\MobileControls\ObjectListCommandCollection.cs (1)
77return (ObjectListCommand)Items[index];
UI\MobileControls\ObjectListFieldCollection.cs (3)
83return (ObjectListField)Items[index]; 240((IStateManager)Items[i]).LoadViewState(fieldStates[i]); 259fieldStates[i] = ((IStateManager)Items[i]).SaveViewState();
UI\MobileControls\ObjectListItemCollection.cs (1)
71return (ObjectListItem)Items[index];
UI\MobileControls\TextView.cs (1)
325return (TextViewElement)_elements[index];
System.Web.Services (10)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
175if ((string) specialErrorMessages[i - 1] != (string) specialErrorMessages[i])
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
62m[j] = ((HttpClientMethod)list[j]).methodInfo; 67((HttpClientMethod)list[j]).writerInitializer = initializers[j]; 70((HttpClientMethod)list[j]).readerInitializer = initializers[j];
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
523MethodInfo syncMethod = (MethodInfo)syncs[i]; 530MethodInfo beginMethodInfo = (MethodInfo)begins[i];
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
77SoapReflectedMethod soapMethod = (SoapReflectedMethod)soapMethodList[i];
System\Web\Services\Protocols\SoapHeader.cs (2)
334if (!(otherHeaders[i] is SoapUnknownHeader)) 335newHeaderArray[count++] = (SoapHeader)otherHeaders[i];
System.Windows.Forms (209)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (1)
2526object o = _list[i];
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (3)
35return ((string)data[index]); 38OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, data[index])); 211string value = (string)data[index];
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (4)
159IList list = dataSources[offset - 1] as IList; 189list = dataSources[offset - 1] as IList; 197if (itemProps[j].Equals(listAccessors[offset])) 204if (props[i].Name.Equals(((PropertyDescriptor)listAccessors[offset]).Name))
winforms\Managed\System\WinForms\BindingsCollection.cs (1)
61return (Binding) List[index];
winforms\Managed\System\WinForms\ComboBox.cs (1)
4227return InnerList[index];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
310ma = (Attribute)attrList[i];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
858enumBuilder.DefineLiteral((string)strs[i], vars[i]);
winforms\Managed\System\WinForms\Control.cs (6)
6740indexes[i] = ((ControlTabOrderHolder) holders[i]).oldOrder; 6757ctls[i] = ((ControlTabOrderHolder) holders[i]).control; 15094Control control = (Control) InnerList[index]; 18087IAdviseSink s = (IAdviseSink)adviseList[i]; 18611if (dwConnection > adviseList.Count || adviseList[dwConnection - 1] == null) { 18615IAdviseSink sink = (IAdviseSink)adviseList[dwConnection - 1];
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (10)
95get { return items[index]; } 190return (DataGridColumnStyle)items[index]; 205DataGridColumnStyle column = (DataGridColumnStyle)items[i]; 217DataGridColumnStyle column = (DataGridColumnStyle)items[i]; 238DataGridColumnStyle column = (DataGridColumnStyle)items[i]; 260if ( ((DataGridColumnStyle)items[i]).MappingName.Equals(column.MappingName) && column != items[i]) 502DataGridColumnStyle column = (DataGridColumnStyle)items[i]; 535if (items[i] == column) { 554DataGridColumnStyle toRemove = (DataGridColumnStyle)items[index];
winforms\Managed\System\WinForms\DataGridParentRows.cs (16)
147int height = (int) rowHeights[i]; 148if (parents[i] == dgs) { 260DataGridState dgs = parents[i] as DataGridState; 291return(DataGridState)(((ICloneable)(parents[parentsCount-1])).Clone()); 312DataGridState ret = (DataGridState)parents[parentsCount]; 358DataGridState dgs = (DataGridState) parents[i]; 379totalHeight -= (int) rowHeights[rowHeights.Count-1]; 584DataGridState dgs = (DataGridState) parents[row]; 601DataGridState dgs = (DataGridState) parents[row]; 621DataGridState dgs = (DataGridState) parents[row]; 637DataGridState dgs = (DataGridState) parents[row]; 718rowBounds.Height = (int) rowHeights[row]; 862DataGridState dgs = (DataGridState) parents[row]; 865paintBounds.Height = (int) rowHeights[row]; 866rowBounds.Height = (int) rowHeights[row]; 1128return ((DataGridState)owner.parents[index]).ParentRowAccessibleObject;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (6)
329DataGrid.NavigateTo(((string)this.dgTable.RelationsList[r]), this, true); 411DataGrid.NavigateTo(((string)this.dgTable.RelationsList[FocusedRelation]), this, true); 730g.DrawString(((string)this.dgTable.RelationsList[r]), textFont, textBrush, textBounds, 920return (string)owner.dgTable.RelationsList[relationship]; 979return (string)owner.dgTable.RelationsList[relationship]; 997DataGrid.NavigateTo((string)owner.dgTable.RelationsList[relationship], owner, true);
winforms\Managed\System\WinForms\DataGridRow.cs (2)
828return (AccessibleObject)cells[index]; 847return (AccessibleObject)cells[cell.ColumnNumber];
winforms\Managed\System\WinForms\DataGridTable.cs (2)
384focusedTextWidth = (int) Math.Ceiling(g.MeasureString(((string) RelationsList[focusedRelation]), DataGrid.LinkFont).Width); 918int rwidth = (int) Math.Ceiling(g.MeasureString(((string) this.RelationsList[r]), this.DataGrid.LinkFont).Width)
winforms\Managed\System\WinForms\DataGridTableCollection.cs (9)
86get { return items[index]; } 154return (DataGridTableStyle)items[index]; 168DataGridTableStyle table = (DataGridTableStyle)items[i]; 181if ( ((DataGridTableStyle)items[i]).MappingName.Equals(table.MappingName) && table != items[i]) 245DataGridTableStyle element = (DataGridTableStyle)items[i]; 270DataGridTableStyle table = (DataGridTableStyle)items[i]; 324if (items[i] == table) { 339DataGridTableStyle element = (DataGridTableStyle)items[index];
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (5)
165return (DataGridViewCell) this.items[index]; 187DataGridViewCell oldDataGridViewCell = (DataGridViewCell) this.items[index]; 229return (DataGridViewCell) this.items[dataGridViewColumn.Index]; 441if (this.items[i] == cell) 472DataGridViewCell dataGridViewCell = (DataGridViewCell) this.items[index];
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (33)
206return (DataGridViewColumn) this.items[index]; 225DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.items[i]; 349DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) initialColumns[index]; 357sortedColumns.Add(initialColumns[smallestIndex]); 476DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.items[i]; 494int displayIndex1 = ((DataGridViewColumn) this.items[columnIndex1]).DisplayIndex; 495int displayIndex2 = ((DataGridViewColumn) this.items[columnIndex2]).DisplayIndex; 505DataGridViewColumn dataGridViewColumn = ((DataGridViewColumn) this.items[displayIndex]); 513dataGridViewColumn = ((DataGridViewColumn) this.items[columnIndex]); 555if (((DataGridViewColumn)this.items[columnIndex]).StateIncludes(includeFilter)) 575if (((DataGridViewColumn)this.items[columnIndex]).StateIncludes(correctedIncludeFilter) && 576((DataGridViewColumn)this.items[columnIndex]).Resizable == DataGridViewTriState.True) 591Debug.Assert(((DataGridViewColumn) this.items[toColumnIndex]).StateIncludes(includeFilter)); 594DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.items[fromColumnIndex]; 596while (dataGridViewColumn != (DataGridViewColumn) this.items[toColumnIndex]) 620this.itemsSorted[this.lastAccessedSortedIndex] == dataGridViewColumn) 628if (dataGridViewColumn.Index == ((DataGridViewColumn) this.itemsSorted[index]).Index) 646if (((DataGridViewColumn)this.items[columnIndex]).StateIncludes(includeFilter)) 648weightSum += ((DataGridViewColumn)this.items[columnIndex]).FillWeight; 684if (((DataGridViewColumn) this.items[columnIndex]).StateIncludes(includeFilter)) 686columnsWidth += ((DataGridViewColumn) this.items[columnIndex]).Thickness; 721DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.itemsSorted[index]; 761DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.itemsSorted[index]; 798DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.itemsSorted[index]; 844DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.items[index]; 861return columnFound ? ((DataGridViewColumn) this.items[indexMin]) : null; 868DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.itemsSorted[index]; 916DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.items[index]; 933return columnFound ? ((DataGridViewColumn) this.items[indexMax]) : null; 940DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.itemsSorted[index]; 1118if (this.items[i] == dataGridViewColumn) 1142DataGridViewColumn dataGridViewColumn = (DataGridViewColumn) this.items[i]; 1188DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)this.items[index];
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2963return this.InnerArray[index]; 3023destination[i + arrayIndex] = this.InnerArray[i]; 3034destination.SetValue(this.InnerArray[i], i + index);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
963DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 977DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 998DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1025DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1036DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1049DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1067DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1077DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1086DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1103DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1114DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1132DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1166DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry]; 1211DataGridViewColumn dataGridViewColumn = (DataGridViewColumn)autoFillColumns[columnEntry];
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (6)
240return (DataGridViewRow) this.SharedList[rowIndex]; 1388rowsHeight += ((DataGridViewRow)this.items[rowIndex]).GetHeight(rowIndex); 1415rowsHeight += ((DataGridViewRow)this.items[rowIndex]).GetHeight(rowIndex); 1432rowsHeight += ((DataGridViewRow)this.items[rowIndex]).GetHeight(rowIndex); 2516object item = this.items[rowIndex1]; 2517this.items[rowIndex1] = this.items[rowIndex2];
winforms\Managed\System\WinForms\DataGridViewSelectedCellCollection.cs (2)
97get { return this.items[index]; } 154return (DataGridViewCell) this.items[index];
winforms\Managed\System\WinForms\DataGridViewSelectedColumnCollection.cs (2)
94get { return this.items[index]; } 151return (DataGridViewColumn) this.items[index];
winforms\Managed\System\WinForms\DataGridViewSelectedRowCollection.cs (2)
97get { return this.items[index]; } 154return (DataGridViewRow) this.items[index];
winforms\Managed\System\WinForms\DataObject.cs (1)
1314FORMATETC current = (FORMATETC)formats[this.current];
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
634return base[index];
winforms\Managed\System\WinForms\ErrorProvider.cs (6)
1072ControlItem item = (ControlItem)items[i]; 1097blinkPhase += ((ControlItem)items[i]).BlinkPhase; 1108if (((ControlItem)items[i]).Id == id) { 1109((ControlItem)items[i]).ToolTipShown = toolTipShown; 1179ControlItem item = (ControlItem)items[i]; 1191ControlItem item = (ControlItem)items[i];
winforms\Managed\System\WinForms\FormCollection.cs (1)
57f = (Form) InnerList[index];
winforms\Managed\System\WinForms\ImageList.cs (7)
1033ImageInfo image = imageInfoCollection[i] as ImageInfo; 1492if ((imageInfoCollection[lastAccessedIndex] != null) && 1493(WindowsFormsUtils.SafeCompareStrings(((ImageInfo)imageInfoCollection[lastAccessedIndex]).Name, key, /* ignoreCase = */ true))) { 1500if ((imageInfoCollection[i] != null) && 1501(WindowsFormsUtils.SafeCompareStrings(((ImageInfo)imageInfoCollection[i]).Name, key, /* ignoreCase = */ true))) { 1612if (imageInfoCollection[index] == null) { 1616((ImageInfo)imageInfoCollection[index]).Name = name;
winforms\Managed\System\WinForms\InputLanguageCollection.cs (1)
36return ((InputLanguage)(InnerList[index]));
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (6)
40get { return (IArrangedElement) InnerList[index]; } 52if (this.InnerList[i] != other.InnerList[i]) { 71this.InnerList[fromIndex] = this.InnerList[toIndex]; 111destinationList.InnerList[destinationIndex++] = sourceList.InnerList[sourceIndex++]; 131get { return InnerList[index]; }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (7)
1934if (column >= ((BitArray)_rows[rowOffset]).Length) { 1937return ((BitArray)_rows[rowOffset])[column]; 1947if (column >= ((BitArray)_rows[rowOffset]).Length) { 1948((BitArray)_rows[rowOffset]).Length = column + 1; 1954((BitArray)_rows[rowOffset])[column] = true; 2081LayoutInfo layoutInfo1 = (LayoutInfo)layoutInfos[i]; 2086LayoutInfo layoutInfo2 = (LayoutInfo)layoutInfos[j];
winforms\Managed\System\WinForms\LinkLabel.cs (14)
1004if ((((Link)links[i]).State & LinkState.Hover) == LinkState.Hover) { 1005((Link)links[i]).State |= LinkState.Active; 1008if (((Link)links[i]).Enabled) { 1009FocusLink = (Link)links[i]; 1040if ((((Link)links[i]).State & LinkState.Active) == LinkState.Active) { 1041((Link)links[i]).State &= (~LinkState.Active); 1042InvalidateLink((Link)links[i]); 1347((Link)links[i]).State &= ~(LinkState.Hover | LinkState.Active); 1584if (links[i] == focusLink) { 1735FocusLink = (Link)links[newFocus]; 1823if (links[i] == focusLink) { 1838Link left = (Link)links[x]; 1845Link right = (Link)links[y]; 1984return(Link)owner.links[index];
winforms\Managed\System\WinForms\ListView.cs (1)
8876return (ListViewItem)owner.listItemsArray[displayIndex];
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
379return (ListViewGroup)this.List[index];
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (4)
66return (ListViewItem)Items[index]; 69if (value != Items[index]) { 70MoveToGroup((ListViewItem)Items[index], null); 72MoveToGroup((ListViewItem)Items[index], this.group);
winforms\Managed\System\WinForms\MonthCalendar.cs (9)
273dateTimes[i] = (DateTime)this.annualArrayOfDates[i]; 387dateTimes[i] = (DateTime)this.arrayOfDates[i]; 668dateTimes[i] = (DateTime)this.monthlyArrayOfDates[i]; 1337DateTime date = (DateTime) arrayOfDates[i]; 1784if (CompareDayAndMonth((DateTime) annualArrayOfDates[i], date)) { 1791if (CompareDayAndMonth((DateTime) annualArrayOfDates[j], date)) { 1808if (DateTime.Compare( ((DateTime)arrayOfDates[i]).Date, date.Date) == 0) { 1828if (CompareDayAndMonth((DateTime) monthlyArrayOfDates[i], date)) { 1835if (CompareDayAndMonth((DateTime) monthlyArrayOfDates[j], date)) {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4515toolStrip.Items.Add(buttonList[j] as ToolStripItem);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (4)
100entries[i] = new MultiPropertyDescriptorGridEntry(parentEntry.OwnerGrid, parentEntry, rgobjs, (PropertyDescriptor[])props[i], false); 116firstPds[i] = ((PropertyDescriptor[])firstProps[i])[0]; 124entries[i] = new MultiPropertyDescriptorGridEntry(parentEntry.OwnerGrid, parentEntry, rgobjs, (PropertyDescriptor[])props[i], false); 293PropertyDescriptor[] pdList = (PropertyDescriptor[])sortedMergedEntries[start + offset];
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (2)
66get { return _innerList[index]; } 102TableLayoutStyle style = (TableLayoutStyle) _innerList[index];
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
2206ToolStripDropDown dropDown = dropDowns[i] as ToolStripDropDown;
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (4)
73return (ToolStripItem)(InnerList[index]); 91return (ToolStripItem)InnerList[index]; 352get { return InnerList[index]; } 474item = (ToolStripItem)(InnerList[index]);
winforms\Managed\System\WinForms\ToolStripPanel.cs (3)
1342return (ToolStripPanelRow)(InnerList[index]); 1453get { return InnerList[index]; } 1516item = (ToolStripPanelRow)(InnerList[index]);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (3)
2128cell = (ToolStripPanelCell)(InnerList[index]); 2136ToolStripPanelCell cell = (ToolStripPanelCell)(InnerList[i]); 2262ToolStripPanelCell cell = InnerList[index] as ToolStripPanelCell;
winforms\Managed\System\WinForms\TrustManager.cs (1)
555ApplicationTrust matchingTrust = (ApplicationTrust) matchingTrusts[entry];
System.Windows.Forms.DataVisualization (63)
Common\ChartTypes\AreaChart.cs (2)
700 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 761 DataPoint3D p = (DataPoint3D)points[pointIndex + indexOffset];
Common\ChartTypes\BoxPlotChart.cs (1)
1768 newYValues[6 + index] = (double)unusualValuesList[index];
Common\ChartTypes\KagiChart.cs (2)
724 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 793 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\LineChart.cs (3)
1510 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 1578 DataPoint3D firstPoint = (DataPoint3D)points[pointIndex - 1]; 1579 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex];
Common\ChartTypes\PieChart.cs (7)
1379float calculatedY3 = (((RectangleF)this._labelsRectangles[pointIndex]).Top + ((RectangleF)this._labelsRectangles[pointIndex]).Bottom) / 2f; 1395rect = (RectangleF)this._labelsRectangles[pointIndex]; 1972 RectangleF rect = (RectangleF)_labelsRectangles[index]; 1993 RectangleF rect = (RectangleF)_labelsRectangles[index]; 2025 RectangleF rect = (RectangleF)_labelsRectangles[index]; 2046 RectangleF rect = (RectangleF)_labelsRectangles[index];
Common\ChartTypes\PointChart.cs (1)
1252 ((Label3DInfo)this.label3DInfoList[this.label3DInfoList.Count-1]).PointEx.zPosition != pointEx.zPosition)
Common\ChartTypes\RangeChart.cs (2)
805 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 1033 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\StackedAreaChart.cs (10)
536 yValue += (double)prevPointsArray[index]; 557 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 571 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 849 yValue += (double)prevPointsArray[index]; 865 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 878 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 955 yValue += (double)prevPointsArray[index]; 971 prevYValue1 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 984 prevYValue2 = (float)VAxis.GetPosition((double)prevPointsArray[index]); 1162 DataPoint3D pointEx = ((DataPoint3D)points[pointIndex]);
Common\ChartTypes\StackedBarChart.cs (1)
647 this.currentStackGroup = (string)this.stackGroupNames[groupIndex];
Common\ChartTypes\StackedColumnChart.cs (1)
657 this.currentStackGroup = (string)this.stackGroupNames[groupIndex];
Common\ChartTypes\StepLineChart.cs (2)
262 DataPoint3D secondPoint = (DataPoint3D)points[pointIndex]; 304 DataPoint3D p = (DataPoint3D)points[pointIndex + 1];
Common\ChartTypes\ThreeLineBreakChart.cs (4)
415 if(((double)highLowHistory[index]) > lineBreakHigh) 417 lineBreakHigh = ((double)highLowHistory[index]); 433 if(((double)highLowHistory[index]) < lineBreakLow) 435 lineBreakLow = ((double)highLowHistory[index]);
Common\Formulas\FormulaRegistry.cs (1)
152 return (string)_modulesNames[index];
Common\General\Axis.cs (7)
4098 int labelInsertIndex = (int)removedLabelsIndexes[labelIndex] + reInsertedLabelsCount; 4126 RectangleF rect1 = (RectangleF)labelPositions[index]; 4129 RectangleF rect2 = (RectangleF)labelPositions[index2]; 4687string newText = ((string[])labelTextRows[longestLabelIndex])[longestLabelRowIndex]; 4709((string[])labelTextRows[longestLabelIndex])[longestLabelRowIndex] = newText; 4720for (int rowIndex = 0; rowIndex < ((string[])labelTextRows[longestLabelIndex]).Length; rowIndex++) 4726label.Text += ((string[])labelTextRows[longestLabelIndex])[rowIndex];
Common\General\AxisScale.cs (1)
1208 strip.IntervalOffset = (double)_stripLineOffsets[index];
Common\General\AxisScaleBreaks.cs (3)
929 if(segmentIndex >= (int)excludedSegments[index] && 930 segmentIndex < (int)excludedSegments[index] + (int)excludedSegments[index + 1])
Common\General\Chart.cs (4)
1070 newPoint.AxisLabel = (string)axisLabels[index]; 1193 series = (Series)seriesList[seriesIndex]; 1340 sortedSeriesList.Add(seriesList[oldList.IndexOf(obj)]); 1376if ( String.Equals((string)dataSourceFields[i], xField, StringComparison.OrdinalIgnoreCase ) )
Common\General\ChartArea.cs (1)
2123IChartType chartType = Common.ChartTypeRegistry.GetChartType((string)ChartTypes[chartTypeIndex]);
Common\General\ChartAreaAxes.cs (1)
1907 double xValue = (double)xList[pointIndex];
Common\General\ChartGraphics.cs (1)
1625 ((HotRegion)common.HotRegionsList.List[common.HotRegionsList.List.Count - 1]).Type =
Common\General\ChartGraphics3D.cs (4)
1593 DataPoint3D p = (DataPoint3D)points[pointIndex + 1]; 2000 DataPoint3D p = (DataPoint3D)points[pointIndex + 1]; 2700 DataPoint3D point = (DataPoint3D)points[neighborPointIndex + 1]; 2714 DataPoint3D point = (DataPoint3D)points[neighborPointIndex - 1];
Common\General\Selection.cs (2)
2046HotRegion region = (HotRegion)regionList[index]; 2637HotRegion rgn = (HotRegion)hrList.List[i];
Common\Utilities\XmlSerializer.cs (2)
997 if(NameMatchMask((ItemInfo)contentList[itemIndex], className, out classFitType)) 999 if(NameMatchMask((ItemInfo)contentList[itemIndex + 1], propertyName, out propertyFitType))
System.Workflow.ComponentModel (21)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
128attributeType.GetProperty(propertyNames[loop]).SetValue(attribute, propertyValues[loop], null);
AuthoringOM\DependencyObject.cs (1)
419delegateHandler = Delegate.Combine(delegateHandler, handlers[i] as Delegate);
AuthoringOM\Design\CommandSet.cs (1)
522Activity activity = selectedObjects[i] as Activity;
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
162Activity activity = selectedComponents[i] as Activity;
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
147Activity selectedComponent = selectedComponents[i] as Activity;
AuthoringOM\Design\ReferenceService.cs (2)
209if (object.ReferenceEquals(((ReferenceHolder)this.references[i]).SitedComponent, component)) 291references[i] = ((ReferenceHolder)this.references[i]).Reference;
AuthoringOM\Design\WorkflowView.cs (4)
1714if (selectedComponents[i] is Activity) 1716ActivityDesigner activityDesigner = ActivityDesigner.GetDesigner(selectedComponents[i] as Activity); 1724else if (selectedComponents[i] is HitTestInfo) 1726rectangleToMakeVisible = ((HitTestInfo)selectedComponents[i]).Bounds;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (10)
2547char token = (argTokens[i] is char) ? (char)argTokens[i] : '\0'; 2553namedArgs.Add(argTokens[i - 1] as string, argTokens[i + 1] as string); 2560positionalArgs.Add(argTokens[i] as string); 2583positionalArgs[i] = XmlConvert.DecodeName((string)positionalArgs[i]); 2584string argVal = (string)positionalArgs[i]; 2587positionalArgs[i] = GetValueFromMarkupExtension(serializationManager, positionalArgs[i]); 2780else if (list.Count == 0 || list[list.Count - 1] is Char) 2804else if (list.Count > 0 && (list[list.Count - 1] is Char))
System.Xml (83)
System\Xml\Core\XsdValidatingReader.cs (4)
924ValidatingReaderNodeData attNode = (ValidatingReaderNodeData)defaultAttributes[defaultIndex]; 1011cachedNode = (ValidatingReaderNodeData)defaultAttributes[defaultIndex]; 1067cachedNode = (ValidatingReaderNodeData)defaultAttributes[defaultIndex]; 1784defaultNode = (ValidatingReaderNodeData)defaultAttributes[i];
System\Xml\Dom\DocumentSchemaValidator.cs (1)
382schemaAttribute = defaultAttributes[i] as XmlSchemaAttribute;
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
43return list[index];
System\Xml\Schema\Asttree.cs (8)
187((AxisElement)stack[i]).MoveToParent (depth, this.subtree); 205if (((AxisElement)stack[i]).MoveToChild(name, URN, depth, this.subtree)) { 231AxisElement eaxis = (AxisElement)this.stack[i]; 270AxisStack stack = new AxisStack ((ForwardAxis)axisTree.SubtreeArray[i], this); 285AxisStack stack = (AxisStack)this.axisStack[i]; 316((AxisStack)axisStack[i]).MoveToParent (localname, URN, this.currentDepth); 329if (((AxisStack)axisStack[i]).MoveToAttribute(localname, URN, this.currentDepth + 1)) { // don't change depth for attribute, but depth is add 1 508Axis ast = (Axis) AstArray[i];
System\Xml\Schema\ConstraintStruct.cs (2)
85get { return (KSpointer == 0) ? -1 : ((KSStruct) KSs[KSpointer - 1]).depth; } 111kss = (KSStruct) KSs[KSpointer];
System\Xml\Schema\ContentValidator.cs (5)
76if (particles[symbol] != particle) { 180return symbol == last ? particleLast : particles[symbol]; 220get { return (Position)positions[pos]; } 952XmlSchemaElement member = (XmlSchemaElement)grp.Members[i]; 1341int[] transition = (int[])transitionTable[state];
System\Xml\Schema\DataTypeImplementation.cs (1)
2847XmlQualifiedName notation = (XmlQualifiedName)dt.Restriction.Enumeration[i];
System\Xml\Schema\FacetChecker.cs (11)
721Regex regex = (Regex)restriction.Patterns[i]; 906if (value == valueConverter.ToDecimal(enumeration[i])) { 985if (value == valueConverter.ToDouble(enumeration[i])) { 1040if (TimeSpan.Compare(value, (TimeSpan)enumeration[i]) == 0) { 1096if (datatype.Compare(value, (DateTime)enumeration[i]) == 0) { 1168if (value.Equals(((Uri)enumeration[i]).OriginalString)) { 1175if (value.Equals((string)enumeration[i])) { 1275if (value.Equals((XmlQualifiedName)enumeration[i])) { 1328if (datatype.Compare(value, (byte[])enumeration[i]) == 0) { 1376if (datatype.Compare(value, enumeration[i]) == 0) { 1400if (datatype.Compare(value, enumeration[i]) == 0) { //Compare on Datatype_union will compare two XsdSimpleValue
System\Xml\Schema\Preprocessor.cs (1)
133PreprocessRedefine((RedefineEntry)redefinedList[i]);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
356XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 382XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i];
System\Xml\Schema\SchemaSetCompiler.cs (5)
400XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 407if (g.Members[j] != element) { //Exclude the head 411newMembers.Add(g.Members[j]); 419substitutionGroup.Members.Add(newMembers[i]); 980choice.Items.Add((XmlSchemaElement)substitutionGroup.Members[i]);
System\Xml\Schema\XmlSchemaSet.cs (11)
451importedNS = (string)schemaToRemove.ImportedNamespaces[i]; 472mainSchema = (XmlSchema)needToCheckSchemaList[i]; 486XmlSchema impSchema = (XmlSchema)schemaToRemove.ImportedSchemas[i]; 658XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]; 847XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]; 930XmlSchema s = (XmlSchema)schema.ImportedSchemas[i]; 957if (!oldSubstGroup.Members.Contains(substGroup.Members[i])) { 958oldSubstGroup.Members.Add(substGroup.Members[i]); 975XmlSchemaElement element = (XmlSchemaElement)substitutionGroup.Members[i]; 982XmlSchemaElement element1 = (XmlSchemaElement)g.Members[j]; 1266chameleonSchemas.Remove(removalList[j]);
System\Xml\Schema\XmlSchemaValidator.cs (8)
322XmlSchema impSchema = (XmlSchema)schema.ImportedSchemas[i]; 1884LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[j].axisFields[k]; 1919LocatedActiveAxis laxis = (LocatedActiveAxis)constraintStructures[i].axisFields[j]; 1958LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]; 2188currentParticle = expected[i-1] as XmlSchemaParticle; 2189nextParticle = expected[i] as XmlSchemaParticle; 2220builder.Append(expected[i].ToString()); 2247name = expected[i] as XmlQualifiedName;
System\Xml\Schema\XsdValidator.cs (3)
781LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[j].axisFields[k]; 818LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j]; 862LocatedActiveAxis laxis = (LocatedActiveAxis)constraints[i].axisFields[j];
System\Xml\Serialization\Compilation.cs (1)
286sb.Append(list[i].ToString());
System\Xml\Serialization\ImportContext.cs (4)
140XmlSchemaObject cachedItem = (XmlSchemaObject)list[i]; 181GetDependencies((XmlSchemaObject)list[i], deps, refs); 192object cachedHash = Hash[list[i]]; 205GetHash((XmlSchemaObject)items[i]);
System\Xml\Serialization\SchemaObjectWriter.cs (4)
186XmlAttribute attribute = (XmlAttribute)attrs[i]; 244Write3_XmlSchemaObject((XmlSchemaObject)list[i]); 501XmlQualifiedName q = (XmlQualifiedName)list[i]; 548XmlSchemaObject ai = (XmlSchemaObject)a[ia];
System\Xml\Serialization\XmlReflectionImporter.cs (2)
792MemberMapping member = (MemberMapping)members[i]; 1993return (ImportStructWorkItem)list[index];
System\Xml\Serialization\XmlSerializationReader.cs (3)
1466Fixup fixup = (Fixup)fixups[i]; 1472CollectionFixup collectionFixup = (CollectionFixup)collectionFixups[i]; 3521AttributeAccessor attribute = (AttributeAccessor)attributes[i];
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2061AttributeAccessor attribute = (AttributeAccessor)attributes[i];
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1251WriteReferencedElement(referencesToWrite[i], null);
System\Xml\XPath\Internal\QueryBuilder.cs (1)
385argList.Add(ProcessNode((AstNode)args[count], Flags.None, out argProps));
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
25this.arr[i] = new XPathArrayIterator((ArrayList) inputArray[i]);
System\Xml\XPath\Internal\XPathParser.cs (2)
471AstNode arg = (AstNode)argList[i]; 486AstNode arg = (AstNode)argList[i];
UIAutomationClient (6)
MS\Internal\Automation\ClientEventManager.cs (4)
176EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 316EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 576EventListenerClientSide ec = (EventListenerClientSide)_listeners[i]; 640EventListenerClientSide ec = (EventListenerClientSide)_listeners[i];
MS\Internal\Automation\ProxyManager.cs (1)
627entry = array[i];
MS\Internal\Automation\WinEventWrap.cs (1)
178handlers[i] = _clientCallbacks[i];
UIAutomationClientsideProviders (15)
MS\Internal\AutomationProxies\ClickablePoint.cs (2)
428CPRect ro = (CPRect)alIn[i]; 447CPRect r = (CPRect)al[i];
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
121Accessible ancestor = (Accessible)actualParentChain[i];
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
155return GetGroupRcInternal((Group)_groups[index]); 164groupIds[i] = ((Group)_groups[i])._groupID; 175Group group = (Group)_groups[i]; 193return ((Group)_groups[index])._groupID; 207Group group = (Group)_groups[i]; 369current = (Group)(_groups[i]); 458Group group = (Group)manager._groups[i];
MS\Internal\AutomationProxies\WindowsTab.cs (1)
423selection[i] = (ProxySimple)list[i];
MS\Internal\AutomationProxies\WinEventTracker.cs (4)
251EventCreateParams ecp = (EventCreateParams)eventCreateParams[index]; 304EventCreateParams ecp = (EventCreateParams)eventCreateParams[index]; 421EventCreateParams ecp = (EventCreateParams)eventCreateParams[index]; 455EventCreateParams ecp = (EventCreateParams)eventCreateParams[index];
WindowsBase (12)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (4)
913IZipIOBlock currentBlock = (IZipIOBlock)_blockList[i]; 934if (((IZipIOBlock)_blockList[j]).PreSaveNotification(currentBlockOffset, currentBlockSize) == 979IZipIOBlock currentBlock = (IZipIOBlock)_blockList[i]; 1176ZipIORawDataFileBlock rawBlock = _blockList[blockIndex] as ZipIORawDataFileBlock;
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (1)
865(ZipIOModeEnforcingStream)_exposedPublicStreams[i];
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
670string newElement = (string)newList[i];
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
707dataTransforms.Add(this.GetTransformFromName(transformsList[i] as string));
Shared\MS\Internal\CopyOnWriteList.cs (1)
161if(obj == _LiveList[i])
Shared\MS\Internal\WeakReferenceList.cs (4)
185WeakReference weakRef = (WeakReference) list[i]; 229WeakReference wr = (WeakReference)list[destIndex]; 246WeakReference wr = (WeakReference)list[i]; 249list[destIndex++] = list[i];
WsatUI (2)
MMCUI\WsatSecurityModel.cs (2)
161string sid = ((new NTAccount((string)kerb[i])).Translate(typeof(SecurityIdentifier))).ToString(); 177kerb.RemoveAt((int)indexesOfInvalidItems[i]);