71 implementations of
mscorlib (5)
system\arraysegment.cs (1)
146T IList<T>.this[int index]
system\collections\generic\list.cs (2)
174public T this[int index] { 1107public T this[int index] {
system\collections\objectmodel\collection.cs (1)
46public T this[int index] {
system\collections\objectmodel\readonlycollection.cs (1)
68T IList<T>.this[int index] {
PresentationCore (32)
Core\CSharp\MS\Internal\PartialArray.cs (1)
101public T this[int index]
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
98public double this[int index]
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
82public Point this[int index]
Core\CSharp\System\Windows\FreezableCollection.cs (1)
334public T this[int index]
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
237public TextDecoration this[int index]
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
245public Timeline this[int index]
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
244public BitmapEffect this[int index]
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
197public FontFamilyMap this[int index]
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
183public FamilyTypeface this[int index]
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
211public double this[int index]
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
258public Drawing this[int index]
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
246public GeneralTransform this[int index]
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
258public Geometry this[int index]
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
246public GradientStop this[int index]
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
211public int this[int index]
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
247public PathFigure this[int index]
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
246public PathSegment this[int index]
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
211public Point this[int index]
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
246public TextEffect this[int index]
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
258public Transform this[int index]
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
211public Vector this[int index]
Core\CSharp\System\Windows\Media\GlyphRun.cs (2)
2149public bool this[int index] 2251public ushort this[int index]
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
242public GeneralTransform3D this[int index]
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
254public Material this[int index]
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
254public Model3D this[int index]
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
207public Point3D this[int index]
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
254public Transform3D this[int index]
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
207public Vector3D this[int index]
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
266public Visual3D this[int index]
Shared\MS\Internal\CharacterBuffer.cs (1)
87public abstract char this[int index]
Shared\MS\Internal\PartialList.cs (1)
83public T this[int index]
PresentationFramework (10)
src\Framework\MS\Internal\Data\RBTree.cs (1)
520public T this[int index]
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
551public abstract TItem this[int index]
src\Framework\MS\Internal\ListOfObject.cs (1)
38object IList<object>.this[int index]
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
132Uri IList<Uri>.this[int index]
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
383public DataGridCellInfo this[int index]
src\Framework\System\Windows\Documents\TableCellCollection.cs (1)
440public TableCell this[int index]
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
449public TableColumn this[int index]
src\Framework\System\Windows\Documents\TableRowCollection.cs (1)
440public TableRow this[int index]
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (1)
439public TableRowGroup this[int index]
src\Framework\System\Windows\TriggerActionCollection.cs (1)
160public TriggerAction this[int index]
System (2)
compmod\system\collections\generic\sortedlist.cs (2)
977public TKey this[int index] { 1077public TValue this[int index] {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
49public abstract ModelItem this[int index] { get; set; }
System.AddIn (1)
System\Addin\Pipeline\ContractListAdapter.cs (1)
55public U this[int index] {
System.Core (5)
Microsoft\Scripting\Ast\BlockExpression.cs (1)
534public Expression this[int index] {
Microsoft\Scripting\Ast\ListArgumentProvider.cs (1)
69public Expression this[int index] {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
173public T this[int index] {
System\Linq\Enumerable.cs (1)
2367TElement IList<TElement>.this[int index] {
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
106public T this[int index]
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
49public abstract ModelItem this[int index] { get; set; }
System.Data.Entity (3)
System\Data\Common\Utils\ThreadSafeList.cs (1)
58public T this[int index]
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
135public IRelationshipEnd this[int index]
System\Data\Metadata\Edm\MetadataCollection.cs (1)
144public virtual T this[int index]
System.Data.Linq (1)
Types.cs (1)
191public TEntity this[int index] {
System.Data.SqlXml (4)
System\Xml\Xsl\ListBase.cs (1)
26public abstract T this[int index] { get; set; }
System\Xml\Xsl\QIL\QilNode.cs (1)
112public virtual QilNode this[int index] {
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
294public T this[int index] { 651XPathItem IList<XPathItem>.this[int index] {
System.ServiceModel (2)
System\ServiceModel\SynchronizedCollection.cs (1)
72public T this[int index]
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
132T IList<T>.this[int index]
System.Workflow.ComponentModel (2)
AuthoringOM\ActivitiesCollection.cs (1)
82Activity IList<Activity>.this[int index]
AuthoringOM\ItemList.cs (1)
149T IList<T>.this[int index]
System.WorkflowServices (1)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
121OperationParameterInfo IList<OperationParameterInfo>.this[int index]
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
88T IList<T>.this[int index] {
89 writes to
mscorlib (4)
system\collections\objectmodel\collection.cs (1)
142items[index] = item;
system\rttype.cs (3)
1052types[i] = types[i].MakeArrayType(); 1054types[i] = types[i].MakeArrayType(template.GetArrayRank()); 1058types[i] = types[i].MakePointerType();
PresentationCore (63)
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (53)
735characterClass[counter + classIndex] = resolutionType; 757characterClass[counter + classIndex] = newClass; 875characterClass[counter + classIndex] = DirectionClass.Right; 925characterClass[counter + classIndex] = DirectionClass.Right; 972characterClass[counter + classIndex] = DirectionClass.Right; 980characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1015characterClass[counter + classIndex] = DirectionClass.Left; 1071characterClass[counter + classIndex] = DirectionClass.Right; 1114characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1120characterClass[counter + classIndex] = DirectionClass.Left; 1260characterClass[counter + classIndex] = DirectionClass.Left; 1264characterClass[counter + classIndex] = DirectionClass.EuropeanNumber; 1283characterClass[counter + 1 + classIndex] = DirectionClass.GenericNeutral; 1318characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1323characterClass[counter + classIndex] = DirectionClass.Left; 1347characterClass[counter + classIndex] = DirectionClass.Left; 1377characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1382characterClass[counter + classIndex] = DirectionClass.Left; 1421characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1459characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1484characterClass[counter + classIndex] = DirectionClass.Left; 1542characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1547characterClass[counter + classIndex] = DirectionClass.EuropeanNumber; 1553characterClass[counter + classIndex] = DirectionClass.Right; 1558characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1563characterClass[counter + classIndex] = ArabicNumberAfterLeft 1586characterClass[counter + classIndex] = lastClass; 1705levels[counter+index] = paragraphEmbeddingLevel; 1709levels[counter+index] = 1716levels[counter+index-1] = levels[counter+index]; 2065characterClass[counter] = tempClass; 2071characterClass[counter] = DirectionClass.GenericNeutral; 2090levels[neutralIndex] = neutralLevel; 2098levels[counter] = lastPathClass == 2 ? nonBidiLevel : bidiLevel; 2103levels[counter + 1] = levels[counter]; 2116levels[j] = baseLevel; 2142levels[neutralIndex] = neutralLevel; 2183levels[counter] = levelsStack.GetCurrentLevel(); 2196levels[counter] = ParagraphTerminatorLevel; 2216characterClass[counter] = DirectionClass.GenericNeutral; 2222levels[counter-1] = levels[counter]; 2231characterClass[counter] = DirectionClass.BoundaryNeutral; 2254levels[counter] = lastNonBnLevel; 2260characterClass[counter] = DirectionClass.BoundaryNeutral; 2285levels[counter] = lastNonBnLevel; 2289characterClass[counter] = DirectionClass.BoundaryNeutral; 2327levels[counter] = lastNonBnLevel; 2344characterClass[counter] = currentClass; 2349characterClass[counter] = (overrideClass == OverrideClass.OverrideClassLeft) ? 2357levels[counter-1] = levels[counter]; 2367levels[counter+1] = levels[counter]; 2368characterClass[counter+1] = characterClass[counter]; 2405levels[runLimits[counter]] = baseLevel;
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
377_glyphOffsets[i] = new Point(
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
3145adjustedAdvanceWidths[i] = realRoundedAdvanceWidth; 3149adjustedAdvanceWidths[indexOfLastKnownSpace] -= error; 3184adjustedAdvanceWidths[i] = realRoundedAdvanceWidth - error; 3280glyphAdvances[i] = textFormatterImp.IdealToReal(piJustifiedGlyphAdvances[i], currentLine.PixelsPerDip); 3281glyphOffsets[i] = new Point( 3426charWidths[i] = textFormatterImp.IdealToReal(piCharAdvances[i], Draw.CurrentLine.PixelsPerDip);
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
946displayGlyphAdvances[i] = _settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip); 1794displayGlyphAdvances[i] = _textFormatterImp.IdealToReal(NominalAdvances[i], _pixelsPerDip);
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (1)
551activeEffects[effectIndex++] = effect;
PresentationFramework (4)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
1265additionalLocators[i] = ((ContentLocatorBase)initialLocator.Clone()).Merge(additionalLocators[i]);
src\Framework\MS\Internal\Annotations\AnnotationObservableCollection.cs (1)
168Items[index] = item; // directly set Collection<T> inner Items collection
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (1)
126Items[index] = item; // directly set Collection<T> inner Items collection
src\Framework\System\Windows\ResourceDictionary.cs (1)
1320staticResources[i] = new StaticResourceHolder(keyValue, obj as DeferredResourceReference);
System.Activities (2)
System\Activities\Validation\ExtensionMethods.cs (2)
122items[i] = items[j]; 123items[j] = temp;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
582this.TextExpressionNamespaces[index] = ns.Namespace;
System.AddIn (1)
System\Addin\Pipeline\ListContractAdapter.cs (1)
84m_list[index] = m_unwrapper(item);
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
582this.TextExpressionNamespaces[index] = ns.Namespace;
System.Data.Entity (2)
System\Data\Common\Utils\Helpers.cs (2)
136nodes[writePos++] = combinator(nodes[readPos], nodes[readPos + 1]); 142nodes[updatePos] = combinator(nodes[updatePos], nodes[nodesToPair]);
System.Data.SqlXml (9)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
4342globals[newIdx] = globals[oldIdx];
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (1)
94this.whitespaceRules[idx] = new WhitespaceRule(dataReader);
System\Xml\Xsl\XPath\XPathBuilder.cs (2)
900args[i] = f.ConvertToType(XmlTypeCode.String, args[i]); 907args[i] = f.ConvertToType(argTypes[i], args[i]);
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (5)
179args[i] = f.SafeDocOrderDistinct(args[i]); 203case XmlTypeCode.Boolean: args[i] = f.ConvertToBoolean(args[i]); break; 204case XmlTypeCode.Double: args[i] = f.ConvertToNumber(args[i]); break; 205case XmlTypeCode.String: args[i] = f.ConvertToString(args[i]); break; 206case XmlTypeCode.Node: args[i] = xmlTypeFormalArg.IsSingleton ? f.ConvertToNode(args[i]) : f.ConvertToNodeSet(args[i]); break;
System.Workflow.Runtime (2)
Tracking\SqlTrackingService.cs (2)
2221record.Body[i] = SerializeDataItem(record.Body[i]); 2248record.Body[i] = SerializeDataItem(record.Body[i]);
947 references to
mscorlib (36)
system\AggregateException.cs (3)
164exceptionsCopy[i] = innerExceptions[i]; 242var edi = innerExceptionInfos[i]; 412Exception currentInnerException = currentInnerExceptions[i];
system\collections\concurrent\OrderablePartitioner.cs (1)
184partitions[i] = new EnumeratorDropIndices(orderablePartitions[i]);
system\collections\concurrent\PartitionerStatic.cs (2)
1278m_sharedReader[m_startIndex + m_localOffset.Value]); 1588return (new KeyValuePair<long, TSource>(m_offset, m_list[m_offset]));
system\collections\objectmodel\collection.cs (3)
47get { return items[index]; } 224objects[index++] = items[i]; 234get { return items[index]; }
system\collections\objectmodel\keyedcollection.cs (3)
122if (comparer.Equals(GetKeyForItem(Items[i]), key)) { 173TKey key = GetKeyForItem(Items[index]); 182TKey oldKey = GetKeyForItem(Items[index]);
system\collections\objectmodel\readonlycollection.cs (4)
39get { return list[index]; } 69get { return list[index]; } 169objects[index++] = list[i]; 187get { return list[index]; }
system\reflection\customattribute.cs (6)
344if (attrs[i].Constructor.DeclaringType == caType) 346return attrs[i].ConstructorArguments[parameter]; 506ctorArgs += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", ConstructorArguments[i]); 510namedArgs += String.Format(CultureInfo.CurrentCulture, i == 0 && ctorArgs.Length == 0 ? "{0}" : ", {0}", NamedArguments[i]); 942result += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", array[i].ToString(elementType != typeof(object)));
system\rttype.cs (5)
1052types[i] = types[i].MakeArrayType(); 1054types[i] = types[i].MakeArrayType(template.GetArrayRank()); 1058types[i] = types[i].MakePointerType(); 1792if (Object.ReferenceEquals(attrs[i].Constructor.DeclaringType, DefaultMemberAttrType)) 1794attr = attrs[i];
system\runtime\interopservices\marshal.cs (2)
2358if (cas[i].Constructor.DeclaringType == typeof(ProgIdAttribute)) 2361IList<CustomAttributeTypedArgument> caConstructorArgs = cas[i].ConstructorArguments;
system\threading\Tasks\Parallel.cs (5)
23540, list.Count, parallelOptions, (i) => body(list[i]), null, null, null, null); 23590, list.Count, parallelOptions, null, (i, state) => bodyWithState(list[i], state), null, null, null); 23640, list.Count, parallelOptions, null, (i, state) => bodyWithStateAndIndex(list[i], state, i), null, null, null); 23690, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithStateAndLocal(list[i], state, local), localInit, localFinally); 23740, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithEverything(list[i], state, i, local), localInit, localFinally);
system\threading\Tasks\TaskFactory.cs (2)
2461var task = tasks[i]; 2488var task = tasks[i];
PresentationBuildTasks (11)
Core\CSharp\MS\internal\Media\ParserStreamGeometryContext.cs (2)
683XamlSerializationHelper.WriteDouble(_bw, points[i].X); 684XamlSerializationHelper.WriteDouble(_bw, points[i].Y);
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
4898if( attributes[i].Constructor.ReflectedType == KnownTypes.Types[(int)KnownElements.ContentWrapperAttribute] ) 4908contentWrapper = attributes[i].ConstructorArguments[0].Value as Type;
Framework\System\Windows\Markup\XmlnsCache.cs (4)
237CustomAttributeData data = allAttributes[i]; 241foundAttributes.Add(allAttributes[i]); 257CustomAttributeTypedArgument tca = constructorArguments[i]; 277CustomAttributeTypedArgument tca = constructorArguments[i];
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
229attrValue = GetCustomAttributeData(list[j], attrType, out typeValue, allowTypeAlso, false, allowZeroArgs); 262cad = list[j]; 463friendAssemblyName = GetCustomAttributeData(list[j], typeof(InternalsVisibleToAttribute), out typeValue, false, false, false);
PresentationCore (142)
Core\CSharp\MS\Internal\IListConverters.cs (4)
135builder.Append(list[i].ToString(culture)); 176builder.Append(list[i].ToString(culture)); 217builder.Append((list[i] ? 1 : 0)); 259builder.Append((string) converter.ConvertTo(context, culture, list[i], typeof(string)));
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (2)
683XamlSerializationHelper.WriteDouble(_bw, points[i].X); 684XamlSerializationHelper.WriteDouble(_bw, points[i].Y);
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
196ScaledShapeTypeface scaledShapeTypeface = _cachedScaledTypefaces[index]; 462if(scaledTypeface.Equals(_cachedScaledTypefaces[i]))
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (58)
731Debug.Assert(CharProperty[2, (int) characterClass[counter + classIndex]]==0, 733characterClass[counter + classIndex].ToString()); 756Debug.Assert(CharProperty[2, (int) characterClass[counter + classIndex]]==0, "Changing class of a fixed class"); 835currentClass = characterClass[counter + classIndex]; 886characterClass[counter + classIndex], 932characterClass[counter + classIndex], 986if (characterClass[i + classIndex] != DirectionClass.CommonSeparator && 987characterClass[i + classIndex] != DirectionClass.BoundaryNeutral) 993if (characterClass[i + classIndex] == DirectionClass.CommonSeparator ) 1006characterClass[counter + classIndex]); 1026characterClass[counter + classIndex], 1056if (characterClass[counter + classIndex] == DirectionClass.ArabicNumber) 1078characterClass[counter + classIndex], 1127characterClass[counter + classIndex], 1270characterClass[counter + classIndex]); 1280(characterClass[counter + 1 + classIndex] == DirectionClass.EuropeanSeparator|| 1281characterClass[counter + 1 + classIndex] == DirectionClass.CommonSeparator)) 1333characterClass[counter + classIndex]); 1358characterClass[counter + classIndex], 1393characterClass[counter + classIndex], 1439characterClass[counter + classIndex], 1444lastClass = characterClass[counter + classIndex]; 1469characterClass[counter + classIndex], 1478characterClass[counter + classIndex], 1489characterClass[counter + classIndex]); 1497characterClass[counter + classIndex], 1578characterClass[counter + classIndex]); 1684Invariant.Assert(CharProperty[3, (int) characterClass[counter+index]]==1, 1710(byte)((ImplictPush[Helper.IsOdd(levels[counter+index]) ? 1 : 0, 1711(int)characterClass[index+counter]]) + levels[counter+index]); 1716levels[counter+index-1] = levels[counter+index]; 2041hiddenCharClass = characterClass[i]; // In case EN resolution is overridden. 2103levels[counter + 1] = levels[counter]; 2218if (counter>0 && characterClass[counter-1] == DirectionClass.BoundaryNeutral) 2220if (levels[counter-1] < levels[counter] && levels[counter] != ParagraphTerminatorLevel) 2222levels[counter-1] = levels[counter]; 2339Invariant.Assert(characterClass[counter] == DirectionClass.ArabicNumber || characterClass[counter] == DirectionClass.EuropeanNumber); 2353if (counter>0 && characterClass[counter-1]==DirectionClass.BoundaryNeutral) 2355if (levels[counter-1] < levels[counter]) 2357levels[counter-1] = levels[counter]; 2363lastNonBnLevel = levels[counter]; 2367levels[counter+1] = levels[counter]; 2368characterClass[counter+1] = characterClass[counter]; 2371hiddenCharClass = characterClass[counter]; 2403currenLimitIsParagraphTerminator = (levels[runLimits[counter]] == ParagraphTerminatorLevel); 2430sor = Helper.IsOdd(Math.Max(baseLevel, levels[runStart])) ? 2435sor = Helper.IsOdd(Math.Max(lastRunLevel, levels[runStart])) ? 2439lastRunLevel = levels[runStart]; 2445eor = Helper.IsOdd(Math.Max(levels[runStart], baseLevel)) ? 2455characterClass[runLimits[runNumber]] == DirectionClass.BoundaryNeutral) 2460eor = Helper.IsOdd(Math.Max(levels[runStart], levels[runLimits[runNumber-1] + 1])) ? 2472levels[runStart],
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
102TextShapeableSymbols current = shapeables[i] as TextShapeableSymbols;
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
265TextTabProperties tab = (TextTabProperties)pap.Tabs[i];
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
285TextEffect textEffect = _textEffects[i];
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
70this[i] = realValues[i];
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (2)
60_xArray[i] = pointValues[i].X; 61_yArray[i] = pointValues[i].Y;
Core\CSharp\System\Windows\Input\ManipulationLogic.cs (1)
438_manipulationProcessor.SetParameters(parameters[i]);
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (5)
111_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 131_ownerStorage.AttachAnimationClock(animationClocks[i], _removeRequestedHandler); 204animationClockList.Add(_animationClocks[i]); 212AnimationClock clock = newAnimationClocks[i]; 267AnimationClock clock = _animationClocks[i];
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (8)
657Debug.Assert(animationClocks[i] != null); 659storage._animationClocks.Add(animationClocks[i]); 660storage.AttachAnimationClock(animationClocks[i], storage._removeRequestedHandler); 680newClockCollection.Add(animationClocks[i]); 681storage.AttachAnimationClock(animationClocks[i], storage._removeRequestedHandler); 759for (int i = 0; i < count && keys[i] < propertyTriggerLayerIndex; i++) 763propertyTriggerLayers.TryGetValue(keys[i], out currentLayer); 953currentPropertyValue = layers[i].GetCurrentValue(currentPropertyValue);
Core\CSharp\System\Windows\Media\ByteStreamGeometryContext.cs (1)
740Point p = points[i];
Core\CSharp\System\Windows\Media\GlyphRun.cs (35)
406ushort current = clusterMap[i]; 413if (clusterMap[i] < clusterMap[i - 1]) 416if (clusterMap[i] >= GlyphCount) 558if (currentCodepoint >= clusterMap.Count || clusterMap[currentCodepoint] != clusterMap[clusterCodepointStart]) 569clusterGlyphEnd = clusterMap[currentCodepoint]; 571for (int i = clusterMap[clusterCodepointStart]; i < clusterGlyphEnd; ++i) 572clusterWidth += advances[i]; 632if (i < clusterMap.Count && clusterMap[i] == clusterMap[currentClusterStart]) 638ushort lastGlyphInCluster = i < clusterMap.Count ? clusterMap[i] : (ushort)advances.Count; 640Debug.Assert(clusterMap[currentClusterStart] < lastGlyphInCluster); 643for (int j = clusterMap[currentClusterStart]; j < lastGlyphInCluster; ++j) 644clusterAdvance += advances[j]; 652if (caretStops[j]) 677if (caretStops[caretStops.Count - 1]) 693if (caretStops[caretStops.Count - 1]) 1235return _glyphOffsets[i]; 1354accAdvance += _advanceWidths[i]; 1515accAdvance += _advanceWidths[i]; 1551accAdvance += _advanceWidths[i]; 1596ushort glyphIndex = _glyphIndices[i]; 1615accAdvance += _advanceWidths[i]; 1969pGlyphIndices[i] = _glyphIndices[i]; 1978ushort glyphIndex = _glyphIndices[i]; 1992pAdvanceWidths[i] = (float)_advanceWidths[i]; 2000float advanceWidth = (float)_advanceWidths[i]; 2016pOffsets[2*i] = (float)_glyphOffsets[i].X; 2017pOffsets[2*i+1] = (float)_glyphOffsets[i].Y; 2025float x = (float)_glyphOffsets[i].X; 2026float y = (float)_glyphOffsets[i].Y; 2085if (caretStops[i]) 2098if (caretStops[i]) 2114if (caretStops[lastStop])
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (12)
100glyphClusterStart = _clusters[characterIndex]; 106if (_clusters[characterIndex] != glyphClusterStart) 109Debug.Assert(_clusters[characterIndex] > glyphClusterStart); 110AddCluster(glyphClusterStart - _glyphClusterInitialOffset, _clusters[characterIndex] - _glyphClusterInitialOffset, charClusterStart, characterIndex); 113glyphClusterStart = _clusters[characterIndex]; 177ushort fontIndex = _indices[glyph]; 190int normalizedAdvance = (int)Math.Round(_advances[glyph] * _milToEm); 203int offset = (int)Math.Round(_offsets[glyph].X * _milToEm); 211offset = (int)Math.Round(_offsets[glyph].Y * _milToEm); 250sourceCharacter = _characters[charClusterStart]; 272if (!_caretStops[i]) 294if (_caretStops[i])
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
500SaveFrame(frameEncodeHandle, encoderOptions, _frames[i]); 744colorContextPtrs[i] = colorContexts[i].ColorContextHandle.DangerousGetHandle();
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (2)
67colorArray[i] = colors[i]; 327Color color = _colors[i];
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
337_currentSegmentPoints.Add(points[i]);
Core\CSharp\System\Windows\ReverseInheritProperty.cs (1)
75SetCacheFlagInAncestry(otherOrigins[i], true, null, false, /*setOriginCacheFlag*/ false);
Shared\MS\Internal\PartialList.cs (2)
87return _list[index + _initialIndex]; 164yield return _list[i];
PresentationFramework (87)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (10)
131if (pageEl.Count > 0 && ((FixedPageProxy)pageEl[pageEl.Count - 1]).Page == startPage) 146((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, end)); 151((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, PointSegment.NotAPoint)); 152((FixedPageProxy)pageEl[firstPage + numOfPages]).Segments.Add(new PointSegment(PointSegment.NotAPoint, end)); 227if (!double.IsNaN(fp.Segments[i].Start.X)) 229value += fp.Segments[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo); 236if (!double.IsNaN(fp.Segments[i].End.X)) 238value += fp.Segments[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + fp.Segments[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
1012data = ResolveSingleLocator(ref selection, ref attachmentLevel, AttachmentLevel.MiddlePortion, locators[i], offset, startNode, skipStartNode); 1030data = ResolveSingleLocator(ref selection, ref attachmentLevel, AttachmentLevel.EndPortion, locators[locators.Count - 1], offset, startNode, skipStartNode); 1265additionalLocators[i] = ((ContentLocatorBase)initialLocator.Clone()).Merge(additionalLocators[i]);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
177GetTextSegmentValues(textSegments[i], elementStart, elementEnd, out startOffset, out endOffset);
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
252ITextPointer end = segments[segments.Count - 1].End;
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (7)
662Debug.Assert(owners[i] != null, "null owner"); 848if (r1[i].Segment.Contains(ps2)) 850IList<HighlightSegment> r2 = r1[i].Split(ps2, LogicalDirection.Backward); 852res.Add(r2[j]); 856if (!r2.Contains(r1[i])) 857r1[i].Discard(); 861res.Add(r1[i]);
src\Framework\MS\Internal\Data\DifferencingCollection.cs (6)
66if (index < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index])) 76if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 82target = list[index]; 96if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 101if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index])) 166if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index]))
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
280Rect rect = textBounds[boundIndex].Rectangle; 387return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2092Rect rect = TransformToVisualSpace(bounds[i]); 2171Rect rect = bounds[i];
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (2)
355BamlTreeNode newNode = newChildren[nodeIndex++]; 392BamlTreeNode newNode = newChildren[nodeIndex];
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
750UpdateElementBounds(elements[i], matrix);
src\Framework\MS\Internal\PtsHost\Line.cs (3)
533Rect rect = textBounds[boundIndex].Rectangle; 874return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 950TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun;
src\Framework\MS\Internal\PtsHost\PtsHost.cs (1)
1601TextBreakpoint textBreakpoint = textBreakpoints[breakIndex];
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
2120RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2237RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]);
src\Framework\MS\Internal\Text\Line.cs (2)
192Rect rect = textBounds[boundIndex].Rectangle; 429return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
658TextAnchor ta = attachedAnnotations[i].AttachedAnchor as TextAnchor;
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
403loc.Parts.Add(additionalLocatorParts[i]);
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
348DataGridCellItemAutomationPeer cellPeer = GetCellItemPeer(e.AddedCells[i]); 360DataGridCellItemAutomationPeer cellPeer = GetCellItemPeer(e.RemovedCells[i]);
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (2)
178return (ProviderFromPeer(GetOrCreateCellItemPeer(columns[startIndex]))); 185currentItemPeer = GetOrCreateCellItemPeer(columns[i]);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (3)
213UnRegisterItem(Items[index]); 237oldItem = Items[index]; 243RegisterItem(Items[index]);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2433Rect rect = aryTextBounds[j];
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
214ToolBar currentToolBar = Items[index];
src\Framework\System\Windows\Controls\Validation.cs (1)
403VisualStateGroup g = groups[groupIndex];
src\Framework\System\Windows\Data\BindingGroup.cs (5)
873_itemsRW.Add(newItems[i]); 878IEditableObject ieo = newItems[i].Target as IEditableObject; 888indei = newItems[i].Target as INotifyDataErrorInfo; 892UpdateNotifyDataErrors(indei, newItems[i]); 1302if (ItemsControl.EqualsEx(item, list[i].Target))
src\Framework\System\Windows\Documents\DocumentReferenceCollection.cs (1)
110return _InternalList[index];
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (10)
165_pageConstructor._AddLine(_lastPoint, points[i], _transform); 166_lastPoint = points[i]; 171_lastPoint = points[points.Count - 1]; 178GatherBounds(points[i]); 185_lastPoint = points[points.Count - 1]; 191_lastPoint = points[points.Count - 1]; 449glyphIndex = glyphRun.ClusterMap[charIndex]; 456double advFont = typeFace.AdvanceWidths[glyphRun.GlyphIndices[glyphIndex]] * glyphRun.FontRenderingEmSize; 457double advSpecified = glyphRun.AdvanceWidths[glyphIndex]; 465advWidth += glyphRun.AdvanceWidths[i];
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
140run._defaultCharWidth = gtf.XHeight > 0 ? gtf.XHeight * glyphs.FontRenderingEmSize : glyphRun.AdvanceWidths[startIndex];
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
471return run.CaretStops == null || run.CaretStops[fixedp.Offset];
src\Framework\System\Windows\Documents\PageContentCollection.cs (1)
110return InternalList[pageIndex];
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (5)
217change = Changes.Values[keyIndex]; 291TextChange prevChange = Changes.Values[curIndex]; 317while (curIndex < Changes.Count && Changes.Values[curIndex].Offset <= offset + length) 322MergeTextChangeRight(Changes.Values[curIndex], change, offset, length); 339TextChange curChange = Changes.Values[curIndex];
src\Framework\System\Windows\ResourceDictionary.cs (3)
1220KeyRecord keyRecord = keyCollection[i]; 1287var optimizedStaticResource = staticResources[i] as OptimizedStaticResource; 1295var staticResource = staticResources[i] as StaticResource;
src\Framework\System\Windows\Standard\Utilities.cs (4)
156int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel; 163int score = _MatchImage(frames[i], bitDepth, width, height, currentIconBitDepth); 181return frames[bestIndex];
src\Framework\System\Windows\VisualStateManager.cs (1)
196VisualStateGroup g = groups[groupIndex];
System (6)
net\System\Net\mail\MailAddressCollection.cs (1)
51this.Add(result[i]);
net\System\Net\Sockets\_OverlappedAsyncResult.cs (1)
149buffersCopy[i] = buffers[i];
net\System\Net\Sockets\Socket.cs (2)
1335ArraySegment<byte> buffer = buffers[i]; 1871ArraySegment<byte> buffer = buffers[i];
net\System\Net\webproxy.cs (1)
652proxyUris[i] = ProxyUri(proxyList[i]);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
608ArraySegment<byte> sendBuffer = sendBuffers[index];
System.Activities (111)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
88AssemblyName xsCtxAssemblyName = VisualBasicHelper.GetFastAssemblyName(xsCtxReferenceAssemblies[i]); 94newImportReference.EarlyBoundAssembly = xsCtxReferenceAssemblies[i];
System\Activities\Activity.cs (5)
722RuntimeArgument argument = this.arguments[i]; 762ActivityUtilities.Add(ref newList, this.tempValidationErrors[i]); 1104this.arguments.Add(this.tempAutoGeneratedArguments[i]); 1125ValidationError validationError = this.tempValidationErrors[i]; 1936RuntimeArgument argument = runtimeArguments[i];
System\Activities\ActivityDelegate.cs (1)
229RuntimeDelegateArgument runtimeDelegateArgument = this.RuntimeDelegateArguments[argumentIndex];
System\Activities\ActivityInstance.cs (13)
896RuntimeArgument argument = runtimeArguments[dynamicUpdateArgumentIndexes[i]]; 984RuntimeArgument argument = runtimeArguments[i]; 1025Variable newVariable = runtimeVariables[dynamicUpdateVariableIndexes[i]]; 1051implementationVariables[i].DeclareLocation(executor, this); 1056runtimeVariables[i].DeclareLocation(executor, this); 1061completedSynchronously &= ResolveVariable(implementationVariables[i], executor); 1066completedSynchronously &= ResolveVariable(runtimeVariables[i], executor); 1232RuntimeArgument argument = this.Activity.RuntimeArguments[i]; 1589ActivityInstanceReference reference = this.MultipleItems[i]; 1608instanceMap.RemoveEntry(this.MultipleItems[i]); 1674base.MultipleItems[i].FixupInstance(parent, instanceMap, executor);
System\Activities\ActivityUtilities.cs (12)
467RuntimeArgument argument = targetActivity.RuntimeArguments[i]; 532Activity childActivity = children[i]; 556RuntimeArgument argument = arguments[i]; 587Variable variable = variables[i]; 611ActivityDelegate activityDelegate = delegates[i]; 682RuntimeDelegateArgument delegateArgument = activity.HandlerOf.RuntimeDelegateArguments[i]; 739ValidationError validationError = tempValidationErrors[i]; 936SetupForProcessing(children[i], canBeExecuted, ref nextActivity, ref activitiesRemaining); 944SetupForProcessing(delegates[i], canBeExecuted, ref nextActivity, ref activitiesRemaining); 952SetupForProcessing(variables[i], ref nextActivity, ref activitiesRemaining); 960SetupForProcessing(arguments[i], ref nextActivity, ref activitiesRemaining); 1196return this.multipleItems[index];
System\Activities\DynamicUpdate\ActivityComparer.cs (6)
88if (!comparer(currentMembers[i], originalMembers[i])) 402RuntimeArgument originalArg = originalActivity.RuntimeArguments[argumentEntry.OldOffset]; 403RuntimeArgument updatedArg = currentActivity.RuntimeArguments[argumentEntry.NewOffset]; 438if (!this.TryPreparingArgumentExpressions(originalActivity.RuntimeArguments[i], currentActivity.RuntimeArguments[i]))
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (1)
384DynamicUpdateMapEntry currentEntry = this.Entries[i];
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (9)
237Variable variable = variables[i]; 293return GetIdSpace()[mapItem.OriginalVariableOwnerId].RuntimeVariables[mapItem.OriginalId]; 610Variable newVariable = newVariables[i]; 683RuntimeArgument newArgument = newArguments[i]; 769if (variables[i].Owner.RootActivity != this.builder.OriginalWorkflowDefinition) 771throw FxTrace.Exception.AsError(new InvalidWorkflowException(SR.OriginalVariableReusedInModifiedDefinition(variables[i].Name))); 1029return matchingOwner.RuntimeVariables[index]; 1080if (ActivityComparer.SignatureEquals(newVariable, originalVariables[i])) 1252return matchingOwner.RuntimeVariables[index];
System\Activities\DynamicUpdate\DynamicUpdateMapQuery.cs (2)
126return oldIndex.HasValue ? oldOwner.RuntimeVariables[oldIndex.Value] : null; 179return newIndex.HasValue ? newOwner.RuntimeVariables[newIndex.Value] : null;
System\Activities\DynamicUpdate\InstanceUpdateException.cs (2)
93errorMsgs.AppendLine(GetMessage(blockingActivities[i])); 96errorMsgs.Append(GetMessage(blockingActivities[blockingActivities.Count - 1]));
System\Activities\ExpressionUtilities.cs (6)
1203MemberBinding binding = bindings[i]; 1215temporaryBindings.Add(bindings[j]); 1296Expression expression = expressions[i]; 1309temporaryExpressions.Add(expressions[j]); 1340ElementInit elementInit = initializers[i]; 1353temporaryInitializers.Add(initializers[j]);
System\Activities\IdSpace.cs (1)
77return this.members[lookupId];
System\Activities\Runtime\ActivityExecutor.cs (3)
2349RuntimeArgument argument = rootArguments[i]; 2717Handle handle = hostProperties[i]; 2805RuntimeDelegateArgument runtimeArgument = activityDelegateParameters[i];
System\Activities\Runtime\ActivityInstanceMap.cs (4)
428EnvironmentUpdateMapEntry entry = entries[i]; 506InstanceListNeedingUpdate participant = this.updateList[i]; 715base.MultipleItems[i].Load(activity, instanceMap); 734IActivityReferenceWithEnvironment reference = base.MultipleItems[i] as IActivityReferenceWithEnvironment;
System\Activities\Runtime\BookmarkList.cs (1)
35if (bookmark.Equals(this.MultipleItems[i]))
System\Activities\Runtime\BookmarkManager.cs (1)
274Bookmark bookmark = multipleBookmarks[i];
System\Activities\Runtime\BookmarkScopeManager.cs (1)
577Bookmark bookmark = multipleBookmarks[i];
System\Activities\Runtime\DelegateCompletionCallbackWrapper.cs (1)
43RuntimeDelegateArgument runtimeArgument = runtimeArguments[i];
System\Activities\Runtime\ExclusiveHandleList.cs (1)
33if (handle.Equals(this.MultipleItems[i]))
System\Activities\Runtime\FuncCompletionCallbackWrapper.cs (1)
45RuntimeArgument argument = activity.RuntimeArguments[i];
System\Activities\Runtime\LocationEnvironment.cs (4)
310Variable variable = variables[i]; 606EnvironmentUpdateMapEntry entry = map.ArgumentEntries[i]; 672EnvironmentUpdateMapEntry entry = variableEntries[i]; 679Variable newVariable = variables[entry.NewOffset];
System\Activities\Runtime\ResolveNextArgumentWorkItem.cs (1)
77RuntimeArgument argument = activity.RuntimeArguments[i];
System\Activities\Statements\InvokeDelegate.cs (1)
83RuntimeDelegateArgument expectedParameter = targetDelegateArguments[i];
System\Activities\Tracking\ActivityStateRecord.cs (2)
238Variable variable = currentElement.RuntimeVariables[i]; 294RuntimeArgument argument = currentElement.RuntimeArguments[i];
System\Activities\Tracking\TrackingProvider.cs (2)
166TrackingRecord currentRecord = this.pendingTrackingRecords[j]; 376TrackingRecord originalRecord = this.provider.pendingTrackingRecords[this.currentRecord];
System\Activities\Validation\ActivityValidationServices.cs (7)
220ValidationError validationError = validationErrors[i]; 371Constraint constraint = constraints[constraintIndex]; 423ValidationError validationError = validationErrorList[validationErrorIndex]; 451if (!validationErrors[i].IsWarning) 589boundRuntimeArgument = configuredActivity.RuntimeArguments[i]; 605RuntimeArgument argument = runtimeArguments[i]; 606RuntimeArgument nextArgument = runtimeArguments[i + 1];
System\Activities\Validation\ExtensionMethods.cs (5)
56int result = comparer.Compare(items[mid], value); 84T pivot = items[startIndex]; 89if (comparer.Compare(pivot, items[i]) > 0) 121T temp = items[i]; 122items[i] = items[j];
System\Activities\Validation\ValidationContext.cs (1)
88validationErrors.Add(this.getChildrenErrors[i]);
System\Activities\WorkflowInspectionServices.cs (9)
95RuntimeArgument argument = activity.RuntimeArguments[i]; 105Variable variable = activity.RuntimeVariables[i]; 115Variable variable = activity.ImplementationVariables[i]; 125yield return activity.Children[i]; 130yield return activity.ImportedChildren[i]; 135yield return activity.ImplementationChildren[i]; 140ActivityDelegate activityDelegate = activity.Delegates[i]; 150ActivityDelegate activityDelegate = activity.ImportedDelegates[i]; 160ActivityDelegate activityDelegate = activity.ImplementationDelegates[i];
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
47return this.locations[index].Value; 52this.locations[index].Value = value;
System\Activities\XamlIntegration\CompiledExpressionActivityVisitor.cs (4)
192if (activity == activity.Children[i].Parent) 194VisitCore(activity.Children[i], out exit); 211VisitCore(activity.ImportedChildren[i], out exit); 391VisitCore(activity.ImplementationChildren[i], out exit);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
180existingModelPropertiesForProperty[containerCounter - 1], property))
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
375if (!modelItemsOnView.Contains(items[index]))
System.AddIn (1)
System\Addin\Pipeline\ListContractAdapter.cs (1)
79return m_wrapper(m_list[index]);
System.Core (26)
Microsoft\Scripting\Ast\BlockExpression.cs (3)
345return _expressions[index]; 379return _variables[index]; 446return _body[index];
Microsoft\Scripting\Ast\DynamicExpression.cs (1)
440return _arguments[index];
Microsoft\Scripting\Ast\Expression.cs (1)
370RequiresCanRead(listItems[i], paramName);
Microsoft\Scripting\Ast\IndexExpression.cs (1)
118return _arguments[index];
Microsoft\Scripting\Ast\InvocationExpression.cs (1)
97return _arguments[index];
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
151return _arguments[index]; 183return _arguments[index];
Microsoft\Scripting\Ast\NewExpression.cs (1)
82return _arguments[index];
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
59paramTypes[i + 1] = args[i].Type;
Microsoft\Scripting\Compiler\ILGen.cs (1)
902il.EmitConstant(items[i], typeof(T));
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
930if (!TypeUtils.AreReferenceAssignable(variables[i].Type, TypeUtils.GetNonNullableType(arguments[i].Type))) {
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
163Add(expressions[i]);
Microsoft\Scripting\Utils\CollectionExtensions.cs (1)
194return list[list.Count - 1];
Microsoft\Scripting\Utils\ContractUtils.cs (1)
91if (array[i] == null) {
System\Linq\Enumerable.cs (4)
1093if (count > 0) return list[count - 1]; 1129if (count > 0) return list[count - 1]; 1234if (list != null) return list[index]; 1250if (index < list.Count) return list[index];
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (2)
456currentElement = m_data[currentKey]; 565currentElement = m_data[current];
System\Linq\Parallel\QueryOperators\ListQueryResults.cs (1)
53return m_source[index];
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (2)
169IEnumerator<KeyValuePair<long, TElement>> partition = partitionerPartitions[i]; 195IEnumerator<TElement> partition = partitionerPartitions[i];
System.Data (59)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
180existingModelPropertiesForProperty[containerCounter - 1], property))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
375if (!modelItemsOnView.Contains(items[index]))
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (5)
113return _columns[ordinal]; 135if (_columns[columnOrd]) { 173return _columns[ordinal]; 227return _defaults[ordinal]; 250if (_defaults[columnOrd]) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (50)
1853switch (metaData[i].SqlDbType) { 1855Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Int64)); 1859Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.ByteArray)); 1860SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1863Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Boolean)); 1867Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.CharArray)); 1868SetCharsOrString_FromReader(sink, setters, i, metaData[i], reader, 0); 1871Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.DateTime)); 1872SetDateTime_Checked(sink, setters, i, metaData[i], reader.GetDateTime(i)); 1875Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.SqlDecimal)); 1887Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Double)); 1891Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.ByteArray)); 1892SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1895Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Int32)); 1899Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.SqlMoney)); 1900SetSqlMoney_Checked(sink, setters, i, metaData[i], new SqlMoney(reader.GetDecimal(i))); 1905Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.CharArray)); 1906SetCharsOrString_FromReader(sink, setters, i, metaData[i], reader, 0); 1909Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Single)); 1913Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Guid)); 1917Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.DateTime)); 1918SetDateTime_Checked(sink, setters, i,metaData[i], reader.GetDateTime(i)); 1921Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Int16)); 1925Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.SqlMoney)); 1926SetSqlMoney_Checked(sink, setters, i, metaData[i], new SqlMoney(reader.GetDecimal(i))); 1929Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.CharArray)); 1930SetCharsOrString_FromReader(sink, setters, i, metaData[i], reader, 0); 1933Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.ByteArray)); 1934SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1937Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.Byte)); 1941Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.ByteArray)); 1942SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1945Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.String)); 1946SetCharsOrString_FromReader(sink, setters, i, metaData[i], reader, 0); 1949Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.SqlXml)); 1955SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1971ExtendedClrTypeCode typeCode = MetaDataUtilsSmi.DetermineExtendedTypeCodeForUseWithSqlDbType(metaData[i].SqlDbType, metaData[i].IsMultiValued, o, null, 1977SetCompatibleValueV200(sink, setters, i, metaData[i], o, typeCode, 0, 0, null, storageType); 1979SetCompatibleValueV200(sink, setters, i, metaData[i], o, typeCode, 0, 0, null); 1984Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.ByteArray)); 1986SetBytes_FromReader(sink, setters, i, metaData[i], reader, 0); 1993Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.DateTime)); 1994SetDateTime_Checked(sink, setters, i, metaData[i], reader.GetDateTime(i)); 1997Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.TimeSpan)); 2005SetTimeSpan_Checked(sink, setters, i, metaData[i], ts); 2009Debug.Assert(CanAccessSetterDirectly(metaData[i], ExtendedClrTypeCode.DateTimeOffset)); 2027Debug.Assert(false, "unsupported DbType:" + metaData[i].SqlDbType.ToString()); 3655SmiMetaData fieldMetaData = metaData.FieldMetaData[i]; 3754if (!MetaDataUtilsSmi.IsCompatible(metaData.FieldMetaData[i], record.GetSqlMetaData(i))) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
9038WriteTvpColumnMetaData(metaData.FieldMetaData[i], defaults[i], stateObj);
fx\src\data\System\Data\SqlClient\TdsRecordBufferSetter.cs (1)
45_fieldSetters[i] = new TdsValueSetter(stateObj, md.FieldMetaData[i]);
System.Data.Entity (139)
System\Data\Common\CommandTrees\BasicCommandTreeVisitor.cs (1)
43this.VisitModificationClause(modificationClauses[idx]);
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (4)
134VisitExpression(expressionList[idx]); 148VisitAggregate(aggregates[idx]); 167this.VisitRelatedEntityReference(relatedEntityReferences[idx]); 727VisitExpression(expression.SortOrder[idx].Expression);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
234TElement newElement = map(list[idx]); 236!object.ReferenceEquals(list[idx], newElement))
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
1148RequireCompatibleType(valueExp, keyMembers[idx].TypeUsage, "keyValues", idx); 1149return new KeyValuePair<string, DbExpression>(keyMembers[idx].Name, valueExp); 1513RequireCompatibleType(exp, lambda.Variables[idx].ResultType, "arguments", idx); 1657DbRelatedEntityRef relatedRef = relationships[idx]; 1899CheckParameter(functionParams[idx], StringUtil.FormatIndex("function.Parameters", idx));
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (2)
482e.When[idx].Accept(this); 484e.Then[idx].Accept(this);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (10)
377TreeNode paramNode = new TreeNode(paramInfo[idx]); 378paramNode.Children.Add(this.VisitExpression(args[idx])); 409bindingInfos.Add(this.VisitBinding(StringUtil.FormatIndex(propName, idx), bindings[idx])); 742retInfo.Children.Add(this.Visit("When", e.When[idx])); 743retInfo.Children.Add(this.Visit("Then", e.Then[idx])); 769retInfo.Children.Add(this.VisitWithLabel(description, properties[idx].Name, e.Arguments[idx])); 913keys.Add(this.VisitWithLabel("Key", outputType.Properties[idx].Name, e.Keys[keyIdx])); 924DbFunctionAggregate funcAgg = e.Aggregates[aggIdx] as DbFunctionAggregate; 936DbGroupAggregate groupAgg = e.Aggregates[aggIdx] as DbGroupAggregate;
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (7)
206conditions.Add(discriminatedConstructor.When[idx]); 207constructors.Add((DbNewInstanceExpression)discriminatedConstructor.Then[idx]); 297from pv in constructedEntityType.Properties.Select((p, idx) => Tuple.Create(p, entityConstructor.Arguments[idx])) // new { DependentProperty = p, Value = entityConstructor.Arguments[idx] }) 448DbExpression columnVal = rowConstructor.Arguments[idx]; 492DbPropertyExpression propWhen = (DbPropertyExpression)entitySelector.When[idx]; 493DbNewInstanceExpression entityThen = (DbNewInstanceExpression)entitySelector.Then[idx]; 644bindings[innerResultType.Members[ordinal].Name] = innerNew.Arguments[ordinal];
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (6)
116getSignatureParams(functionsMetadata[i]), 133bestCandidate = functionsMetadata[i]; 217TypeUsage argumentType = argumentList[i]; 218TypeUsage parameterType = getParameterTypeUsage(overloadParamList[i]); 223ParameterMode parameterMode = getParameterMode(overloadParamList[i]); 267int rank = GetPromotionRank(flatArgumentList[i], flatOverloadParamList[i], isPromotableTo, isStructurallyEqual);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
1525args[i] = DbExpressionBuilder.Null(getParameterTypeUsage(parametersMetadata[i])); 3985if (projectionExpression.Arguments[i].ExpressionKind != DbExpressionKind.Property) 3989DbPropertyExpression propertyRef = (DbPropertyExpression)projectionExpression.Arguments[i];
System\Data\Common\Utils\Helpers.cs (4)
136nodes[writePos++] = combinator(nodes[readPos], nodes[readPos + 1]); 142nodes[updatePos] = combinator(nodes[updatePos], nodes[nodesToPair]);
System\Data\Common\Utils\MetadataHelper.cs (1)
809EdmSchemaError error = schemaErrors[i];
System\Data\EntityClient\EntityConnection.cs (3)
1086if (paths[i].Length > 0) 1096resultCount += paths[i].Length; 1099keyString.Append(paths[i]);
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (8)
198if (_dependentRole.RoleProperties[i].Property.Type != _principalRole.RoleProperties[i].Property.Type) 203_dependentRole.RoleProperties[i].Name, 205_principalRole.RoleProperties[i].Name, 274if (itemType.KeyProperties[j].Property == roleElement.RoleProperties[i].Property) 288areAllPropertiesNullable &= roleElement.RoleProperties[i].Property.Nullable; 289isAnyPropertyNullable |= roleElement.RoleProperties[i].Property.Nullable;
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (1)
173long previousValue = (long)_enumMembers[_enumMembers.Count - 1].Value;
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
150var argumentNode = targetIqtArguments[i];
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
233if (mappings.TryGetValue((DbSetClause)originalClauses[idx], out replacementClause)) 239result.Add(originalClauses[idx]);
System\Data\Mapping\Update\Internal\Propagator.cs (1)
269projectedValues[ordinal] = Evaluator.Evaluate(projection.Arguments[ordinal], row, this);
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
365if (-1 == match) { matchResult = Visit(node.Else); } else { matchResult = Visit(node.Then[match]); }
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (1)
92EdmMember keyMember = keyMembers[keyMemberIndex];
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
402keyValues[i] = record.GetMemberValue(keyProperties[i]);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (1)
284cqt = cqt.Property(m_parentQualifiers[i]);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (5)
105var when = caseExpression.When[i]; 106var then = caseExpression.Then[i]; 202var assignment = constructor.Arguments[j]; 275if (!ExpressionsCompatible(newX.Arguments[i], newY.Arguments[i]))
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (2)
118string fullFieldAlias = CqlWriter.GetQualifiedName(blockAlias, keyMemberOutputPaths[i].CqlFieldAlias); 138string fullFieldAlias = CqlWriter.GetQualifiedName(blockAlias, membersOutputPaths[i].CqlFieldAlias);
System\Data\Metadata\Converter.cs (4)
329keyMembers[i] = (element.DeclaredKeyProperties[i].Property.Name); 505Som.ReferentialConstraint constraint = element.Constraints[i]; 525AddOtherContent(element.Constraints[i], referentialConstraint); 583result[i] = (EdmProperty)entityType.Members[properties[i].Name];
System\Data\Metadata\Edm\ReadOnlyMetadataCollection.cs (1)
93_current = _parent[_nextIndex];
System\Data\Metadata\TypeHelpers.cs (1)
221promotableType = TypeUsage.Create(promotableTypes[index + 1]);
System\Data\Metadata\TypeSemantics.cs (2)
1163if (types2.Contains(types1[i])) 1165commonTypes.Add(types1[i]);
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
2939if (projection.Arguments[i].ExpressionKind != DbExpressionKind.Property) 2943var rename = (DbPropertyExpression)projection.Arguments[i]; 2970newProjectionArguments.Add(innerProjection.Arguments[innerPropertyIndex]);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
367columnExpr = newRow.Arguments[idx];
System\Data\Objects\ObjectView.cs (3)
110TElement item = _viewData.List[_addNewIndex]; 278return _viewData.List[index]; 293return _viewData.List[index];
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
304string columnName = discriminatorColumnNames[i];
System\Data\Query\InternalTrees\Command.cs (3)
1624unionAllVars.Add(inputVars[j]); 1637rightVarMap.Add(newVar, inputVars[i * varPerNode + j]); 1640unionAllNode = this.CreateNode(unionAllOp, unionAllNode, inputNodes[i]);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (3)
932Node groupByAncestor = groupByAncestors[i]; 980while (ancestors1[currentIndex1] == ancestors2[currentIndex2])
System\Data\Query\PlanCompiler\ITreeGenerator.cs (15)
175Node sourceNode = sources[idx]; 176Node copyNode = copies[idx]; 601nodeList.Add(exprDelegate(exprs[idx])); 884args.Add(lambdaParams[idx].VariableName, argumentValue); 1070argNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Arguments[idx]), e.Function.Parameters[idx].TypeUsage)); 1700childNodes.Add(VisitExprAsPredicate(e.When[idx])); 1702childNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Then[idx]), e.ResultType)); 2077Node newArg = BuildSoftCast(VisitExprAsScalar(e.Arguments[i]), Helper.GetModelTypeUsage(m)); 2304Node inputNode = VisitBoundExpression(inputs[idx].Expression, out boundVar); 2314PushBindingScope(inputVars[scopeCount], inputs[scopeCount].VariableName); 2464if (e.Aggregates[i].GetType() == typeof(DbGroupAggregate)) 2499DbAggregate agg = e.Aggregates[idx]; 2594DbExpression keyExpr = e.Keys[idx]; 2777FlattenProperties(_iqtCommand.CreateNode(_iqtCommand.CreatePropertyOp(properties[i]), newInput), flattenedProperties); 2826DbSortClause clause = sortOrder[idx];
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
2087ColumnVar rightVar = childVars[pos]; 2093ColumnVar leftVar = parentVars[pos];
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (10)
247DbExpression equalsExpression = leftFlattenedProperties[i].Equal(rightFlattenedProperties[i]); 250DbExpression leftIsNullExpression = leftFlattenedProperties[i].IsNull(); 251DbExpression rightIsNullExpression = rightFlattenedProperties[i].IsNull(); 307DbPropertyExpression propertyExpression = propertyInput.Property(properties[i]); 308if (TypeSemantics.IsPrimitiveType(properties[i].TypeUsage)) 314Debug.Assert(TypeSemantics.IsEntityType(properties[i].TypeUsage) || TypeSemantics.IsRowType(properties[i].TypeUsage), 342if (!HasMatchInList(list1[i], sortList, list1BindingVariableName, sortExpressionsBindingVariableName)) 366if (AreMatching(expr, list[i], exprBindingVariableName, listExpressionsBindingVariableName))
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (14)
863result.Append(e.Arguments[e.Arguments.Count - 1].Accept(sqlgen)); 941result.Append(e.Arguments[i].Accept(sqlgen)); 1116sqlgen.ParenthesizeExpressionIfNeeded(args[currentArgumentIndex++], result); 1135AppendConvertToVarchar(sqlgen, result, args[currentArgumentIndex++]); 1140AppendConvertToVarchar(sqlgen, result, args[currentArgumentIndex++]); 1144AppendConvertToVarchar(sqlgen, result, args[currentArgumentIndex++]); 1149AppendConvertToVarchar(sqlgen, result, args[currentArgumentIndex++]); 1153AppendConvertToVarchar(sqlgen, result, args[currentArgumentIndex++]); 1157result.Append(args[currentArgumentIndex++].Accept(sqlgen)); 1172sqlgen.ParenthesizeExpressionIfNeeded(args[currentArgumentIndex], result); 1174sqlgen.ParenthesizeExpressionIfNeeded(args[currentArgumentIndex], result); 1176sqlgen.ParenthesizeExpressionIfNeeded(args[currentArgumentIndex], result); 1770TypeUsage storeType = sqlgen.StoreItemCollection.StoreProviderManifest.GetStoreType(e.Arguments[i].ResultType); 1818if (TypeSemantics.IsPrimitiveType(e.Arguments[i].ResultType, type))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
677result.Append(e.When[i].Accept(this)); 679result.Append(e.Then[i].Accept(this)); 3046DbExpressionBinding input = inputs[idx]; 3270DbExpression argument = e.Arguments[i];
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
310_writer.WriteAttributeString(XmlConstants.Name, properties[i].Name);
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
80EdmSchemaError error = schemaErrors[i];
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (3)
1470if (!columns[i].IsNullable) 1474if (session.TryGetStorePrimitiveType(columns[i].DataType, out primitiveType, out _) && 1477pKeys.Add(columns[i].ColumnName);
System\Data\EntityModel\EntityClassGenerator.cs (1)
313Schema sourceSchema = schemas[index];
System.Data.Services (5)
System\Data\Services\RequestUriProcessor.cs (1)
1233keyValue = key.PositionalValues[i];
System\Data\Services\Serializers\Serializer.cs (1)
744ResourceProperty property = keyProperties[i];
System\Data\Services\UpdatableWrapper.cs (3)
385ResourceProperty etagProperty = etagProperties[i]; 387string value = (string)keyInstance.PositionalValues[i]; 418etagPropertyInfo[i] = new KeyValuePair<string, object>(etagProperties[i].Name, propertyValue);
System.Data.SqlXml (42)
System\Xml\Xsl\IlGen\StaticDataManager.cs (1)
118QilBinary ndNmspDecl = (QilBinary) list[i];
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (2)
4325QilNode nd = globals[oldIdx]; 4342globals[newIdx] = globals[oldIdx];
System\Xml\Xsl\ListBase.cs (1)
226this.current = this.sequence[this.index];
System\Xml\Xsl\QIL\QilNode.cs (1)
148Insert(Count, list[i]);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
42rule = rules[i];
System\Xml\Xsl\Runtime\XmlILStorageConverter.cs (1)
95seq.Add((XPathNavigator) listItems[i]);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
495navArray[i] = seq[i];
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
496AddClone(list[idx]);
System\Xml\Xsl\Runtime\XslNumber.cs (2)
181FormatItem(sb, val[idx], DefaultStartChar, 1); 214FormatItem(sb, val[i], thisFormat.startChar, thisFormat.length);
System\Xml\Xsl\Runtime\XsltLibrary.cs (5)
103arr[i] = args[i]; 311if (CompareValues(op, nodeset[idx], val, compType)) { 324if (CompareValues(op, left[leftIdx], right[rightIdx], compType)) { 441if (!val[idx].IsNode) {
System\Xml\Xsl\XPath\XPathBuilder.cs (3)
900args[i] = f.ConvertToType(XmlTypeCode.String, args[i]); 904if (argTypes[i] == XmlTypeCode.Node && f.CannotBeNodeSet(args[i])) { 907args[i] = f.ConvertToType(argTypes[i], args[i]);
System\Xml\Xsl\Xslt\Focus.cs (3)
96this.current = (QilParameter)args[argNum ++]; 100this.position = (QilParameter)args[argNum ++]; 104this.last = (QilParameter)args[argNum ++];
System\Xml\Xsl\Xslt\QilGenerator.cs (13)
446XslNode node = tmpl.Content[i]; 605XslNode node = instructions[i]; 997VarPar withParam = content[i] as VarPar; 1195XslNode when = cases[i]; 1288Sort sort = content[i] as Sort; 2112if (args.Count <= pos || args[pos].Name != name) { 2116varPar = (VarPar) args[pos]; 2147QilName formalArgName = ((QilParameter)formalArgs[invArg]).Name; 2148XmlQueryType paramType = formalArgs[invArg].XmlType; 2151Debug.Assert(actualArgs[actArg].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()"); 2152VarPar withParam = (VarPar)actualArgs[actArg]; 2218Debug.Assert(actualArgs[i].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()"); 2219VarPar withParam = (VarPar)actualArgs[i] ;
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (6)
179args[i] = f.SafeDocOrderDistinct(args[i]); 203case XmlTypeCode.Boolean: args[i] = f.ConvertToBoolean(args[i]); break; 204case XmlTypeCode.Double: args[i] = f.ConvertToNumber(args[i]); break; 205case XmlTypeCode.String: args[i] = f.ConvertToString(args[i]); break; 206case XmlTypeCode.Node: args[i] = xmlTypeFormalArg.IsSingleton ? f.ConvertToNode(args[i]) : f.ConvertToNodeSet(args[i]); break;
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1202var child = content[t];
System.IdentityModel (36)
System\IdentityModel\Claims\DefaultClaimSet.cs (3)
41get { return this.claims[index]; } 61if (claim.Equals(this.claims[i])) 76Claim claim = this.claims[i];
System\IdentityModel\Claims\WindowsClaimSet.cs (2)
80return this.claims[index]; 244Claim claim = this.claims[i];
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
58return this.claims[index]; 267Claim claim = this.claims[i];
System\IdentityModel\SecurityUtils.cs (1)
388IAuthorizationPolicy policy = authorizationPolicies[i];
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (6)
37this.supportingAuthenticators.Add(supportingAuthenticators[i]); 100policies.Add(samlToken.Assertion.Statements[i].CreatePolicy(issuer, this)); 122SamlAudienceRestrictionCondition audienceCondition = samlToken.Assertion.Conditions.Conditions[i] as SamlAudienceRestrictionCondition; 144if (audienceRestrictionCondition.Audiences[i] == null) 149if (StringComparer.Ordinal.Compare(audienceRestrictionCondition.Audiences[i].AbsoluteUri, this.allowedAudienceUris[j]) == 0) 154if (audienceRestrictionCondition.Audiences[i].Equals(uri))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (12)
1307subject.AddClaim(new Claim(claimType, attr.AttributeValues[k], claimValueType, issuer, originalIssuer)); 1482claim = new Claim(claimType, innerAttribute.AttributeValues[k], claimValueType, issuer); 1486claim = new Claim(claimType, innerAttribute.AttributeValues[k], claimValueType, issuer, originalIssuer); 1900WriteStatement(writer, assertion.Statements[i]); 2003WriteCondition(writer, conditions.Conditions[i]); 2152writer.WriteElementString(SamlConstants.ElementNames.Audience, SamlConstants.Namespace, condition.Audiences[i].OriginalString); 2580WriteAttribute(writer, statement.Attributes[i]); 2799if (attribute.AttributeValues[i] == null) 2810WriteAttributeValue(writer, attribute.AttributeValues[i], attribute); 2967WriteAuthorityBinding(writer, statement.AuthorityBindings[i]); 3331writer.WriteElementString(SamlConstants.Prefix, SamlConstants.ElementNames.AssertionIdReference, SamlConstants.Namespace, evidence.AssertionIdReferences[i]); 3336WriteAssertion(writer, evidence.Assertions[i]);
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
503SecurityTokenHandler removedItem = Items[index]; 515SecurityTokenHandler replaced = Items[index];
System\IdentityModel\Tokens\WSSecurityJan2004.cs (5)
253if (this.strEntries[i].CanReadClause(reader, tokenType)) 255clause = this.strEntries[i].ReadClause(reader, nonce, length, tokenType); 278if (this.strEntries[i].SupportsCore(keyIdentifierClause)) 290if (this.strEntries[i].SupportsCore(keyIdentifierClause)) 293this.strEntries[i].WriteContent(writer, keyIdentifierClause);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (3)
72if (this.StrEntries[i].SupportsCore(keyIdentifierClause)) 76string tokenTypeUri = this.GetTokenTypeUri(this.StrEntries[i], keyIdentifierClause); 82this.StrEntries[i].WriteContent(writer, keyIdentifierClause);
System.IO.Log (9)
System\IO\Log\AppendHelper.cs (4)
43handles[i + 1] = GCHandle.Alloc(data[i].Array, GCHandleType.Pinned); 44blobs[i + 1].cbSize = (uint)data[i].Count; 45blobs[i + 1].pBlobData = Marshal.UnsafeAddrOfPinnedArrayElement(data[i].Array, data[i].Offset);
System\IO\Log\FileRecordSequence.cs (2)
209size += data[i].Count; 728size = checked(size + data[i].Count);
System\IO\Log\LogRecordSequence.cs (1)
1006ArraySegment<byte> segment = data[i];
System\IO\Log\LogReserveAndAppendState.cs (1)
487ArraySegment<byte> segment = this.data[i];
System\IO\Log\LogWriteRestartAreaState.cs (1)
380ArraySegment<byte> segment = this.data[i];
System.Runtime.Serialization (12)
System\Runtime\Serialization\CodeExporter.cs (1)
721GenericInfo paramInfo = genInfo.Parameters[i];
System\Runtime\Serialization\ExtensionDataReader.cs (3)
555ExtensionDataMember member = dataNode.Members[element.childElementIndex++]; 572IDataNode item = dataNode.Items[element.childElementIndex++]; 589ISerializableDataMember member = dataNode.Members[element.childElementIndex++];
System\Runtime\Serialization\SchemaExporter.cs (1)
330if (genericArgumentCounts[nestedLevel - 1] == 0)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
243Type knownType = knownTypeList[i];
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
1054wrapperElement.Attributes.Append((XmlAttribute)xmlAttributes[i]); 1059wrapperElement.AppendChild(xmlChildNodes[i]);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (4)
562ExtensionDataMember member = extensionData.Members[i]; 650WriteExtensionDataMember(xmlWriter, members[i]); 670WriteExtensionDataValue(xmlWriter, items[i]); 691ISerializableDataMember member = members[i];
System.ServiceModel (95)
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
37if (collection[i] == null)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
487int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 517string newString = newStrings[i].Value;
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (4)
33CallbackState callbackState = new CallbackState(this, collection[index]); 37result = collection[index].BeginClose(timeoutHelper.RemainingTime(), nestedCallback, callbackState); 48collection[index].Abort(); 54CompleteClose(collection[index], result);
System\ServiceModel\Channels\CorrelationKey.cs (4)
125key.Append(sortedKeyData.Keys[i]); 127key.Append(sortedKeyData.Values[i]); 129checksum.Append(sortedKeyData.Keys[i].Length.ToString(NumberFormatInfo.InvariantInfo)); 131checksum.Append(sortedKeyData.Values[i].Length.ToString(NumberFormatInfo.InvariantInfo));
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
145foundTransportManagers[i].Open(this);
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (3)
37CallbackState callbackState = new CallbackState(this, collection[index]); 38IAsyncResult result = collection[index].BeginOpen(this.timeoutHelper.RemainingTime(), nestedCallback, callbackState); 41collection[index].EndOpen(result);
System\ServiceModel\Channels\TransportManager.cs (2)
192this.transportManagers.Add(source.transportManagers[i]); 246TransportManager transportManager = foundTransportManagers[i];
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (2)
111writer.WriteAttributeString("Lower", this.ranges[i].Lower.ToString(CultureInfo.InvariantCulture)); 112writer.WriteAttributeString("Upper", this.ranges[i].Upper.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
118FaultContractInfo faultInfo = faultInfos[i];
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
93XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo faultInfo = faultInfos[i];
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
511MessageHeader<object> messageHeaderOfTAttribute = messageHeaderOfTAttributes[i];
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
430outOfBandTokens.Add( new X509SecurityToken( base.ServiceCredentials.IssuedTokenAuthentication.KnownCertificates[i]));
System\ServiceModel\Security\ReceiveSecurityHeader.cs (7)
778universalTokenResolver.Add(this.outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, this.primaryTokenParameters); 779primaryTokenResolver.Add(this.outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, this.primaryTokenParameters); 822SupportingTokenAuthenticatorSpecification spec = this.supportingTokenAuthenticators[i]; 1500if (supportingTokenAuthenticators[i].TokenAuthenticator == tokenAuthenticator) 1502spec = supportingTokenAuthenticators[i]; 1614if (this.outOfBandPrimaryTokenCollection[i] == token) 1757SecurityTokenAuthenticator tokenAuthenticator = allowedTokenAuthenticators[i];
System\ServiceModel\Security\SctClaimSerializer.cs (1)
413SerializePrimaryIdentity(identities[i], dictionary, writer, serializer);
System\ServiceModel\Security\SecurityProtocol.cs (12)
511security.IncomingSupportingTokens.Add(new SupportingTokenSpecification(tokens[i], tokenPoliciesMapping[tokens[i]], attachmentMode)); 598SupportingTokenProviderSpecification spec = supportingTokenProviders[i]; 650if (supportingAuthenticators[i].TokenResolver != null) 653outOfBandResolvers.Add(supportingAuthenticators[i].TokenResolver); 681SecurityToken token = supportingTokens[i].SecurityToken; 682SecurityTokenParameters tokenParameters = supportingTokens[i].SecurityTokenParameters; 683switch (supportingTokens[i].SecurityTokenAttachmentMode) 698Fx.Assert("Unknown token attachment mode " + supportingTokens[i].SecurityTokenAttachmentMode.ToString()); 699throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.UnknownTokenAttachmentMode, supportingTokens[i].SecurityTokenAttachmentMode.ToString()))); 912SupportingTokenProviderSpecification spec = supportingTokenProviders[this.currentTokenProviderIndex]; 930SupportingTokenProviderSpecification spec = supportingTokenProviders[this.currentTokenProviderIndex];
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
262outOfBandTokens.Add(new X509SecurityToken(parent.IssuedTokenAuthentication.KnownCertificates[i])); 293allowedAudienceUris.Add(parent.IssuedTokenAuthentication.AllowedAudienceUris[i]);
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (1)
284evaluationContext.AddClaimSet(this, this.claimSets[i]);
System\ServiceModel\ServiceSecurityContext.cs (1)
145WindowsIdentity identity = identities[i] as WindowsIdentity;
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
87get { lock (this.sync) { return this.items[index]; } }
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
43base.Add(source.Items[i]); 153this.Items[i].WriteTo(writer);
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
109tmp.Add((cloneItems) ? srcList[i].Clone() : srcList[i]);
System\UriTemplateHelpers.cs (2)
251if (!array[i].IsEquivalentTo(array[i + 1]))
System\UriTemplateTable.cs (17)
184if (UriTemplateHelpers.CanMatchQueryInterestingly(candidates[i].Template, queryParameters, mustBeEspeciallyInteresting)) 186nextCandidates.Add(candidates[i]); 198if (UriTemplateHelpers.CanMatchQueryTrivially(candidates[i].Template)) 200nextCandidates.Add(candidates[i]); 228UriTemplateTableMatchCandidate candidate = candidates[i]; 255UriTemplateTableMatchCandidate candidate = candidates[i]; 282if (!list[i].Template.IsPathPartiallyEquivalentAt(list[i + 1].Template, list[i].SegmentsCount)) 286if (!list[i].Template.IsQueryEquivalent(list[i + 1].Template)) 298if (!UriTemplateHelpers.CanMatchQueryTrivially(candidates[i].Template)) 311if (UriTemplateHelpers.HasQueryLiteralRequirements(candidates[i].Template)) 315if (candidates[i].Template.queries.Count == 0) 339segmentsCount = candidates[i].Template.segments.Count; 341else if (segmentsCount != candidates[i].Template.segments.Count) 525if (!slowPathCandidates.Contains(fastPathCandidates[i]))
System\UriTemplateTrieNode.cs (24)
140for (int j = 0; j < locationsSet[i].Count; j++) 142if (GetMatch(locationsSet[i][j], wireData, candidates)) 381if (!allowDuplicateEquivalentUriTemplates && (pesLists[i].Count > 1)) 384SR.UTTDuplicate, pesLists[i][0].Items[0].Key.ToString(), pesLists[i][1].Items[0].Key.ToString()))); 386for (int j = 0; j < pesLists[i].Count; j++) 388Validate(pesLists[i][j], allowDuplicateEquivalentUriTemplates); 409if (!allowDuplicateEquivalentUriTemplates && (locations[i].Count > 1)) 413UriTemplate firstTemplate = FindAnyUriTemplate(locations[i][0].node); 414UriTemplate secondTemplate = FindAnyUriTemplate(locations[i][1].node); 418for (int j = 0; j < locations[i].Count; j++) 420UriTemplateTrieLocation location = locations[i][j]; 686results.Add(new List<T>(this.items.Values[i].Count)); 688for (int j = 0; j < this.items.Values[i].Count; j++) 690results[i].Add(this.items.Values[i][j].Value); 691Fx.Assert(results[i].Count == j + 1, "We are adding item for each value in the collection"); 693Fx.Assert(results[i].Count == this.items.Values[i].Count, "We were supposed to add an item for each value in the collection"); 711Collection<CollectionItem> subItems = this.items.Values[index]; 723Collection<CollectionItem> subItems = this.items.Values[index]; 739for (int j = 0; j < this.items.Values[i].Count; j++) 741if (this.items.Values[i][j].Segment.IsMatch(wireData)) 747sameOrderResults.Add(this.items.Values[i][j].Value);
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3215if (!equals(left[i], right[i]))
System\ServiceModel\Activities\Receive.cs (2)
451this.followingReplies[i].SetFormatter(formatter); 459this.followingFaults[i].SetFaultFormatter(faultFormatter, includeExceptionDetailInFaults);
System.ServiceModel.Routing (9)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (9)
154MessageRpc messageRpc = this.service.SessionMessages[this.sessionMessageIndex]; 155SendOperation sendOperation = messageRpc.Operations[this.destinationIndex]; 284MessageRpc messageRpc = this.service.SessionMessages[this.sessionMessageIndex]; 285SendOperation currentDest = messageRpc.Operations[this.destinationIndex]; 507MessageRpc messageRpc = this.service.SessionMessages[this.sessionMessageIndex]; 508SendOperation sendOperation = messageRpc.Operations[this.destinationIndex]; 608SendOperation sendOperation = messageRpc.Operations[this.destinationIndex]; 637MessageRpc messageRpc = this.service.SessionMessages[this.sessionMessageIndex]; 696MessageRpc messageRpc = this.service.SessionMessages[this.sessionMessageIndex];
System.ServiceModel.Web (8)
System\ServiceModel\Dispatcher\FormatSelectingMessageInspector.cs (2)
123string[] typeAndSubType = acceptHeaderElements[i].MediaType.Split('/'); 140mapping.CanFormatResponse(acceptHeaderElements[i], matchCharSet, out contentType))
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (1)
234if (type == knownTypes[i])
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (5)
52pair.Type = operationTypes[i]; 53pair.Serializer = new XmlSerializerXmlObjectSerializer(serializersMap[operationTypes[i]]); 79if (!allTypes.ContainsKey(types[i])) 81allTypes.Add(types[i], importer.ImportTypeMapping(types[i]));
System.Web (7)
Routing\ParsedRoute.cs (7)
162PathSegment pathSegment = PathSegments[i]; // parsedRouteUrlPart 340PathSegment pathSegment = pathSegments[i]; 431PathSegment pathSegment = PathSegments[i]; 437string requestPathSegment = ranOutOfStuffToParse ? null : requestPathSegments[i]; 474if (!RouteParser.IsSeparator(requestPathSegments[i])) { 547ParameterSubsegment parameterSubsegment = routeSegment.Subsegments[indexOfLastSegmentUsed] as ParameterSubsegment; 553LiteralSubsegment literalSubsegment = routeSegment.Subsegments[indexOfLastSegmentUsed] as LiteralSubsegment;
System.Web.DataVisualization (4)
Common\Formulas\FormulaHelpers.cs (4)
1463DataField formulaField = unmappedFormulaFields[i]; 1514seriesField = seriesFields[id - 1]; 1555DataField formulaField = unmappedFormulaFields[i]; 1604seriesField = seriesFields[seriesFieldIndex - 1];
System.Web.DynamicData (4)
DynamicData\ControlFilterExpression.cs (1)
128nameColumnMapping[filterExpression] = columns[i];
DynamicData\MetaChildrenColumn.cs (1)
114routeValues.Add(fkColumn.ForeignKeyNames[i], Misc.SanitizeQueryStringValue(pkValues[i]));
DynamicData\MetaForeignKeyColumn.cs (1)
47_foreignKeyFilterMapping[fkName] = Name + "." + primaryKeyNames[pKIndex];
DynamicData\MetaTable.cs (1)
744routeValues.Add(PrimaryKeyNames[i], Misc.SanitizeQueryStringValue(primaryKeyValues[i]));
System.Web.Extensions (4)
UI\WebControls\ListView.cs (4)
398return Items[_editIndex]; 2196item = Items[itemIndex]; 2545dataItem = Items[itemIndex]; 3116ExtractItemValues(BoundFieldValues, Items[editIndex], false/*includePrimaryKey*/);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
22FileDialogCustomPlace customPlace = this.Items[i];
System.Windows.Forms.DataVisualization (4)
Common\Formulas\FormulaHelpers.cs (4)
1463DataField formulaField = unmappedFormulaFields[i]; 1514seriesField = seriesFields[id - 1]; 1555DataField formulaField = unmappedFormulaFields[i]; 1604seriesField = seriesFields[seriesFieldIndex - 1];
System.Workflow.Activities (9)
Rules\Executor.cs (2)
387RuleState currentRuleState = orderedRules[current]; 436RuleState rs = orderedRules[updatedRuleIndex];
Rules\Rule.cs (2)
264if (!myActions[i].Equals(otherActions[i]))
Rules\RuleDefinitions.cs (1)
99cdiff.Add(rdiff[i]);
Sequence.cs (4)
161if (seqList[i].ExecutionStatus == ActivityExecutionStatus.Closed) 172seqList[indexOfNextActivity].RegisterForStatusChange(Activity.ClosedEvent, this); 173executionContext.ExecuteActivity(seqList[indexOfNextActivity]); 174this.SetValue(ActiveChildQualifiedNameProperty, seqList[indexOfNextActivity].QualifiedName);
System.Workflow.ComponentModel (23)
AuthoringOM\ActivityExecutionContextCollection.cs (1)
95activityQueue.Enqueue(alternateFlow.AlternateFlowActivities[i]);
AuthoringOM\Compiler\XomlCompilerParameters.cs (2)
270FrameworkName fxName = new FrameworkName(supportedTargetFrameworks[i]); 274string refDir = XomlCompilerHelper.TrimDirectorySeparatorChar(refDirectories[j]);
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
735ItemInfo itemInfo = this.previewStrip.Items[selectedItem]; 873this.previewStrip.ActiveItem = this.previewStrip.Items[index];
AuthoringOM\Design\Connector.cs (1)
122return connections[this.connectionIndex];
AuthoringOM\Design\DesignerWidgets.cs (3)
210ItemInfo itemInfo = Items[itemIndex]; 2946bounds = (index >= 0 && index < this.itemStrip.Items.Count) ? this.itemStrip.GetItemBounds(this.itemStrip.Items[index]) : Rectangle.Empty; 3164ItemInfo itemInfo = (index >= 0 && index < this.itemStrip.Items.Count) ? this.itemStrip.Items[index] : null;
AuthoringOM\Design\FreeFormDesigner.cs (1)
232return (childdesigners.Count > 0) ? childdesigners[childdesigners.Count - 1].Activity : null;
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
132if (buttonBounds.Contains(clientPoint) && action.Buttons[j].State == ActionButton.States.Disabled) 139ActionButton actionButton = action.Buttons[j]; 182ActionButton actionButton = action.Buttons[j]; 258ActionButton actionButton = action.Buttons[j]; 386this.actions[this.draggedActionIndex].Buttons[this.draggedButtonIndex].State = ActionButton.States.Highlight;
AuthoringOM\Sequence.cs (4)
87if (children[i].ExecutionStatus == ActivityExecutionStatus.Closed) 98children[indexOfNextActivity].RegisterForStatusChange(Activity.ClosedEvent, (IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)activity); 99executionContext.ExecuteActivity(children[indexOfNextActivity]); 100activity.SetValue(ActiveChildQualifiedNameProperty, children[indexOfNextActivity].QualifiedName);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (4)
3002this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition)); 3028this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition));
System.Workflow.Runtime (10)
System\Activities\Statements\Interop.cs (2)
118this.exposedBodyProperties[i].Invalidate(); 667PropertyDescriptor descriptor = this.exposedBodyProperties[i];
Tracking\SqlTrackingService.cs (8)
1557ActivityTrackingRecord record = activities[i]; 1584if (ActivityExecutionStatus.Closed != activities[i].ExecutionStatus) 1599ActivityTrackingRecord record = activities[i]; 2221record.Body[i] = SerializeDataItem(record.Body[i]); 2248record.Body[i] = SerializeDataItem(record.Body[i]); 2269WorkflowChangeAction action = wargs.Changes[i]; 2533_callPathKey = _callPathKey + "." + callPath[i]; 2535_parentCallPathKey = _parentCallPathKey + "." + callPath[i];
System.WorkflowServices (5)
System\ServiceModel\Security\SerializableAuthorizationContext.cs (1)
232evaluationContext.AddClaimSet(this, this.claimSets[num1]);
System\Workflow\Activities\ReceiveActivity.cs (2)
1461KeyValuePair<int, string> parameterInfo = outputParameters[index]; 1510KeyValuePair<int, string> parameterInfo = inputParameters[index];
System\Workflow\Activities\SendActivity.cs (2)
667KeyValuePair<int, string> parameterInfo = inputParameters[index]; 703KeyValuePair<int, string> parameterInfo = outputParameters[index];
System.Xaml.Hosting (1)
System\Xaml\Hosting\XamlBuildProvider.cs (1)
97AppendTypeName(xamlType.TypeArguments[i], sb);
System.Xml (10)
System\Xml\Schema\XdrValidator.cs (1)
250reader.AddDefaultAttribute((SchemaAttDef)context.ElementDecl.DefaultAttDefs[i]);
System\Xml\Schema\XmlSchemaValidator.cs (1)
893SchemaAttDef attdef = (SchemaAttDef)currentElementDecl.DefaultAttDefs[i];
System\Xml\Schema\XsdValidator.cs (1)
446SchemaAttDef attdef = (SchemaAttDef)context.ElementDecl.DefaultAttDefs[i];
System\Xml\XPath\Internal\FunctionQuery.cs (4)
28tmp[i] = Clone(other.args[i]); 46argTypes[i] = args[i].StaticType; 64argVals[i] = args[i].Evaluate(nodeIterator); 66argVals[i] = new XPathSelectionIterator(nodeIterator.Current, args[i]);
System\Xml\XPath\Internal\StringFunctions.cs (3)
31tmp[i] = Clone(other.argList[i]); 39argList[i].SetXsltContext(context); 106s.Append(argList[count++].Evaluate(nodeIterator).ToString());
WindowsBase (17)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
485MemoryStreamBlock memStreamBlock = collection[index];
Base\MS\Internal\PriorityQueue.cs (7)
30return (DispatcherPriority) _priorityChains.Keys[count - 1]; 64PriorityChain<T> chain = _priorityChains.Values[count - 1]; 89PriorityChain<T> chain = _priorityChains.Values[count - 1]; 144else if(priority == (DispatcherPriority) _priorityChains.Keys[count - 1]) 146chain = _priorityChains.Values[count - 1]; 149(priority < (DispatcherPriority) _priorityChains.Keys[count - 1])) 289if(item.Chain.Priority == (DispatcherPriority) _priorityChains.Keys[_priorityChains.Count - 1])
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (5)
53get { return (T)list[index].Target; } 90get { return (T)list[index].Target; } 205objects[index++] = dlist[i]; 225get { return (T)list[index].Target; } 284newList.Add((T)list[i].Target);
Base\System\IO\Packaging\Package.cs (2)
1172precedingPartName = _partList.Keys[index - 1].NormalizedPartUriString; 1177followingPartName = _partList.Keys[index + 1].NormalizedPartUriString;
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
229attrValue = GetCustomAttributeData(list[j], attrType, out typeValue, allowTypeAlso, false, allowZeroArgs); 262cad = list[j];
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
224arguments[i] = new CodeAttributeArgument(GetCodeExpressionForAttributeArgument(attrib, attrib.Parameters[i], classData));
Microsoft\Build\Tasks\Xaml\WrappingXamlSchemaContext.cs (1)
57string clrNamespace = namespaces[namespaces.Count - 1];