Implemented interface members:
property
this
System.Collections.Generic.IList<T>.this[System.Int32]
property
this
System.Collections.Generic.IReadOnlyList<T>.this[System.Int32]
269 writes to
mscorlib (11)
system\cfgparser.cs (1)
549m_attributes[index] = new DictionaryEntry(key, value);
system\collections\generic\list.cs (2)
208this[index] = (T)value; 1115_list[index] = value;
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
759traitMetaData[lenPos] = unchecked((byte)valueLen); // Fill in size 760traitMetaData[lenPos + 1] = unchecked((byte)(valueLen >> 8));
system\security\principal\ircollection.cs (1)
145_Identities[index] = value;
system\threading\Tasks\Task.cs (3)
3672continuations[i] = null; // so that we can skip this later 3684continuations[i] = null; // to enable free'ing up memory earlier 4855continuationsLocalListRef[index] = null;
system\threading\ThreadLocal.cs (2)
697m_freeIds[availableId] = false; 711m_freeIds[id] = true;
PresentationCore (53)
Core\CSharp\MS\Internal\Ink\Bezier.cs (1)
79points[x] = p;
Core\CSharp\MS\Internal\Ink\CuspData.cs (5)
100_points[i] = cdp; 104_points[j] = cdp2; 117_points[i] = cdp; 127_points[i] = cdp; 134_points[i] = cdp;
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (4)
193eraseAt[i] = fragment; 232eraseAt[index - 1] = lastFragment; 238eraseAt[index - 1] = lastFragment; 303newPath[newPath.Count - 1] = path[i];
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
1207_transformTable[tableIndex] = xform; 2664_metricTable[tmp] = metricBlock;
Core\CSharp\MS\Internal\Ink\Lasso.cs (2)
461strokeIntersections[strokeIntersections.Count - 1] = previousIntersection; 726points[i] = intersectionPoint;
Core\CSharp\MS\Internal\Ink\StrokeIntersection.cs (2)
208inFIndices[inFIndices.Count - 1] = sfiPrevious; 240hitFIndices[hitFIndices.Count - 1] = sfiPrevious;
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (7)
153connectingQuadPoints[abIndex++] = quad.A; 154connectingQuadPoints[abIndex++] = quad.B; 171connectingQuadPoints[i] = connectingQuadPoints[j]; 182connectingQuadPoints[i] = connectingQuadPoints[j]; 183connectingQuadPoints[j] = temp; 821dcPoints[i] = dcPoints[j]; 822dcPoints[j] = temp;
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (1)
256_strokeInfos[x] = null;
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
172_innerCBList[index] = value;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
204_innerBindingList[index] = value;
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
197_innerGestureList[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
Core\CSharp\System\Windows\Media\Animation\WeakRefEnumerator.cs (1)
147_list[_writeIndex] = currentRef;
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (2)
509list[position] = value; 569_samplerData[position] = newSampler;
Graphics\include\exports.cs (1)
1281_others[index] = new Entry(key, value);
Shared\MS\Internal\Ink\BitStream.cs (1)
470_targetBuffer[_targetBuffer.Count - 1] = buffer;
PresentationFramework (59)
src\Framework\MS\Internal\Annotations\TextAnchor.cs (4)
328anchor._segments[currentIndex] = CreateNormalizedSegment(otherSegment.End, current.End); 341anchor._segments[currentIndex] = CreateNormalizedSegment(current.Start, otherSegment.Start); 430anchor._segments[current] = CreateNormalizedSegment(otherSegment.Start, currentSegment.End); 439anchor._segments[current] = CreateNormalizedSegment(currentSegment.Start, otherSegment.End);
src\Framework\MS\Internal\Documents\PageCache.cs (2)
828_cache[index] = newEntry; 866_cache[i] = newEntry;
src\Framework\MS\Internal\Documents\RowCache.cs (3)
498_rowCache[i] = currentRow; 1115_rowCache[index] = newRow; 1127_rowCache[i] = row;
src\Framework\MS\Internal\Documents\TextBoxView.cs (8)
1966_visualChildren[i] = _visualChildren[j]; 2420_lineMetrics[lineIndex] = new LineRecord(lineOffset, line); 2498_lineMetrics[lineIndex] = new LineRecord(lineOffset, line); 2531_lineMetrics[lineIndex] = new LineRecord(lineOffset, line); 2614_lineMetrics[lineIndex] = record; 2715_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex + i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i]; 2761_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] = lineVisual; 2791_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] = null;
src\Framework\MS\Internal\Documents\UndoManager.cs (4)
486UndoStack[_topUndoIndex] = unit; 991_undoStack[i - count] = _undoStack[i]; 997_undoStack[i] = null; 1167UndoStack[_topUndoIndex--] = null;
src\Framework\MS\Internal\Helper.cs (1)
816itemValues[j] = keyValue;
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (1)
299_breakRecords[pageNumber] = entry;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (3)
357rectangles[index] = rectTransform.FromTextDpi(); 2344rectangles[i] = r; 2454rectangles[i] = r;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
1626objectsNew[idx] = oldEmbeddedObject;
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
146_uriList[index] = value;
src\Framework\System\Windows\Controls\DataGrid.cs (2)
7302GroupingSortDescriptionIndices[i]++; 7313GroupingSortDescriptionIndices[i]--;
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
682DisplayIndexMap[i]++; 703DisplayIndexMap[i]--;
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (6)
256_actualIndices[targetIndex] = _actualIndices[targetIndex + 1]; 263_actualIndices[targetIndex] = _actualIndices[targetIndex - 1]; 267_actualIndices[newIndex] = actualIndex; 325_actualIndices[sourceIndex] = i - 1; 334_actualIndices[sourceIndex - 1] = i; 338_actualIndices[sourceIndex - 1] = i - 1;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
279DesiredWidthList[column.ActualIndex] = column.EnsureWidth(child.DesiredSize.Width); 839DesiredWidthList[column.ActualIndex] = column.DesiredWidth;
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
173DesiredWidthList[column.ActualIndex] = column.DesiredWidth; 564DesiredWidthList[column.ActualIndex] = column.DesiredWidth;
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
2883_list[j] = _list[i];
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
482_generatedItemsCollection[pos.Index + i] = e;
src\Framework\System\Windows\Controls\TextBlock.cs (1)
3539_subsequentLines[index - 1] = metrics;
src\Framework\System\Windows\Controls\ToolBarTray.cs (4)
582band[toolBarIndex] = prevToolBar; 585band[toolBarIndex-1] = toolBar; 630band[toolBarIndex] = nextToolBar; 633band[toolBarIndex + 1] = toolBar;
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
877_regions[i] = region;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3686_list[destIndex++] = _list[i];
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
229_bamlProperty[propertyId] = xamlMember; 275_bamlProperty[propertyId] = xamlMember; 570_bamlType[typeId] = xType;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
311_entries[existingIndex] = entry;
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
489_keyFrames[index] = value;
src\Framework\System\Windows\Navigation\Journal.cs (1)
307_journalEntryList[_currentEntryIndex] = journalEntry;
src\Framework\System\Windows\TemplateContent.cs (1)
378sharedProperties[i] = sdp;
src\Framework\System\Windows\TriggerActionCollection.cs (1)
172_rawList[index] = value;
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
375_freezableCache[index] = freezable;
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
375_freezableCache[index] = freezable;
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
375_freezableCache[index] = freezable;
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
375_freezableCache[index] = freezable;
System (3)
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1139_rangelist[j] = _rangelist[i];
regex\system\text\regularexpressions\RegexNode.cs (2)
369_children[j] = at; 473_children[j] = at;
System.Activities (2)
System\Activities\Debugger\StateManager.cs (2)
146this.threads[i] = new LogicalThread(i, threadName, this); 288this.threads[threadIndex] = null;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
300this.UniqueNamespaces[index] = ns;
System.AddIn (4)
System\Addin\Hosting\AddInStore.cs (4)
847state.FileCounts[i]++; 856state.FileCounts[i]++; 865state.FileCounts[i]++; 876state.FileCounts[i]++;
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
300this.UniqueNamespaces[index] = ns;
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
322items[index] = newValue;
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
324items[index] = newValue;
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
232items[index] = (PARAMETEROBJECTNAME)newValue;
fx\src\data\System\Data\Selection.cs (2)
1013listeners[index] = null; 1045listeners[i] = null;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1317fields[columnOrdinal] = candidateMd;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
624altMetaDataSetArray[i] = altMetaDataSet;
System.Data.Entity (40)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
244newList[idx] = newElement;
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
149mappedPropInfo[idx] = new KeyValuePair<string,TypeUsage>(originalProp.Name, mappedPropType);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
236constructors[idx] = entityConstructor;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1366args[idx] = DbExpressionBuilder.Null(memberModelTypeUsage); 1388args[idx] = args[idx].CastTo(memberModelTypeUsage); 1525args[i] = DbExpressionBuilder.Null(getParameterTypeUsage(parametersMetadata[i])); 2686thenExprList[i] = DbExpressionBuilder.Null(resultType);
System\Data\Common\Internal\MultipartIdentifier.cs (7)
89parsedNames[stringCount] = string.Empty; 117parsedNames[stringCount] = sb.ToString(); // set the currently parsed string 134parsedNames[stringCount] = sb.ToString(); // Set the currently parsed string 163parsedNames[stringCount] = sb.ToString(); // Need to set the name here in case the string ends here. 197parsedNames[stringCount] = sb.ToString(); 208parsedNames[stringCount] = sb.ToString(); 243parsedNames[stringCount] = sb.ToString();
System\Data\Common\Utils\ModifiableIteratorCollection.cs (1)
117m_elements[index] = m_elements[lastIndex];
System\Data\Common\Utils\ThreadSafeList.cs (1)
79_list[index] = value;
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
234items[index] = (EntityParameter)newValue;
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
190m_inputIdentifiers[idx] = new KeyValuePair<int, DbSetClause>(inputIdentifier.Key, newClause);
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
182rootNode.Children[i] = IsolateUnions(rootNode.Children[i]); 254rootNode.Children[i] = ConvertUnionsToNormalizedLOJs(rootNode.Children[i]); 502children[i] = IsolateByOperator(children[i], opTypeToIsolate);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
77children[i] = SimplifyTreeByMergingNodes(children[i]);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (2)
223output[i] = output[j]; 224output[j] = tmp;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
734m_boolExprs[cellNum] = BoolExpression.True;
System\Data\Metadata\Edm\MetadataCollection.cs (1)
359collectionData.OrderedList[index] = item;
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
322normalizedArguments[argumentOrdinal] = normalizedArgument;
System\Data\Query\InternalTrees\RuleProcessor.cs (1)
126subTreeRoot.Children[i] = ApplyRulesToSubtree(context, rules, subTreeRoot.Children[i], subTreeRoot, i);
System\Data\Query\InternalTrees\Visitors.cs (2)
1661n.Children[i] = VisitNode(n.Children[i]); 1673n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\KeyPullup.cs (1)
367n.Children[i] = m_command.CreateNode(m_command.CreateProjectOp(branchOutputVars),
System\Data\Query\PlanCompiler\NestPullup.cs (4)
2137nestNode.Children[i] = ConvertToSingleStreamNest(chi, varRefReplacementMap, childFlattenedOutputVars, out childKeyColumnMaps); 2148nestOp.CollectionInfo[i - 1] = Command.CreateCollectionInfo(chiCi.CollectionVar, 2419nestNode.Children[i] = augmentedInput; 2782n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1492n.Children[i] = FixupSetOpChild(n.Children[i], op.VarMap[i], newComputedVars);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
487n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (1)
126n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\TransformationRules.cs (2)
110node.Children[i] = ReMap(node.Children[i], varMap); 3487joinNode.Children[projectNodeIdx] = projectNode.Child0; // bypass the projectOp
System.Data.Linq (36)
SqlClient\Common\SqlVisitor.cs (16)
324suq.Arguments[i] = this.VisitExpression(suq.Arguments[i]); 328suq.Columns[i] = (SqlUserColumn) this.Visit(suq.Columns[i]); 334spc.Arguments[i] = this.VisitExpression(spc.Arguments[i]); 338spc.Columns[i] = (SqlUserColumn) this.Visit(spc.Columns[i]); 356sox.Args[i] = this.VisitExpression(sox.Args[i]); 366link.KeyExpressions[i] = this.VisitExpression(link.KeyExpressions[i]); 372cq.Arguments[i] = this.VisitExpression(cq.Arguments[i]); 383scar.Expressions[i] = this.VisitExpression(scar.Expressions[i]); 441select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 465update.Assignments[i] = (SqlAssign)this.Visit(update.Assignments[i]); 484b.Statements[i] = (SqlStatement)this.Visit(b.Statements[i]); 531xs.Expressions[i] = this.VisitExpression(xs.Expressions[i]); 552sin.Values[i] = this.VisitExpression(sin.Values[i]); 564fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]); 570fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]); 577mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]);
SqlClient\Query\MethodCallConverter.cs (1)
216mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]);
SqlClient\Query\SqlBinder.cs (5)
145fc.Arguments[i] = this.FetchExpression(fc.Arguments[i]); 165mc.Arguments[i] = this.FetchExpression(mc.Arguments[i]); 667sox.Args[i] = this.VisitExpression(sox.Args[i]); 670sox.Args[i] = this.FetchExpression(sox.Args[i]); 1163select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
28select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]);
SqlClient\Query\SqlDeflator.cs (3)
165select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 189link.KeyExpressions[i] = this.VisitExpression(link.KeyExpressions[i]); 394select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]);
SqlClient\Query\SqlDuplicator.cs (1)
373nin.Values[i] = this.VisitExpression(nin.Values[i]);
SqlClient\Query\SqlExpander.cs (1)
255links[i].KeyExpressions[k] = lexprs[i];
SqlClient\Query\SqlMethodCallConverter.cs (1)
904mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]);
SqlClient\Query\SqlNamer.cs (3)
178sox.Args[i] = this.VisitNamedExpression(sox.Args[i], pis[i].Name); 183sox.Args[i] = this.VisitExpression(sox.Args[i]); 212mc.Arguments[i] = this.VisitNamedExpression(mc.Arguments[i], pis[i].Name);
SqlClient\Query\SqlParameterizer.cs (1)
175suq.Arguments[i] = this.VisitParameter(suq.Arguments[i]);
SqlClient\Query\SqlReorderer.cs (1)
164select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]);
SqlClient\Query\SqlResolver.cs (1)
95select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]);
SqlClient\Query\SqlRetyper.cs (1)
210fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]);
System.Data.Services (2)
System\Data\Services\KeyInstance.cs (1)
174this.positionalValues[i] = convertedValue;
System\Data\Services\Serializers\Serializer.cs (1)
503this.segmentResultCounts[this.segmentResultCounts.Count - 1] = count;
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
402normalizedArguments[argumentOrdinal] = normalizedArgument;
System.Data.SqlXml (4)
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
278accumulator[i] = itemType;
System\Xml\Xsl\Xslt\Scripts.cs (1)
162scriptClasses[j] = null;
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1313content[split] = calltemplate;
System\Xml\Xsl\XsltOld\TemplateAction.cs (1)
141compiler.QueryStore[this.MatchKey] = new TheQuery(
System.IdentityModel (6)
System\IdentityModel\Asn1IntegerConverter.cs (6)
107decimalDigits[i] = (byte)(newValue % 10); 140first[i] = (byte)(newValue % 10); 158first[i] = (byte)(newValue + 10); 163first[i] = (byte)newValue; 174first[i] = (byte)(newValue + 10); 179first[i] = (byte)newValue;
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2570nestedParamCounts[level] = nestedParamCounts[level] + count;
System.ServiceModel (4)
System\ServiceModel\Diagnostics\PerformanceCounters.cs (2)
361PerformanceCounters.PerformanceCountersForEndpointList[index] = counters; 411PerformanceCounters.PerformanceCountersForEndpointList[index] = null;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
650authorizationPolicies[i] = sctPolicy;
System\ServiceModel\SynchronizedCollection.cs (1)
212this.items[index] = item;
System.Web (2)
UI\WebControls\Menu.cs (1)
1305cacheList[index] = item;
UI\WebControls\TreeView.cs (1)
1348cacheList[index] = item;
System.Web.Extensions (1)
UI\WebControls\QueryableDataSourceView.cs (1)
557matches[i] = OriginalValueMatches(values[i], propertyValue);
System.Windows.Forms (7)
misc\GDI\WindowsGraphicsCacheManager.cs (1)
225WindowsFontCache[currentIndex] = newEntry;
winforms\Managed\System\WinForms\Application.cs (1)
2873parkingWindows[i] = null;
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (5)
2346this.rowStates[index] = dataGridViewRow.State; 2414this.rowStates[rowIndex] = this.rowStates[rowIndex] | state; 2418this.rowStates[rowIndex] = this.rowStates[rowIndex] & ~state; 2521this.rowStates[rowIndex1] = this.rowStates[rowIndex2]; 2522this.rowStates[rowIndex2] = rowStates;
System.Workflow.ComponentModel (4)
AuthoringOM\ActivitiesCollection.cs (1)
96base[index] = value;
AuthoringOM\Design\Connector.cs (1)
346this.segments[i] = new Point(this.segments[i].X + size.Width, this.segments[i].Y + size.Height);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
261connectionPoints[connectionPoints.Count - 1] = new Point(connectionPoints[connectionPoints.Count - 1].X, connectionPoints[connectionPoints.Count - 1].Y - Footer.Bounds.Height);
AuthoringOM\ItemList.cs (1)
162base[index] = value;
System.Workflow.Runtime (6)
KeyedPriorityQueue.cs (6)
57heap[i] = heap[parent]; 61heap[i] = new HeapNode<K, V, P>(key, value, priority); 82heap[size--] = placeHolder; 100heap[size--] = placeHolder; 213heap[i] = heap[j]; 214heap[j] = temp;
System.WorkflowServices (1)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
134base[index] = value;
System.Xml (9)
System\Xml\Schema\ContentValidator.cs (7)
1743runningPositions[k] = rposInfo; 1750runningPositions[matchCount] = runningPositions[k]; 1751runningPositions[k] = lastrpos; 1800runningPositions[matchCount] = newRPosInfo; 1805runningPositions[matchCount] = newRPosInfo; 1811runningPositions[matchCount] = newRPosInfo; 1820runningPositions[j] = newRPosInfo;
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
37entries[matchedIndex] = new XmlSchemaObjectEntry(name, value); 52entries[matchedIndex] = new XmlSchemaObjectEntry(name, value);
3486 references to
mscorlib (72)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
218if (GC.GetGeneration(m_NotGen2[idx]) < GC.MaxGeneration && GC.GetGeneration(m_NotGen2[0]) == GC.MaxGeneration) 220returnBuffer = m_NotGen2[idx]; 259object currentBuffer = m_NotGen2[i];
system\_localdatastoremgr.cs (1)
301((LocalDataStore)m_ManagedLocalDataStores[i]).FreeData(slot, cookie);
system\AggregateException.cs (1)
408IList<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions;
system\appdomain.cs (1)
151AppDomainInitializer curr = nestedDelegates[idx++];
system\collections\generic\list.cs (2)
202return this[index]; 1110return _list[index];
system\diagnostics\eventing\eventprovider.cs (9)
400(liveSessionList[idx].sessionIdBit != s.sessionIdBit)) 413(m_liveSessions[idx].sessionIdBit != s.sessionIdBit)) 512if (sessions[i].etwSessionId == etwSessionId) 1052rgGCHandle[i] = GCHandle.Alloc(dataRefObj[i], GCHandleType.Pinned); 1053if (dataRefObj[i] is string) 1055fixed (char* p = (string)dataRefObj[i]) 1056userDataPtr[refObjPosition[i]].Ptr = (ulong)p; 1060fixed (byte* p = (byte[])dataRefObj[i]) 1061userDataPtr[refObjPosition[i]].Ptr = (ulong)p;
system\diagnostics\eventing\eventsource.cs (1)
4431WeakReference weakRef = s_EventSources[i];
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (4)
46return m_values[position]; 100yield return new KeyValuePair<string, object>(this.m_names[i], this.m_values[i]); 135value = m_values[position];
system\globalization\datetimeformatinfoscanner.cs (1)
548result[i] = m_dateWords[i];
system\io\directory.cs (1)
324String name = stackDir[stackDir.Count - 1];
system\io\longpath.cs (1)
559String name = stackDir[stackDir.Count - 1];
system\reflection\emit\aqnbuilder.cs (1)
165Type enclosingType = nestings[i];
system\reflection\emit\assemblybuilder.cs (3)
1580ModuleBuilder moduleBuilder = (ModuleBuilder) m_assemblyData.m_moduleBuilderList[i]; 1940ModuleBuilder mBuilder = (ModuleBuilder) m_assemblyData.m_moduleBuilderList[i]; 2035tempRes = (ResWriterData)m_assemblyData.m_resWriterList[i];
system\reflection\emit\assemblybuilderdata.cs (7)
280ResWriterData resWriter = m_resWriterList[i]; 299ModuleBuilder moduleBuilder = m_moduleBuilderList[i]; 323ModuleBuilder curModule = m_moduleBuilderList[i]; 350ModuleBuilder moduleBuilder = m_moduleBuilderList[i]; 363ResWriterData resWriter = m_resWriterList[i]; 386ModuleBuilder moduleBuilder = m_moduleBuilderList[i]; 408ModuleBuilder moduleBuilder = m_moduleBuilderList[i];
system\reflection\emit\dynamicilgenerator.cs (1)
1201return m_tokens[token];
system\reflection\emit\methodbuilder.cs (1)
762currentMethod = m_containingType.m_listMethods[i];
system\reflection\emit\modulebuilder.cs (1)
969ModuleBuilder mBuilder = modList[i];
system\reflection\emit\typebuilder.cs (3)
2303interfaceTokens[i] = m_module.GetTypeTokenInternal(m_typeInterfaces[i]).Token; 2326constraints[i] = m_module.GetTypeTokenInternal(m_typeInterfaces[i]).Token; 2374MethodBuilder meth = m_listMethods[i];
system\resources\resourcewriter.cs (1)
446bw.Write(typeNames[i]);
system\rttype.cs (2)
1150RuntimeType constraint = al[i]; 1471if (propertyInfo.EqualsSig(cache[j]))
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
180token = restTokens[last];
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
678type = (Type)memberTypesList[position];
system\security\claims\ClaimsIdentity.cs (3)
504yield return m_instanceClaims[i]; 693if (object.ReferenceEquals(m_instanceClaims[i], claim)) 1042m_instanceClaims[i].Subject = this;
system\security\claims\ClaimsPrincipal.cs (12)
401using (MemoryStream claimsIdentityStream = new MemoryStream(Convert.FromBase64String(listOfIdentities[i + 1]))) 407if (!string.IsNullOrEmpty(listOfIdentities[i])) 410if (Int64.TryParse(listOfIdentities[i], NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out handle)) 656if (m_identities[i] != null) 658claim = m_identities[i].FindFirst(type); 685if (m_identities[i] != null) 687if (m_identities[i].HasClaim(match)) 719if (m_identities[i] != null) 721if (m_identities[i].HasClaim(type, value)) 769if (m_identities[i] != null) 771if (m_identities[i].HasClaim(m_identities[i].RoleClaimType, role))
system\security\principal\ircollection.cs (3)
134return _Identities[index]; 197Type type = Identities[i].GetType(); 430get { return _Collection.Identities[_Current]; }
system\stubhelpers.cs (2)
1656if (m_list[i].m_owned) 1657StubHelpers.SafeHandleRelease(m_list[i].m_handle);
system\threading\Tasks\Task.cs (2)
3668var tc = continuations[i] as StandardTaskContinuation; 3682object currentContinuation = continuations[i];
system\threading\Tasks\TaskExceptionHolder.cs (2)
317var t = exceptions[i].SourceException.GetType(); 392combinedExceptions[i] = exceptions[i].SourceException;
system\threading\ThreadLocal.cs (1)
687if (m_freeIds[availableId]) { break; }
PresentationBuildTasks (13)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (2)
707Uid currentUid = _uids[i]; 747return _uids[index];
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (1)
415FileUnit xamlfile = modifiedXamlFiles[i];
Core\CSharp\MS\internal\Media\XamlSerializationHelper.cs (1)
218curPoint = point3Ds[i] ;
Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
1606List<ValueDeferRecord> srRecords = staticResourceRecordList[j]; 1609ValueDeferRecord srRecord = srRecords[k]; 1695valueDeferRecord = _staticResourceRecordList[_staticResourceRecordList.Count-1];
Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (5)
112last = ints[i-1].Value; 113cur = ints[i].Value; 181ints[i].Value 196ints[i].Value 211ints[i].Value
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3493ClrNamespaceAssemblyPair mapping = namespaceAssemblyPair[j];
PresentationCore (482)
Core\CSharp\MS\Internal\Ink\Bezier.cs (2)
76Point p = points[x]; 572return (Vector)_bezierControlPoints[index];
Core\CSharp\MS\Internal\Ink\CuspData.cs (32)
73_nodes.Insert(index, _nodes[index - 1] + (XY(index) - XY(index - 1)).Length); 96if (_nodes[j] - _nodes[i] >= rError) 98CDataPoint cdp = _points[i]; 102CDataPoint cdp2 = _points[j]; 109if (0 > _points[i].TanPrev) 113if (_nodes[i] - _nodes[j] >= rError) 115CDataPoint cdp = _points[i]; 123if (0 > _points[i].TanNext) 125CDataPoint cdp = _points[i]; 130if (0 > _points[i].TanPrev) 132CDataPoint cdp = _points[i]; 164if (_cusps[m] <= iCurrent) 172return _cusps[m + 1]; 183return new Vector(_points[i].Point.X, _points[i].Point.Y); 204return _nodes[i]; 215return _points[nodeIndex].Index; 250i_1 = _points[nAt].TanPrev; 258i_2 = _points[i_1].TanPrev; 265i_1 = _points[nAt].TanNext; 273i_2 = _points[i_1].TanNext; 284i_2 = _points[nAt].TanPrev; 292i_3 = _points[i_2].TanPrev; 297nAt = _points[nAt].TanNext; 446if (_nodes[iNext] - _nodes[iPoint] >= _span) 456if (_nodes[iPoint] - _nodes[iPrev] >= _span) 522_span = 0.75f * (_nodes[count - 1] * _nodes[count - 1]) / (count * _dist);
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (5)
179StrokeFIndices lastFragment = eraseAt[i]; 218if (eraseAt[eraseAt.Count - 1].IsFull) 226StrokeFIndices lastFragment = eraseAt[index - 1]; 229if (DoubleUtil.AreClose(eraseAt[index].BeginFIndex, StrokeFIndices.BeforeFirst)) 231lastFragment.EndFIndex = eraseAt[index].EndFIndex;
Core\CSharp\MS\Internal\Ink\ExtendedPropertyCollection.cs (9)
60if (_extendedProperties[i].Equals(that[x])) 120if (_extendedProperties[x].Id == attributeId) 149copied.Add(_extendedProperties[x].Clone()); 253ExtendedProperty currentProperty = _extendedProperties[i]; 297return _extendedProperties[index]; 354_extendedProperties[_optimisticIndex].Id == id) 356return _extendedProperties[_optimisticIndex]; 362if (_extendedProperties[i].Id == id) 364return _extendedProperties[i];
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GuidTagList.cs (2)
70if (guid.Equals(_CustomGuids[i])) 232Guid guid = (Guid)_CustomGuids[i];
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (22)
119if (0 == (byte)(charData[charData.Count - 1])) 1601KnownTagCache.KnownTagIndex tag = (KnownTagCache.KnownTagIndex)strd.Template[cTags]; 1608buttonCount = (uint)strd.Template[cTags]; 1615Guid guid = guidList.FindGuid(strd.Template[cTags]); 1637tags.Add(strd.Template[cTags]); 1655Guid guid = guidList.FindGuid(tags[i]); 1666stylusPointPropertyInfos.Add(GetStylusPointPropertyInfo(guid, tags[i], block)); 2298cbTotal += SerializationHelper.VarSize((_strokeDescriptorTable[count]).Size) + (_strokeDescriptorTable[count]).Size; 2308cbData += EncodeStrokeDescriptor(strm, _strokeDescriptorTable[count]); 2330cSize += _metricTable[i].Size; 2355block = _metricTable[i]; 2378cbData += SerializationHelper.Encode(strm, (uint)strd.Template[count]); 2405TransformDescriptor xform = _transformTable[i]; 2440cbTotal += EncodeTransformDescriptor(strm, _transformTable[i], false); 2450cbTotal += EncodeTransformDescriptor(strm, _transformTable[i], true); 2576DrawingAttributes drawingAttributes = _drawingAttributesTable[i]; 2589DrawingAttributes drawingAttributes = _drawingAttributesTable[i]; 2637if (strokeDescriptor.IsEqual(_strokeDescriptorTable[descriptorIndex])) 2655MetricBlock block = _metricTable[tmp]; 2690if (true == xform.Compare(_transformTable[i])) 2712if (true == drattrs.Equals(_drawingAttributesTable[i]))
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeDescriptor.cs (2)
46if( _strokeDescriptor[i] != strd.Template[i] )
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (3)
194KnownTagCache.KnownTagIndex tag = strokeDescriptor.Template[iTag - 1]; 203tag = strokeDescriptor.Template[iTag]; 233iTag += (int)((uint)strokeDescriptor.Template[iTag]) + 1;
Core\CSharp\MS\Internal\Ink\Lasso.cs (31)
85return _points[index]; 136if (!DoubleUtil.AreClose(_points[last].Y,point.Y)) 138isHigher = (point.Y < _points[last].Y); 144Point prevLassoPoint = _points[_points.Count - 1]; 147Point lassoPoint = _points[i]; 218Point lassoLastPoint = _points[_points.Count - 1]; 401si.InBegin = crossingList[x - 1].FIndices.EndFIndex; 402si.HitBegin = crossingList[x - 1].FIndices.BeginFIndex; 403currentSegmentWithinLasso = SegmentWithinLasso(crossingList[x - 1].EndNode, si.InBegin); 422si.InEnd = crossingList[x].FIndices.BeginFIndex; 432si.HitEnd = crossingList[x].FIndices.EndFIndex; 433currentSegmentWithinLasso = SegmentWithinLasso(crossingList[x].StartNode, si.InEnd); 437if (!currentSegmentWithinLasso && !SegmentWithinLasso(crossingList[x].EndNode, si.HitEnd)) 440si.HitBegin = crossingList[x].FIndices.BeginFIndex; 452StrokeIntersection previousIntersection = strokeIntersections[strokeIntersections.Count - 1]; 518Point lastPoint = _points[_points.Count - 1]; 724intersectionPoint.X = points[i].X + (intersection - i) * (points[i + 1].X - points[i].X); 725intersectionPoint.Y = points[i].Y + (intersection - i) * (points[i + 1].Y - points[i].Y); 744bounds.Union(points[j]); 775Rect newRect = new Rect(points[count - 1], point); 785Rect currRect = new Rect(points[i], points[i+1]); 791double s = FindIntersection(points[count-1] - points[i], /*hitBegin*/ 792point - points[i], /*hitEnd*/ 794points[i+1] - points[i] /*orgEnd*/);
Core\CSharp\MS\Internal\Ink\StrokeIntersection.cs (4)
202inFIndices[inFIndices.Count - 1].EndFIndex >= 206StrokeFIndices sfiPrevious = inFIndices[inFIndices.Count - 1]; 234hitFIndices[hitFIndices.Count - 1].EndFIndex >= 238StrokeFIndices sfiPrevious = hitFIndices[hitFIndices.Count - 1];
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (9)
171connectingQuadPoints[i] = connectingQuadPoints[j]; 181Point temp = connectingQuadPoints[i]; 182connectingQuadPoints[i] = connectingQuadPoints[j]; 820temp = dcPoints[i]; 821dcPoints[i] = dcPoints[j]; 885context.BeginFigure(points[points.Count - 1], //start point 951Point next = points[i]; 966Point sizePoint = points[i + 1]; 968Point arcToPoint = points[i + 2];
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (15)
421hitTestEdgeList[i].Project(_objectToViewport); 1050Vector v1 = mousePos - edges[i]._p1Transformed; 1051Vector v2 = edges[i]._p2Transformed - edges[i]._p1Transformed; 1071currClosest = edges[i]._p1Transformed; 1079currClosest = edges[i]._p1Transformed; 1085currClosest = edges[i]._p2Transformed; 1089currClosest = edges[i]._p1Transformed + (numer / denom) * v2; 1103closestIntersection = ((currClosest - edges[i]._p1Transformed).Length / Math.Sqrt(denom) * 1104(edges[i]._uv2 - edges[i]._uv1)) + edges[i]._uv1; 1108closestIntersection = edges[i]._uv1; 1198result.Union(edges[i]._p1Transformed); 1199result.Union(edges[i]._p2Transformed);
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (14)
577AutomationPeer child = children[i]; 1270result[i] = ProviderFromPeer(controlledPeers[i]); 1408_children[i]._parent = this; 1409_children[i]._index = i; 1410_children[i]._hwnd = _hwnd; 1433peer = _children[_children.Count - 1]; 1460&& parent._children[_index] == this ) 1462sibling = parent._children[_index + 1]; 1483&& parent._children[_index] == this ) 1485sibling = parent._children[_index - 1]; 1684found = children[i].GetPeerFromPoint(point); 1824if(!ht.Contains(oldChildren[i])) 1825ht.Add(oldChildren[i], null); 1837AutomationPeer child = _children[i];
Core\CSharp\System\Windows\FreezableCollection.cs (7)
189OnFreezablePropertyChanged(/* oldValue = */ _collection[i], /* newValue = */ null); 267T oldValue = _collection[index]; 340return _collection[index]; 538array.SetValue(_collection[i], index + i); 668DependencyObject inheritanceChild = _collection[i]; 849T newValue = source._collection[i]; 941T item = _collection[i];
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (7)
115_strokeInfos[i].Detach(); 203if (localRemoved[j] == _strokeInfos[i].Stroke) 228if (_strokeInfos[i].Stroke != _strokes[i]) 250StrokeInfo strokeInfo = _strokeInfos[x]; 271StrokeInfo strokeInfo = _strokeInfos[x]; 552StrokeInfo strokeInfo = this.StrokeInfos[x]; 581StrokeHitEventArgs eventArgs = strokeHitEventArgCollection[x];
Core\CSharp\System\Windows\Ink\Stroke.cs (4)
320bezierLength += GetDistanceBetweenPoints(bezierPoints[x - 1], bezierPoints[x]); 337bezierPoints[x], 365bezierPoints[bezierPoints.Count - 1],
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (2)
292UIElement target = targets[i] as UIElement; 456IInputElement element = possibleElements[i];
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
166return (_innerCBList != null ? _innerCBList[index] : null);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (4)
712if ((execute && ExecuteCommandBinding(sender, exArgs, list[i].Item2)) || 713(!execute && CanExecuteCommandBinding(sender, canExArgs, list[i].Item2))) 716Type classType = list[i].Item1; 717while (++i<list.Count && list[i].Item1 == classType)
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (3)
185return _innerBindingList[index]; 202oldInputBinding = _innerBindingList[index]; 343oldInputBinding = _innerBindingList[index];
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
186return (_innerGestureList != null ? _innerGestureList[index] : null);
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (1)
167_manipulators[i].Updated -= OnManipulatorUpdated;
Core\CSharp\System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
263processor.SetParameters(_inertiaParameters[i]);
Core\CSharp\System\Windows\Input\TouchDevice.cs (7)
487TouchDevice touchDevice = _activeDevices[i]; 519TouchDevice touchDevice = _activeDevices[i]; 888TouchDevice touchDevice = _activeDevices[i]; 1248TouchDevice device = _activeDevices[i]; 1277TouchDevice device = _activeDevices[i]; 1323TouchDevice device = _activeDevices[i]; 1343TouchDevice device = _activeDevices[i];
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
1439return parentChildren[_childIndex + 1];
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (10)
140Clock child = _children[index]; 299if (_children[c].NeedsPostfixTraversal) // Traverse deeper if this is part of the visited tree subset 301ClockGroup group = _children[c] as ClockGroup; 322(_children[c].InternalNextTickNeededTime.HasValue && _children[c].InternalNextTickNeededTime < InternalNextTickNeededTime)) 324InternalNextTickNeededTime = _children[c].InternalNextTickNeededTime; 359Clock current = _children[childIndex]; 445Clock child = _children[c]; 559_children[childIndex].UpdateDescendantsWithUnresolvedDuration(); 560if (_children[childIndex].HasDescendantsWithUnresolvedDuration)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
908(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (11)
111BooleanKeyFrame keyFrame = (BooleanKeyFrame)sourceCollection._keyFrames[i].Clone(); 132BooleanKeyFrame keyFrame = (BooleanKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153BooleanKeyFrame keyFrame = (BooleanKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174BooleanKeyFrame keyFrame = (BooleanKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (11)
111ByteKeyFrame keyFrame = (ByteKeyFrame)sourceCollection._keyFrames[i].Clone(); 132ByteKeyFrame keyFrame = (ByteKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153ByteKeyFrame keyFrame = (ByteKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174ByteKeyFrame keyFrame = (ByteKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
908(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (11)
111CharKeyFrame keyFrame = (CharKeyFrame)sourceCollection._keyFrames[i].Clone(); 132CharKeyFrame keyFrame = (CharKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153CharKeyFrame keyFrame = (CharKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174CharKeyFrame keyFrame = (CharKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (11)
111ColorKeyFrame keyFrame = (ColorKeyFrame)sourceCollection._keyFrames[i].Clone(); 132ColorKeyFrame keyFrame = (ColorKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153ColorKeyFrame keyFrame = (ColorKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174ColorKeyFrame keyFrame = (ColorKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (11)
111DecimalKeyFrame keyFrame = (DecimalKeyFrame)sourceCollection._keyFrames[i].Clone(); 132DecimalKeyFrame keyFrame = (DecimalKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153DecimalKeyFrame keyFrame = (DecimalKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174DecimalKeyFrame keyFrame = (DecimalKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (11)
111DoubleKeyFrame keyFrame = (DoubleKeyFrame)sourceCollection._keyFrames[i].Clone(); 132DoubleKeyFrame keyFrame = (DoubleKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153DoubleKeyFrame keyFrame = (DoubleKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174DoubleKeyFrame keyFrame = (DoubleKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (11)
111Int16KeyFrame keyFrame = (Int16KeyFrame)sourceCollection._keyFrames[i].Clone(); 132Int16KeyFrame keyFrame = (Int16KeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Int16KeyFrame keyFrame = (Int16KeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Int16KeyFrame keyFrame = (Int16KeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (11)
111Int32KeyFrame keyFrame = (Int32KeyFrame)sourceCollection._keyFrames[i].Clone(); 132Int32KeyFrame keyFrame = (Int32KeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Int32KeyFrame keyFrame = (Int32KeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Int32KeyFrame keyFrame = (Int32KeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (11)
111Int64KeyFrame keyFrame = (Int64KeyFrame)sourceCollection._keyFrames[i].Clone(); 132Int64KeyFrame keyFrame = (Int64KeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Int64KeyFrame keyFrame = (Int64KeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Int64KeyFrame keyFrame = (Int64KeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
908(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (11)
111MatrixKeyFrame keyFrame = (MatrixKeyFrame)sourceCollection._keyFrames[i].Clone(); 132MatrixKeyFrame keyFrame = (MatrixKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153MatrixKeyFrame keyFrame = (MatrixKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174MatrixKeyFrame keyFrame = (MatrixKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
908(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (11)
111ObjectKeyFrame keyFrame = (ObjectKeyFrame)sourceCollection._keyFrames[i].Clone(); 132ObjectKeyFrame keyFrame = (ObjectKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153ObjectKeyFrame keyFrame = (ObjectKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174ObjectKeyFrame keyFrame = (ObjectKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (11)
111Point3DKeyFrame keyFrame = (Point3DKeyFrame)sourceCollection._keyFrames[i].Clone(); 132Point3DKeyFrame keyFrame = (Point3DKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Point3DKeyFrame keyFrame = (Point3DKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Point3DKeyFrame keyFrame = (Point3DKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (11)
111PointKeyFrame keyFrame = (PointKeyFrame)sourceCollection._keyFrames[i].Clone(); 132PointKeyFrame keyFrame = (PointKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153PointKeyFrame keyFrame = (PointKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174PointKeyFrame keyFrame = (PointKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (11)
111QuaternionKeyFrame keyFrame = (QuaternionKeyFrame)sourceCollection._keyFrames[i].Clone(); 132QuaternionKeyFrame keyFrame = (QuaternionKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153QuaternionKeyFrame keyFrame = (QuaternionKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174QuaternionKeyFrame keyFrame = (QuaternionKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (11)
111RectKeyFrame keyFrame = (RectKeyFrame)sourceCollection._keyFrames[i].Clone(); 132RectKeyFrame keyFrame = (RectKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153RectKeyFrame keyFrame = (RectKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174RectKeyFrame keyFrame = (RectKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (11)
111Rotation3DKeyFrame keyFrame = (Rotation3DKeyFrame)sourceCollection._keyFrames[i].Clone(); 132Rotation3DKeyFrame keyFrame = (Rotation3DKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Rotation3DKeyFrame keyFrame = (Rotation3DKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Rotation3DKeyFrame keyFrame = (Rotation3DKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (11)
111SingleKeyFrame keyFrame = (SingleKeyFrame)sourceCollection._keyFrames[i].Clone(); 132SingleKeyFrame keyFrame = (SingleKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153SingleKeyFrame keyFrame = (SingleKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174SingleKeyFrame keyFrame = (SingleKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (11)
111SizeKeyFrame keyFrame = (SizeKeyFrame)sourceCollection._keyFrames[i].Clone(); 132SizeKeyFrame keyFrame = (SizeKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153SizeKeyFrame keyFrame = (SizeKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174SizeKeyFrame keyFrame = (SizeKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
908(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (11)
111StringKeyFrame keyFrame = (StringKeyFrame)sourceCollection._keyFrames[i].Clone(); 132StringKeyFrame keyFrame = (StringKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153StringKeyFrame keyFrame = (StringKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174StringKeyFrame keyFrame = (StringKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (11)
111Vector3DKeyFrame keyFrame = (Vector3DKeyFrame)sourceCollection._keyFrames[i].Clone(); 132Vector3DKeyFrame keyFrame = (Vector3DKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153Vector3DKeyFrame keyFrame = (Vector3DKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174Vector3DKeyFrame keyFrame = (Vector3DKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (11)
111VectorKeyFrame keyFrame = (VectorKeyFrame)sourceCollection._keyFrames[i].Clone(); 132VectorKeyFrame keyFrame = (VectorKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153VectorKeyFrame keyFrame = (VectorKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174VectorKeyFrame keyFrame = (VectorKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (1)
108Duration childEndOfActivePeriod = children[childIndex].EndOfActivePeriod;
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (1)
303return list[index];
Core\CSharp\System\Windows\Media\Animation\WeakRefEnumerator.cs (1)
139WeakReference currentRef = _list[_readIndex];
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (13)
226if (_floatRegisters[i] != null) 240if (_samplerData[i] != null) 503if (!list[position].HasValue) 530if (!_samplerData[position].HasValue) 542SamplerData? oldSampler = _samplerData[position]; 650MilColorF? v = _floatRegisters[i]; 667MilColorI? v = _intRegisters[i]; 684bool? v = _boolRegisters[i]; 705SamplerData? ssn = _samplerData[i]; 727SamplerData? ssn = _samplerData[i]; 769T? v = list[i]; 792SamplerData? ssn = _samplerData[i]; 832SamplerData? ssn = _samplerData[i];
Core\CSharp\System\Windows\Media\Visual.cs (6)
4765if (index < 3 && UIElement.DpiScaleXValues[index] != 0 && UIElement.DpiScaleYValues[index] != 0) 4767dpi = new DpiScale(UIElement.DpiScaleXValues[index], UIElement.DpiScaleYValues[index]); 4773dpi = new DpiScale(UIElement.DpiScaleXValues[actualIndex], UIElement.DpiScaleYValues[actualIndex]);
Core\CSharp\System\Windows\Media3D\Matrix3DStack.cs (1)
94return _stack[_stack.Count - 1];
Core\CSharp\System\Windows\Media3D\RayHitTestParameters.cs (2)
131RayHitTestResult result = results[i]; 166HitTestResultBehavior behavior = resultCallback(results[i]);
Graphics\include\exports.cs (5)
1231if (_others[i]._key == key) 1300_first = _others[j]; 1357value = _others[index]._value; 1401return _others[index - 1]._key; 1468if (others[i]._key == key)
Shared\MS\Internal\Ink\BitStream.cs (1)
458buffer = _targetBuffer[_targetBuffer.Count - 1];
PresentationFramework (733)
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
453if (adorners[index-1].AnnotationComponent.ZOrder <= adorner.AnnotationComponent.ZOrder)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (17)
134ITextPointer invalidateStart = _segments[startSeg].Segment.Start; 135ITextPointer invalidateEnd = _segments[endSeg].Segment.End; 138HighlightSegment highlightSegment = _segments[i]; 181_segments[seg].UpdateOwners(); 185ITextPointer invalidateStart = _segments[startSeg].Segment.Start; 186ITextPointer invalidateEnd = _segments[endSeg].Segment.End; 214ITextPointer invalidateStart = _segments[startSeg].Segment.Start; 215ITextPointer invalidateEnd = _segments[endSeg].Segment.End; 221_segments[i].AddActiveOwner(highlightRange); 223_segments[i].RemoveActiveOwner(highlightRange); 258highlightSegment = _segments[i]; 368HighlightSegment highlightSegment = _segments[ind]; 461invalidateEnd = _segments[ind].Segment.End; 474HighlightSegment highlightSegment = _segments[i]; 499HighlightSegment highlightSegment = _segments[i]; 522HighlightSegment highlightSegment = _segments[i]; 693if (_owners[i].Priority < owner.Priority)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (9)
932Debug.Assert(components[i].HighlightAnchor != null, "Missing highlight anchor component"); 933active[i] = components[i].HighlightAnchor.IsSelected(selection); 935components[i].SetSelected(false); 942components[i].SetSelected(true); 998components[i].CheckPosition(pos); 1052if (Compare(_components[i], component) > 0) 1060_components[i].SetTabIndex(i); 1077if (_components[ind] == component) 1087_components[ind].SetTabIndex(ind);
src\Framework\MS\Internal\Annotations\TextAnchor.cs (14)
133if (_segments[i].Contains(textPointer)) 184if ((_segments[i].Start.CompareTo(other._segments[i].Start) != 0) || 185(_segments[i].End.CompareTo(other._segments[i].End) != 0)) 304current = anchor._segments[currentIndex]; 406currentSegment = anchor._segments[current]; 529return _segments.Count > 0 ? _segments[_segments.Count - 1].End : null; 558textBuffer.Append(TextRangeBase.GetTextInternal(_segments[i].Start, _segments[i].End)); 612TextSegment segment = orderedList[i]; 640if (newSegment.Start.CompareTo(_segments[i].Start) < 0) 645if (i > 0 && newSegment.Start.CompareTo(_segments[i - 1].End) < 0) 649if (i < _segments.Count && newSegment.End.CompareTo(_segments[i].Start) > 0)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
780Rect rect = Rect.Intersect(webBrowser.BoundRect, _webBrowserList[j].BoundRect);
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (3)
180if ( _elementsBounds[i] != hatchBounds[i] ) 259Rect hatchRect = _elementsBounds[i];
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
357node = list[index]; 371if (list[k].Group == parentGroup) 373parentNode = list[k];
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
726dp = s_dpList[_dpIndex];
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (3)
117if (pageViews[i].DocumentPage is FlowDocumentPage) 119textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView)); 129ich = pageViews[i].DocumentPage.Visual as IContentHost;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
3003RowCacheChange change = args.Changes[i];
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (3)
456AsyncRequest asyncRequest = _asyncRequests[index]; 644_asyncRequests[index].Cancel(); 809AsyncRequest asyncRequest = _asyncRequests[index];
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (21)
160ReadOnlyCollection<TextSegment> textSegments = _pageTextViews[i].TextSegments; 174Geometry pageGeometry = _pageTextViews[i].GetTightBoundingGeometryFromTextPositions(startPositionInTextSegment, endPositionInTextSegment); 177Transform transform = _pageTextViews[i].RenderScope.TransformToAncestor(_renderScope).AffineTransform; 657if (!_pageTextViews[i].IsValid) 698textSegments.AddRange(_pageTextViews[i].TextSegments); 728_pageTextViews[index].Updated -= new EventHandler(HandlePageTextViewUpdated); 1083textViewBounds = TransformToAncestor(_pageTextViews[i].RenderScope, new Rect(_pageTextViews[i].RenderScope.RenderSize)); 1086textView = _pageTextViews[i]; 1097textViewBounds = TransformToAncestor(_pageTextViews[i].RenderScope, new Rect(_pageTextViews[i].RenderScope.RenderSize)); 1124textView = _pageTextViews[i]; 1149if (_pageTextViews[i].Contains(position)) 1151textView = _pageTextViews[i]; 1174if (_pageTextViews[i].DocumentPageView.PageNumber == pageNumber) 1176textView = _pageTextViews[i]; 1204if (_pageTextViews[i].DocumentPageView.PageNumber == newPageNumber) 1206textView = _pageTextViews[i]; 1212int currentPageNumber = _pageTextViews[i].DocumentPageView.PageNumber; 1219textView = _pageTextViews[i]; 1229textView = _pageTextViews[i];
src\Framework\MS\Internal\Documents\PageCache.cs (5)
270Size pageSize = _cache[pageNumber].PageSize; 305return _cache[pageNumber].Dirty; 732if (_cache[i].Dirty || !dirtyOnly) 824if (newEntry.PageSize != _cache[index].PageSize || 825newEntry.Dirty != _cache[index].Dirty)
src\Framework\MS\Internal\Documents\RowCache.cs (16)
259return _rowCache[index]; 275return _rowCache[GetRowIndexForPageNumber(pageNumber)]; 297RowInfo rowInfo = _rowCache[i]; 340double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 341double rowHeight = Math.Round(_rowCache[i].RowSize.Height, _findOffsetPrecision); 442double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 479RowInfo currentRow = _rowCache[i]; 634RowInfo lastRow = _rowCache[_rowCache.Count-1]; 722AddRow(tempRows[i]); 934RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 1020RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 1060RowInfo currentRow = _rowCache[rowIndex]; 1112 RowInfo oldRowInfo = _rowCache[index]; 1125RowInfo row = _rowCache[i]; 1152RowInfo row = _rowCache[i]; 1246PageCacheChange pageChange = args.Changes[i];
src\Framework\MS\Internal\Documents\TextBoxView.cs (81)
560return _visualChildren[index]; 701int startOffset = Math.Min(_lineMetrics[_lineMetrics.Count-1].EndOffset, startPosition.Offset); 702int endOffset = Math.Min(_lineMetrics[_lineMetrics.Count - 1].EndOffset, endPosition.Offset); 720bool firstLinePartiallyCovered = _lineMetrics[firstLineIndex].Offset < startOffset || 721_lineMetrics[firstLineIndex].EndOffset > endOffset; 722bool lastLinePartiallyCovered = _lineMetrics[lastLineIndex].Offset < startOffset || 723_lineMetrics[lastLineIndex].EndOffset > endOffset; 745double contentOffset = GetContentOffset(_lineMetrics[lineIndex].Width, alignment); 746Rect rect = new Rect(contentOffset, lineIndex * _lineHeight, _lineMetrics[lineIndex].Width, _lineHeight); 749ITextPointer endOfLinePosition = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].EndOffset, LogicalDirection.Backward); 789nextLinePosition = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex + linesMoved].Offset, LogicalDirection.Forward); 835if (position.Offset > _lineMetrics[lineIndex].Offset) 894if (nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == _lineMetrics[lineIndex].EndOffset && 908else if (nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength == _lineMetrics[lineIndex].Offset && 957if (backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength == _lineMetrics[lineIndex].Offset) 990ITextPointer start = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].Offset, LogicalDirection.Forward); 991ITextPointer end = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[lineIndex].Offset + _lineMetrics[lineIndex].ContentLength, LogicalDirection.Forward); 1111int lastValidOffset = _lineMetrics[_lineMetrics.Count - 1].EndOffset; 1123int newLastValidOffset = _lineMetrics[_lineMetrics.Count - 1].EndOffset; 1193LineRecord record = _lineMetrics[index]; 1310ITextPointer end = _host.TextContainer.CreatePointerAtOffset(_lineMetrics[_lineMetrics.Count-1].EndOffset, LogicalDirection.Forward); 1578LineRecord metrics = _lineMetrics[lineIndex]; 1668LineRecord record = _lineMetrics[index]; 1732LineRecord metrics = _lineMetrics[lineIndex]; 1885LineRecord metrics = _lineMetrics[lineIndex]; 1960if (_visualChildren[i] == null || _visualChildren[i].DiscardOnArrange) 1962RemoveVisualChild(_visualChildren[i]); 1966_visualChildren[i] = _visualChildren[j]; 1998RemoveVisualChild(_visualChildren[i]); 2045int startOffset = Math.Max(_lineMetrics[lineIndex].Offset, unclippedStartOffset); 2046int endOffset = Math.Min(_lineMetrics[lineIndex].EndOffset, unclippedEndOffset); 2053if (unclippedStartOffset == _lineMetrics[lineIndex].EndOffset) 2079Invariant.Assert(endOffset == _lineMetrics[lineIndex].Offset || 2080endOffset == _lineMetrics[lineIndex].Offset + _lineMetrics[lineIndex].ContentLength); 2098if (unclippedEndOffset >= _lineMetrics[lineIndex].EndOffset) 2104double contentOffset = GetContentOffset(_lineMetrics[lineIndex].Width, alignment); 2105Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2131int lineStartOffset = _lineMetrics[lineIndex].Offset; 2132int lineEndOffset = _lineMetrics[lineIndex].EndOffset; 2149if (unclippedStartOffset == _lineMetrics[lineIndex].EndOffset) 2161Invariant.Assert(endOffset == _lineMetrics[lineIndex].Offset || 2162endOffset == _lineMetrics[lineIndex].Offset + _lineMetrics[lineIndex].ContentLength); 2177if (unclippedEndOffset >= _lineMetrics[lineIndex].EndOffset) 2183double contentOffset = GetContentOffset(_lineMetrics[lineIndex].Width, alignment); 2184Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth, _lineHeight); 2239lineOffset = _lineMetrics[_lineMetrics.Count - 1].EndOffset; 2329if (range.StartIndex > _lineMetrics[_lineMetrics.Count - 1].EndOffset) 2349if (range.StartIndex > _lineMetrics[_lineMetrics.Count - 1].EndOffset) 2390_lineMetrics[i].Offset += delta; 2407lineOffset = _lineMetrics[lineIndex].Offset; 2447if (endOffset > _lineMetrics[_lineMetrics.Count - 1].EndOffset) 2450endOffset = _lineMetrics[_lineMetrics.Count - 1].EndOffset; 2464_lineMetrics[i].Offset += delta; 2481lineOffset = _lineMetrics[lineIndex].Offset; 2491(range.StartIndex > lineOffset || range.StartIndex + -delta < _lineMetrics[lineIndex].EndOffset)) 2524int originalEndOffset = _lineMetrics[lineIndex].EndOffset; 2525lineOffset = _lineMetrics[lineIndex].Offset; 2538if (originalEndOffset != _lineMetrics[lineIndex].EndOffset) 2557lineOffset != _lineMetrics[lineIndex].Offset)) 2560lineOffset >= _lineMetrics[lineIndex].EndOffset) 2579lineOffset + line.Length <= _lineMetrics[lineIndex].Offset) 2593Invariant.Assert(lineOffset < _lineMetrics[lineIndex].EndOffset); 2595var curLine = _lineMetrics[lineIndex]; 2647desiredSize.Width = Math.Max(desiredSize.Width, _lineMetrics[i].Width); 2715_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex + i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i]; 2722if (oldLineVisuals[i] != null) 2724oldLineVisuals[i].DiscardOnArrange = true; 2730if (oldLineVisuals[i] != null) 2732oldLineVisuals[i].DiscardOnArrange = true; 2750lineVisual = _viewportLineVisuals[lineIndex - _viewportLineVisualsIndex]; 2787_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex] != null) 2790_viewportLineVisuals[lineIndex - _viewportLineVisualsIndex].DiscardOnArrange = true; 2817if (_viewportLineVisuals[start + i] != null) 2819_viewportLineVisuals[start + i].DiscardOnArrange = true; 2904_lineMetrics[_lineMetrics.Count - 1].EndOffset >= position.Offset; 2964int viewportStart = _lineMetrics[firstLineIndex].Offset; 2965int viewportEnd = _lineMetrics[lastLineIndex].EndOffset;
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (5)
483if (ancestorsStart[depth - 1] == ancestorsEnd[depth - 1]) 485element = ancestorsStart[depth - 1]; 496elementStart = positionsStart[depth - 1]; 497elementEnd = positionsEnd[depth - 1];
src\Framework\MS\Internal\Documents\UndoManager.cs (7)
678return UndoStack[_topUndoIndex] as IUndoUnit; 746undoStack.Add(_undoStack[i]); 753undoStack.Add(_undoStack[i]); 795undoStack.Add(_undoStack[i]); 965return _undoStack[index]; 991_undoStack[i - count] = _undoStack[i]; 1166IUndoUnit unit = (IUndoUnit)UndoStack[_topUndoIndex];
src\Framework\MS\Internal\Globalization\BamlResourceSerializer.cs (1)
108_bamlTreeStack.Push(children[i]);
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (1)
626BamlTreeNode child = (BamlTreeNode) node.Children[i];
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (3)
68return _nodeList[i]; 124BamlTreeNode child = children[i]; 509if (_children[i].NodeType == BamlNodeType.Property)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
324BamlTreeNode child = oldChildren[i];
src\Framework\MS\Internal\Helper.cs (7)
786if (itemValues[i].Key == dpIndex) 788return itemValues[i].Value; 814if (itemValues[j].Key == dpIndex) 839if (itemValues[i].Key == dpIndex) 920if (itemValues[i].Key == dpIndex) 922value = itemValues[i].Value; 1064KeyValuePair<int, object> itemValue = itemValuesList[i];
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (2)
381xml = XamlWriter.Save(elements[i]); 387inkCanvasSelection.UpdateElementBounds(elements[i], newElement, transform);
src\Framework\MS\Internal\Ink\HighContrastHelper.cs (2)
104WeakReference weakRef = __highContrastCallbackList[j]; 160WeakReference weakRef = __highContrastCallbackList[j];
src\Framework\MS\Internal\Ink\LassoHelper.cs (5)
83Point point = points[i]; 218if (false == DoubleUtil.AreClose(_lasso[last].Y, point.Y)) 220isHigher = point.Y < _lasso[last].Y; 226Point prevLassoPoint = _lasso[_lasso.Count - 1]; 230Point lassoPoint = _lasso[i];
src\Framework\MS\Internal\LayoutDump.cs (1)
373DumpUIElement(writer, uiElements[index], visualParent, true);
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (27)
72Invariant.Assert(_breakRecords[pageNumber - 1] != null, "Invalid BreakRecordTable entry."); 73breakRecord = _breakRecords[pageNumber - 1].BreakRecord; 93Invariant.Assert(_breakRecords[pageNumber] != null, "Invalid BreakRecordTable entry."); 94pageRef = _breakRecords[pageNumber].DocumentPage; 133Invariant.Assert(_breakRecords[pageNumber] != null, "Invalid BreakRecordTable entry."); 134textSegments = _breakRecords[pageNumber].TextSegments; 288if (_breakRecords[pageNumber].BreakRecord != null && 289_breakRecords[pageNumber].BreakRecord != entry.BreakRecord) 291_breakRecords[pageNumber].BreakRecord.Dispose(); 293if (_breakRecords[pageNumber].DocumentPage != null && 294_breakRecords[pageNumber].DocumentPage.Target != null && 295_breakRecords[pageNumber].DocumentPage.Target != entry.DocumentPage.Target) 297((FlowDocumentPage)_breakRecords[pageNumber].DocumentPage.Target).Dispose(); 326Invariant.Assert(_breakRecords[pageNumber - 1] != null, "Invalid BreakRecordTable entry."); 327return (_breakRecords[pageNumber - 1].BreakRecord != null); 357Invariant.Assert(_breakRecords[_breakRecords.Count - 1] != null, "Invalid BreakRecordTable entry."); 358return (_breakRecords[_breakRecords.Count - 1].BreakRecord == null); 387Invariant.Assert(_breakRecords[index] != null, "Invalid BreakRecordTable entry."); 388pageRef = _breakRecords[index].DocumentPage; 393_breakRecords[index].DocumentPage = null; 413Invariant.Assert(_breakRecords[index] != null, "Invalid BreakRecordTable entry."); 415pageRef = _breakRecords[index].DocumentPage; 420if (_breakRecords[index].BreakRecord != null) 422_breakRecords[index].BreakRecord.Dispose(); 447Invariant.Assert(_breakRecords[pageStart] != null, "Invalid BreakRecordTable entry."); 451dependentMax = _breakRecords[pageStart].DependentMax; 458textSegments = _breakRecords[pageStart].TextSegments;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
262BaseParaClient floatingElement = _pageContextOfThisPage.FloatingElementList[index]; 866ParagraphResult paragraphResult = floatingElementList[i].CreateParagraphResult();
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
264BaseParaClient floatingElement = _pageContextOfThisPage.FloatingElementList[index]; 872ParagraphResult paragraphResult = floatingElementList[i].CreateParagraphResult();
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
351transformedRectangles.Add(transform.TransformBounds(rectangles[index])); 396ParagraphResult paragraphResult = floatingElementList[i].CreateParagraphResult();
src\Framework\MS\Internal\PtsHost\PtsCache.cs (48)
216if (!_contextPool[index].InUse && 217_contextPool[index].IsOptimalParagraphEnabled == ptsContext.IsOptimalParagraphEnabled) 227_contextPool[index].IsOptimalParagraphEnabled = ptsContext.IsOptimalParagraphEnabled; 228_contextPool[index].PtsHost = new PtsHost(); 229_contextPool[index].PtsHost.Context = CreatePTSContext(index, textFormattingMode); 234if (_contextPool[index].IsOptimalParagraphEnabled) 236ptsContext.TextFormatter = _contextPool[index].TextFormatter; 240_contextPool[index].InUse = true; 241_contextPool[index].Owner = new WeakReference(ptsContext); 243return _contextPool[index].PtsHost; 291if (_contextPool[index].PtsHost == ptsHost) 297PTS.Validate(PTS.GetFloaterHandlerInfo(ref _contextPool[index].FloaterInit, pobjectinfo)); 318if (_contextPool[index].PtsHost == ptsHost) 324PTS.Validate(PTS.GetTableObjHandlerInfo(ref _contextPool[index].TableobjInit, pobjectinfo)); 367PtsContext ptsContext = _contextPool[index].Owner.Target as PtsContext; 370Invariant.Assert(_contextPool[index].PtsHost.Context == ptsContext.Context, "PTS Context mismatch."); 371_contextPool[index].Owner = new WeakReference(null); 372_contextPool[index].InUse = false; 378if (!_contextPool[index].InUse) 383Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 384PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 385Invariant.Assert(_contextPool[index].InstalledObjects != IntPtr.Zero, "Installed Objects handle is not valid."); 386PTS.IgnoreError(PTS.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects)); 389if (_contextPool[index].TextPenaltyModule != null) 391_contextPool[index].TextPenaltyModule.Dispose(); 442if (_contextPool[index].PtsHost.Context == ptsContext.Context) 444_contextPool[index].Owner = new WeakReference(null); 445_contextPool[index].InUse = false; 466if (!_contextPool[index].InUse) 468Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 469PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 470Invariant.Assert(_contextPool[index].InstalledObjects != IntPtr.Zero, "Installed Objects handle is not valid."); 471PTS.Validate(PTS.DestroyInstalledObjectsInfo(_contextPool[index].InstalledObjects)); 474if (_contextPool[index].TextPenaltyModule != null) 476_contextPool[index].TextPenaltyModule.Dispose(); 507ptsHost = _contextPool[index].PtsHost; 511InitInstalledObjectsInfo(ptsHost, ref _contextPool[index].SubtrackParaInfo, ref _contextPool[index].SubpageParaInfo, out installedObjects, out installedObjectsCount); 512_contextPool[index].InstalledObjects = installedObjects; 515InitGenericInfo(ptsHost, (IntPtr)(index + 1), installedObjects, installedObjectsCount, ref _contextPool[index].ContextInfo); 518InitFloaterObjInfo(ptsHost, ref _contextPool[index].FloaterInit); 519InitTableObjInfo(ptsHost, ref _contextPool[index].TableobjInit); 522if (_contextPool[index].IsOptimalParagraphEnabled) 528_contextPool[index].TextPenaltyModule = penaltyModule; 529_contextPool[index].ContextInfo.ptsPenaltyModule = ptsPenaltyModule; 530_contextPool[index].TextFormatter = TextFormatter.CreateFromContext(textFormatterContext, textFormattingMode); 536GC.SuppressFinalize(_contextPool[index].TextPenaltyModule); 540PTS.Validate(PTS.CreateDocContext(ref _contextPool[index].ContextInfo, out context));
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (2)
91Visual paraVisual = floatingElementList[index].Visual; 564Rect rect = rectangleList[index];
src\Framework\MS\Internal\PtsHost\PtsHost.cs (6)
2065if(attachedObjects[objectIndex] is FigureObject) 2067FigureObject figureObject = (FigureObject) attachedObjects[objectIndex]; 2075FloaterObject floaterObject = (FloaterObject) attachedObjects[objectIndex]; 2188if(attachedObjects[objectIndex] is FigureObject) 2190FigureObject figureObject = (FigureObject) attachedObjects[objectIndex]; 2198FloaterObject floaterObject = (FloaterObject) attachedObjects[objectIndex];
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
1314BaseParaClient floatingElement = _pageContextOfThisPage.FloatingElementList[index];
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
190BaseParaClient floatingElement = _pageContextOfThisPage.FloatingElementList[index]; 778ParagraphResult paragraphResult = floatingElementList[i].CreateParagraphResult();
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
355PTS.FSRECT rectTransform = new PTS.FSRECT(rectangles[index]); 1451UIElement uiElement = (UIElement)inlineObjects[i].Element; 1485UIElement uiElement = (UIElement)inlineObjects[i].Element; 1748TextParaLineResult lastLineResult = (TextParaLineResult)lines[lines.Count - 1]; 1817TextParaLineResult lastLineResult = (TextParaLineResult)lines[lines.Count - 1]; 2341Rect r = rectangles[i]; 2451Rect r = rectangles[i];
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (17)
975TextElement textElement = textElements[index]; 1098InlineObject obj = _inlineObjects[i]; 1182_attachedObjects[index].Para.ClearUpdateInfo(); 1249BaseParagraph attachedObjectPara = _attachedObjects[index].Para; 1273_attachedObjects[index].Para.InvalidateFormatCache(); 1419AttachedObject attachedObject = _attachedObjects[index]; 1561ErrorHandler.Assert(objectsNew == null || (objectsNew[0].Dcp >= dcpStart && objectsNew[objectsNew.Count-1].Dcp <= dcpLim), ErrorHandler.SubmitInvalidList); 1576while (end > 0 && objectsCached[end-1].Dcp >= dcpLim) --end; 1578while (start > 0 && objectsCached[start-1].Dcp >= dcpStart) --start; 1589objectsCached[index].Dispose(); 1608T oldEmbeddedObject = objectsCached[start]; 1612T newEmbeddedObject = objectsNew[idx]; 1638objectsCached[start].Dispose(); 1681while (first < objectsCached.Count && objectsCached[first].Dcp < dcpStart) 1686while (last < objectsCached.Count && objectsCached[last].Dcp < dcpStart + cchDeleted) 1696objectsCached[index].Dispose(); 1704objectsCached[last].Dcp += cchDiff;
src\Framework\System\Windows\Annotations\AnnotationService.cs (3)
1023IAttachedAnnotation match = FindAnnotationInList(existingAnnotations[i], attachedAnnotations); 1024if ((match != null) && AttachedAnchorsEqual(match, existingAnnotations[i])) 1029dirtyAnnotations.Add(existingAnnotations[i]);
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
792if (this.Index != -1 && parent != null && parent.Children != null && this.Index < parent.Children.Count && parent.Children[this.Index] == this)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
914if (this.Index != -1 && parent != null && parent.Children != null && this.Index < parent.Children.Count && parent.Children[this.Index] == this)
src\Framework\System\Windows\Automation\Peers\FlowDocumentPageViewerAutomationPeer.cs (1)
47if (children[children.Count-1] is DocumentAutomationPeer)
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
255return ElementProxy.StaticWrap(columns[column], lvpeer);
src\Framework\System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
116GridViewColumnHeader header = gridview.HeaderRowPresenter.ActualColumnHeaders[Column];
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
295ItemAutomationPeer peer = recentlyRealizedPeers[i];
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
142if(this.Index != -1 && parent != null && parent.Children != null && this.Index < parent.Children.Count && parent.Children[this.Index] == this)
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
619KeyValuePair<object, T> pair = _list[i]; 680KeyValuePair<object, T> pair = _list[i];
src\Framework\System\Windows\BroadcastEventHelper.cs (1)
270DependencyObject d = eventRoute[i];
src\Framework\System\Windows\Controls\AlternationConverter.cs (1)
46return _values[index];
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (4)
116Uri uri = _uriList[index]; 136return _uriList[index]; 141Uri oldUri = _uriList[index]; 287return _uriList[index];
src\Framework\System\Windows\Controls\DataGrid.cs (14)
438return DisplayIndexMap[displayIndex]; 2199_selectedCells.AddRegion(rowIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]); 2255_selectedCells.AddRegion(newItemIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]); 3723_selectedCells.AddRegion(rowIndex, columnIndexRanges[i], 1, columnIndexRanges[i + 1]); 4549ItemInfo rowInfo = e.RemovedInfos[i]; 4557ItemInfo rowInfo = e.AddedInfos[i]; 7300if (GroupingSortDescriptionIndices[i] >= e.NewStartingIndex) 7311if (GroupingSortDescriptionIndices[i] > e.OldStartingIndex) 7315else if (GroupingSortDescriptionIndices[i] == e.OldStartingIndex) 7353Items.SortDescriptions.RemoveAt(GroupingSortDescriptionIndices[i] - i); 7790ItemInfo info = _pendingInfos[i];
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (27)
184RealizedColumnsBlock rcb = blockList[i]; 196RealizedColumnsBlock nextRcb = blockList[i + 1]; 202measureWidth += GetColumnEstimatedMeasureWidthSum(blockList[blockList.Count - 1].EndIndex + 1, parentDataGrid.Columns.Count - 1, averageColumnWidth); 484if (indexList[i] != indexList[i - 1] + 1) 488resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i - 1], 0)); 492RealizedColumnsBlock lastRealizedColumnsBlock = resultList[resultList.Count - 1]; 494resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i - 1], startIndexOffset)); 497startIndex = indexList[i]; 504resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i], 0)); 508RealizedColumnsBlock lastRealizedColumnsBlock = resultList[resultList.Count - 1]; 510resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i], startIndexOffset)); 772UIElement child = _realizedChildren[realizedChildIndex]; 1012if (realizedColumnDisplayIndices[displayIndexListIterator] == displayIndex) 1016else if (realizedColumnDisplayIndices[displayIndexListIterator] > displayIndex) 1050RealizedColumnsBlock block = (blockCount > 0 ? blockList[blockIndex] : new RealizedColumnsBlock(-1, -1, -1)); 1200realizedChild = _realizedChildren[realizedIndex]; 1349RealizedColumnsBlock lastBlock = blockList[blockList.Count - 1]; 1350RealizedColumnsBlock lastDisplayIndexBlock = displayIndexBlockList[displayIndexBlockList.Count - 1]; 1410j < additionalChildrenCount && additionalChildIndices[j] <= childIndex; j++) 1438UIElement child = children[additionalChildIndices[i]] as UIElement; 1557RealizedColumnsBlock block = blockList[i]; 1575RealizedColumnsBlock lastBlock = blockList[blockList.Count - 1]; 1595RealizedColumnsBlock block = blockList[blockIndex++]; 1622block = blockList[blockIndex++]; 1660RealizedColumnsBlock block = blockList[j]; 1669int childColumnIndex = (displayIndex < 0 ? -1 : displayIndexMap[displayIndex]);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (11)
234return this[DisplayIndexMap[displayIndex]]; 368int columnIndex = DisplayIndexMap[oldDisplayIndex]; 678if (DisplayIndexMap[i] >= columnIndex && i != newDisplayIndex) 699if (DisplayIndexMap[i] >= columnIndex) 735Debug.Assert(DisplayIndexMap[i] >= 0 && DisplayIndexMap[i] < Count, "DisplayIndex map entry doesn't point to a valid column"); 945DataGridColumn column = unResolvedColumns[i]; 968DataGridColumn column = unResolvedColumns[i]; 996DataGridColumn column = partialResolvedColumns[i]; 1009DataGridColumn column = partialResolvedColumns[i]; 1019DataGridColumn column = unResolvedColumns[i];
src\Framework\System\Windows\Controls\DataGridRowClipboardEventArgs.cs (1)
75DataGridClipboardHelper.FormatCell(ClipboardRowContent[i].Content, i == 0 /* firstCell */, i == count - 1 /* lastCell */, sb, format);
src\Framework\System\Windows\Controls\DefinitionBase.cs (4)
797Grid parentGrid = (Grid)(_registry[i].Parent); 849GridLength currentGridLength = _registry[i].UserSizeValueCache; 882sharedMinSize = Math.Max(sharedMinSize, _registry[i].MinSize); 890DefinitionBase definitionBase = _registry[i];
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (10)
250int actualIndex = _actualIndices[oldIndex]; 256_actualIndices[targetIndex] = _actualIndices[targetIndex + 1]; 263_actualIndices[targetIndex] = _actualIndices[targetIndex - 1]; 269return new GridViewColumnCollectionChangedEventArgs(NotifyCollectionChangedAction.Move, _columns[actualIndex], newIndex, oldIndex, actualIndex); 299int actualIndex = _actualIndices[index]; 300GridViewColumn column = _columns[actualIndex]; 322int i = _actualIndices[sourceIndex]; 331int i = _actualIndices[sourceIndex]; 350_columns[i].ActualIndex = i; 411int oldColumnActualIndex = _actualIndices[index];
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (4)
398_floatingHeader.Arrange(new Rect(new Point(_currentPos.X - _relativeStartPos.X, 0), HeadersPositionList[_startColumnIndex].Size)); 833if (!DoubleUtil.AreClose(column.DesiredWidth, DesiredWidthList[column.ActualIndex])) 1345Rect rect = HeadersPositionList[i]; 1376return new Point(HeadersPositionList[index].X, 0);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
423UIElement cell = children[indexList[i]]; 558if (!DoubleUtil.AreClose(column.DesiredWidth, DesiredWidthList[column.ActualIndex]))
src\Framework\System\Windows\Controls\Panel.cs (1)
1059_zLut[i] = (int)(stableKeyValues[i] & 0xffffffff);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (6)
2831return _list[index]; 2878ItemInfo info = _list[i]; 2883_list[j] = _list[i]; 2920_set.Add(_list[i], _list[i]); 2944result = (index < 0) ? null : _list[index];
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
85UIElement child = generatedItemsCollection[i];
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (4)
70UIElement child = _generatedItemsCollection[i]; 460RemoveChild(_generatedItemsCollection[pos.Index + i]); 481RemoveChild(_generatedItemsCollection[pos.Index + i]); 509UIElement child = _generatedItemsCollection[fromPos.Index + i];
src\Framework\System\Windows\Controls\SelectionChangedEventArgs.cs (2)
58_removedItems[i] = unselectedInfos[i].Item; 64_addedItems[i] = selectedInfos[i].Item;
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
535ranges[i] = new TextRangeAdaptor(this, visibleTextSegments[i].Start, visibleTextSegments[i].End, _textPeer);
src\Framework\System\Windows\Controls\TextBlock.cs (2)
3526return (index == 0) ? _firstLine : _subsequentLines[index - 1]; 3752_subsequentLines[i].Dispose(false);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
2124elements[i] = ProviderFromPeer(peers[i]);
src\Framework\System\Windows\Controls\TextSearch.cs (2)
230&& (String.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo))==0)) 295string lastChar = _charsEntered[_charsEntered.Count - 1];
src\Framework\System\Windows\Controls\ToolBarTray.cs (27)
375List<ToolBar> band = _bands[bandIndex].Band; 380ToolBar toolBar = band[toolBarIndex]; 392ToolBar toolBar = band[toolBarIndex]; 409_bands[bandIndex].Thickness = bandThickness; 440List<ToolBar> band = _bands[bandIndex].Band; 442double bandThickness = _bands[bandIndex].Thickness; 451ToolBar toolBar = band[toolBarIndex]; 562List<ToolBar> band = _bands[currentBand].Band; 576ToolBar prevToolBar = band[toolBarIndex - 1]; 624ToolBar nextToolBar = band[toolBarIndex + 1]; 663List<ToolBar> oldBand = _bands[currentBand].Band; 667ToolBar currentToolBar = oldBand[i]; 695ToolBar toolBar = band[i]; 712ToolBar toolBar = band[i]; 732totalMinLenght += band[i].MinLength; 743ToolBar toolBar = band[i]; 760ToolBar toolBar = band[i]; 780totalMaxLength += band[i].MaxLength; 790List<ToolBar> newBand = _bands[newBandNumber].Band; 803ToolBar currentToolBar = newBand[i]; 840bandOffset += _bands[i].Thickness; 868List<ToolBar> band = _bands[bandIndex].Band; 871ToolBar toolBar = band[toolBarIndex]; 890List<ToolBar> band = _bands[bandIndex].Band; 893ToolBar toolBar = band[toolBarIndex]; 909int currentBandNumber = ((_bands[i].Band)[0]).Band; 947if (toolBar.BandIndex < band[i].BandIndex)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (30)
164CellRegion region = _regions[i]; 191if (_regions[i].Contains(columnIndex, rowIndex)) 211AddRegionToList(_regions[i], list); 250_count += _regions[i].Size; 320CellRegion region = _regions[i]; 412count += _regions[i].Size; 782if (!_regions[i].IsEmpty) 804CellRegion region = _regions[i]; 847CellRegion region = _regions[i]; 850CellRegion subRegion = addList[c]; 874CellRegion region = _regions[i]; 875if (region.Union(addList[c])) 888_regions.Add(addList[c]); 918CellRegion region = _regions[i]; 1001CellRegion keptRegion = keepRegions[i]; 1033CellRegion keptRegion = keepRegions[i]; 1089CellRegion keptRegion = slideRegions[i]; 1105CellRegion movedRegion = movedRegions[i]; 1117CellRegion keptRegion = slideRegions[i]; 1174CellRegion keptRegion = keepRegions[i]; 1221CellRegion keptRegion = keepRegions[i]; 1280CellRegion keptRegion = slideRegions[i]; 1295CellRegion movedRegion = movedRegions[i]; 1307CellRegion keptRegion = slideRegions[i]; 1362CellRegion region = collection._regions[i]; 1381CellRegion region = c1._regions[i]; 1389CellRegion region = orig2._regions[i]; 1517if (_regions[i].Intersects(rowRegion)) 1543CellRegion region = _regions[i]; 1593CellRegion region = regions[i];
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (21)
4454if (LayoutDoubleUtil.AreClose(offset, offsetList[i])) 4470args[i+4] = offsetList[i]; 4481viewport.X = offsetList[offsetList.Count-1]; 4485viewport.Y = offsetList[offsetList.Count-1]; 5582newOffset += (childOffsetList[count-1] - childOffsetList[0]); 5607args[i] = offsetList[i]; 9080Debug.Assert(_realizedChildren[position.Index] == child, "_realizedChildren is corrupt!"); 9096Debug.Assert(_realizedChildren[i] == children[i], "Realized and visual children must match"); 9117UIElement child = _realizedChildren[realizedChildIndex]; 9157realizedChild = _realizedChildren[realizedIndex]; 10818if (DoubleUtil.AreClose(previouslyMeasuredOffsets[i], offset)) 11961s_TargetToTraceListMap[i].Item2.Flush(-1); 11974s_TargetToTraceListMap[i].Item2.Add(record); 12354WeakReference<ItemsControl> wr = s_TargetToTraceListMap[i].Item1; 12358traceList = s_TargetToTraceListMap[i].Item2; 12415TraceList traceList = s_TargetToTraceListMap[i].Item2; 12427WeakReference<ItemsControl> wr = s_TargetToTraceListMap[i].Item1; 12431TraceList traceList = s_TargetToTraceListMap[i].Item2; 12467_traceList[_flushIndex].Write(_writer); 12684writer.Write(children[i]); 12761ChildInfo ci = _realizedChildren[i];
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
2357object errorContent = errors[i]; 2362if (ItemsControl.EqualsEx(toRemove[j].ErrorContent, errorContent))
src\Framework\System\windows\Documents\CaretElement.cs (1)
472TextSegment segment = textSegments[i];
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (3)
124FixedNode fn = (FixedNode)_fixedNodes[index]; 206fn = (FixedNode)_fixedNodes[startIndex]; 216fn = (FixedNode)_fixedNodes[i];
src\Framework\System\Windows\Documents\FixedFlowMap.cs (3)
145return _flowOrder[fp]; 184_flowOrder[i].SetFp(i); 379_flowOrder[i].IncreaseFp();
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (3)
131FixedNode thisObjLastNode = This.FixedNodes[This.FixedNodes.Count - 1]; 134FixedNode otherObjLastNode = compared.FixedNodes[compared.FixedNodes.Count - 1]; 163if (box.CompareTo(_semanticBoxes[i]) == 1)
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (2)
50FixedSOMTextRun run = this.SemanticBoxes[this.SemanticBoxes.Count - 2] as FixedSOMTextRun; 138run = _semanticBoxes[i] as FixedSOMTextRun;
src\Framework\System\Windows\Documents\FixedSOMLineCollection.cs (12)
93if (line < ranges[i].Line - maxSeparation) 101else if (line < ranges[i].Line + maxSeparation) 103ranges[i].AddRange(start, end); 132if (lines[i].Line < parallelLowEnd) 138if (lines[i].Line <= parallelHighEnd) 146if (lines[i].Line >= parallelLowEnd && lines[i].Line <= parallelHighEnd) 151} while (i>=0 && lines[i].Line >= parallelLowEnd); 154while (i<lines.Count && lines[i].Line <= parallelHighEnd) 158int rangeIndex = lines[i].GetLineAt(perpLowEnd + allowedMargin); 161double end = lines[i].End[rangeIndex];
src\Framework\System\Windows\Documents\FixedSOMLineRanges.cs (9)
30if (start > End[i] + _minLineSeparation) 34else if (end + _minLineSeparation < Start[i]) 43if (Start[i] < start) 45start = Start[i]; 47if (End[i] > end) 49end = End[i]; 68if (line > End[i]) 78if (startIndex == endIndex && line <= End[startIndex] && line >= Start[startIndex])
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (41)
603FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 623compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 694FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 782double dropLine = horizontal[h].Line + minLineSeparation; 784for (int hSeg = 0; hSeg < horizontal[h].Count; hSeg++) 787double hStart = horizontal[h].Start[hSeg] - minLineSeparation; 788double hEnd = horizontal[h].End[hSeg] + minLineSeparation; 792while (v < vertical.Count && vertical[v].Line < hStart) 796for (; v < vertical.Count && vertical[v].Line < hEnd; v++) 798int vSeg = vertical[v].GetLineAt(dropLine); 801double vBottom = vertical[v].End[vSeg]; 802if (vCellStart != -1 && horizontal[h2].Line < vBottom + minLineSeparation && 803horizontal[h2].End[hSeg2] + minLineSeparation > vertical[v].Line) 806double top = horizontal[h].Line; 807double bottom = horizontal[h2].Line; 808double left = vertical[vCellStart].Line; 809double right = vertical[v].Line; 833for (h2 = h + 1; h2 < horizontal.Count && horizontal[h2].Line < vBottom + minLineSeparation; h2++) 835hSeg2 = horizontal[h2].GetLineAt(vertical[v].Line + minLineSeparation); 885FixedSOMTable table1 = boxes[i] as FixedSOMTable; 891FixedSOMTable table2 = boxes[j] as FixedSOMTable; 902FixedSOMFixedBlock box1 = boxes[i] as FixedSOMFixedBlock; 910FixedSOMFixedBlock box2 = boxes[j] as FixedSOMFixedBlock; 1062if (tables[i].BoundingRect.Contains(tables[j].BoundingRect) && 1063tables[i].AddContainer(tables[j])) 1067else if (tables[j].BoundingRect.Contains(tables[i].BoundingRect) && 1068tables[j].AddContainer(tables[i])) 1091if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1092table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1115FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1155nextPageElement = container.SemanticBoxes[i] as FixedSOMPageElement;
src\Framework\System\Windows\Documents\FixedSOMTable.cs (8)
190FixedSOMTableRow row = this.SemanticBoxes[i] as FixedSOMTableRow; 218FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 225cell = (FixedSOMTableCell)row.SemanticBoxes[idx]; 233cell = (FixedSOMTableCell)row.SemanticBoxes[idx+1]; 256FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 277FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 279if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol) 285((FixedSOMTableCell)row.SemanticBoxes[idx]).ColumnSpan++;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (18)
203FixedPageStructure pageStructure = _pageStructures[pageIndex]; 306FixedPageStructure ps = _pageStructures[currentNode.Page]; 347return _pageStructures[pageIndex].FindSnapToLine(pt); 354return _pageStructures[pageIndex].FirstLine; 388FlowNode fn = _pageStructures[pageIndex].FlowStart; 400FlowNode fn = _pageStructures[pageIndex].FlowEnd; 1357LogicalHyperlink hyperlink = _hyperlinks[i]; 1382if (r.IntersectsWith(_hyperlinks[i].BoundingRect)) 1384Geometry combined = Geometry.Combine(g, _hyperlinks[i].Geometry, GeometryCombineMode.Intersect, Transform.Identity); 1387return _hyperlinks[i]; 1515FixedSOMTextRun lastRun = _textRuns[_textRuns.Count - 1]; 1540if (_fixedNodes.Count == 0 || _fixedNodes[_fixedNodes.Count - 1] != element.FixedNode) 1590_pageStructure.SetFlowBoundary(_flowNodes[0], _flowNodes[_flowNodes.Count-1]); 1677run = _textRuns[i]; 1690if (_nodesInLine.Count == 0 || _nodesInLine[_nodesInLine.Count - 1] != run.FixedNode) 1698if (i>0 && _builder._IsNonContiguous(_textRuns[i-1], run, comparison)) 1700_textRuns[i-1].Text = _textRuns[i-1].Text + " ";
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
642TextSegment textSegment = selection._TextSegments[i];
src\Framework\System\Windows\Documents\TextRange.cs (1)
1629TextSegment textSegment = _textSegments[i];
src\Framework\System\Windows\Documents\TextRangeBase.cs (7)
92if (thisRange._TextSegments[i].Contains(textPointer)) 411TextSegment textSegment = thisRange._TextSegments[i]; 480TextSegment textSegment = thisRange._TextSegments[i]; 1214return thisRange._TextSegments[thisRange._TextSegments.Count - 1].End; 1284textSegment = thisRange._TextSegments[i]; 1951ITextPointer end = thisRange._TextSegments[thisRange._TextSegments.Count - 1].End; 2071ITextPointer finalEnd = thisRange._TextSegments[thisRange._TextSegments.Count - 1].End;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (3)
412TextSegment segment = textSegments[i]; 427end = textSegments[textSegments.Count - 1].End; 988ClearTableCells(textSegments[i]);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
360TextSegment textSegment = textSegments[i];
src\Framework\System\windows\Documents\TextSelection.cs (2)
434movingPosition = thisSelection.TextSegments[thisSelection.TextSegments.Count - 1].Start; 1928else if (movingPosition.CompareTo(thisSelection.TextSegments[thisSelection.TextSegments.Count-1].Start) == 0)
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (4)
95textSegment = textSegments[segmentIndex]; 127textSegment = textSegments[segmentIndex]; 162textSegment = textSegments[segmentIndex]; 317return textRange._TextSegments[0].Start.CompareTo(textRange._TextSegments[textRange._TextSegments.Count - 1].End) == 0;
src\Framework\System\Windows\Documents\TextStore.cs (2)
1241CompositionEventRecord previousRecord = (this.CompositionEventList.Count == 0) ? null : this.CompositionEventList[this.CompositionEventList.Count - 1]; 3545CompositionEventRecord record = this.CompositionEventList[i];
src\Framework\System\Windows\Documents\WpfPayload.cs (4)
464Image image = _images[imageIndex]; 542if (ImagesAreIdentical(GetBitmapSourceFromImage(_images[i]), GetBitmapSourceFromImage(image))) 545Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.ToString()), "Image content types expected to be consistent: " + imageContentType + " vs. " + GetImageContentType(_images[i].Source.ToString()));
src\Framework\System\Windows\FrameworkContextData.cs (1)
77WalkerEntry walkerEntry = _currentWalkers[last];
src\Framework\System\Windows\Input\KeyboardNavigation.cs (4)
3625object item = _list[i].Target; 3652object item = _list[i].Target; 3684if (_list[i].IsAlive) 3686_list[destIndex++] = _list[i];
src\Framework\System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (2)
68Debug.Assert(StaticResources[StaticResources.Count - 1] is StaticResource); 69return StaticResources[StaticResources.Count - 1] as StaticResource;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
857object value = _context.KeyList[_context.CurrentKey - 1].StaticResources[resourceId]; 1229KeyRecord record = _context.KeyList[_context.CurrentKey]; 1909Object resource = _context.KeyList[_context.CurrentKey - 1].StaticResources[resourceId];
src\Framework\System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
56return KeyList[KeyList.Count - 1];
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (4)
326result = _bamlString[stringId]; 587bamlAssembly = _bamlAssembly[assemblyId]; 611object type = _bamlType[typeId]; 640Object property = _bamlProperty[propertyId];
src\Framework\System\Windows\Markup\BamlReader.cs (5)
501_currentBamlRecord = _currentStaticResourceRecords[_currentStaticResourceRecordIndex++]; 942(BamlOptimizedStaticResourceRecord)_currentKeyInfo.StaticResources[bamlPropertyWithStaticResourceIdRecord.StaticResourceId][0]; 1387BamlKeyInfo keyInfo = _deferKeys[_deferKeys.Count-1]; 1751_currentStaticResourceRecords = _currentKeyInfo.StaticResources[bamlRecord.StaticResourceId]; 2759xmlns = xmlnsList[i];
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
1928object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 2007object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 4359d = _stackDataFactoryCache[_stackDataFactoryCache.Count-1];
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
1606List<ValueDeferRecord> srRecords = staticResourceRecordList[j]; 1609ValueDeferRecord srRecord = srRecords[k]; 1695valueDeferRecord = _staticResourceRecordList[_staticResourceRecordList.Count-1];
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (10)
310entry.Predecessors = _entries[existingIndex].Predecessors; 337Entry predEntry = _entries[predIndex]; 339Entry keyEntry = _entries[keyIndex]; 367_entries[i].Link = Entry.UNSEEN; 381if (_entries[index].Link == Entry.UNSEEN) 384_entries[index].Link = Entry.INDFS; 387if (_entries[index].Predecessors != null) 389foreach (int predIndex in _entries[index].Predecessors) 403_entries[_lastIndex].Link = index; 434Entry entry = _entries[index];
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3493ClrNamespaceAssemblyPair mapping = namespaceAssemblyPair[j];
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
1000(segmentLengths[i] / totalLength) * pacedBlockDuration.TotalMilliseconds);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (11)
111ThicknessKeyFrame keyFrame = (ThicknessKeyFrame)sourceCollection._keyFrames[i].Clone(); 132ThicknessKeyFrame keyFrame = (ThicknessKeyFrame)sourceCollection._keyFrames[i].CloneCurrentValue(); 153ThicknessKeyFrame keyFrame = (ThicknessKeyFrame)sourceCollection._keyFrames[i].GetAsFrozen(); 174ThicknessKeyFrame keyFrame = (ThicknessKeyFrame)sourceCollection._keyFrames[i].GetCurrentValueAsFrozen(); 189canFreeze &= Freezable.Freeze(_keyFrames[i], isChecking); 317OnFreezablePropertyChanged(_keyFrames[i], null); 445OnFreezablePropertyChanged(_keyFrames[index], null); 475return _keyFrames[index]; 486if (value != _keyFrames[index]) 488OnFreezablePropertyChanged(_keyFrames[index], value); 491Debug.Assert(_keyFrames[index] != null);
src\Framework\System\Windows\Navigation\Journal.cs (10)
113return _journalEntryList[index]; 149return _journalEntryList[_currentEntryIndex]; 279} while (IsNavigable(_journalEntryList[index]) == false); 305JournalEntry oldEntry = _journalEntryList[_currentEntryIndex]; 415return _journalEntryList[fwdEntryIndex]; 482JournalEntry je = _journalEntryList[i]; 512JournalEntry theEntry = _journalEntryList[index]; 540JournalEntry entry = _journalEntryList[i]; 568JournalEntry je = _journalEntryList[index]; 610} while (!IsNavigable(_journalEntryList[index]));
src\Framework\System\Windows\ResourcesChangeInfo.cs (2)
238if (_oldDictionaries[i].Contains(key)) 249if (_newDictionaries[i].Contains(key))
src\Framework\System\Windows\Shell\JumpList.cs (1)
956successList.Add(jumpItems[i].JumpItem);
src\Framework\System\Windows\StaticResourceExtension.cs (1)
259AmbientPropertyValue ambientValue = ambientList[i];
src\Framework\System\Windows\StyleHelper.cs (9)
2238DependencyObject walk = templateChain[i]; 2269DependencyObject walk = templateChain[i]; 2533TriggerAction action = actionsList[i]; 3538if (dictionaries[i].HasImplicitStyles) 4360InvokePropertyTriggerActions( triggerList[i], container, dp, changedArgs, sourceChildIndex, 4811InvokeActions(actionList[i].TriggerBase, 4812triggerContainer, actionList[i].TriggerActionCollection, 5291InvokeDataTriggerActions( triggerList[i], container, binding, e, 5451DependencyObject child = styledChildren[childIndex - 1];
src\Framework\System\Windows\SystemResources.cs (1)
1304_resourceCache.Remove(keys[i]);
src\Framework\System\Windows\TemplateContent.cs (2)
275PropertyValue value = sharedProperties[i]; 367PropertyValue sdp = sharedProperties[i];
src\Framework\System\Windows\ThemeDictionaryExtension.cs (3)
138ThemeDictionaryInfo info = _themeDictionaryInfos[i]; 210info = _themeDictionaryInfos[i]; 244ThemeDictionaryInfo info = _themeDictionaryInfos[i];
src\Framework\System\Windows\TriggerActionCollection.cs (6)
78InheritanceContextHelper.RemoveContextFromObject(_owner, _rawList[i]); 90TriggerAction oldValue = _rawList[index]; 164return _rawList[index]; 170object oldValue = _rawList[index]; 229return _rawList[index]; 270_rawList[i].Seal(containingTrigger);
PresentationFramework.Aero (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
358Freezable freezable = _freezableCache[index]; 373if (_freezableCache[index] != null)
PresentationFramework.Classic (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
358Freezable freezable = _freezableCache[index]; 373if (_freezableCache[index] != null)
PresentationFramework.Luna (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
358Freezable freezable = _freezableCache[index]; 373if (_freezableCache[index] != null)
PresentationFramework.Royale (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
358Freezable freezable = _freezableCache[index]; 373if (_freezableCache[index] != null)
SMDiagnostics (2)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (2)
160retval = this.childNodes[this.elementIndex]; 207return this.attributes[this.attributeIndex];
SMSvcHost (1)
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (1)
63connectionReaders[i].Dispose();
System (69)
compmod\system\collections\generic\sortedset.cs (4)
168if (comparer.Compare(els[i], els[i - 1]) == 0) { 1654if (this.Remove(matches[i])) { 1826underlying.Remove(toRemove[toRemove.Count - 1]);
compmod\system\componentmodel\MaskedTextProvider.cs (18)
534CharDescriptor chDex = this.stringDescriptor[position]; 802CharDescriptor chDex = this.stringDescriptor[position]; 1110CharDescriptor chDex = this.stringDescriptor[testPosition]; 1212CharDescriptor chDex = this.stringDescriptor[testPosition]; 1266CharDescriptor chDex = this.stringDescriptor[position]; 1415CharDescriptor chDex = this.stringDescriptor[srcPos]; 1453CharDescriptor chDex = this.stringDescriptor[srcPos]; 1520CharDescriptor chDex = this.stringDescriptor[position]; 1535CharDescriptor chDex = this.stringDescriptor[position]; 1720CharDescriptor chDex = this.stringDescriptor[srcPos]; 1760CharDescriptor chDex = this.stringDescriptor[srcPos]; 2077CharDescriptor chDex = this.stringDescriptor[testPosition]; 2178CharDescriptor chDex = this.stringDescriptor[position]; 2192CharDescriptor charDex = this.stringDescriptor[position]; 2322CharDescriptor charDex = this.stringDescriptor[position]; 2499CharDescriptor chDex = this.stringDescriptor[position]; 2645CharDescriptor chDex = this.stringDescriptor[position]; 2780CharDescriptor chDex = this.stringDescriptor[index];
compmod\system\diagnostics\Switch.cs (3)
72Switch s = ((Switch)switches[i].Target); 74buffer.Add(switches[i]); 269Switch swtch = ((Switch) switches[i].Target);
compmod\system\diagnostics\TraceSource.cs (3)
56TraceSource tracesource = ((TraceSource)tracesources[i].Target); 58buffer.Add(tracesources[i]); 162TraceSource tracesource = ((TraceSource) tracesources[i].Target);
net\System\Net\_Connection.cs (4)
182HttpWebRequest request = returnResult.m_Context[i].Request; 188request.SetAndOrProcessResponse(returnResult.m_Context[i].CoreResponse); 2977requestArray[i] = m_WaitList[i].Request; 3898DebugDumpListEntry(i, m_WaitList[i].Request, "WaitList");
net\System\Net\_ProxyChain.cs (1)
109return m_Chain.m_Cache[m_CurrentIndex];
net\System\Net\_TimerThread.cs (1)
253s_QueuesCache.Remove(garbage[i]);
net\System\Net\cookiecontainer.cs (2)
764pathList = (PathList)m_domainTable[domainAttribute[i]]; 803AddRemoveDomain(domainAttribute[i], null);
net\System\Net\Sockets\_DynamicWinsockMethods.cs (1)
27methods = s_MethodTable[i];
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
218if (GC.GetGeneration(m_NotGen2[idx]) < GC.MaxGeneration && GC.GetGeneration(m_NotGen2[0]) == GC.MaxGeneration) 220returnBuffer = m_NotGen2[idx]; 259object currentBuffer = m_NotGen2[i];
regex\system\text\regularexpressions\RegexCharClass.cs (8)
595first <= _rangelist[_rangelist.Count - 1]._last) { 640range = _rangelist[i]; 1069SingleRange currentRange = _rangelist[i]; 1092return _rangelist[i]; 1118for (last = _rangelist[j]._last; ; i++) { 1124if ((CurrentRange = _rangelist[i])._first > last + 1) 1131_rangelist[j]._last = last; 1139_rangelist[j] = _rangelist[i];
regex\system\text\regularexpressions\RegexFCD.cs (1)
310curNode = (RegexNode)curNode._children[curChild];
regex\system\text\regularexpressions\RegexNode.cs (6)
366at = _children[i]; 374at._children[k]._next = this; 403prev = _children[j]; 470at = _children[i]; 478at._children[k]._next = this; 565return _children[i];
regex\system\text\regularexpressions\RegexParser.cs (4)
1665string name = _capnamelist[i]; 1713_capnamelist.Add(oldcapnamelist[k++]); 1714next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]; 2062_options = _optionsStack[_optionsStack.Count - 1];
regex\system\text\regularexpressions\RegexReplacement.cs (6)
96int r = _rules[i]; 98sb.Append(_strings[r]); 126int r = _rules[i]; 128al.Add(_strings[r]); 244sb.Append(al[i]); 328sb.Append(al[i]);
regex\system\text\regularexpressions\RegexWriter.cs (1)
263curNode = (RegexNode)curNode._children[curChild];
security\system\security\cryptography\x509\x509utils.cs (2)
512byte[] ansiOid = Encoding.ASCII.GetBytes(oidStrs[index]); 514pOid = new IntPtr((long)pOid + oidStrs[index].Length + 1);
sys\system\collections\concurrent\BlockingCollection.cs (1)
1458if (collections[i].m_occupiedNodes.AvailableWaitHandle == handles[index])
System.Activities (75)
System\Activities\ActivityLocationReferenceEnvironment.cs (1)
88if (locationReference == activityEnvironment.unnamedDeclarations[i])
System\Activities\Debugger\CharacterSpottingTextReader.cs (4)
107return locationList[result.NextIndex]; 126return locationList[result.FoundIndex - 1]; 137return locationList[result.NextIndex - 1]; 146return locationList[locationList.Count - 1];
System\Activities\Debugger\StateManager.cs (11)
144if (this.threads[i] == null) 195Fx.Assert(this.threads[threadIndex] != null, "LogicalThread is null"); 196this.threads[threadIndex].EnterState(stackFrame); 203Fx.Assert(this.threads[threadIndex] != null, "LogicalThread is null"); 204this.threads[threadIndex].LeaveState(state); 283Fx.Assert(this.threads[threadIndex] != null, "Cannot dispose null LogicalThread"); 284LogicalThread thread = this.threads[threadIndex]; 542if (this.states[i].DebuggingEnabled) 544MethodBuilder methodBuilder = this.CreateIsland(typeBuilder, this.states[i], false, checksumCache); 553MethodBuilder methodBuilderWithPriming = this.CreateIsland(typeBuilder, this.states[i], true, checksumCache); 557this.states[i].CacheMethodInfo(typeBuilder, methodBuilder.Name);
System\Activities\ExclusiveHandle.cs (4)
272BookmarkScopeHandle scopeHandle = handles[i] as BookmarkScopeHandle; 289BookmarkScopeHandle scopeHandle = executorHandles[i] as BookmarkScopeHandle; 339if (object.ReferenceEquals(this.bookmarks[i], bookmark)) 353if (object.ReferenceEquals(this.bookmarks[i], bookmark))
System\Activities\Hosting\WorkflowInstance.cs (1)
456IWorkflowInstanceExtension extension = this.extensions.WorkflowInstanceExtensions[i];
System\Activities\Hosting\WorkflowInstanceExtensionCollection.cs (8)
101filteredActivityExtensionProviders.Remove(typesToRemove[i]); 142KeyValuePair<Type, WorkflowInstanceExtensionProvider> extensionProvider = extensionProviders[i]; 238KeyValuePair<WorkflowInstanceExtensionProvider, object> keyedExtension = this.instanceExtensions[i]; 264object extension = extensionsList[i]; 293object extension = this.allSingletonExtensions[i]; 305KeyValuePair<WorkflowInstanceExtensionProvider, object> keyedExtension = this.instanceExtensions[i]; 317object additionalExtension = this.additionalInstanceExtensions[i]; 396KeyValuePair<WorkflowInstanceExtensionProvider, object> keyedExtension = this.instanceExtensions[i];
System\Activities\Hosting\WorkflowInstanceExtensionManager.cs (3)
155extensionTypes.Add(this.SingletonExtensions[i].GetType()); 159extensionTypes.Add(this.ExtensionProviders[i].Key); 253object extension = this.AdditionalSingletonExtensions[i];
System\Activities\HybridCollection.cs (1)
44return this.multipleItems[index];
System\Activities\Runtime\ActivityExecutor.cs (2)
1426ActivityInstance secondaryRootInstance = this.executingSecondaryRootInstances[i]; 1808ActivityInstance secondaryRoot = this.executingSecondaryRootInstances[i];
System\Activities\Runtime\BookmarkManager.cs (1)
125ExclusiveHandle handle = handles[i];
System\Activities\Runtime\BookmarkScopeManager.cs (1)
192BookmarkScope uninitializedScope = this.uninitializedScopes[i];
System\Activities\Runtime\ExecutionPropertyManager.cs (4)
318ExecutionProperty currentProperty = this.threadProperties[i]; 345ExecutionProperty currentProperty = this.threadProperties[i]; 433ExecutionProperty executionProperty = this.threadProperties[i]; 449ExecutionProperty current = this.threadProperties[i];
System\Activities\Runtime\LocationEnvironment.cs (1)
232this.handles[i].Reinitialize(handleScope);
System\Activities\Runtime\MappableObjectManager.cs (2)
52MappableLocation mappableLocation = this.mappableLocations[locationIndex]; 79if (object.ReferenceEquals(this.mappableLocations[i].Location, location))
System\Activities\Statements\Flowchart.cs (1)
272stack.Push(connected[i]);
System\Activities\Statements\TimerTable.cs (2)
331this.dictionary.Add(this.list[i].Bookmark, this.list[i]);
System\Activities\Tracking\RuntimeTrackingProfile.cs (24)
372if (string.CompareOrdinal(this.activityScheduledSubscriptions[i].ActivityName, activityName) == 0) 374if (CheckSubscription(this.activityScheduledSubscriptions[i].ChildActivityName, activityScheduledRecord.Child.Name)) 376query = this.activityScheduledSubscriptions[i]; 381else if (string.CompareOrdinal(this.activityScheduledSubscriptions[i].ActivityName, "*") == 0) 383if (CheckSubscription(this.activityScheduledSubscriptions[i].ChildActivityName, activityScheduledRecord.Child.Name)) 385query = this.activityScheduledSubscriptions[i]; 413if (string.CompareOrdinal(this.faultPropagationSubscriptions[i].FaultSourceActivityName, faultRecord.FaultSource.Name) == 0) 415if (CheckSubscription(this.faultPropagationSubscriptions[i].FaultHandlerActivityName, faultHandlerName)) 417query = this.faultPropagationSubscriptions[i]; 421else if (string.CompareOrdinal(this.faultPropagationSubscriptions[i].FaultSourceActivityName, "*") == 0) 423if (CheckSubscription(this.faultPropagationSubscriptions[i].FaultHandlerActivityName, faultHandlerName)) 425query = this.faultPropagationSubscriptions[i]; 454if (string.CompareOrdinal(this.cancelRequestedSubscriptions[i].ActivityName, activityName) == 0) 456if (CheckSubscription(this.cancelRequestedSubscriptions[i].ChildActivityName, cancelRecord.Child.Name)) 458query = this.cancelRequestedSubscriptions[i]; 462else if (string.CompareOrdinal(this.cancelRequestedSubscriptions[i].ActivityName, "*") == 0) 464if (CheckSubscription(this.cancelRequestedSubscriptions[i].ChildActivityName, cancelRecord.Child.Name)) 466query = this.cancelRequestedSubscriptions[i]; 494if (string.CompareOrdinal(this.customTrackingQuerySubscriptions[i].Name, customRecord.Name) == 0) 496if (CheckSubscription(this.customTrackingQuerySubscriptions[i].ActivityName, customRecord.Activity.Name)) 498query = this.customTrackingQuerySubscriptions[i]; 502else if (string.CompareOrdinal(this.customTrackingQuerySubscriptions[i].Name, "*") == 0) 504if (CheckSubscription(this.customTrackingQuerySubscriptions[i].ActivityName, customRecord.Activity.Name)) 506query = this.customTrackingQuerySubscriptions[i];
System\Activities\Tracking\TrackingProvider.cs (3)
158TrackingParticipant participant = this.trackingParticipants[i]; 327TrackingParticipant participant = this.provider.trackingParticipants[this.currentParticipant]; 357TrackingParticipant participant = thisPtr.provider.trackingParticipants[thisPtr.currentParticipant];
System\Activities\Validation\ActivityValidationServices.cs (1)
103foreach (Activity activity in WorkflowInspectionServices.GetActivities(listOfChildren[toProcessIndex]))
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
2192ConnectionPoint midPoint = availableConnectionPoints[availableConnectionPoints.Count / 2]; 2414return list[index]; 2544return connectionPoints[connectionPoints.Count / 2];
System\Activities\Core\Presentation\PickValidationErrorSourceLocator.cs (1)
36Activity targetActivity = (Activity)parentChain[parentChain.Count - 1];
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
472this.ViewStateService.StoreViewState(itemsPasted[ii], ShapeLocationViewStateKey, container.panel.TranslatePoint(point, container.panel));
System\Activities\Core\Presentation\StateMachineValidationErrorSourceLocator.cs (2)
30Activity lastActivity = parentChain[parentChain.Count - 1] as Activity; 49Activity targetActivity = (Activity)parentChain[parentChain.Count - 1];
System.Activities.Presentation (135)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (9)
80if (index >= this.indexCache[line].Item1) 87int column = index - this.indexCache[line].Item1; 88SharedFx.Assert(column < this.indexCache[line].Item2, "Should Not Happen"); 109if (column >= this.indexCache[line].Item2) 115return this.indexCache[line].Item1 + column; 123return last >= 0 && index < this.indexCache[last].Item1 + this.indexCache[last].Item2; 133startIndex = this.indexCache[tail].Item1 + this.indexCache[tail].Item2;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
207AttributeCallback callback = attributes[idx] as AttributeCallback; 216callback = attributes[idx] as AttributeCallback;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
682if (properties[i].IsReadOnly)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (2)
31o = converters[i].Convert(o, targetType, parameter, culture); 40value = converters[i].ConvertBack(value, targetType, parameter, culture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (5)
340WeakReference curRef = this.scopes[curScopeIndex]; 365WeakReference curRef = this.scopes[curScopeIndex]; 388if (!this.scopes[curRefIndex].IsAlive) 402WeakReference curRef = this.scopes[startIndex]; 428WeakReference curRef = this.scopes[curScopeIndex];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (9)
535if (textBlockTextHackNeeded && _properties[i].Name.Equals(_textBlockTextPropertyName)) { 541textBlockTextProperties.Add(_properties[i]); 544_properties[i].SetValue(value); 598_properties[i].ClearValue(); 826_isAdvanced |= ExtensibilityAccessor.GetIsAdvanced(_parent._properties[i]); 852bool? temp = ExtensibilityAccessor.IsBrowsable(_parent._properties[i]); 924if (ExtensibilityAccessor.GetStandardValuesSupported(_parent._properties[i].Converter)) 926nextSetOfValues = ExtensibilityAccessor.GetStandardValues(_parent._properties[i].Converter); 1031ModelProperty property = _parent._properties[i];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntryCollection.cs (2)
93yield return _properties[i]; 119_properties.Add(new ModelPropertyEntry(subProperties[i], (ModelPropertyValue)parentCollectionItem.PropertyValue));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (14)
78return _values[index].PropertyValue; 148object.Equals(_values[index].ModelItem, item)) 150return _values[index].PropertyValue; 159_values[i].Index++; 185if (_values[i].PropertyValue == propertyValue) { 204if (_values[i].ModelItem == item) { 249ModelPropertyIndexer indexer = _values[index]; 255_values[i].Index--; 271if (_values[i].ModelItem == oldItem) { 276this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, _values[i].PropertyValue)); 308ModelPropertyIndexer currentIndexer = _values[currentIndex]; 309ModelPropertyIndexer newIndexer = _values[newIndex]; 356ModelPropertyIndexer currentIndexer = _values[currentIndex]; 357ModelPropertyIndexer newIndexer = _values[newIndex];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (4)
68_pendingTransactions[i].Complete(); 80_pendingTransactions[i].Revert(); 162_pendingTransactions[_pendingTransactions.Count - 1].Complete(); 179_pendingTransactions[_pendingTransactions.Count - 1].Revert();
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
410AttributeProviderAttribute a = attrList[idx] as AttributeProviderAttribute; 437attributes[idx] = (Attribute)attrList[idx];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilter.cs (1)
96if (target.MatchesPredicate(_predicates[i]))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (2)
283if (hitTestRects[i].IntersectsWith(shapeRect)) 297if (!panelRect.Contains(hitTestRects[i]))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (2)
33drawingContext.DrawLine(renderPen, linkPoints[i], linkPoints[i + 1]);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (27)
74&& this.editedConnector.Points[this.editedConnector.Points.Count - 1] != this.EditPoints[this.EditPoints.Count - 1].Location); 186if (this.editPoints.Count < 2 || !this.editPoints[this.editPoints.Count - 1].Equals(editedConnector.Points[editedConnector.Points.Count - 1])) 204this.editPoints.Insert(this.editPoints.Count - 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i])); 243segments.Add(this.EditPoints[i].Location); 268this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint || 278if (this.editPoints[i].Type != EditPoint.EditPointTypes.MultiSegmentEditPoint || 279this.editPoints[i] == this.activeEditPoint) 281editPointsToRetain.Add(this.editPoints[i]); 294EditPoint current = this.editPoints[i]; 295EditPoint next = this.editPoints[i + 1]; 310EditPoint previous = this.editPoints[i - 1]; 311EditPoint current = this.editPoints[i]; 312EditPoint next = this.editPoints[i + 1]; 344EditPoint current = this.EditPoints[i]; 347EditPoint previous = this.EditPoints[i - 1]; 348EditPoint next = this.EditPoints[i + 1]; 367EditPoint editPoint = this.editPoints[i]; 376EditPoint editPoint = editPointsToRemove[i]; 389this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint) 398EditPoint previous = (activeEditPointIndex > 0) ? this.editPoints[activeEditPointIndex - 1] : null; 399EditPoint next = (activeEditPointIndex < this.editPoints.Count - 1) ? this.editPoints[activeEditPointIndex + 1] : null; 447Fx.Assert(this.editPoints[editPoints.Count - 1].Type == EditPoint.EditPointTypes.ConnectionEditPoint, "EditPoint type is wrong."); 454Point end = this.editPoints[this.editPoints.Count - 1].Location; 607drawingContext.DrawEllipse(renderBrush, renderPen, adornedEditor.EditPoints[i].Location, renderRadius, renderRadius); 610drawingContext.DrawLine(renderPen, adornedEditor.EditPoints[i].Location, adornedEditor.EditPoints[i + 1].Location); 613drawingContext.DrawEllipse(renderBrush, renderPen, adornedEditor.EditPoints[i].Location, renderRadius, renderRadius);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (41)
198ConnectorRouter.SrcEdge = new ConnectorSegment(srcEdge[smallerIndex], srcEdge[1 - smallerIndex]); 203ConnectorRouter.DestEdge = new ConnectorSegment(destEdge[smallerIndex], destEdge[1 - smallerIndex]); 250if (points[i].IsEqualTo(points[i - 1])) 262if (points[index1].X.IsEqualTo(points[index3].X) || 263points[index1].Y.IsEqualTo(points[index3].Y)) 354ConnectorSegment segment = verticalSegmentsB[i]; 369ConnectorSegment segment = horizontalSegmentsB[i]; 561Point p = extremitiesList[i].P; 565ConnectorSegment segment = extremitiesList[i].ConnectorSegment; 568p = extremitiesList[i].P; 617ConnectorSegment segment = verticalSegmentsB[i]; 630ConnectorSegment segment = horizontalSegmentsB[i]; 694while (!k.PointLiesOnThisLine(points[i]) && i > 0) 699while (i > 0 && k.PointLiesOnThisLine(points[i - 1])) 703point = points[i]; 810Point objectPoint = escapePointsA[escapePointsA.Count - 1]; 860refinedPath.Add(escapePointsA[j]); 865refinedPath.Add(escapePointsB[j]); 870if (refinedPath.Count > 1 && refinedPath[refinedPath.Count - 1].IsEqualTo(begin)) 893Point a1 = refinedPath[currentSegment]; 894Point a2 = refinedPath[currentSegment + 1]; 901Point b1 = refinedPath[intersectingSegment]; 902Point b2 = refinedPath[intersectingSegment + 1]; 912newPath.Add(refinedPath[i]); 917newPath.Add(refinedPath[i]); 944Point a1 = refinedPath[currentSegment]; 945Point a2 = refinedPath[currentSegment + 1]; 969Point c1 = refinedPath[intersectingSegment]; 970Point c2 = refinedPath[intersectingSegment + 1]; 981newPath.Add(refinedPath[j]); 987newPath.Add(refinedPath[j]); 1325ConnectorSegment existingCover = covers[i]; 1355ConnectorSegment usedSegment = this.usedEscapeLine[i]; 1374ConnectorSegment segment = this.verticalCovers[i]; 1390ConnectorSegment segment = this.horizontalCovers[i]; 1414ConnectorSegment segment = this.verticalCovers[i]; 1426ConnectorSegment segment = this.horizontalCovers[i]; 1459ConnectorSegment newCover = newCovers[i];
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (3)
271return this.modelItems[index]; 464ModelItem movingItem = this.Items[fromIndex]; 619ModelItem item = this.modelItems[index];
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (4)
185if (this.UniqueNamespaces[i].Namespace == ns) 276NamespaceData ns = this.UniqueNamespaces[index]; 287return this.UniqueNamespaces[index]; 485RemoveNamespaceFromSet(this.UniqueNamespaces[index].Namespace);
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
643this.MarkParent(validationError, errorSourcePath[errorSourcePathIndex]);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
587list.Add(selectedItems[index]);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (3)
824T result = this[Count - 1]; 831return this[Count - 1 - index]; 841get { return Count > 0 ? this[Count - 1] : null; }
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
288if (currentFileCounts[j] != state.FileCounts[j])
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationAttributeStore.cs (1)
239if (object.ReferenceEquals(attr, attributes[i])) {
System.Configuration (4)
System\Configuration\BaseConfigurationRecord.cs (2)
1680SectionInput locationInput = locationInputs[i]; 2739SectionInput input = sectionRecord.IndirectLocationInputs[i];
System\Configuration\SectionRecord.cs (2)
149return _locationInputs[_locationInputs.Count - 1]; 231return _indirectLocationInputs[_indirectLocationInputs.Count - 1];
System.Core (26)
Microsoft\Scripting\Actions\ExpandoClass.cs (1)
69ExpandoClass klass = infos[i].Target as ExpandoClass;
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (10)
260Debug.Assert(key > buckets[buckets.Count - 1].Key); 271List<SwitchLabel> first = buckets[buckets.Count - 2]; 272List<SwitchLabel> second = buckets[buckets.Count - 1]; 274if (!FitsInBucket(first, second[second.Count - 1].Key, second.Count)) { 287List<SwitchLabel> last = buckets[buckets.Count - 1]; 468EmitSwitchBucket(info, buckets[first]); 478EmitSwitchBucket(info, buckets[first]); 484_ilg.EmitConstant(buckets[mid - 1].Last().Constant); 532int len = (int)(bucket[bucket.Count - 1].Key - bucket[0].Key + 1); 545Debug.Assert(key == bucket[bucket.Count - 1].Key + 1);
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
60temp = _freeTemps[i];
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (2)
157currentElement = m_buffer[m_bufferIndex.Value].First; 158currentKey = m_buffer[m_bufferIndex.Value].Second;
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (6)
253currentElement = m_buffer[m_bufferIndex.Value].First; 254currentKey = m_buffer[m_bufferIndex.Value].Second; 258|| m_keyComparer.Compare(m_buffer[m_bufferIndex.Value].Second, m_sharedIndices.MaxValue) <= 0; 284if (m_keyComparer.Compare(m_buffer[m_bufferIndex.Value].Second, minKey) > 0) 286currentElement = m_buffer[m_bufferIndex.Value].First; 287currentKey = m_buffer[m_bufferIndex.Value].Second;
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (5)
356currentElement = m_buffer[m_bufferIndex.Value].First; 357currentKey = m_buffer[m_bufferIndex.Value].Second; 378if (m_keyComparer.Compare(m_buffer[m_bufferIndex.Value].Second, m_operatorState.m_currentLowKey) >= 0) 380currentElement = m_buffer[m_bufferIndex.Value].First; 381currentKey = m_buffer[m_bufferIndex.Value].Second;
System\Linq\Parallel\Utils\Sorting.cs (1)
300sortedValues[i] = values[indices[i]];
System.Data (236)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (9)
80if (index >= this.indexCache[line].Item1) 87int column = index - this.indexCache[line].Item1; 88SharedFx.Assert(column < this.indexCache[line].Item2, "Should Not Happen"); 109if (column >= this.indexCache[line].Item2) 115return this.indexCache[line].Item1 + column; 123return last >= 0 && index < this.indexCache[last].Item1 + this.indexCache[last].Item2; 133startIndex = this.indexCache[tail].Item1 + this.indexCache[tail].Item2;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
207AttributeCallback callback = attributes[idx] as AttributeCallback; 216callback = attributes[idx] as AttributeCallback;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
682if (properties[i].IsReadOnly)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (2)
31o = converters[i].Convert(o, targetType, parameter, culture); 40value = converters[i].ConvertBack(value, targetType, parameter, culture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (5)
340WeakReference curRef = this.scopes[curScopeIndex]; 365WeakReference curRef = this.scopes[curScopeIndex]; 388if (!this.scopes[curRefIndex].IsAlive) 402WeakReference curRef = this.scopes[startIndex]; 428WeakReference curRef = this.scopes[curScopeIndex];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (9)
535if (textBlockTextHackNeeded && _properties[i].Name.Equals(_textBlockTextPropertyName)) { 541textBlockTextProperties.Add(_properties[i]); 544_properties[i].SetValue(value); 598_properties[i].ClearValue(); 826_isAdvanced |= ExtensibilityAccessor.GetIsAdvanced(_parent._properties[i]); 852bool? temp = ExtensibilityAccessor.IsBrowsable(_parent._properties[i]); 924if (ExtensibilityAccessor.GetStandardValuesSupported(_parent._properties[i].Converter)) 926nextSetOfValues = ExtensibilityAccessor.GetStandardValues(_parent._properties[i].Converter); 1031ModelProperty property = _parent._properties[i];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntryCollection.cs (2)
93yield return _properties[i]; 119_properties.Add(new ModelPropertyEntry(subProperties[i], (ModelPropertyValue)parentCollectionItem.PropertyValue));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (14)
78return _values[index].PropertyValue; 148object.Equals(_values[index].ModelItem, item)) 150return _values[index].PropertyValue; 159_values[i].Index++; 185if (_values[i].PropertyValue == propertyValue) { 204if (_values[i].ModelItem == item) { 249ModelPropertyIndexer indexer = _values[index]; 255_values[i].Index--; 271if (_values[i].ModelItem == oldItem) { 276this.OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, _values[i].PropertyValue)); 308ModelPropertyIndexer currentIndexer = _values[currentIndex]; 309ModelPropertyIndexer newIndexer = _values[newIndex]; 356ModelPropertyIndexer currentIndexer = _values[currentIndex]; 357ModelPropertyIndexer newIndexer = _values[newIndex];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (4)
68_pendingTransactions[i].Complete(); 80_pendingTransactions[i].Revert(); 162_pendingTransactions[_pendingTransactions.Count - 1].Complete(); 179_pendingTransactions[_pendingTransactions.Count - 1].Revert();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
410AttributeProviderAttribute a = attrList[idx] as AttributeProviderAttribute; 437attributes[idx] = (Attribute)attrList[idx];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilter.cs (1)
96if (target.MatchesPredicate(_predicates[i]))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (2)
283if (hitTestRects[i].IntersectsWith(shapeRect)) 297if (!panelRect.Contains(hitTestRects[i]))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (2)
33drawingContext.DrawLine(renderPen, linkPoints[i], linkPoints[i + 1]);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (27)
74&& this.editedConnector.Points[this.editedConnector.Points.Count - 1] != this.EditPoints[this.EditPoints.Count - 1].Location); 186if (this.editPoints.Count < 2 || !this.editPoints[this.editPoints.Count - 1].Equals(editedConnector.Points[editedConnector.Points.Count - 1])) 204this.editPoints.Insert(this.editPoints.Count - 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i])); 243segments.Add(this.EditPoints[i].Location); 268this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint || 278if (this.editPoints[i].Type != EditPoint.EditPointTypes.MultiSegmentEditPoint || 279this.editPoints[i] == this.activeEditPoint) 281editPointsToRetain.Add(this.editPoints[i]); 294EditPoint current = this.editPoints[i]; 295EditPoint next = this.editPoints[i + 1]; 310EditPoint previous = this.editPoints[i - 1]; 311EditPoint current = this.editPoints[i]; 312EditPoint next = this.editPoints[i + 1]; 344EditPoint current = this.EditPoints[i]; 347EditPoint previous = this.EditPoints[i - 1]; 348EditPoint next = this.EditPoints[i + 1]; 367EditPoint editPoint = this.editPoints[i]; 376EditPoint editPoint = editPointsToRemove[i]; 389this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint) 398EditPoint previous = (activeEditPointIndex > 0) ? this.editPoints[activeEditPointIndex - 1] : null; 399EditPoint next = (activeEditPointIndex < this.editPoints.Count - 1) ? this.editPoints[activeEditPointIndex + 1] : null; 447Fx.Assert(this.editPoints[editPoints.Count - 1].Type == EditPoint.EditPointTypes.ConnectionEditPoint, "EditPoint type is wrong."); 454Point end = this.editPoints[this.editPoints.Count - 1].Location; 607drawingContext.DrawEllipse(renderBrush, renderPen, adornedEditor.EditPoints[i].Location, renderRadius, renderRadius); 610drawingContext.DrawLine(renderPen, adornedEditor.EditPoints[i].Location, adornedEditor.EditPoints[i + 1].Location); 613drawingContext.DrawEllipse(renderBrush, renderPen, adornedEditor.EditPoints[i].Location, renderRadius, renderRadius);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (41)
198ConnectorRouter.SrcEdge = new ConnectorSegment(srcEdge[smallerIndex], srcEdge[1 - smallerIndex]); 203ConnectorRouter.DestEdge = new ConnectorSegment(destEdge[smallerIndex], destEdge[1 - smallerIndex]); 250if (points[i].IsEqualTo(points[i - 1])) 262if (points[index1].X.IsEqualTo(points[index3].X) || 263points[index1].Y.IsEqualTo(points[index3].Y)) 354ConnectorSegment segment = verticalSegmentsB[i]; 369ConnectorSegment segment = horizontalSegmentsB[i]; 561Point p = extremitiesList[i].P; 565ConnectorSegment segment = extremitiesList[i].ConnectorSegment; 568p = extremitiesList[i].P; 617ConnectorSegment segment = verticalSegmentsB[i]; 630ConnectorSegment segment = horizontalSegmentsB[i]; 694while (!k.PointLiesOnThisLine(points[i]) && i > 0) 699while (i > 0 && k.PointLiesOnThisLine(points[i - 1])) 703point = points[i]; 810Point objectPoint = escapePointsA[escapePointsA.Count - 1]; 860refinedPath.Add(escapePointsA[j]); 865refinedPath.Add(escapePointsB[j]); 870if (refinedPath.Count > 1 && refinedPath[refinedPath.Count - 1].IsEqualTo(begin)) 893Point a1 = refinedPath[currentSegment]; 894Point a2 = refinedPath[currentSegment + 1]; 901Point b1 = refinedPath[intersectingSegment]; 902Point b2 = refinedPath[intersectingSegment + 1]; 912newPath.Add(refinedPath[i]); 917newPath.Add(refinedPath[i]); 944Point a1 = refinedPath[currentSegment]; 945Point a2 = refinedPath[currentSegment + 1]; 969Point c1 = refinedPath[intersectingSegment]; 970Point c2 = refinedPath[intersectingSegment + 1]; 981newPath.Add(refinedPath[j]); 987newPath.Add(refinedPath[j]); 1325ConnectorSegment existingCover = covers[i]; 1355ConnectorSegment usedSegment = this.usedEscapeLine[i]; 1374ConnectorSegment segment = this.verticalCovers[i]; 1390ConnectorSegment segment = this.horizontalCovers[i]; 1414ConnectorSegment segment = this.verticalCovers[i]; 1426ConnectorSegment segment = this.horizontalCovers[i]; 1459ConnectorSegment newCover = newCovers[i];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (3)
271return this.modelItems[index]; 464ModelItem movingItem = this.Items[fromIndex]; 619ModelItem item = this.modelItems[index];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (4)
185if (this.UniqueNamespaces[i].Namespace == ns) 276NamespaceData ns = this.UniqueNamespaces[index]; 287return this.UniqueNamespaces[index]; 485RemoveNamespaceFromSet(this.UniqueNamespaces[index].Namespace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
643this.MarkParent(validationError, errorSourcePath[errorSourcePathIndex]);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
587list.Add(selectedItems[index]);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (3)
824T result = this[Count - 1]; 831return this[Count - 1 - index]; 841get { return Count > 0 ? this[Count - 1] : null; }
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (10)
89return items[index]; 105return items[index]; 211return items[index]; 222if (items[i] == value) { 234if (0 == ADP.SrcCompare(sourceColumn, items[i].SourceColumn)) { 246if ( 0 == ADP.DstCompare(dataSetColumn, items[i].DataSetColumn)) { 294items[index].Parent = null; 320items[index].Parent = null; 378return columnMappings.items[index].GetDataColumnBySchemaAction(dataTable, dataType, schemaAction); 422return columnMappings.items[index];
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (9)
92return items[index]; 108return items[index]; 214return items[index]; 225if (items[i] == value) { 236string value = items[i].SourceTable; 248string value = items[i].DataSetTable; 297items[index].Parent = null; 322items[index].Parent = null; 379return tableMappings.items[index];
fx\src\data\System\Data\DataColumnCollection.cs (1)
484DataColumn col = column.dependentColumns[i];
fx\src\data\System\Data\DataRelation.cs (1)
438DataRelation[] relations = list[i].NestedParentRelations;
fx\src\data\System\Data\DataTable.cs (19)
895Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 1009Index index = indexes[i]; 2912Index index = indexes[i]; 3418Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3439Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3456Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3475Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3505if (row.HasVersion(version) && ((states & indexes[indexCount].RecordStates) != DataViewRowState.None)) { 3506int index = indexes[indexCount].GetIndex(recordNo); 3509indexes[indexCount].DeleteRecordFromIndex(index); // this will delete the record from index and MUSt not fire event 3534if ((states & indexes[indexCount].RecordStates) != DataViewRowState.None) { 3535positionIndexes [indexCount] = indexes[indexCount].InsertRecordToIndex(recordNo); 3674Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 5653DataRelation[] relations = tableList[i].NestedParentRelations; 5655if (rel != null && rel.ParentTable == tableList[i]) { 5656foreach (DataRow r in tableList[i].Rows) { 6315if (columns[i].Table == this) {// if this column is in my table 6316DataColumn dc = columns[i]; 6354DataColumn dc = columns[i];
fx\src\data\System\Data\DataView.cs (1)
1730object[] rows = arraylist[i];
fx\src\data\System\Data\DataViewListener.cs (1)
169DataViewListener listener = listeners[i];
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
118DataColumn dataColumn = (DataColumn)list[i];
fx\src\data\System\Data\Filter\LookupNode.cs (1)
70DataColumn dataColumn = list[i];
fx\src\data\System\Data\Filter\NameNode.cs (1)
68DataColumn dataColumn = list[i];
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (3)
2175MetaData info = metainfo[index]; 2189metainfo[index2].isKeyColumn = false; 2195MetaData info = metainfo[index];
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (4)
132transactedObject = connections[i]; 721obj = _objectList[i]; 1701DbConnectionInternal obj = _objectList[i]; 1736DbConnectionInternal obj = reclaimedObjects[i];
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (5)
125return InnerList[index]; 133return InnerList[index]; 172if (value == items[i]) { 221PARAMETEROBJECTNAME item = items[index]; 231PARAMETEROBJECTNAME item = items[index];
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (3)
459if (null != items[i]) { 460DataColumn column = (items[i] as DataColumn); 467DataTable table = (items[i] as DataTable);
fx\src\data\System\Data\RecordManager.cs (1)
97record = freeRecordList[freeRecordList.Count - 1];
fx\src\data\System\Data\Select.cs (2)
181Index ndx = (Index)table.indexes[i]; 226Index ndx = (Index)table.indexes[i];
fx\src\data\System\Data\Selection.cs (4)
959if (Object.ReferenceEquals(list[i], item)) { 1038TElem listener = listeners[i]; 1060Debug.Assert((-1 == nullIndex) || (null == listeners[nullIndex]), "non-null listener"); 1063if (null == listeners[i]) {
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (6)
835_SqlMetaData metadata = _sortedColumnMappings[destRowIndex]._metadata; 836int sourceOrdinal = _sortedColumnMappings[destRowIndex]._sourceColumnOrdinal; 1062int sourceOrdinal = _sortedColumnMappings[ordinal]._sourceColumnOrdinal; 1063_SqlMetaData metadata = _sortedColumnMappings[ordinal]._metadata; 1963_SqlMetaData metadata = _sortedColumnMappings[col]._metadata; 1987variantInternalType = _SqlDataReaderRowSource.GetVariantInternalStorageType(_sortedColumnMappings[col]._sourceColumnOrdinal);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
5101parameters = _parameterCollectionList[_currentlyExecutingBatch]; 5319return _parameterCollectionList[_currentlyExecutingBatch];
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (3)
264LocalCommand cmd = _commandList[ii]; 275return CommandList[commandIndex].Parameters[parameterIndex]; 286return CommandList[commandIndex].Parameters.Count;
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
939resultingPair = databaseList[index];
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (2)
445_notificationIdToDependenciesHash.Remove(notificationIdsToRemove[i]); 447_commandHashToNotificationId.Remove(commandHashesToRemove[i]);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
1139MSS.SmiQueryMetaData qmd = fields[i] as MSS.SmiQueryMetaData; 1312if (fields[columnOrdinal] != null) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (7)
310pos += _cachedBytes[ii].Length; 367if (_cachedBytes[_currentArrayIndex].Length <= _currentPosition) { 376cb = _cachedBytes[_currentArrayIndex].Length - _currentPosition; 379Array.Copy(_cachedBytes[_currentArrayIndex], _currentPosition, buffer, offset, cb); 433if (pos > _cachedBytes[ii].Length) { 434pos -= _cachedBytes[ii].Length; 451pos += _cachedBytes[ii].Length;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
622if (altMetaDataSetArray[i].id == newId) {
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (6)
79TdsParserStateObject session = _cache[i]; 105TdsParserStateObject session = _cache[i]; 132if (_cache[i] != null) { 133if (_cache[i].IsOrphaned) { 134_cache[i].Dispose(); 138_cache[i].DecrementPendingCallbacks(false);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3631PacketData next = _snapshotInBuffs[_snapshotInBuffCurrent];
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
2770Debug.Assert(tableList[readPos] != null, "Temp Array is not supposed to reach to null"); 2771foreach(DataRelation r in tableList[readPos].ChildRelations) { 2801foreach(DataRelation r in tableList[counter].ChildRelations) {
System.Data.DataSetExtensions (2)
System\Data\SortExpressionBuilder.cs (2)
115int result = compare(a[i], b[i]);
System.Data.Entity (328)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1609RequireCompatibleType(exp, expectedTypes[pos++], "arguments", idx);
System\Data\Common\CommandTrees\Internal\DbExpressionRules.cs (1)
88DbExpressionRule currentRule = rules[idx];
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
220DbNewInstanceExpression entityConstructor = constructors[idx]; 261whens.Add(conditions[idx]); 262thens.Add(constructors[idx]); 265result = entityProject.Input.Project(DbExpressionBuilder.Case(whens, thens, constructors[conditions.Count]));
System\Data\Common\EntitySql\AST\AstNode.cs (1)
89get { return _list[index]; }
System\Data\Common\EntitySql\CqlErrorHelper.cs (2)
33sb.Append(argTypes[i] != null ? argTypes[i].EdmType.FullName : "NULL");
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
267int rank = GetPromotionRank(flatArgumentList[i], flatOverloadParamList[i], isPromotableTo, isStructurallyEqual);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (10)
1358if (args[idx] == null) 1372bool isPromotable = TypeSemantics.IsPromotableTo(args[idx].ResultType, memberModelTypeUsage); 1376if (!isPromotable && !TypeSemantics.IsPromotableTo(memberModelTypeUsage, args[idx].ResultType)) 1380args[idx].ResultType.EdmType.FullName, 1386!TypeSemantics.IsSubTypeOf(args[idx].ResultType, memberModelTypeUsage)) 1388args[idx] = args[idx].CastTo(memberModelTypeUsage); 1397args[idx].ResultType.EdmType.FullName, 1523if (args[i] == null) 2683if (thenExprList[i] == null) 2972errCtx = projectionItemErrCtxs[i];
System\Data\Common\EntitySql\SemanticResolver.cs (4)
279get { return _scopeRegions[_scopeRegions.Count - 1]; } 913if (_scopeRegions[i].IsAggregating) 928if (_scopeRegions[i].ContainsScope(scopeIndex)) 930return _scopeRegions[i];
System\Data\Common\EntitySql\StaticContext.cs (5)
217_varBasedExpression = _varBasedExpression.Property(_propRefs[i]); 305_groupVarBasedExpression = _groupVarBasedExpression.Property(_propRefs[i]); 306_groupAggBasedExpression = _groupAggBasedExpression.Property(_propRefs[i]); 476return _scopes[CurrentScopeIndex]; 491return _scopes[scopeIndex];
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (2)
164recordStateFactories[i] = _recordStateScratchpads[i].Compile(); 175nestedCoordinators[i] = _nestedCoordinatorScratchpads[i].Compile();
System\Data\Common\Internal\Materialization\RecordStateScratchpad.cs (1)
73nestedRecordStateFactories[i] = _nestedRecordStateScratchpads[i].Compile();
System\Data\Common\QueryCache\QueryCacheManager.cs (6)
294if (0 == cacheKeys[i].HitCount) 296_cacheData.Remove(cacheKeys[i]); 304int agingIndex = unchecked(cacheKeys[i].AgingIndex + 1); 309cacheKeys[i].AgingIndex = agingIndex; 310cacheKeys[i].HitCount = cacheKeys[i].HitCount >> _agingFactor[agingIndex];
System\Data\Common\Utils\Helpers.cs (1)
179nodes.Push(childNodes[idx]);
System\Data\Common\Utils\ModifiableIteratorCollection.cs (3)
99yield return m_elements[m_currentIteratorIndex]; 115TElement element = m_elements[index]; 117m_elements[index] = m_elements[lastIndex];
System\Data\Common\Utils\ThreadSafeList.cs (1)
66result = _list[index];
System\Data\Common\Utils\TreePrinter.cs (1)
190TreeNode parentScope = _scopes[scopeIdx];
System\Data\EntityClient\DbParameterCollectionHelper.cs (5)
127return InnerList[index]; 135return InnerList[index]; 174if (value == items[i]) { 223EntityParameter item = items[index]; 233EntityParameter item = items[index];
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
139return EndLookup[KeysInDefOrder[index]];
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
91return KeyToType[_keysInDefOrder[index]];
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
142location = filePathList[index];
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
344structuralTypeMappingViews[m_structuralTypeMappings.Count - 1]); 365var propertyMapping = propertyMappings[i];
System\Data\Mapping\StorageMappingItemCollection.cs (1)
752location = mappingSchemaUris[index];
System\Data\Mapping\StorageMappingItemLoader.cs (1)
2246var mapping = propertyMappings[entityType.Properties.IndexOf((EdmProperty)entityType.KeyMembers[i])] as StorageScalarPropertyMapping;
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
182KeyValuePair<int, DbSetClause> inputIdentifier = m_inputIdentifiers[idx];
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (4)
389DbParameter thisParameter = this.m_inputIdentifiers[i].Value; 390DbParameter otherParameter = other.m_inputIdentifiers[i].Value; 399int thisIdentifier = this.m_inputIdentifiers[i].Key; 400int otherIdentifier = other.m_inputIdentifiers[i].Key;
System\Data\Mapping\Update\Internal\KeyManager.cs (16)
48Partition partition = _identifiers[identifier].Partition; 63IdentifierInfo dependentInfo = _identifiers[dependentIdentifier]; 74IdentifierInfo principalInfo = _identifiers[principalIdentifier]; 90_identifiers[owner.Identifier].Owner = owner; 98owner = _identifiers[identifier].Owner; 151return LinkedList<IEntityStateEntry>.Enumerate(_identifiers[identifier].DependentStateEntries); 172PropagatorResult ownerResult = _identifiers[principal].Owner; 214LinkedList<int> references = _identifiers[identifier].References; 238LinkedList<int> successors = successorFunction(_identifiers[currentIdentifier]); 262return null != _identifiers[identifier].References; 365foreach (int successor in LinkedList<int>.Enumerate(_identifiers[node].References)) 380PropagatorResult owner = _identifiers[identifierInCycle].Owner; 414Partition firstPartition = _identifiers[firstId].Partition; 417Partition secondPartition = _identifiers[secondId].Partition; 431Partition secondPartition = _identifiers[secondId].Partition; 467manager._identifiers[nodeId].Partition = this;
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
182rootNode.Children[i] = IsolateUnions(rootNode.Children[i]); 254rootNode.Children[i] = ConvertUnionsToNormalizedLOJs(rootNode.Children[i]); 502children[i] = IsolateByOperator(children[i], opTypeToIsolate);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (12)
77children[i] = SimplifyTreeByMergingNodes(children[i]); 322CellTreeNode node = nodes[i]; 580if (bools1[i] == null) 582merged = bools2[i]; 584else if (bools2[i] == null) 586merged = bools1[i]; 592merged = BoolExpression.CreateAnd(bools1[i], bools2[i]); 596merged = BoolExpression.CreateOr(bools1[i], bools2[i]); 600merged = BoolExpression.CreateAnd(bools1[i], 601BoolExpression.CreateNot(bools2[i]));
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (3)
83m_onClauses[i - 1].AsEsql(builder); 105Func<DbExpression, DbExpression, DbExpression> joinConditionFunc = m_onClauses[i - 1].AsCqt; 198cqt = cqt.And(m_singleClauses[i].AsCqt(leftRow, rightRow));
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (2)
222T tmp = output[i]; 223output[i] = output[j];
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
203Constant domainValue = domain[i]; 226Constant lastDomainValue = domain[domain.Count - 1];
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
216m_elseValue = clauses[lastIndex].Value;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (5)
496MemberPath prefix = prefixes[i]; 501ExtentKey key = keys[i]; 645if (slotsToSearchFrom.Contains(slotIndexes[i])) 648slotIndex = slotIndexes[i]; 720return m_boolExprs[varNum];
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (5)
90get { return m_path.Count > 0 ? m_path[m_path.Count - 1] : null; } 271EdmMember current = m_path[i]; 826builder.Append(m_path[i].Name); 870if (false == left.m_path[i].Equals(right.m_path[i]))
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (1)
61get { return m_members[index]; }
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (8)
376slotInfos[slotNum] = new SlotInfo(true, true, additionalChildSlots[i].Item1, additionalChildSlots[i].Item2); 385CqlBlock child = children[i]; 436CqlBlock child = children[childNum]; 473AddCaseForOuterJoins(caseForOuterJoins, children[childDefiningSlot], slotNum, identifiers); 493slot = children[childDefiningSlot].QualifySlotWithBlockAlias(slotNum); 532CqlBlock child = children[i]; 648CellTreeNode child = m_children[i];
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
732MemberPath parentPath = parentPaths[i]; 733MemberPath childPath = childPaths[i];
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (3)
302Cell alignedCell = alignedCells[i]; 309BoolExpression fromVariable = BoolExpression.CreateLiteral(new CellIdBoolean(m_identifiers, extentCellsList[i].CellNumber), m_memberMaps.LeftDomainMap); 318extentCellsList[i]);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (1)
470usedCells[i].RightCellQuery.InitializeBoolExpressions(numBoolVars, i);
System\Data\Metadata\Edm\MetadataCollection.cs (9)
148return _collectionData.OrderedList[index]; 348AddToDictionary(collectionData, collectionData.OrderedList[i].Identity, i, false); 403return ((string)orderedList[index].Identity == (string)identity); 522if (String.Equals(collectionData.OrderedList[i].Identity, identity, StringComparison.OrdinalIgnoreCase)) 557if (index != -1 && _collectionData.OrderedList[index] == item) 624_collectionData.OrderedList[i].SetReadOnly(); 655(ignoreCase && String.Equals(_collectionData.OrderedList[index].Identity, identity, StringComparison.OrdinalIgnoreCase)) || 657return (0 <= index) ? _collectionData.OrderedList[index] : null; 719AddToDictionary(this, this.OrderedList[i].Identity, i, false);
System\Data\Metadata\MetadataCache.cs (4)
217if (!_metadataEntriesRemovedFromCache[i].IsEntryStillValid()) 220_metadataEntriesRemovedFromCache[i].CleanupQueryCache(); 246keysForRemoval[i].Value.Clear(); 247cache.Remove(keysForRemoval[i].Key);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1578var column = columns[i];
System\Data\Objects\ELinq\InitializerFacet.cs (1)
400Expression value = propertyReaders[i].UnwrappedExpression;
System\Data\Objects\Internal\EntityProxyFactory.cs (5)
993gen.Emit(OpCodes.Ldstr, _baseGetters[i].Name); 997gen.Emit(OpCodes.Call, _baseGetters[i].GetGetMethod(true)); 1016gen.Emit(OpCodes.Ldstr, _baseSetters[i].Name); 1021gen.Emit(OpCodes.Castclass, _baseSetters[i].PropertyType); 1022gen.Emit(OpCodes.Call, _baseSetters[i].GetSetMethod(true));
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (2)
105if (!parentInfo.DeclaringType.NavigationProperties.TryGetValue(navPropNames[pos], true, out nextNavProp)) 108throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_Span_NoNavProp(parentInfo.DeclaringType.FullName, navPropNames[pos]));
System\Data\Objects\ObjectContext.cs (1)
2210KeyValuePair<string, DbExpression>[] keyValueColumns = targetKeys[startFrom++].GetKeyValueExpressions(targetSet);
System\Data\Objects\ObjectParameterCollection.cs (2)
150return this._parameters[index]; 410ObjectParameter thisParam = this._parameters[idx];
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
132TViewElement item = _bindingList[index];
System\Data\Objects\ObjectViewQueryResultData.cs (2)
174TElement item = _bindingList[index]; 182TElement entity = _bindingList[_bindingList.Count - 1];
System\Data\Objects\Span.cs (9)
125SpanPath thisPath = _spanList[pathIdx]; 130keyBuilder.Append(thisPath.Navigations[propIdx]); 196if (spanPath.IsSubPath(_spanList[i])) 210if (_spanList[i].IsSubPath(spanPath)) 212toDelete.Add(_spanList[i]); 245if (!Navigations[i].Equals(rhs.Navigations[i], StringComparison.OrdinalIgnoreCase)) 261if (navigations[i] == null) 265else if (navigations[i].Length == 0)
System\Data\Query\InternalTrees\Command.cs (4)
379Debug.Assert(m_vars[id].VarType != VarType.NotValid, "The var has been replaced by a different var and is no longer valid."); 381return m_vars[id]; 1634SetOpVar newVar = this.CreateSetOpVar(unionAllVars[j].Type); 1636leftVarMap.Add(newVar, unionAllVars[j]);
System\Data\Query\InternalTrees\Dump.cs (3)
196VisitNode(n.Children[i++]); 199VisitNode(n.Children[i++]); 204VisitNode(n.Children[i++]);
System\Data\Query\InternalTrees\NodeInfo.cs (2)
764foreach (Node chi in n.Children[i].Children) 1064ExtendedNodeInfo childNodeInfo = n.Children[i].GetExtendedNodeInfo(m_command);
System\Data\Query\InternalTrees\Nodes.cs (2)
130if (!this.Children[i].IsEquivalent(other.Children[i]))
System\Data\Query\InternalTrees\OpCopier.cs (2)
157SetMappedVar(oldTable.Columns[i], newTable.Columns[i]);
System\Data\Query\InternalTrees\Rule.cs (2)
170if (!Match(pattern.Children[i], original.Children[i]))
System\Data\Query\InternalTrees\RuleProcessor.cs (1)
126subTreeRoot.Children[i] = ApplyRulesToSubtree(context, rules, subTreeRoot.Children[i], subTreeRoot, i);
System\Data\Query\InternalTrees\ScalarOps.cs (1)
1208if (m_fields[i] == field)
System\Data\Query\InternalTrees\Visitors.cs (5)
46VisitNode(n.Children[i]); 779VisitNode(n.Children[i]); 791VisitNode(n.Children[i]); 1661n.Children[i] = VisitNode(n.Children[i]); 1673n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (4)
576Node processedChild = VisitNode(n.Children[i]); 581if (!anyChildChanged && !Object.ReferenceEquals(n.Children[i], processedChild)) 696Node argumentNode = definingNode.Children[i]; 699_groupAggregateVarInfoManager.Add(op.Var, referencedVarInfo, templateNode, isUnnested, newRecordOp.Properties[i]);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (3)
653return VisitNode(n.Children[index]); 1259VarInfo colInfo = new VarInfo(targetTable.Columns[idx]); 1260colInfo.PrependProperty(targetTable.TableMetadata.Columns[idx].Name);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (6)
1289retNode = instance.Children[memberIdx]; 2314PushBindingScope(inputVars[scopeCount], inputs[scopeCount].VariableName); 2693Node keyVarDef = keyVarDefNodes[i]; 2694Node copyOfKeyVarDef = copyOfkeyVarDefNodes[i]; 2715Node keyNode = flattentedKeys[j]; 2716Node copyKeyNode = copyFlattenedKeys[j];
System\Data\Query\PlanCompiler\JoinGraph.cs (27)
910if (AddJoinEdge(joinNode, joinNode.LeftVars[i], joinNode.RightVars[i])) 916AddJoinEdge(joinNode, joinNode.RightVars[i], joinNode.LeftVars[i]); 1100edgeVars.Add(new KeyValuePair<ColumnVar, ColumnVar>(keyVars[i], valueVars[i])); 1154newJoinEdge.AddCondition(augmentedJoinNode, joinEdge.RightVars[i], joinEdge.LeftVars[i]); 1307JoinEdge e1 = tableNode.JoinEdges[i]; 1312JoinEdge e2 = rightTable.JoinEdges[j]; 1509if (tableNode.Table.ReferencedColumns.IsSet(tableVars[i])) 1511m_varMap[tableVars[i]] = replacementVars[i]; 1512AddReverseMapping(replacementVars[i], tableVars[i]); 1513replacementNode.Table.ReferencedColumns.Set(replacementVars[i]); 1692if (!edge2.LeftVars[j].Equals(edge1.LeftVars[j]) || 1693!edge2.RightVars[j].ColumnMetadata.Name.Equals(edge1.RightVars[j].ColumnMetadata.Name)) 1797if (!joinEdge.LeftVars[i].ColumnMetadata.Name.Equals(joinEdge.RightVars[i].ColumnMetadata.Name)) 2421if (!m_varMap.TryGetValue(joinNode.LeftVars[i], out newLeftVar)) 2423newLeftVar = joinNode.LeftVars[i]; 2425if (!m_varMap.TryGetValue(joinNode.RightVars[i], out newRightVar)) 2427newRightVar = joinNode.RightVars[i]; 2814subree = root.Children[i];
System\Data\Query\PlanCompiler\KeyPullup.cs (6)
238Node branchNode = n.Children[i]; 279Node branchNode = n.Children[i]; 329Var keyVar = allKeyVarsMissingFromOutput[j]; 343op.VarMap[i].Add(allKeyVarsToAddToOutput[j], keyVar); 373m_command.RecomputeNodeInfo(n.Children[i]); 374ExtendedNodeInfo projectNodeInfo = m_command.GetExtendedNodeInfo(n.Children[i]);
System\Data\Query\PlanCompiler\NestPullup.cs (40)
513Node newNestChild = ApplyIsNotNullFilter(chi.Children[i], sentinelVar); 522newNestChildren.Add(chi.Children[i]); 924CollectionInfo ci = nestedNestOp.CollectionInfo[i - 1]; 928newNestInputs.Add(nestedNestNode.Children[i]); 937CollectionInfo ci = nestOp.CollectionInfo[i - 1]; 939newNestInputs.Add(nestNode.Children[i]); 1128newNestedNestNodeInputs.Add(projectNode.Child0.Children[j]); 1394newNestNodeChildren.Add(nestNode.Children[i]); 1406leftCorrelationVars.Or(nestNode.Children[i].GetExtendedNodeInfo(Command).ExternalReferences); 1469nestOpOutputs.Or(newNestNodeChildren[i].GetNodeInfo(Command).ExternalReferences); 2128Node chi = nestNode.Children[i]; 2132CollectionInfo chiCi = nestOp.CollectionInfo[i - 1]; 2146VarVec childKeys = Command.CreateVarVec(((SingleStreamNestOp)nestNode.Children[i].Op).Keys); 2264CollectionInfo ci = nestOp.CollectionInfo[i - 1]; 2265List<InternalTrees.SortKey> postfixSortKeys = postfixSortKeyList[i]; 2267RemapSortKeys(postfixSortKeys, varMapList[i]); 2270ColumnMap newColumnMap = ColumnMapTranslator.Translate(ci.ColumnMap, varMapList[i]); 2271VarList newFlattenedElementVars = RemapVarList(ci.FlattenedElementVars, varMapList[i]); 2272VarVec newCollectionKeys = RemapVarVec(ci.Keys, varMapList[i]); 2274RemapSortKeys(ci.SortKeys, varMapList[i]); 2366Node inputNode = nestNode.Children[i]; 2405VarList flattenedElementVars = nestOp.CollectionInfo[i - 1].FlattenedElementVars; 2406foreach (InternalTrees.SortKey sortKey in sortKeys[i]) 2503varRemapper.AddMapping(drivingNodeVars[j], newDrivingNodeVars[j]); 2506varRemapper.RemapSubtree(nestNode.Children[i]); 2509newFlattenedElementVars = varRemapper.RemapVarList(nestOp.CollectionInfo[i - 1].FlattenedElementVars); 2518newFlattenedElementVars = nestOp.CollectionInfo[i - 1].FlattenedElementVars; 2526Node applyNode = Command.CreateNode(op, newDrivingNode, nestNode.Children[i]); 2537projectOutputs.Add(discriminatorVarList[i]); 2545CollectionInfo otherCollectionInfo = nestOp.CollectionInfo[j - 1]; 2586Var outputVar = Command.CreateSetOpVar(unionAllOutputs[idx].Type); 2587unionAllMap.Add(outputVar, unionAllOutputs[idx]); 2588projectMap.Add(outputVar, projectOutputs[idx]); 2614VarList varList = (i == 0) ? drivingNodeVars : nestOp.CollectionInfo[i - 1].FlattenedElementVars; 2713m_newCollectionVarDefinitions.Add(newOp.CollectionInfo[i].CollectionVar, result.Children[i + 1]); 2781Node originalChild = n.Children[i]; 2782n.Children[i] = VisitNode(n.Children[i]); 2783if (!Object.ReferenceEquals(originalChild, n.Children[i]) || changedNodes.Contains(originalChild))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (10)
301return Copy(input.Children[fieldPos]); 725convertToFlattenedTypeVarDefs.Add(m_command.CreateVarDefNode(m_command.CreateNode(m_command.CreateVarRefOp(unnestOpTableColumns[columnIndex])), out var)); 1492n.Children[i] = FixupSetOpChild(n.Children[i], op.VarMap[i], newComputedVars); 2068Node whenNode = Copy(n.Children[i]); 2072Node propNode = BuildAccessorWithNulls(n.Children[i], property); 2076Node elseNode = BuildAccessorWithNulls(n.Children[n.Children.Count - 1], property); 2157Node newCompNode = m_command.CreateNode(newCompOp, values1[i], values2[i]); 2775Node fieldValue = n.Children[childrenIndex]; 2819Node fieldValue = n.Children[childrenIndex];
System\Data\Query\PlanCompiler\Predicate.cs (2)
308VarVec tableColumns = tableDefinitions[i]; 316singleTablePredicates[i].AddPart(part);
System\Data\Query\PlanCompiler\PreProcessor.cs (10)
1612keyFields.Add(n.Children[pos]); 1780if (!relProperties.Contains(op.RelationshipProperties[j])) 1803prebuiltRelPropertyExprs[copiedRelPropList[j]] = n.Children[i]; 1812newChildren.Add(n.Children[i]); 1864newChildren.Add(n.Children[i]); 1872prebuiltRelPropertyExprs[op.RelationshipProperties[j]] = n.Children[i]; 2016caseArgNodes.Add(n.Children[i]); 2356sortChildren.Add(n.Child0.Children[i]);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (1)
487n.Children[i] = VisitNode(n.Children[i]);
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
320AddPropertyRefs(n.Children[i], cdProps); 322AddPropertyRefs(n.Children[n.Children.Count - 1], pdProps.Clone());
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (2)
126n.Children[i] = VisitNode(n.Children[i]); 166newNode = m_command.CreateNode(op, newNode, subqueries[i]);
System\Data\Query\PlanCompiler\TransformationRules.cs (22)
110node.Children[i] = ReMap(node.Children[i], varMap); 881Node elseNode = caseOpNode.Children[caseOpNode.Children.Count - 1]; 888if (!caseOpNode.Children[i].IsEquivalent(firstThenNode)) 930if (OpType.SoftCast == caseOpNode.Children[i].Op.OpType) 937newNodeArgs.Add(caseOpNode.Children[i]); 945if (OpType.SoftCast == caseOpNode.Children[i + 1].Op.OpType) 951if (caseOpNode.Children[i].Op.OpType != OpType.ConstantPredicate) 955newNodeArgs.Add(caseOpNode.Children[i]); 956newNodeArgs.Add(caseOpNode.Children[i + 1]); 963ConstantPredicateOp constPred = (ConstantPredicateOp)caseOpNode.Children[i].Op; 970newNodeArgs.Add(caseOpNode.Children[j]); 979newNodeArgs.Add(caseOpNode.Children[i + 1]); 1038Node elseChild = caseOpNode.Children[caseOpNode.Children.Count - 1]; 1600setOpNode.Children[branchId], 2362Node varDefNode = n.Child1.Children[i]; 3241AddMapping(op.Table.Columns[i], newScanTableOp.Table.Columns[i]); 3470Node projectNode = joinNode.Children[projectNodeIdx]; 3478ExtendedNodeInfo otherChildInfo = command.GetExtendedNodeInfo(joinNode.Children[otherNodeIdx]); 3835newNode = setOpNode.Children[indexToReturn]; 4005Node varDefNode = projectNodeVarDefList.Children[i]; 4029Node varDefNode = projectNodeVarDefList.Children[j];
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
592NestedPropertyRef nestedPropertyRef = m_propertyRefList[i] as NestedPropertyRef;
System\Data\Query\PlanCompiler\VarRefManager.cs (3)
57m_nodeToParentMap[parent.Children[i]] = parent; 58m_nodeToSiblingNumber[parent.Children[i]] = i; 90if (parent.Children[i].GetNodeInfo(m_command).ExternalReferences.Overlaps(keys))
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
543_memberValues[property] = _parameters[_parameters.Count - 1];
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
3229extents.Add(result.FromExtents[i]);
System\Data\SqlClient\SqlGen\SymbolTable.cs (3)
52symbols[symbols.Count - 1][name] = value; 59if (symbols[i].ContainsKey(name)) 61return symbols[i][name];
System.Data.Entity.Design (8)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
79GetFromAssociationSetEnd(AssociationSets[index], AssociationSets[(index+1)%2], out storeAssociationSetEnd, out multiplicity, out deleteBehavior);
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
1123modelNamespaceName += namespaceParts[i] + "."; 1125modelNamespaceName += namespaceParts[namespaceParts.Count - 1];
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
635row.Attach(parameters[i]); 1012if(!pkEntityType.Properties.TryGetValue(columns[index].PKColumn, false, out property)) 1019pkEntityType.Name + "." + columns[index].PKColumn), 1026if(!fkEntityType.Properties.TryGetValue(columns[index].FKColumn, false, out property)) 1033fkEntityType.Name + "." + columns[index].FKColumn),
System.Data.Linq (298)
ChangeConflicts.cs (1)
30get { return this.conflicts[index]; }
ChangeProcessor.cs (3)
579range.Sort((int x, int y) => Compare(objects[x], x, objects[y], y)); 580var ordered = range.Select(i => objects[i]).ToList();
Mapping\MappedMetaModel.cs (1)
1383mps.Add(new MappedParameter(pis[i], this.map.Parameters[i]));
SqlClient\Common\SqlFactory.cs (4)
452whens.Add(new SqlClientWhen(matches[i], values[i])); 459whens.Add(new SqlWhen(matches[i], values[i]));
SqlClient\Common\SqlNode.cs (2)
1711MemberInfo argmi = this.argMembers[i]; 1713return this.args[i];
SqlClient\Common\SqlVisitor.cs (29)
273rowNumber.OrderBy[i].Expression = this.VisitExpression(rowNumber.OrderBy[i].Expression); 324suq.Arguments[i] = this.VisitExpression(suq.Arguments[i]); 328suq.Columns[i] = (SqlUserColumn) this.Visit(suq.Columns[i]); 334spc.Arguments[i] = this.VisitExpression(spc.Arguments[i]); 338spc.Columns[i] = (SqlUserColumn) this.Visit(spc.Columns[i]); 350row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression); 356sox.Args[i] = this.VisitExpression(sox.Args[i]); 359sox.Members[i].Expression = this.VisitExpression(sox.Members[i].Expression); 366link.KeyExpressions[i] = this.VisitExpression(link.KeyExpressions[i]); 372cq.Arguments[i] = this.VisitExpression(cq.Arguments[i]); 383scar.Expressions[i] = this.VisitExpression(scar.Expressions[i]); 441select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 445select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 465update.Assignments[i] = (SqlAssign)this.Visit(update.Assignments[i]); 484b.Statements[i] = (SqlStatement)this.Visit(b.Statements[i]); 490SqlWhen when = c.Whens[i]; 500SqlClientWhen when = c.Whens[i]; 509SqlWhen when = c.Whens[i]; 518SqlTypeCaseWhen when = tc.Whens[i]; 531xs.Expressions[i] = this.VisitExpression(xs.Expressions[i]); 552sin.Values[i] = this.VisitExpression(sin.Values[i]); 564fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]); 570fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]); 577mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]); 629if (this.RefersToColumn(set.Expressions[i], col)) {
SqlClient\Query\ContainsRowNumberChecker.cs (3)
59row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression); 61this.CurrentColumn = row.Columns[i];
SqlClient\Query\MethodCallConverter.cs (5)
216mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]); 243if (exprs[i].SqlType.IsString || exprs[i].SqlType.IsChar) { 244sum = sql.Concat(sum, exprs[i]); 247sum = sql.Concat(sum, sql.ConvertTo(typeof(string), exprs[i]));
SqlClient\Query\QueryConverter.cs (2)
1014if (!CanSkipOnSelection(sn.Args[i])) { 1808pred = sql.Binary(SqlNodeType.Or, pred, sql.Binary(SqlNodeType.EQ, (SqlExpression)SqlDuplicator.Copy(expr), list[i]));
SqlClient\Query\SqlBinder.cs (17)
145fc.Arguments[i] = this.FetchExpression(fc.Arguments[i]); 165mc.Arguments[i] = this.FetchExpression(mc.Arguments[i]); 667sox.Args[i] = this.VisitExpression(sox.Args[i]); 670sox.Args[i] = this.FetchExpression(sox.Args[i]); 674SqlMemberAssign ma = sox.Members[i]; 1163select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 1169select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 1301SqlExpression fetchedValue = (SqlExpression)fetchedValues[i]; 1305matches.Add(cc.Whens[i].Match); 1324SqlExpression fetchedValue = (SqlExpression)fetchedValues[i]; 1325tc.Whens[i].TypeBinding = fetchedValue; 1581int elseCount = clientCase.Whens[elseIndex].Match == null ? 1 : 0; 1584sel = (SqlSelect)sequences[i]; 1585SqlExpression discriminatorPredicate = sql.Binary(SqlNodeType.EQ, clientCase.Expression, clientCase.Whens[i].Match); 1587elseFilter = sql.AndAccumulate(elseFilter, sql.Binary(SqlNodeType.NE, clientCase.Expression, clientCase.Whens[i].Match)); 1598sel = (SqlSelect)sequences[elseIndex];
SqlClient\Query\SqlBooleanMismatchVisitor.cs (4)
28select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 32select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 80SqlWhen when = c.Whens[i];
SqlClient\Query\SqlCaseSimplifier.cs (14)
93if (c.Whens[i].Match == null) { 99c.Whens[compareWhen].Match = VisitExpression(c.Whens[compareWhen].Match); 100c.Whens[compareWhen].Value = VisitExpression(c.Whens[compareWhen].Value); 107SqlWhen when = c.Whens[i]; 110if (!SqlComparer.AreEqual(c.Whens[compareWhen].Value, when.Value)) { 116newWhens.Add(c.Whens[compareWhen]); 119SqlExpression rewrite = TryToConsolidateAllValueExpressions(newWhens.Count, c.Whens[compareWhen].Value); 129rewrite = TryToWriteAsReducedCase(c.ClrType, c.Expression, newWhens, c.Whens[compareWhen].Match, c.Whens.Count); 184SqlValue lit = (SqlValue)newWhens[i].Value; // Must be SqlValue because of allValuesLiteral. 186if (newWhens[i].Match != null) { // Skip the ELSE 188rewrite = sql.OrAccumulate(rewrite, sql.Binary(SqlNodeType.EQ, discriminator, newWhens[i].Match)); 191rewrite = sql.AndAccumulate(rewrite, sql.Binary(SqlNodeType.NE, discriminator, newWhens[i].Match));
SqlClient\Query\SqlColumnizer.cs (6)
98c.Whens[i].Value = this.VisitExpression(c.Whens[i].Value); 107tc.Whens[i].TypeBinding = this.VisitExpression(tc.Whens[i].TypeBinding); 116c.Whens[i].Value = this.VisitExpression(c.Whens[i].Value);
SqlClient\Query\SqlComparer.cs (24)
37if (AreEqual(eset.Expressions[i], node2)) 44if (AreEqual(node1, eset.Expressions[i])) 137if (!AreEqual(c1.Whens[i].Match, c2.Whens[i].Match)) { 140if (!AreEqual(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) { 153if (!AreEqual(c1.Whens[i].Match, c2.Whens[i].Match) || 154!AreEqual(c1.Whens[i].Value, c2.Whens[i].Value)) 165if (!AreEqual(c1.Whens[i].Match, c2.Whens[i].Match) || 166!AreEqual(c1.Whens[i].Value, c2.Whens[i].Value)) 182if (!AreEqual(c1.Whens[i].Match, c2.Whens[i].Match) || 183!AreEqual(c1.Whens[i].Value, c2.Whens[i].Value)) 208if (!AreEqual(f1.Arguments[i], f2.Arguments[i])) 226if (!AreEqual(l1.KeyExpressions[i], l2.KeyExpressions[i])) { 238if (!AreEqual(es1.Expressions[i], es2.Expressions[i]))
SqlClient\Query\SqlDeflator.cs (12)
140SqlColumn c = select.Row.Columns[i]; 160select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 165select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 189link.KeyExpressions[i] = this.VisitExpression(link.KeyExpressions[i]); 394select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 401if (SqlComparer.AreEqual(select.GroupBy[i], select.GroupBy[j])) 411select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 422if (this.equalizer.AreEquivalent(select.OrderBy[i].Expression, select.OrderBy[j].Expression))
SqlClient\Query\SqlDuplicator.cs (14)
95nq.Arguments.Add(this.VisitExpression(cq.Arguments[i])); 98nq.Parameters.Add((SqlParameter)this.VisitExpression(cq.Parameters[i])); 108exprs[i] = this.VisitExpression(scar.Expressions[i]); 124args[i] = this.VisitExpression(sox.Args[i]); 127bindings[i] = this.VisitMemberAssign(sox.Members[i]); 134exprs[i] = this.VisitExpression(link.KeyExpressions[i]); 311SqlWhen when = c.Whens[i]; 320SqlClientWhen when = c.Whens[i]; 329SqlWhen when = c.Whens[i]; 340exprs[i] = this.VisitExpression(xs.Expressions[i]); 373nin.Values[i] = this.VisitExpression(nin.Values[i]); 389args[i] = this.VisitExpression(fc.Arguments[i]); 396args[i] = this.VisitExpression(fc.Arguments[i]); 408args[i] = this.VisitExpression(mc.Arguments[i]);
SqlClient\Query\SqlExpander.cs (34)
81exprs[i] = this.VisitExpression(link.KeyExpressions[i]); 122mcs[i] = (SqlMethodCall)exprs[i]; 130args.Add(mcs[j].Arguments[i]); 142scs[i] = (SqlClientCase)exprs[i]; 157SqlClientWhen when = scs[j].Whens[i]; 160whens.Add(new SqlClientWhen(scs[0].Whens[i].Match, this.ExpandTogether(scos))); 170tcs[i] = (SqlTypeCase)exprs[i]; 181tcs[i].Discriminator = discriminators[i]; 188SqlTypeCaseWhen when = tcs[j].Whens[i]; 192whens.Add(new SqlTypeCaseWhen(tcs[0].Whens[i].Match, expanded)); 202if (exprs[i] == null || exprs[i].NodeType != SqlNodeType.New) 208if (cobs[i].Members[m].Member != cobs[0].Members[m].Member) { 217mexprs.Add(cobs[i].Members[m].Expression); 219bindings[m] = new SqlMemberAssign(cobs[0].Members[m].Member, this.ExpandTogether(mexprs)); 221cobs[i].Members[m].Expression = mexprs[i]; 228mexprs.Add(cobs[i].Args[m]); 238if (exprs[i] == null || exprs[i].NodeType != SqlNodeType.Link) 240links[i] = (SqlLink)exprs[i]; 251lexprs.Add(links[i].KeyExpressions[k]); 255links[i].KeyExpressions[k] = lexprs[i]; 266links[i].Expansion = lexprs[i]; 277SqlValue val = (SqlValue)exprs[i]; 290if (exprs[i] == null || exprs[i].NodeType != SqlNodeType.OptionalValue) { 293SqlOptionalValue sov = (SqlOptionalValue)exprs[i]; 305if (exprs[i] == null || exprs[i].NodeType != SqlNodeType.OuterJoinedValue) { 308SqlUnary su = (SqlUnary)exprs[i]; 318SqlDiscriminatedType sdtN = (SqlDiscriminatedType)exprs[i]; 343rexprs[i] = this.VisitExpression(exprs[i]);
SqlClient\Query\SqlFormatter.cs (27)
28SqlStatement stmt = block.Statements[i]; 186SqlOrderExpression exp = rowNumber.OrderBy[i]; 243this.Visit(sin.Values[i]); 273this.Visit(fc.Arguments[i]); 536this.Visit(suq.Arguments[i]); 567this.Visit(spc.Arguments[i]); 576this.Visit(spc.Arguments[pc]); 664this.Visit(xs.Expressions[i]); 676SqlColumn c = row.Columns[i]; 708SqlExpression argExpr = sox.Args[i]; 710sb.Append(sox.ArgMembers[i].Name); 716SqlMemberAssign ma = sox.Members[i]; 736this.Visit(scar.Expressions[i]); 818SqlExpression exp = ss.GroupBy[i]; 833SqlOrderExpression exp = ss.OrderBy[i]; 935this.Visit(block.Statements[i]); 937SqlSelect select = block.Statements[i+1] as SqlSelect; 954this.Visit(cq.Arguments[i]); 1010this.WriteName(si.Row.Columns[i].Name); 1034this.Visit( si.Row.Columns[i].Expression); 1066SqlAssign sa = su.Assignments[i]; 1094SqlWhen when = c.Whens[i]; 1123SqlWhen when = c.Whens[i]; 1156SqlClientWhen when = c.Whens[i]; 1189SqlTypeCaseWhen when = c.Whens[i]; 1369this.Visit(link.KeyExpressions[i]); 1394this.Visit(mc.Arguments[i]);
SqlClient\Query\SqlMethodCallConverter.cs (12)
453if (mc.Arguments[mc.Arguments.Count - 1].ClrType == typeof(MidpointRounding) 688SqlTypeCaseWhen when = tc.Whens[i]; 689when.Match = matches[i]; 690when.TypeBinding = (SqlNew)values[i]; 852sql.ConvertToInt(sql.ConvertToBigint(sql.Divide(sql.ConvertTimeToDouble(sox.Args[timeSpanIndex]), TimeSpan.TicksPerMinute))) 904mc.Arguments[i] = this.VisitExpression(mc.Arguments[i]); 1469if (exprs[i].SqlType.IsString || exprs[i].SqlType.IsChar) { 1470sum = sql.Concat(sum, exprs[i]); 1473sum = sql.Concat(sum, sql.ConvertTo(typeof(string), exprs[i])); 2079if ((mc.Arguments[nParams - 1].ClrType != typeof(MidpointRounding))) { 2091SqlExpression roundingMethod = mc.Arguments[nParams - 1];
SqlClient\Query\SqlMultiplexer.cs (1)
256exprs[i] = this.VisitExpression(link.KeyExpressions[i]);
SqlClient\Query\SqlNamer.cs (5)
82SqlColumn c = select.Row.Columns[i]; 94SqlColumn c = select.Row.Columns[i]; 178sox.Args[i] = this.VisitNamedExpression(sox.Args[i], pis[i].Name); 183sox.Args[i] = this.VisitExpression(sox.Args[i]); 212mc.Arguments[i] = this.VisitNamedExpression(mc.Arguments[i], pis[i].Name);
SqlClient\Query\SqlParameterizer.cs (3)
83SqlNode statement = block.Statements[i]; 175suq.Arguments[i] = this.VisitParameter(suq.Arguments[i]); 202SqlParameter arg = spc.Arguments[i] as SqlParameter;
SqlClient\Query\SqlRemoveConstantOrderBy.cs (1)
26SqlExpression expr = orders[i].Expression;
SqlClient\Query\SqlReorderer.cs (3)
164select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 168select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlResolver.cs (3)
95select.GroupBy[i] = this.VisitExpression(select.GroupBy[i]); 99select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlRetyper.cs (5)
117SqlExpression value = sin.Values[i]; 119if (value != sin.Values[i]) { 162ProviderType whenType = c.Whens[i].Value.SqlType; 188ProviderType whenType = c.Whens[i].Value.SqlType; 210fc.Arguments[i] = this.VisitExpression(fc.Arguments[i]);
SqlClient\Query\SqlSupersetValidator.cs (1)
38SqlColumn col = row.Columns[i];
SqlClient\Query\SqlUnionizer.cs (4)
24sleft.Row.Columns[i].Ordinal = select.Row.Columns.Count + i; 27sright.Row.Columns[i].Ordinal = select.Row.Columns.Count + i; 31SqlExprSet es = select.Row.Columns[i].Expression as SqlExprSet; 34SqlColumnRef cr = es.Expressions[e] as SqlColumnRef;
SqlClient\Query\Translator.cs (4)
255keyExprs[i] = InternalExpression.Known(keyExpressions[i], memberType); 364SqlExpression eq = this.TranslateEqualsOp(eqKind, exprs1[i], exprs2[i], !mtLeft.IsEntity); 460SqlExpression compare = sql.Unary(expr.NodeType, sql.DoNotVisitExpression(exprs[i]), expr.SourceExpression);
SqlClient\Reader\ObjectReaderCompiler.cs (50)
352if (!CanBeCompared(new1.Args[i])) { 357if (!CanBeCompared(new1.Members[i].Expression)) { 370if (!CanBeCompared(l1.KeyExpressions[i])) { 394if (!CanBeCompared(a1.Expressions[i])) { 403if (!CanBeCompared(c1.Whens[i].Match) || 404!CanBeCompared(c1.Whens[i].Value)) { 413if (!CanBeCompared(c1.Whens[i].Match) || 414!CanBeCompared(c1.Whens[i].Value)) { 426if (!CanBeCompared(c1.Whens[i].Match)) { 429if (!CanBeCompared(c1.Whens[i].TypeBinding)) { 486if (!AreSimilar(new1.Args[i], new2.Args[i])) { 491if (!MetaPosition.AreSameMember(new1.Members[i].Member, new2.Members[i].Member) || 492!AreSimilar(new1.Members[i].Expression, new2.Members[i].Expression)) { 513if (!AreSimilar(l1.KeyExpressions[i], l2.KeyExpressions[i])) { 543if (!AreSimilar(a1.Expressions[i], a2.Expressions[i])) { 558if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match) || 559!AreSimilar(c1.Whens[i].Value, c2.Whens[i].Value)) { 572if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match) || 573!AreSimilar(c1.Whens[i].Value, c2.Whens[i].Value)) 588if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match)) { 591if (!AreSimilar(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) { 619if (!AreSimilar(cq1.Arguments[i], cq2.Arguments[i])) { 635if (!AreSimilar(mc1.Arguments[i], mc2.Arguments[i])) { 873this.GenerateExpressionForType(ca.Expressions[i], elemType); 907this.GenerateExpressionForType(mc.Arguments[i], pType); 913this.GenerateExpressionForType(mc.Arguments[i], pType); 942this.GenerateExpressionForType(sn.Args[i], pis[i].ParameterType); 1394this.GenerateExpressionForType(link.KeyExpressions[i], typeof(object)); 1434Type clrType = cq.Arguments[i].ClrType; 1435if (cq.Arguments[i].NodeType == SqlNodeType.ColumnRef) { 1436SqlColumnRef cref = (SqlColumnRef)cq.Arguments[i]; 1443this.GenerateExpressionForType(cq.Arguments[i], cq.Arguments[i].ClrType); 1916SqlClientWhen when = scc.Whens[i]; 1950SqlTypeCaseWhen when = stc.Whens[i]; 2031SqlWhen when = ssc.Whens[i]; 2794return this.buffer[this.iNextBufferedReader++];
SqlClient\SqlBuilder.cs (1)
49string schema = parts[parts.Count - 2];
SqlClient\SqlProvider.cs (2)
1605block.Statements[i], 1630return GetFinalSelect(b.Statements[b.Statements.Count - 1]);
SqlClient\SqlTypeSystemProvider.cs (1)
1180array[i] = fc.Arguments[i].SqlType;
System.Data.Services (47)
System\Data\Services\DataService.cs (7)
2438this.operationContext = this.batchOperationContexts[i]; 2439this.WriteRequest(this.batchRequestDescription[i], this.batchOperationContexts[i].Host.BatchServiceHost); 2668DataServiceOperationContext currentContext = changesetOperationContexts.Count == 0 ? null : changesetOperationContexts[changesetOperationContexts.Count - 1]; 2724Debug.Assert(this.batchRequestDescription[this.batchRequestDescription.Count - 1] == requestDescription, "The current request description must be the last one"); 2745DataServiceOperationContext previousContext = this.batchOperationContexts[i]; 2747RequestDescription previousRequest = this.batchRequestDescription[i];
System\Data\Services\KeyInstance.cs (1)
167string valueText = (string)this.positionalValues[i];
System\Data\Services\Parsing\RequestQueryParser.cs (4)
2235if (i != j && IsBetterThan(arguments, applicableFunctions[j].ParameterTypes, applicableFunctions[i].ParameterTypes)) 2261arguments = applicablePromotedArguments[bestFunctionIndex]; 2262return applicableFunctions[bestFunctionIndex];
System\Data\Services\Providers\BasicExpandProvider.cs (3)
1446ExpandNode node = this.children[i]; 1565ProjectedProperty projectedProperty = this.projectedProperties[propertyIndex]; 1792typeArguments[typeArgumentIndex++] = this.children[i].ProjectedType;
System\Data\Services\Providers\ExpandedProjectionNode.cs (3)
284ExpandedProjectionNode expandedNode = this.nodes[j] as ExpandedProjectionNode; 327ExpandedProjectionNode expandedNode = this.nodes[j] as ExpandedProjectionNode; 345ExpandedProjectionNode expandedNode = this.nodes[j] as ExpandedProjectionNode;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1271expandedNode.PropertyName.Length == 0 || pathSegments[pathSegments.Count - 1] == expandedNode.PropertyName,
System\Data\Services\Providers\ReflectionServiceProvider.cs (5)
544if (CommonUtil.IsUnsupportedType(ancestors[i])) 547throw new InvalidOperationException(Strings.BadProvider_UnsupportedAncestorType(type.FullName, ancestors[i].FullName)); 550if (DoesTypeHaveKeyProperties(ancestors[i], entityTypeCandidate)) 575ResourceType entityType = ReflectionServiceProvider.CreateResourceType(ancestors[i], ResourceTypeKind.EntityType, baseResourceType, knownTypes, childTypes); 891if (rootTypes[i].InstanceType.IsAssignableFrom(type))
System\Data\Services\RequestQueryProcessor.cs (5)
401List<string> path = this.expandPathsAsText[i]; 406string pathSegment = path[j]; 526ExpandSegment segment = segments[j]; 593List<string> path = selectPathsAsText[i]; 600string pathSegment = path[j];
System\Data\Services\Serializers\Deserializer.cs (2)
1066Buffer.BlockCopy(byteData[i], 0, data, i * 4000, 4000); 1070Buffer.BlockCopy(byteData[byteData.Count - 1], 0, data, (byteData.Count - 1) * 4000, result);
System\Data\Services\Serializers\DictionaryContent.cs (4)
166object value = this.valueContents[index]; 203string propertyName = this.valueNames[i]; 204string propertyTypeName = this.valueTypes[i]; 205object propertyValue = this.valueContents[i];
System\Data\Services\Serializers\JsonDeserializer.cs (2)
603this.HandleNavigationProperty(parentResourceSet, parentResourceType, resource, navProperties[i], navPropertyValues[i]);
System\Data\Services\Serializers\Serializer.cs (9)
108return this.segmentContainers[this.segmentContainers.Count - 1]; 435Debug.Assert(topQueryParameter.Value >= this.segmentResultCounts[this.segmentResultCounts.Count - 1], "$top must be the upper limits of the number of results returned."); 443return this.segmentResultCounts[this.segmentResultCounts.Count - 1] == pageSize; 492int count = this.segmentResultCounts[this.segmentResultCounts.Count - 1]; 639List<ExpandSegment> expandPath = this.requestDescription.RootProjectionNode.ExpandPaths[i]; 650if (expandPath[j - 1].Name != this.segmentNames[j]) 657if (matchFound && expandPath[this.segmentNames.Count - 1].Name == name) 819ProjectionNode projectionNode = expandedProjectionNode.FindNode(this.segmentNames[i]);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
1041ResourcePropertyInfo propertyInfo = navProperties[i];
System.Data.Services.Client (39)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
265newFilter = Expression.And(newFilter, inputPredicates[idx]);
System\Data\Services\Client\ALinq\UriWriter.cs (6)
429var selector = oboe.Selectors[ii]; 460this.uriBuilder.Append(paths[ii]); 484string path = paths[ii]; 523this.uriBuilder.Append(keys[ii].Value); 525this.uriBuilder.Append(values[ii].Value); 527if (keys[ii].Value.ToString().Equals(UriHelper.DOLLARSIGN + UriHelper.OPTIONCOUNT, StringComparison.OrdinalIgnoreCase))
System\Data\Services\Client\AtomMaterializer.cs (3)
504var segment = path[i]; 562var segment = path[i]; 724var segment = path[i];
System\Data\Services\Client\DataServiceContext.cs (16)
4332if (this.ChangedEntries[this.entryIndex].ContentGeneratedForSave) 4334Debug.Assert(this.ChangedEntries[this.entryIndex] is LinkDescriptor, "only expected RelatedEnd to presave"); 4336this.ChangedEntries[this.entryIndex].State == EntityStates.Added || 4337this.ChangedEntries[this.entryIndex].State == EntityStates.Modified, 4551Debug.Assert(this.ChangedEntries[this.entryIndex].IsResource, "Only resources can have MR's."); 4552EntityDescriptor box = (EntityDescriptor)this.ChangedEntries[this.entryIndex]; 4572Descriptor entry = this.ChangedEntries[this.entryIndex]; 4795Descriptor entry = this.ChangedEntries[index]; 4899this.buildBatchWriter.WriteLine("{0}: {1}", XmlConstants.HttpContentID, this.ChangedEntries[this.entryIndex].ChangeOrder); 4916this.ChangedEntries[this.entryIndex].ContentGeneratedForSave = true; 4926Descriptor entry = this.ChangedEntries[this.entryIndex]; 5118Descriptor entry = this.ChangedEntries[i]; 5504entry = this.ChangedEntries[index]; 5629this.ChangedEntries[index].SaveError = e; 5634new ChangeOperationResponse(contentHeaders, this.ChangedEntries[index]); 5689if (this.ChangedEntries[i].ChangeOrder == contentID)
System\Data\Services\Client\MemberAssignmentAnalysis.cs (2)
268result[0] = this.pathFromEntity[this.pathFromEntity.Count - 1]; 286result[i] = this.pathFromEntity[i];
System\Data\Services\Client\ProjectionPath.cs (2)
104builder.Append(this[i].Member == null ? "*" : this[i].Member);
System\Data\Services\Client\ProjectionPathBuilder.cs (4)
195if (names[names.Count - i - 1] != rewrite.MemberNames[i]) 254if (this.rewrites[i].Root != root) 259if (names.Length != this.rewrites[i].MemberNames.Length) 267if (names[j] != this.rewrites[i].MemberNames[j])
System\Data\Services\Client\ProjectionPlanCompiler.cs (5)
436this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 451this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 468this.annotations.Add(result, new ExpressionAnnotation() { Segment = path[path.Count - 1] }); 579this.annotations.Add(entryToInitValue, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] }); 580this.annotations.Add(entryParameterForMembers, new ExpressionAnnotation() { Segment = entryPath[entryPath.Count - 1] });
System.Data.Services.Design (4)
System\Data\EntityModel\EntityClassGenerator.cs (4)
368schemaNamespace = schemaElements[i].Name.NamespaceName; 372if (schemaNamespace != schemaElements[i].Name.NamespaceName) 374throw new NotSupportedException(Strings.InvalidMetadataMultipleNamespaces(schemaNamespace, schemaElements[i].Name.NamespaceName)); 378XElement fitted = FitElementToSchema(schemaElements[i], schemaNamespace, XmlConstants.EdmV1dot1Namespace);
System.Data.SqlXml (38)
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (1)
64if (navRoot.IsSamePosition(this.roots[idx])) {
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (2)
78IEnumerator<XPathNavigator> sequence = this.sequencesToMerge[this.sequencesToMerge.Count - 1]; 113int cmp = this.runtime.ComparePosition(sequence.Current, this.sequencesToMerge[i].Current);
System\Xml\Xsl\Runtime\XslNumber.cs (4)
193TokenInfo periodicSeparator = 2 < cFormats ? tokens[cFormats - 2] : DefaultSeparator; 194TokenInfo periodicFormat = 0 < cFormats ? tokens[cFormats - 1] : DefaultFormat; 207TokenInfo thisSeparator = haveFormat ? tokens[formatIndex + 0] : periodicSeparator; 212TokenInfo thisFormat = haveFormat ? tokens[formatIndex + 1] : periodicFormat;
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
192return decimalFormatters[idx].Format(value);
System\Xml\Xsl\XmlQueryTypeFactory.cs (6)
270if (itemType.IsSubtypeOf(accumulator[i])) { 275if (accumulator[i].IsSubtypeOf(itemType)) { 719XmlQueryType t = members[i]; 779TF.Serialize(writer, this.members[i]); 847if (!this.members[i].IsNotRtf) 905get { return this.members[index]; }
System\Xml\Xsl\Xslt\Scripts.cs (9)
151if (scriptClasses[i] == null) 155CompilerInfo compilerInfo = scriptClasses[i].compilerInfo; 160if (scriptClasses[j] != null && scriptClasses[j].compilerInfo == compilerInfo) { 161scriptsForLang.Add(scriptClasses[j]); 198ScriptClass lastScript = scriptsForLang[scriptsForLang.Count - 1]; 230ScriptClass script = scriptsForLang[idx]; 368ScriptClass errScript = scriptsForLang[scriptsForLang.Count - 1]; 377errScript = scriptsForLang[scriptNumber];
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (3)
713if (templates[templates.Count - 1] == dependentTemplate) { 1252var node = content[split]; 1309newtemplate.AddContent(content[t]);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
225curStylesheet.Imports[i] = LoadStylesheet(importHrefs[i], /*include:*/false);
System\Xml\Xsl\XsltOld\NumberAction.cs (5)
452sufix = tokens[cFormats - 1]; 455FormatInfo periodicSeparator = 2 < cFormats ? tokens[cFormats - 2] : DefaultSeparator; 456FormatInfo periodicFormat = 0 < cFormats ? tokens[cFormats - 1] : DefaultFormat ; 465FormatInfo thisSeparator = haveFormat ? tokens[formatIndex + 0] : periodicSeparator; 470FormatInfo thisFormat = haveFormat ? tokens[formatIndex + 1] : periodicFormat;
System\Xml\Xsl\XsltOld\Processor.cs (5)
307queryList[i] = Query.Clone(queryStore[i].CompiledQuery.QueryTree); 329this.keyList[i] = this.rootAction.KeyList[i].Clone(); 463return this.queryStore[key].CompiledQuery.Expression; 468TheQuery theQuery = this.queryStore[key]; 481TheQuery theQuery = this.queryStore[key];
System\Xml\Xsl\XsltOld\TemplateAction.cs (1)
122TheQuery theQuery = (TheQuery)compiler.QueryStore[this.MatchKey];
System.Drawing (2)
commonui\System\Drawing\ImageAnimator.cs (2)
304ImageInfo imageInfo = imageInfoList[i]; 343ImageInfo imageInfo = imageInfoList[i];
System.IdentityModel (47)
System\IdentityModel\Asn1IntegerConverter.cs (10)
74if (resultDigits[d] != 0) 87result.Append(digitMap[resultDigits[d--]]); 102List<byte> decimalDigits = new List<byte>(powersOfTwo[power - 1]); 106byte newValue = (byte)((decimalDigits[i] << 1) + carryover); 118return powersOfTwo[n]; 134newValue = (byte)(first[i] + second[i] + carryover); 138newValue = (byte)(first[i] + carryover); 154int newValue = first[i] - second[i] - borrow; 170int newValue = first[i] - borrow;
System\IdentityModel\BoundedCache.cs (1)
210_items.Remove(expiredItems[i]);
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
355tokens[i] = new X509SecurityToken(this.KnownIssuerCertificates[i]);
System\IdentityModel\MostlySingletonList.cs (1)
30return this.list[index];
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (5)
89canBeValidated = this.supportingAuthenticators[i].CanValidateToken(samlToken.Assertion.SigningToken); 170if (this.supportingAuthenticators[i].CanValidateToken(token)) 172ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.supportingAuthenticators[i].ValidateToken(token); 209if (this.supportingAuthenticators[i].CanValidateToken(token)) 211ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.supportingAuthenticators[i].ValidateToken(token);
System\IdentityModel\Selectors\X509CertificateChain.cs (3)
346byte[] ansiOid = Encoding.ASCII.GetBytes(oidStrs[index]); 348if (ansiOid.Length != oidStrs[index].Length) { 357pOid = new IntPtr((long)pOid + oidStrs[index].Length + 1);
System\IdentityModel\SignedXml.cs (8)
683get { return this.references[index]; } 703if (!this.references[i].Verified) 706new CryptographicException(SR.GetString(SR.UnableToResolveReferenceUriForSignature, this.references[i].Uri))); 715if (this.references[i].EnsureDigestValidityIfIdMatches(id, resolvedXmlSource)) 727if (!this.references[i].Verified && this.references[i].ExtractReferredId() == id) 743this.references[i].ComputeAndSetDigest(); 799this.references[i].WriteTo(writer, dictionaryManager);
System\IdentityModel\Tokens\KeyInfoSerializer.cs (10)
92SecurityTokenSerializer.SerializerEntries serializerEntry = this.serializerEntries[i]; 153KeyIdentifierEntry keyIdentifierEntry = this.keyIdentifierEntries[i]; 190KeyIdentifierEntry keyIdentifierEntry = this.keyIdentifierEntries[i]; 203KeyIdentifierEntry keyIdentifierEntry = this.keyIdentifierEntries[i]; 239KeyIdentifierClauseEntry keyIdentifierClauseEntry = this.keyIdentifierClauseEntries[i]; 251KeyIdentifierClauseEntry keyIdentifierClauseEntry = this.keyIdentifierClauseEntries[i]; 279KeyIdentifierClauseEntry keyIdentifierClauseEntry = this.keyIdentifierClauseEntries[i]; 292KeyIdentifierClauseEntry keyIdentifierClauseEntry = this.keyIdentifierClauseEntries[i]; 342TokenEntry tokenEntry = this.tokenEntries[i]; 359TokenEntry tokenEntry = this.tokenEntries[i];
System\IdentityModel\Tokens\SamlAssertion.cs (3)
424if ((cryptoList[j] is InMemorySymmetricSecurityKey) && (cryptoList[j].KeySize == inMemorySymmetricSecurityKey.KeySize)) 426byte[] key1 = ((InMemorySymmetricSecurityKey)cryptoList[j]).GetSymmetricKey();
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (2)
38get { return this.clauses[index]; } 132TClause c = this.clauses[i] as TClause;
System\IdentityModel\XmlBuffer.cs (1)
131Section section = sections[sectionIndex];
System\ServiceModel\Security\ReferenceList.cs (2)
67return this.referredIds[index]; 108DataReference.WriteTo(writer, this.referredIds[i]);
System.IO.Log (2)
System\IO\Log\ReservationCollection.cs (2)
315long reservation = this.reservationKeys[index]; 421this.current = this.parent.ReservationKeys[this.keyIndex];
System.Runtime.Serialization (56)
System\Runtime\Serialization\ClassDataContract.cs (27)
425childElementNamespaces[i + baseChildElementNamespaceCount] = GetChildNamespaceToDeclare(this, this.Members[i].MemberType, dictionary); 535if (this.Members[i].RequiresMemberAccessForSet()) 539if (this.Members[i].MemberInfo is FieldInfo) 545this.Members[i].MemberInfo.Name), 554this.Members[i].MemberInfo.Name), 621if (this.Members[i].RequiresMemberAccessForGet()) 625if (this.Members[i].MemberInfo is FieldInfo) 631this.Members[i].MemberInfo.Name), 640this.Members[i].MemberInfo.Name), 769MemberNames[i + baseMemberCount] = dictionary.Add(Members[i].Name); 789Members[i].Name = memberNames[i]; 790MemberNames[i] = dictionary.Add(Members[i].Name); 1049&& String.CompareOrdinal(membersInHierarchy[endIndex].member.Name, membersInHierarchy[endIndex + 1].member.Name) == 0 1050&& String.CompareOrdinal(membersInHierarchy[endIndex].ns, membersInHierarchy[endIndex + 1].ns) == 0) 1052membersInHierarchy[endIndex].member.ConflictingMember = membersInHierarchy[endIndex + 1].member; 1055if (membersInHierarchy[endIndex + 1].member.HasConflictingNameAndType) 1061hasConflictingType = (membersInHierarchy[endIndex].member.MemberType != membersInHierarchy[endIndex + 1].member.MemberType); 1071membersInHierarchy[j].member.HasConflictingNameAndType = true; 1489membersDictionary.Add(Members[i].Name, Members[i]); 1496if (membersDictionary.TryGetValue(dataContract.Members[i].Name, out dataMember)) 1498if (dataMember.Equals(dataContract.Members[i], checkedContracts)) 1510dataContractMembersList.Add(dataContract.Members[i]);
System\Runtime\Serialization\CodeExporter.cs (3)
869DataMember dataMember = classDataContract.Members[i]; 1101string stringValue = enumDataContract.Members[i].Name; 1102long longValue = enumDataContract.Values[i];
System\Runtime\Serialization\DataContract.cs (4)
2570nestedParamCounts[level] = nestedParamCounts[level] + count; 2607return paramGenericInfos[paramIndex].GetExpandedStableName().Name; 2614namespaces.Append(" ").Append(paramGenericInfos[j].GetStableNamespace()); 2631parametersFromBuiltInNamespaces = DataContract.IsBuiltInNamespace(paramGenericInfos[j].GetStableNamespace());
System\Runtime\Serialization\DataContractSet.cs (2)
173DataMember dataMember = classDataContract.Members[i]; 468Type conflictingType = types[i];
System\Runtime\Serialization\EnumDataContract.cs (7)
203childElementNames[i] = dictionary.Add(Members[i].Name); 339if (longValue == Values[i]) 351long current = Values[i]; 431string memberName = Members[i].Name; 434return Values[i]; 471memberNames1[i] = Members[i].Name; 472memberNames2[i] = dataContract.Members[i].Name;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
421DataMember dataMember = classContract.Members[i]; 483if (members[i].IsRequired)
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
291DataMember member = classContract.Members[i];
System\Runtime\Serialization\SchemaExporter.cs (4)
137DataMember dataMember = classDataContract.Members[i]; 436facet.Value = enumDataContract.Members[i].Name; 437if (enumDataContract.Values[i] != GetDefaultEnumValue(enumDataContract.IsFlags, i)) 438facet.Annotation = GetSchemaAnnotation(EnumerationValueAnnotationName, enumDataContract.GetStringFromEnumValue(enumDataContract.Values[i]), schema);
System\Runtime\Serialization\SchemaImporter.cs (1)
1016DataMember prevMember = dataContract.Members[prevMemberIndex];
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
404DataMember dataMember = classContract.Members[i]; 458requiredMembers[memberCount] = members[i].IsRequired;
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
318DataMember member = classContract.Members[i]; 800if (name == members[j].Name) 801return CheckIfConflictingMembersHaveDifferentTypes(members[j]);
System.ServiceModel (240)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
144int nextSplitIndex = splitLocations[i];
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
619this.refBufferList[i].WaitForWriteComplete();
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
178IAsyncResult iar = results[index];
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
80connectionReaders[i].Dispose();
System\ServiceModel\Channels\ConnectionPool.cs (6)
114endpointPools.Remove(endpointKeysToRemove[i]); 143result.CloseIdleConnection(itemsToClose[i], timeoutHelper.RemainingTime()); 356this.CloseItem(itemsToClose[i], timeoutHelper.RemainingTime()); 371this.AbortItem(idleItemsToClose[i]); 376this.AbortItem(busyConnections[i]); 470CloseIdleConnection(itemsToClose[i], timeoutHelper.RemainingTime());
System\ServiceModel\Channels\ConnectionPoolRegistry.cs (4)
39if (registryEntry[i].IsCompatible(settings) && registryEntry[i].TryOpen()) 41result = registryEntry[i]; 73if (object.ReferenceEquals(registryEntry[i], pool))
System\ServiceModel\Channels\DatagramAdapter.cs (3)
619this.RemovingChannel(items[i]); 633TSessionChannel oldItem = this.Items[index]; 641TSessionChannel oldItem = this.Items[index];
System\ServiceModel\Channels\IdlingCommunicationPool.cs (1)
237parent.CloseIdleConnection(itemsToClose[i], timeoutHelper.RemainingTime());
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (3)
43ArraySegment<byte> buffer = this.buffers[i]; 59ArraySegment<byte> buffer = this.buffers[i]; 70this.Factory.BufferManager.ReturnBuffer(this.buffers[i].Array);
System\ServiceModel\Channels\PeerMaintainer.cs (2)
454referrals[i] = new Referral(neighbors[i].NodeId, neighbors[i].ListenAddress);
System\ServiceModel\Channels\PipeConnection.cs (2)
2146pendingAccepts[i].Abort(); 2441SecurityIdentifier allowedSid = allowedSids[i];
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (6)
669reply = this.acked[i]; 1396this.innerContexts[i].Abort(); 1397this.innerContexts[i].RequestMessage.Close(); 1569SendReply(this.innerContexts[i], MaskingMode.Handled, ref timeoutHelper); 1669RequestContext thisInnerContext = this.context.innerContexts[this.currentContext]; 1727RequestContext thisInnerContext = this.context.innerContexts[this.currentContext];
System\ServiceModel\Channels\ServiceChannelFactory.cs (3)
242channel = (channelsList.Count > 0) ? channelsList[channelsList.Count - 1] : null; 252channel = (channelsList.Count > 0) ? channelsList[channelsList.Count - 1] : null; 282objectList.Add(channelsList[index]);
System\ServiceModel\ComIntegration\DispatchProxy.cs (8)
244if (mInfo.paramList[index].inIndex != -1) 250if (!mInfo.paramList[index].type.IsArray) 251val = FetchVariant(rgvarg, (int)(cArgs - index - 1), mInfo.paramList[index].type); 253val = FetchVariants(rgvarg, (int)(cArgs - index - 1), mInfo.paramList[index].type); 254ins[mInfo.paramList[index].inIndex] = val; 302if (mInfo.paramList[index].outIndex != -1) 308PopulateByRef(rgvarg, (int)(cArgs - index - 1), outs[mInfo.paramList[index].outIndex]); 316filled[mInfo.paramList[index].outIndex] = true;
System\ServiceModel\Configuration\ServiceModelConfigurationElementCollection.cs (2)
110elementKeysString = elementKeysString.Append(elementKeys[i] + ", "); 113elementKeysString = elementKeysString.Append(elementKeys[elementKeys.Count - 1]);
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (5)
37get { return this.Items[index]; } 491TServiceModelExtensionElement currentValue = items[index]; 503TServiceModelExtensionElement element = this.Items[i]; 568TServiceModelExtensionElement collectionElement = this.Items[i]; 585TServiceModelExtensionElement element = this.Items[i];
System\ServiceModel\Description\TypeLoader.cs (3)
668Type inheritedContractType = types[i]; 720Type inheritedContractType = types[i]; 1304MemberInfo memberInfo = contractMembers[i];
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
772XmlMembersMapping mapping = Mappings[srcIndex];
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
849return PerformanceCounters.PerformanceCountersForEndpointList[perfCounterInstanceId];
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (1)
169if (this.performanceCounters[i].PerfCounterId.Equals(id))
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (4)
218results.Add(this.always[i]); 232results.Add(filters[i]); 241results.Add(this.filters[this.always[i]]); 255results.Add(this.filters[filters[i]]);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (17)
151if (pairs[i].filter.Filter2.Match(message)) 157matches.Add(pairs[i].filter); 160pair = pairs[i]; 175if (pairs[i].filter.Filter2.Match(messageBuffer)) 181matches.Add(pairs[i].filter); 184pair = pairs[i]; 198if (pairs[i].filter.Filter2.Match(message)) 200results.Add(pairs[i].filter); 212if (pairs[i].filter.Filter2.Match(message)) 214results.Add(pairs[i].data); 226if (pairs[i].filter.Filter2.Match(messageBuffer)) 228results.Add(pairs[i].filter); 240if (pairs[i].filter.Filter2.Match(messageBuffer)) 242results.Add(pairs[i].data); 260if (pairs[i].filter.Filter2.Match(message)) 266matches.Add(pairs[i].filter); 269pair = pairs[i];
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
993EndpointDispatcher item = this.Items[index];
System\ServiceModel\Dispatcher\ChannelDispatcherCollection.cs (2)
54ChannelDispatcherBase channelDispatcher = this.Items[index]; 75old = this.Items[index];
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (8)
389matches.Add(cset.candidates[i].filter); 402if (context.TestMask(candis[i].mask)) 408matches.Add(candis[i].filter); 411can = candis[i]; 445if (context.TestMask(candis[i].mask)) 447results.Add(candis[i].data); 479if (context.TestMask(candis[i].mask)) 481results.Add(candis[i].filter);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
109Attr a = attrSet[i];
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (4)
64int cachedPriority = cachedEndpoints[i].FilterPriority; 65MessageFilter cachedFilter = cachedEndpoints[i].EndpointFilter; 66filters.Add(cachedFilter, cachedEndpoints[i], cachedPriority); 109EndpointDispatcher cachedEndpoint = cachedEndpoints[i];
System\ServiceModel\Dispatcher\QueryFunctions.cs (1)
183this.iterList[i].Clear();
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (16)
93if (this.children[i].FirstOp.Equals(ops)) 95return this.children[i].Add(ops, elim); 244this.children[i].Renumber(elim); 254this.children[i].Trim(); 360childSequences[this.indexLookup[lst[i]].i].Add(nav); 368childSequences[this.indexLookup[lst[i]].i].Add(nav); 379childSequences[this.indexLookup[lst[i]].i].Add(nav); 390if (this.children[i].useSpecial) 396Opcode op = this.children[i].FirstOp.Next; 401context.SaveVariable(this.children[i].var, context.Processor.ElapsedCount(marker)); 419this.indexLookup.Add(this.children[i], new MyInt(i)); 527if (this.exprList[i].FirstOp.Equals(start)) 529e = this.exprList[i]; 595exprs[i].DecRef(this); 608this.exprList[i].Renumber(this); 617this.exprList[i].Trim();
System\ServiceModel\Dispatcher\SynchronizedChannelCollection.cs (3)
54this.RemovingChannel(items[i]); 68TChannel oldItem = this.Items[index]; 76TChannel oldItem = this.Items[index];
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
683string prefix = prefixes[i];
System\ServiceModel\ExtensionCollection.cs (3)
64IExtension<T> item = items[i]; 82IExtension<T> item = items[i]; 107this.Items[index].Detach(this.owner);
System\ServiceModel\MostlySingletonList.cs (1)
31return this.list[index];
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
471entry = entries[index];
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
253if (Object.ReferenceEquals(signingToken, sessionTokens[i]))
System\ServiceModel\Security\MessagePartSpecification.cs (4)
112XmlQualifiedName qname = headerTypes[i]; 128XmlQualifiedName qname = headerTypes[i]; 134XmlQualifiedName qname1 = noDuplicates[j]; 202XmlQualifiedName qname = this.headerTypes[i];
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
680this.activeNegotiationChannels2[i].Abort();
System\ServiceModel\Security\ReceiveSecurityHeader.cs (6)
963VerifySupportingToken(this.supportingTokenTrackers[i]); 1487if (supportingTokenTrackers[i].token == token) 1488return supportingTokenTrackers[i]; 1503return supportingTokenTrackers[i]; 1518if (allowedAuthenticators[i] is TAuthenticator) 1520TAuthenticator result = (TAuthenticator)allowedAuthenticators[i];
System\ServiceModel\Security\SecurityContextTokenCache.cs (3)
234keys.Add(GetHashKey(tokens[i].ContextId, tokens[i].KeyGeneration)); 235OnRemove(tokens[i]);
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
111if (contextIds[i] == this.securityContextTokenId) 333if (this.contextMappings.TryGetValue(contextIds[i], out match))
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
646if (authorizationPolicies[i].GetType() == typeof(UnconditionalPolicy)) 648UnconditionalPolicy bootstrapPolicy = (UnconditionalPolicy)authorizationPolicies[i];
System\ServiceModel\Security\SecuritySessionServerSettings.cs (4)
1422if (futureSessionTokens[i].KeyGeneration == incomingToken.KeyGeneration) 1427this.currentSessionToken = futureSessionTokens[i]; 1440this.Settings.SessionTokenCache.RemoveContext(futureSessionTokens[i].ContextId, futureSessionTokens[i].KeyGeneration);
System\ServiceModel\Security\SecurityUtils.cs (1)
1041IIdentity identity = identities[i];
System\ServiceModel\Security\SendSecurityHeader.cs (16)
655this.WriteSecurityTokenReferencyEntry(writer, signedTokens[i], this.signedTokenParameters[i]); 666this.WriteSecurityTokenReferencyEntry(writer, this.basicTokens[i], this.basicSupportingTokenParameters[i]); 675if (ShouldSerializeToken(endorsingTokenParameters[i], this.MessageDirection)) 695this.WriteSecurityTokenReferencyEntry(writer, signedEndorsingTokens[i], this.signedEndorsingTokenParameters[i]); 922SecurityKeyIdentifierClause sourceKeyClause = endorsingTokenParameters[i].CreateKeyIdentifierClause(source, GetTokenReferenceStyle(endorsingTokenParameters[i])); 929if (endorsingTokenParameters[i].RequireDerivedKeys && !endorsingTokenParameters[i].HasAsymmetricKey) 953SecurityKeyIdentifierClause sourceKeyClause = signedEndorsingTokenParameters[i].CreateKeyIdentifierClause(source, GetTokenReferenceStyle(signedEndorsingTokenParameters[i])); 960if (signedEndorsingTokenParameters[i].RequireDerivedKeys && !signedEndorsingTokenParameters[i].HasAsymmetricKey) 988tokenParams = this.signedEndorsingTokenParameters[position] as IssuedSecurityTokenParameters; 991tokenParams = this.signedTokenParameters[position] as IssuedSecurityTokenParameters; 994tokenParams = this.basicSupportingTokenParameters[position] as IssuedSecurityTokenParameters;
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
135rstrClone.RemoveChild(nodesToRemove[i]);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
1056this.rsaSecurityTokens[i].Dispose();
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
68LogonToken token = (LogonToken)ExtractItem(items[i]);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
551if (!TryDeleteReferenceListEntry(this.earlyDecryptedDataReferences[i]))
System\ServiceModel\Security\WSSecurityPolicy.cs (4)
3102if (this.drivers[i].CanImportAssertion(assertions)) 3104securityPolicy = this.drivers[i]; 3116if (this.drivers[i].IsSecurityVersionSupported(version)) 3118return this.drivers[i];
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (15)
149SerializerEntries serializerEntry = this.serializerEntries[i]; 214TokenEntry tokenEntry = this.tokenEntries[i]; 226TokenEntry tokenEntry = this.tokenEntries[i]; 251TokenEntry tokenEntry = this.tokenEntries[i]; 268TokenEntry tokenEntry = this.tokenEntries[i]; 398TokenEntry tokenEntry = this.tokenEntries[i]; 415TokenEntry tokenEntry = this.tokenEntries[i]; 456TokenEntry tokenEntry = this.tokenEntries[i]; 585if (this.dictionaryStrings[i].Value.Equals(value)) 587result = this.dictionaryStrings[i]; 599if (this.dictionaryStrings[i].Key == key) 601result = this.dictionaryStrings[i]; 616if ((this.dictionaryStrings[i].Key == value.Key) && 617(this.dictionaryStrings[i].Value.Equals(value.Value))) 619result = this.dictionaryStrings[i];
System\ServiceModel\ServiceHost.cs (1)
1989Type contractType = interfaces[i];
System\ServiceModel\SynchronizedCollection.cs (2)
78return this.items[index]; 161if (object.Equals(items[i], item))
System\ServiceModel\SynchronizedDisposablePool.cs (1)
84T item = this.items[index];
System\ServiceModel\SynchronizedKeyedCollection.cs (5)
75T item = this.Items[i]; 149T item = Items[i]; 214if (comparer.Equals(key, GetKeyForItem(Items[i]))) 227K key = this.GetKeyForItem(this.Items[index]); 251K oldKey = this.GetKeyForItem(this.Items[index]);
System\ServiceModel\XmlBuffer.cs (1)
132Section section = sections[sectionIndex];
System\UriTemplate.cs (25)
546this.segments[i].Lookup(result.RelativePathSegments[i], result.BoundVariables); 589if (!this.segments[i].IsEquivalentTo(other.segments[i], 667this.segments[segmentIndex++].Bind(parameters, ref parameterIndex, pathString); 674while (this.segments[segmentIndex].Nature == UriTemplatePartType.Literal) 676this.segments[segmentIndex++].Bind(parameters, ref parameterIndex, pathString); 689this.segments[i].Bind(parameters, ref parameterIndex, pathString); 746switch (this.segments[i].Nature) 750UriTemplateVariablePathSegment vps = this.segments[i] as UriTemplateVariablePathSegment; 779if (!this.segments[relativeSegmentsIndex].IsMatch(lps, ignoreSlash)) 849if (!this.segments[i].IsEquivalentTo(other.segments[i], 1210if (this.pathSegmentVariableNature[varIndex] != UriTemplatePartType.Variable) 1379string varName = this.pathSegmentVariableNames[i]; 1399string varName = this.pathSegmentVariableNames[i]; 1407varName, this.pathSegmentVariableNames[i + 1]))); 1423this.owner.originalTemplate, this.pathSegmentVariableNames[this.firstNullablePathVariable]))); 1428if (this.owner.segments[segmentIndex].Nature != UriTemplatePartType.Variable) 1432this.owner.originalTemplate, this.pathSegmentVariableNames[this.firstNullablePathVariable], 1433this.owner.segments[segmentIndex].OriginalSegment))); 1448UriTemplatePathSegment ps = this.owner.segments[firstOptionalSegment - 1]; 1489this.defaultValues.TryGetValue(this.pathSegmentVariableNames[i], out normalizedParameters[i]); 1495(this.owner.segments[this.owner.segments.Count - 1].Nature != UriTemplatePartType.Literal)) 1501if (this.defaultValues.TryGetValue(this.pathSegmentVariableNames[lastNonDefaultPathParameter], 1541SR.GetString(SR.BindUriTemplateToNullOrEmptyPathParam, this.pathSegmentVariableNames[i]));
System\UriTemplateCompoundPathSegment.cs (16)
100if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].Literal)) 111if (string.IsNullOrEmpty(result.varLitPairs[result.varLitPairs.Count - 1].Literal)) 131path.Append(this.varLitPairs[pairIndex].Literal); 165if (StringComparer.OrdinalIgnoreCase.Compare(this.varLitPairs[pairIndex].Literal, 166otherAsCompound.varLitPairs[pairIndex].Literal) != 0) 208int nextLiteralPosition = segment.IndexOf(this.varLitPairs[pairIndex].Literal, segmentPosition, StringComparison.Ordinal); 216boundParameters.Add(this.varLitPairs[pairIndex].VarName, varValue); 218segmentPosition = nextLiteralPosition + this.varLitPairs[pairIndex].Literal.Length; 222if (string.IsNullOrEmpty(this.varLitPairs[varLitPairs.Count - 1].Literal)) 226boundParameters.Add(this.varLitPairs[varLitPairs.Count - 1].VarName, 231else if ((segmentPosition + this.varLitPairs[varLitPairs.Count - 1].Literal.Length < segment.Length) && 232segment.EndsWith(this.varLitPairs[varLitPairs.Count - 1].Literal, StringComparison.Ordinal)) 236boundParameters.Add(this.varLitPairs[varLitPairs.Count - 1].VarName, 237segment.Substring(segmentPosition, segment.Length - segmentPosition - this.varLitPairs[varLitPairs.Count - 1].Literal.Length)); 437string reversedSuffix = ReverseString(this.varLitPairs[this.varLitPairs.Count - 1].Literal); 438string reversedOtherSuffix = ReverseString(other.varLitPairs[other.varLitPairs.Count - 1].Literal);
System\UriTemplateEquivalenceComparer.cs (2)
48if (obj.segments[i].Nature == UriTemplatePartType.Literal) 50return obj.segments[i].GetHashCode();
System\UriTemplateTrieNode.cs (6)
64ut.segments[ut.segments.Count - 1].EndsWithSlash); 71UriTemplatePathSegment ps = ut.segments[i]; 164candidates.Add(new UriTemplateTableMatchCandidate(answer.Items[i].Key, answer.SegmentsCount, 165answer.Items[i].Value)); 455Fx.Assert(pes.Items[i].Key.IsPathPartiallyEquivalentAt(pes.Items[i + 1].Key, pes.SegmentsCount),
System.ServiceModel.Activation (14)
System\ServiceModel\Activation\CollectibleLRUCache.cs (4)
195directory.Remove(currentCollectibleBatch[i].GetKey()); 322IAsyncResult result = this[i].BeginClose(collectibleNodeClosedCallback, this[i]); 344this[i].Abort();
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (10)
49addresses[i] = new Uri(listenAddresses[i].BaseAddress, absoluteVirtualPath); 62if ((string.Compare(listenAddresses[i].BaseAddress.Scheme, uri.Scheme, StringComparison.OrdinalIgnoreCase) == 0) 63&& (listenAddresses[i].BaseAddress.Port == uri.Port)) 65if (listenAddresses[i].HostNameComparisonMode == HostNameComparisonMode.StrongWildcard) 67return listenAddresses[i]; 70if (listenAddresses[i].HostNameComparisonMode == HostNameComparisonMode.WeakWildcard) 72weakBaseAddress = listenAddresses[i]; 75if ((listenAddresses[i].HostNameComparisonMode == HostNameComparisonMode.Exact) 76&& (string.Compare(listenAddresses[i].BaseAddress.Host, uri.Host, StringComparison.OrdinalIgnoreCase) == 0)) 78foundBaseAddress = listenAddresses[i];
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (2)
177BufferedReceiveMessageProperty property = properties[index]; 184BookmarkInfo bookmark = (BookmarkInfo)bookmarks[i];
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
729this.idleWaiters.Add(this.nextIdleWaiters[i]);
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\ScopeCompiler.cs (6)
430rdnBuilder.Append(attrTypeList[i]); 431if (attrTypeValueTable[attrTypeList[i]] != null) 434rdnBuilder.Append(attrTypeValueTable[attrTypeList[i]]); 441rdnBuilder.Append(attrTypeList[attrTypeList.Count - 1]); 442if (attrTypeValueTable[attrTypeList[attrTypeList.Count - 1]] != null) 445rdnBuilder.Append(attrTypeValueTable[attrTypeList[attrTypeList.Count - 1]]);
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
74appEndpoints[i].Behaviors.Add(
System.ServiceModel.Internals (2)
System\Runtime\Collections\ObjectCache.cs (2)
265this.cacheItems.Remove(expiredItems[i].Key); 290itemsToClose[i].Value.LocalDispose();
System.ServiceModel.Routing (2)
System\ServiceModel\Routing\SendOperation.cs (1)
47RoutingEndpointTrait trait = this.endpointTraits[this.currentIndex];
System\ServiceModel\Routing\SessionChannels.cs (1)
149client = this.sessionList[count - 1];
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (1)
101serializersMap.Add(types[i], serializers[i]);
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelectorData.cs (1)
25stringBuilder.Append(", " + this.AllowedMethods[x]);
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
301editedEtag.Insert(escapeCharacterInsertIndices[x], '\\');
System.Transactions (2)
System\Transactions\Trace\TraceXPathNavigator.cs (2)
53retval = this.childNodes[this.elementIndex]; 89return this.attributes[this.attributeIndex];
System.Web (21)
Cache\OutputCache.cs (3)
235HttpResponseHeader h = new HttpResponseHeader(oce.HeaderElements[i].Name, oce.HeaderElements[i].Value); 244ResponseElement re = oce.ResponseElements[i];
Compilation\BuildManager.cs (1)
311referencedAssemblies.Add(TheBuildManager.TopLevelReferencedAssemblies[i]);
HttpApplication.cs (1)
2457ModuleConfigurationInfo moduleInfo = _moduleConfigInfo[i];
Management\WebEvents.cs (3)
316fieldNames[i] = fields[i].Name; 317fieldData[i] = fields[i].Data; 318fieldTypes[i] = (int)fields[i].Type;
PipelineModuleStepContainer.cs (2)
102return stepArray[eventIndex]; 134syncStep = stepArray[i] as HttpApplication.SyncEventExecutionStep;
UI\RenderTraceListener.cs (1)
136_listeners[i].EndRendering(writer, renderedObject);
UI\WebControls\AutoFieldsGenerator.cs (1)
90autoGenFieldState[i] = ((IStateManager)AutoGeneratedFieldProperties[i]).SaveViewState();
UI\WebControls\Menu.cs (1)
1299if (index < cacheList.Count) return cacheList[index];
UI\WebControls\MenuItemCollection.cs (4)
62return _list[index]; 153MenuItem node = _list[i]; 186MenuItem item = _list[index]; 271LogItem item = (LogItem)_log[i];
UI\WebControls\TreeNodeCollection.cs (3)
67return _list[index]; 189TreeNode node = _list[index]; 320LogItem item = _log[i];
UI\WebControls\TreeView.cs (1)
1342if (index < cacheList.Count) return cacheList[index];
System.Web.DataVisualization (8)
Common\Formulas\FormulaHelpers.cs (1)
1368SeriesFieldInfo info = this[i];
Common\General\AxisLabels.cs (1)
364dataSeriesNames[i] = (string)dataSeries[i];
Common\General\ChartArea3D.cs (6)
1094 foreach(string name in this.seriesClusters[index]) 1128 foreach(string name in this.seriesClusters[index]) 1163 this.seriesClusters[clusterIndex].Add(seriesName); 1186 List<string> seriesNames = this.seriesClusters[clusterIndex]; 1635 if(((Series)seriesList[seriesIndex]).Points.Count == 0) 1642 this.GetSeriesZPositionAndDepth((Series)seriesList[seriesIndex], out seriesDepth, out seriesZPosition);
System.Web.Entity.Design (5)
System\Data\WebControls\Design\EntityDataSourceContainerNameConverter.cs (1)
39containers[i] = containerNameItems[i].ToString();
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (2)
366selectProperties.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", s_itKeyword, EscapePropertyName(_entityTypeProperties[propertyIndex])); 471if (String.Equals(UnescapePropertyName(propertyName), _entityTypeProperties[propIndex], StringComparison.OrdinalIgnoreCase))
System\Data\WebControls\Design\EntityDataSourceEntitySetNameConverter.cs (1)
41entitySetNames[i] = entitySetNameItems[i].EntitySetName;
System\Data\WebControls\Design\EntityDataSourceEntityTypeFilterConverter.cs (1)
46entityTypeFilters[i] = entityTypeFilterItems[i].EntityTypeName;
System.Web.Extensions (26)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (4)
46Write2_MetadataSource(@"MetadataSource", @"urn:schemas-microsoft-com:xml-dataservicemap", ((global::System.Web.Compilation.WCFModel.MetadataSource)a[ia]), true, false); 56Write5_MetadataFile(@"MetadataFile", @"urn:schemas-microsoft-com:xml-dataservicemap", ((global::System.Web.Compilation.WCFModel.MetadataFile)a[ia]), true, false); 66Write6_ExtensionFile(@"ExtensionFile", @"urn:schemas-microsoft-com:xml-dataservicemap", ((global::System.Web.Compilation.WCFModel.ExtensionFile)a[ia]), true, false); 76Write7_Parameter(@"Parameter", @"urn:schemas-microsoft-com:xml-dataservicemap", ((global::System.Web.Compilation.WCFModel.Parameter)a[ia]), true, false);
Compilation\XmlSerializer\SvcMapFileSerializer.cs (9)
47Write10_MetadataSource(@"MetadataSource", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.MetadataSource)a[ia]), true, false); 57Write13_MetadataFile(@"MetadataFile", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.MetadataFile)a[ia]), true, false); 67Write14_ExtensionFile(@"ExtensionFile", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ExtensionFile)a[ia]), true, false); 193Write2_ReferencedType(@"ExcludedType", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ReferencedType)a[ia]), true, false); 206Write3_NamespaceMapping(@"NamespaceMapping", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.NamespaceMapping)a[ia]), true, false); 216Write5_ReferencedCollectionType(@"CollectionMapping", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ReferencedCollectionType)a[ia]), true, false); 235Write7_ReferencedAssembly(@"ReferencedAssembly", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ReferencedAssembly)a[ia]), true, false); 245Write2_ReferencedType(@"ReferencedDataContractType", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ReferencedType)a[ia]), true, false); 255Write8_ContractMapping(@"ServiceContractMapping", @"urn:schemas-microsoft-com:xml-wcfservicemap", ((global::System.Web.Compilation.WCFModel.ContractMapping)a[ia]), true, false);
Handlers\ScriptModule.cs (1)
141response.AppendCookie(cookies[i]);
Script\Services\WebServiceData.cs (1)
230MethodInfo[] methodInfos = typeList[i].GetMethods(flags);
UI\PageRequestManager.cs (4)
177var control = list[i]; 281var up = list[i]; 517UpdatePanel panel = _allUpdatePanels[i]; 855UpdatePanel up = list[i];
UI\ScriptManager.cs (1)
957ScriptReferenceBase script = scripts[i];
UI\ScriptRegistrationManager.cs (1)
158if (child == updatingUpdatePanels[i]) {
UI\WebControls\Dynamic.cs (2)
1111bindings[i] = Expression.Bind(type.GetProperty(properties[i].Name), expressions[i]);
UI\WebControls\LinqDataSourceView.cs (1)
435return _selectContexts[_selectContexts.Count - 1];
UI\WebControls\QueryableDataSourceView.cs (1)
556else if (matches[i] == true) { // subsequent columns
Util\OrderedDictionary.cs (1)
92yield return new KeyValuePair<TKey, TValue>(key, _values[i]);
System.Windows.Forms (24)
misc\GDI\WindowsGraphicsCacheManager.cs (4)
157if (WindowsFontCache[index].Key.Equals(font)) // don't do shallow comparison, we could miss cloned fonts. 162Debug.Assert(WindowsFontCache[index].Value.Hfont != IntPtr.Zero, "Cached WindowsFont was disposed, enable GDI_FINALIZATION_WATCH to track who did it!"); 164WindowsFont wf = WindowsFontCache[index].Value; 212wfont = WindowsFontCache[loopIndex].Value;
winforms\Managed\System\WinForms\Application.cs (1)
2870parkingWindows[i].Destroy();
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
282oldKey = disposeList[i];
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (9)
663DataGridViewElementStates rowState = this.rowStates[indexSource] & ~dgvesRemove; 731DataGridViewElementStates rowTemplateState = this.rowStates[indexSource] & ~dgvesRemove; 2388if ((dataGridViewCell.State & ~(dataGridViewCell.CellStateFromColumnRowStates(this.rowStates[index]))) != 0) 2404if (((this.rowStates[rowIndex] & state) != 0) != value) 2414this.rowStates[rowIndex] = this.rowStates[rowIndex] | state; 2418this.rowStates[rowIndex] = this.rowStates[rowIndex] & ~state; 2469return this.rowStates[rowIndex]; 2520DataGridViewElementStates rowStates = this.rowStates[rowIndex1]; 2521this.rowStates[rowIndex1] = this.rowStates[rowIndex2];
winforms\Managed\System\WinForms\KeysConverter.cs (2)
256string keyString = (string)DisplayOrder[i]; 286string keyString = (string)DisplayOrder[i];
winforms\Managed\System\WinForms\ListView.cs (4)
7022indices[i] = owner.savedSelectedItems[i].Index; 7056return owner.savedSelectedItems[index].Index; 7334cloned[i] = owner.savedSelectedItems[i]; 7398return owner.savedSelectedItems[index];
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (2)
43if( acceleration.Seconds < this.items[index].Seconds ) 160get { return this.items[index]; }
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
960return _inputFilterQueue[_inputFilterQueue.Count - 1];
System.Windows.Forms.DataVisualization (12)
Common\Formulas\FormulaHelpers.cs (1)
1368SeriesFieldInfo info = this[i];
Common\General\AxisLabels.cs (1)
364dataSeriesNames[i] = (string)dataSeries[i];
Common\General\ChartArea3D.cs (6)
1094 foreach(string name in this.seriesClusters[index]) 1128 foreach(string name in this.seriesClusters[index]) 1163 this.seriesClusters[clusterIndex].Add(seriesName); 1186 List<string> seriesNames = this.seriesClusters[clusterIndex]; 1635 if(((Series)seriesList[seriesIndex]).Points.Count == 0) 1642 this.GetSeriesZPositionAndDepth((Series)seriesList[seriesIndex], out seriesDepth, out seriesZPosition);
WinForm\Utilities\AccessibleObject.cs (4)
133return this._chartAccessibleObjectList[index]; 629return this._childList[index]; 759return this._childList[index]; 850return this._childList[index];
System.Workflow.Activities (90)
Common\ValidationHelpers.cs (1)
166Activity responseChild = responsePath[index];
Designers\StateDesigner.cs (7)
184return this.DesignersParser.Ordered[this.DesignersParser.Ordered.Count - 1].Activity; 939return ordered[indexOf + 1].Activity; 946return ordered[indexOf - 1].Activity; 965return ordered[indexOf - 1].Activity; 970return ordered[indexOf + 1].Activity; 978return ordered[indexOf - 1].Activity; 983return ordered[indexOf + 1].Activity;
Designers\StateDesigner.Layouts.cs (2)
805layout = layouts[i]; 819layout = layouts[layouts.Count - 1];
EventHandlers.cs (6)
122EventHandlerEventActivitySubscriber eventActivitySubscriber = this.ActivityState[i] as EventHandlerEventActivitySubscriber; 195EventHandlerEventActivitySubscriber eventSubscriber = activity.ActivityState[i]; 263EventHandlerEventActivitySubscriber eventActivitySubscriber = eventHandlers.ActivityState[i]; 303if (contextManager.GetExecutionContext(eventDriven) != null || (handlers.ActivityState != null && handlers.ActivityState[i].PendingExecutionCount > 0)) 331EventHandlerEventActivitySubscriber eventSubscriber = handlers.ActivityState[i]; 334if (contextManager.GetExecutionContext(evtDriven) != null || handlers.ActivityState[i].PendingExecutionCount != 0)
Listen.cs (3)
102ListenEventActivitySubscriber eventActivitySubscriber = this.ActivityState[i]; 161ListenEventActivitySubscriber listenEventSubscriber = listen.ActivityState[i]; 275ListenEventActivitySubscriber eventSubscriber = parentActivity.ActivityState[i];
Role\ADRole.cs (5)
196this.m_operations[i].GetResult(this.m_root, currentEntries[j], newEntries); 214if (!dFinal.ContainsKey(currentEntries[i].Guid)) 215dFinal.Add(currentEntries[i].Guid, currentEntries[i]);
Rules\Executor.cs (2)
480ruleSymbols[i] = AnalyzeRule(behavior, ruleStates[i].Rule, validation, tracer); 484RuleState currentRuleState = ruleStates[i];
Rules\Parser\Intellisense.cs (1)
25get { return tokens[tokenIndex]; }
Rules\Parser\Parser.cs (9)
202get { return (currentToken < tokens.Count) ? tokens[currentToken] : null; } 214return tokens[currentToken]; 253Type baseInterface = baseInterfaces[i]; 431methods = parentInterfaces[i].GetMember(methodName, MemberTypes.Method, flags); 434Type[] pInterfaces = parentInterfaces[i].GetInterfaces(); 2614object matchedArg = MatchArgument(parms[p].ParameterType, arguments[p]); 2645if (numArgs == fixedParameterCount + 1 && validation.ExpressionInfo(arguments[p]).ExpressionType == typeof(NullLiteral)) 2664object matchedArg = MatchArgument(elementType, arguments[p]); 2703CandidateConstructor newCandidate = candidates[i];
Rules\RuleSet.cs (2)
202if (!this.rules[i].Equals(other.rules[i]))
Rules\RuleValidation.cs (39)
1280Type testType = candidates[i].GetParameters()[0].ParameterType; 1298Type testType = candidates[i].ReturnType; 1315if ((candidates[i].ReturnType == tx) && 1316(candidates[i].GetParameters()[0].ParameterType == sx) && 1317(!(candidates[i] is LiftedConversionMethodInfo))) 1327return candidates[position]; 1337if ((candidates[i].ReturnType == tx) && 1338(candidates[i].GetParameters()[0].ParameterType == sx) && 1339(candidates[i] is LiftedConversionMethodInfo)) 1349return candidates[position]; 1469Type testType = candidates[i].GetParameters()[0].ParameterType; 1482Type testType = candidates[i].GetParameters()[0].ParameterType; 1497Type testType = candidates[i].GetParameters()[0].ParameterType; 1513Type testType = candidates[i].ReturnType; 1526Type testType = candidates[i].ReturnType; 1541Type testType = candidates[i].ReturnType; 1557if ((candidates[i].ReturnType == tx) && 1558(candidates[i].GetParameters()[0].ParameterType == sx) && 1559(!(candidates[i] is LiftedConversionMethodInfo))) 1569return candidates[position]; 1579if ((candidates[i].ReturnType == tx) && 1580(candidates[i].GetParameters()[0].ParameterType == sx) && 1581(candidates[i] is LiftedConversionMethodInfo)) 1591return candidates[position]; 2421pi = GetProperty(parentInterfaces[index], propertyName, bindingFlags); 2425Type[] pInterfaces = parentInterfaces[index].GetInterfaces(); 2791CandidateParameter thisParam = this.signature[p]; 2792CandidateParameter otherParam = other.signature[p]; 2797int conversionResult = thisParam.CompareConversion(otherParam, arguments[p]); 2830CandidateParameter thisParam = this.signature[p]; 2831CandidateParameter otherParam = other.signature[p]; 2836int conversionResult = thisParam.CompareConversion(otherParam, arguments[p]); 2925Type currentCandidate = candidateTypes[i]; 3003if (!candidateParam.Match(arguments[p], candidateName, p + 1, out error)) 3033if (candidateParam.Match(arguments[p], candidateName, p + 1, out error)) 3050if (!candidateParam.Match(arguments[p], candidateName, p + 1, out error)) 3089CandidateMember newCandidate = candidates[i]; 3243Type targetType = targetTypes[t]; 3270Type targetType = targetTypes[t];
Rules\Tracer.cs (1)
100WorkflowActivityTrace.Rules.TraceEvent(TraceEventType.Verbose, 0, traceRuleTriggers, tracePrefix, currentRuleName, thenOrElse, ruleStates[r].Rule.Name);
Task.cs (11)
286ChildExecutionStateInfo childStateInfo = this.ActivityState[i]; 564ChildExecutionStateInfo childStateInfo = this.ActivityState[runIndex]; 630ExecuteTemplate(executionContext, this.ActivityState[runIndex + 1]); 666if (this.TryCancelChild(executionContext, stateInfo[i])) 808ChildExecutionStateInfo childStateInfo = this[i]; 836ChildExecutionStateInfo childStateInfo = this[i]; 850return this[index]; 854if (!this[i].MarkedForRemoval && index-- == 0) 855return this[i]; 873if (!this[indexOfInsert].MarkedForRemoval) 902if (!this[counter++].MarkedForRemoval)
WebServiceReceive.cs (1)
848ParameterInfo pinfo = outRefParams[i];
System.Workflow.ComponentModel (134)
AuthoringOM\ActivitiesCollection.cs (3)
61Activity item = base[index]; 86return base[index]; 93Activity oldItem = base[index];
AuthoringOM\ActivityExecutionContext.cs (2)
578if (handles[i] == handles[i - 1])
AuthoringOM\Bind.cs (5)
1396SourceValueInfo info = pathInfo[i]; 1454if (i < pathInfo.Count - 1 && pathInfo[i + 1].type == SourceValueType.Indexer && !string.IsNullOrEmpty(pathInfo[i + 1].name)) 1456string[] arrayArgName = pathInfo[i + 1].name.Split(','); 1462newPath += "[" + pathInfo[i + 1].name + "]";
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
128attributeType.GetProperty(propertyNames[loop]).SetValue(attribute, propertyValues[loop], null);
AuthoringOM\Design\CommandSet.cs (5)
144if (this.menuCommandService.FindCommand(this.commandSet[i].CommandID) == null) 145this.menuCommandService.AddCommand(this.commandSet[i]); 177this.menuCommandService.RemoveCommand(this.commandSet[i]); 187this.commandSet[i].UpdateStatus(); 759this.workflowView.SaveWorkflowImage(saveFileDialog.FileName, supportedFormats[saveFileDialog.FilterIndex - 1].Format);
AuthoringOM\Design\ComponentSerializationService.cs (8)
246object obj = referenceService.GetReference(this.parentObjectNameList[loop]); 251PropertyDescriptor member = this.memberList[loop] as PropertyDescriptor; 321object obj = referenceService.GetReference(this.parentObjectNameList[loop]); 323if (this.memberList[loop] is PropertyDescriptor) 325PropertyInfo propertyInfo = XomlComponentSerializationService.GetProperty(obj.GetType(), (this.memberList[loop] as PropertyDescriptor).Name, BindingFlags.Public | BindingFlags.Instance); 329serializer.SerializeObject(xomlSerializationManager, new PropertySegment(this.serviceProvider, obj, this.memberList[loop] as PropertyDescriptor), writer); 331else if (this.memberList[loop] is EventDescriptor) 337PropertySegment propertySegment = new PropertySegment(serviceProvider, obj, eventBindingService.GetEventProperty(this.memberList[loop] as EventDescriptor));
AuthoringOM\Design\Connector.cs (79)
302if (this.segments.Count == 0 || this.segments[this.segments.Count - 1] != this.target.Location) 346this.segments[i] = new Point(this.segments[i].X + size.Width, this.segments[i].Y + size.Height); 427(this.segments[0] != Source.Location || this.segments[this.segments.Count - 1] != Target.Location)) 862if (this.editPoints[i].Bounds.Contains(point)) 864editPointHit = this.editPoints[i]; 983EditPoint editPoint = this.editPoints[i]; 997EditPoint editPoint = this.editPoints[i]; 1108this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint) 1121EditPoint previous = (activeEditPointIndex > 0) ? this.editPoints[activeEditPointIndex - 1] : null; 1122EditPoint next = (activeEditPointIndex < this.editPoints.Count - 1) ? this.editPoints[activeEditPointIndex + 1] : null; 1254if (this.editPoints.Count < 2 || !this.editPoints[this.editPoints.Count - 1].EditedConnectionPoint.Equals(Target)) 1262if (this.editPoints[i].Type != EditPoint.EditPointTypes.MidSegmentEditPoint && 1263this.editPoints[i + 1].Type != EditPoint.EditPointTypes.MidSegmentEditPoint && 1264DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { this.editPoints[i].Location, this.editPoints[i + 1].Location }) > minLengthForSegmentEditPoint) 1266Point midPoint = DesignerGeometryHelper.MidPointOfLineSegment(this.editPoints[i].Location, this.editPoints[i + 1].Location); 1278if (segments.Count > 0 && segments[segments.Count - 1] == Target.Location) 1283editPointsToAdd.Add(new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i])); 1299EditPoint editPoint = this.editPoints[i]; 1306EditPoint editPoint = editPointsToRemove[i]; 1317this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint || 1330if (this.editPoints[i].Type != EditPoint.EditPointTypes.MultiSegmentEditPoint || 1331this.editPoints[i] == this.activeEditPoint || 1332(i > 0 && this.editPoints[i - 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint) || 1333(i < this.editPoints.Count - 1 && this.editPoints[i + 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint)) 1335editPointsToRetain.Add(this.editPoints[i]); 1342EditPoint previous = this.editPoints[i - 1]; 1343EditPoint current = this.editPoints[i]; 1344EditPoint next = this.editPoints[i + 1]; 1373EditPoint current = this.editPoints[i]; 1374EditPoint previous = this.editPoints[i - 1]; 1375EditPoint next = this.editPoints[i + 1]; 1392EditPoint current = this.editPoints[i]; 1393EditPoint next = this.editPoints[i + 1]; 1413ConnectionPoint targetConnection = this.editPoints[this.editPoints.Count - 1].EditedConnectionPoint; 1419if (this.editPoints[i].Type == EditPoint.EditPointTypes.MidSegmentEditPoint && 1420this.editPoints[i + 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint) 1434EditPoint editPoint = editPoints[i]; 1717Point escapePoint = escapePoints[k]; 1733Point escapePoint = escapePoints[k]; 1749Point escapePoint = escapePoints[k]; 1766Point escapePoint = escapePoints[k]; 1780linesToExclude.Add(escapeCover[i - 1]); 1781linesToExclude.Add(escapeCover[i]); 1927Point objectPoint = LeA[LeA.Count - 1]; 1991refinedPath.Add(LeA[j]); 1994refinedPath.Add(LeB[j]); 2000if (refinedPath.Count > 1 && refinedPath[refinedPath.Count - 1] == begin) 2038ConnectorSegment segment = LvB[i]; 2050ConnectorSegment segment = LhB[i]; 2232Point p = extremitiesList[i].P; 2237ConnectorSegment segment = extremitiesList[i].ConnectorSegment; 2240p = extremitiesList[i].P; 2296ConnectorSegment segment = LvB[i]; 2309ConnectorSegment segment = LhB[i]; 2381while (!k.PointLiesOnThisLine(Le[i]) && i > 0) 2385while (i > 0 && k.PointLiesOnThisLine(Le[i - 1])) 2389pi = Le[i]; 2413Point a1 = refinedPath[currentSegment]; 2414Point a2 = refinedPath[currentSegment + 1]; 2424Point b1 = refinedPath[intersectingSegment]; 2425Point b2 = refinedPath[intersectingSegment + 1]; 2434newPath.Add(refinedPath[i]); 2437newPath.Add(refinedPath[i]); 2463Point a1 = refinedPath[currentSegment]; 2464Point a2 = refinedPath[currentSegment + 1]; 2489Point c1 = refinedPath[intersectingSegment]; 2490Point c2 = refinedPath[intersectingSegment + 1]; 2501newPath.Add(refinedPath[j]); 2505newPath.Add(refinedPath[j]); 2813ConnectorSegment existingCover = covers[i]; 2856ConnectorSegment usedSegment = this.usedEscapeLine[i]; 2897ConnectorSegment segment = this.verticalCovers[i]; 2913ConnectorSegment segment = this.horizontalCovers[i]; 2938ConnectorSegment segment = this.verticalCovers[i]; 2948ConnectorSegment segment = this.horizontalCovers[i]; 2976ConnectorSegment newCover = newCovers[i];
AuthoringOM\Design\DesignerHelpers.cs (3)
1867minDistance = Math.Min(minDistance, distances[i]); 1868return edges[distances.IndexOf(minDistance)]; 1930minDistance = Math.Min(minDistance, distances[i]);
AuthoringOM\Design\DesignerWidgets.cs (1)
1387return this.itemRectangles[index];
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (3)
1016PathInfo newPathInfo = reparsedPathInfoList[reparsedPathInfoList.Count - 1]; //get the last item in the list 1146PathInfo currentPathInfo = pathInfoList[i]; 1158if (i > 0 && pathInfoList[i - 1].Path.Equals(indexPropertyName, StringComparison.Ordinal))
AuthoringOM\Design\FreeFormDesigner.cs (3)
316containedDesigners[i].Location = containedDesignerLocations[i]; 571if (this.connectors[i].HitTest(point)) 654((IDisposable)this.connectors[i]).Dispose();
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (9)
124DynamicAction action = this.actions[i]; 177DynamicAction action = this.actions[i]; 231DynamicAction action = this.actions[i]; 252DynamicAction action = this.actions[i]; 304this.actions[i].Draw(e.Graphics); 322DynamicAction action = this.actions[actionIndex]; 331Rectangle buttonBounds = this.actions[actionIndex].GetButtonBounds(buttonIndex); 365this.actions[i].Transparency = transparency; 386this.actions[this.draggedActionIndex].Buttons[this.draggedButtonIndex].State = ActionButton.States.Highlight;
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (3)
169Size imageSize = this.draggedDesignerImages[i].Size; 170ActivityDesignerPaint.DrawImage(eventArgs.Graphics, this.draggedDesignerImages[i], new Rectangle(new Point(locations[i].X - 2 * ambientTheme.Margin.Width, locations[i].Y - 2 * ambientTheme.Margin.Height), imageSize), new Rectangle(Point.Empty, imageSize), DesignerContentAlignment.Fill, 0.4f, false); 232Rectangle rectangle = new Rectangle(locations[i], this.draggedDesignerImages[i].Size);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
322if (this.rectangles[i].Contains(p))
AuthoringOM\Design\SecondaryViewProvider.cs (2)
81Type viewType = viewTypes[i][0] as Type; 82DesignerView view = new SecondaryView(designer, i + 1, viewTypes[i][1] as string, viewType);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
261connectionPoints[connectionPoints.Count - 1] = new Point(connectionPoints[connectionPoints.Count - 1].X, connectionPoints[connectionPoints.Count - 1].Y - Footer.Bounds.Height);
AuthoringOM\ItemList.cs (3)
131T item = base[index]; 153return base[index]; 160T oldItem = base[index];
Shared\ValidationHelpers.cs (1)
165Activity responseChild = responsePath[index];
System.Workflow.Runtime (36)
KeyedPriorityQueue.cs (16)
55while (i > 1 && IsHigher(priority, heap[parent].Priority)) 57heap[i] = heap[parent]; 81heap[1] = heap[size]; 96if (heap[i].Key.Equals(key)) 98V retval = heap[i].Value; 135values.Add(heap[i].Value); 148keys.Add(heap[i].Key); 175if (IsHigher(heap[i].Priority, priority)) 177if (match(heap[i].Value)) 178value = heap[i].Value; 196if (left <= size && IsHigher(heap[left].Priority, heap[i].Priority)) 198if (right <= size && IsHigher(heap[right].Priority, heap[highest].Priority)) 212HeapNode<K, V, P> temp = heap[i]; 213heap[i] = heap[j];
Lock.cs (1)
274SchedulerLockGuardInfo eseg = eventList[i];
Tracking.cs (11)
348if (service.GetType() == channels[i].TrackingServiceType) 350w = channels[i]; 488Type serviceType = _services[i].GetType(); 500profile = _profileManager.GetProfile(_services[i], schedule); 518profile = _profileManager.GetProfile(_services[i], schedule, instanceID); 530profile = _profileManager.GetProfile(_services[i], schedule, versionId); 550channel = _services[i].GetTrackingChannel(parameters); 555channels.Add(new TrackingChannelWrapper(channel, _services[i].GetType(), workflowType, profile)); 1716value = list[pos]; 1728get { return list[index]; } 1744diff = list[pos].CompareTo(item);
Tracking\SqlTrackingService.cs (1)
1882long dataItemId = ids[i++];
WorkflowQueuingService.cs (7)
193this.messageArrivalEventHandlers[i].OnItemEnqueued(queueName, item); 225this.messageArrivalEventHandlers[i].OnItemSafeEnqueued(queueName, item); 323WorkflowQueuingService qService = messageArrivalEventHandlers[i]; 342WorkflowQueuingService service = this.messageArrivalEventHandlers[i]; 520if (qState.SynchronousListeners[i].HandlerDelegate != null) 521qState.SynchronousListeners[i].HandlerDelegate(new WorkflowQueue(this, queueName), args); 523qState.SynchronousListeners[i].EventListener.OnEvent(new WorkflowQueue(this, queueName), args);
System.WorkflowServices (2)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
125return base[index];
System\Workflow\Activities\ReceiveActivity.cs (1)
672Type interfaceType = interfaces[i];
System.Xml (60)
System\Xml\Core\XmlEventCache.cs (2)
111page = this.pages[idxPage]; 265page = this.pages[idxPage];
System\Xml\Dom\DocumentXmlWriter.cs (7)
319parent.InsertAfter(fragment[i], start); 328parent.InsertBefore(fragment[i], start); 333start.PrependChild(fragment[i]); 338start.AppendChild(fragment[i]); 362XmlAttribute attr = fragment[i] as XmlAttribute; 371XmlAttribute attr = fragment[i] as XmlAttribute; 394parent.InsertAfter(fragment[i], fragment0);
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1521XmlAttributeCollection attributes = elements[i].Attributes;
System\Xml\Dom\XPathNodeList.cs (1)
65return list[index];
System\Xml\Schema\ContentValidator.cs (13)
1702rposInfo = runningPositions[k]; 1735rposInfo = runningPositions[k]; 1749RangePositionInfo lastrpos = runningPositions[matchCount]; 1750runningPositions[matchCount] = runningPositions[k]; 1772BitSet currentRunningPosition = runningPositions[k].curpos; 1785rposInfo = runningPositions[j]; 1790RangePositionInfo newRPosInfo = runningPositions[matchCount]; 1813newRPosInfo = runningPositions[j]; 1823currentRunningPosition = runningPositions[j].curpos; 1865Debug.Assert(runningPositions[i].curpos != null); 1866expectedPos.Or(runningPositions[i].curpos); 1900Debug.Assert(runningPositions[i].curpos != null); 1901expectedPos.Or(runningPositions[i].curpos);
System\Xml\Schema\Preprocessor.cs (1)
684schema.Items.Remove(removeItemsList[i]);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
482schema.Items.Remove(removeItemsList[i]);
System\Xml\Schema\XmlSchemaObjectTable.cs (8)
36Debug.Assert(entries[matchedIndex].qname == name); 51Debug.Assert(entries[matchedIndex].qname == name); 67Debug.Assert(entries[matchedIndex].qname == name); 75if((object)entries[index].xso == (object)xso) { 187array.SetValue(entries[i].qname, arrayIndex++); 232array.SetValue(entries[i].xso, arrayIndex++); 290currentValue = entries[currentIndex].xso; 291currentKey = entries[currentIndex].qname;
System\Xml\Schema\XmlSchemaSet.cs (6)
994substitutionGroup.Members.Add(newMembers[i]); 1248if (reprocessList[i].BaseUri != null && reprocessList[i].BaseUri.OriginalString.Length != 0) { 1249schemaLocations.Remove(reprocessList[i].BaseUri); 1255if (cKey.chameleonLocation.Equals(reprocessList[i].BaseUri)) { 1260if (cKey.originalSchema == null || Ref.ReferenceEquals(cKey.originalSchema, reprocessList[i])) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
1130ilg.MarkLabel(caseLabels[i]); 1131ilg.Ldc(retValues[i]);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
599ilg.MarkLabel(caseLabels[i]); 600ilg.Ldc(retValues[i]); 645ilg.MarkLabel(caseLabels[i]); 646ilg.Ldc(retValues[i]);
System\Xml\XPath\Internal\CacheAxisQuery.cs (2)
41return outputBuffer[count++]; 52return outputBuffer[count - 1];
System\Xml\XPath\Internal\CacheOutputQuery.cs (2)
50return outputBuffer[count++]; 61return outputBuffer[count - 1];
System\Xml\XPath\Internal\ClonableStack.cs (2)
27T result = base[last]; 33return base[base.Count - 1];
System\Xml\XPath\Internal\FollowingSibling.cs (1)
42if (parent.IsSamePosition(parentStk[i])) {
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
37if (nav1.IsSamePosition(parentStk[i])) {
System\Xml\XPath\Internal\Query.cs (4)
109switch (CompareNodes(buffer[r - 1], nav)) { 123switch (CompareNodes(buffer[m], nav)) { 172cmp = CompareNodes(buffer[pos - 1], nav); 176cmp = CompareNodes(nav, buffer[pos]);
System\Xml\XPath\Internal\SortQuery.cs (2)
77return this.results[count++].Node; 88return results[count - 1].Node;
WindowsBase (56)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
573return cache.MemoryBlockCollection[index].Offset;
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
121return _relationships[index]; 710if (string.Equals(_relationships[index].Id, id, StringComparison.Ordinal))
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (7)
323_pieceStreamInfoList[i].Stream.Flush(); 340_pieceStreamInfoList[i].Stream.Close(); 381return _pieceStreamInfoList[pieceNumber]; 388PieceStreamInfo currentPieceStreamInfo = _pieceStreamInfoList[_indexOfLastPieceStreamInfoAccessed]; 402Stream pieceStream = _sortedPieceInfoList[pieceNumber].ZipFileInfo.GetStream( 418return _pieceStreamInfoList[pieceNumber]; 434_zipArchive.DeleteFile(_sortedPieceInfoList[pieceNumber].ZipFileInfo.Name);
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (8)
118MemoryStreamBlock memStreamBlock = _memoryStreamList[removeIndex]; 133_memoryStreamList[i].Stream.Close(); // we need to carefully close the memoryStreams so they properly report the memory usage 233MemoryStreamBlock memStreamBlock = _memoryStreamList[index]; 532prevMemStreamBlock = _memoryStreamList[index - 1]; 546prevMemStreamBlock = _memoryStreamList[index]; 578if (_memoryStreamList[i].EndOffset > _currentStreamPosition) 581_memoryStreamList[i].Stream.Close(); // we need to carefully close the memoryStreams so they properly report the memory usage 593memStreamBlock = _memoryStreamList[index];
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (11)
640signatures.Add(_signatures[i].SignaturePart.Uri); 701VerifyResult temp = _signatures[i].Verify(); 707InvalidSignatureEvent(this, new SignatureVerificationEventArgs(_signatures[i], temp)); 750_signatures[index].Invalidate(); 774PackagePart p = _signatures[i].SignaturePart; 791_signatures[i].Invalidate(); 819return _signatures[index]; 1131if (!visit(relationshipsToVisit[i], context)) 1231if (PackUriHelper.ComparePartUri(uri, _signatures[i].SignaturePart.Uri) == 0) 1249if (_signatures[i].GetCertificatePart() != null) 1252if (PackUriHelper.ComparePartUri(certificatePartUri, _signatures[i].GetCertificatePart().Uri) == 0)
Base\System\IO\Packaging\PackagePart.cs (1)
888if (IsStreamClosed(_requestedStreams[i]))
Base\System\IO\Packaging\ZipPackage.cs (16)
677if (pieces[i].PieceNumber != 0) 681_ignoredItemHelper.AddItemForStrayPiece(pieces[i]); 688normalizedPrefixNameForCurrentSequence = pieces[i].NormalizedPrefixName; 696if (String.CompareOrdinal(pieces[i].NormalizedPrefixName, normalizedPrefixNameForCurrentSequence) != 0) 699if (pieces[i].PieceNumber == 0) 707normalizedPrefixNameForCurrentSequence = pieces[i].NormalizedPrefixName; 721if (pieces[i].PieceNumber != i - startIndexOfCurrentSequence) 732if (pieces[i].IsLastPiece) 778PackUriHelper.ValidatedPartUri partUri = pieces[startIndex].PartUri; 788GetCompressionOptionFromZipFileInfo(pieces[startIndex].ZipFileInfo))); 1255if (pieces[pieceNumber].PieceNumber != pieceNumber) 1262if (pieces[pieceNumber].IsLastPiece) 1639zipFileInfoNameList.Add(pieces[i].ZipFileInfo.Name); 1644if(pieces[startIndex].PartUri!=null) 1645UpdateExtensionDictionary(pieces[startIndex].PartUri, pieces[startIndex].NormalizedPrefixName);
Base\System\Security\RightsManagement\CryptoProvider.cs (6)
472_boundLicenseHandleList[i], 473_boundRightsInfoList[i].RightName, 504_boundLicenseHandleList[i], 505_boundRightsInfoList[i].RightName, 536ClientSession.GetRightFromString(_boundRightsInfoList[i].RightName); 542_boundLicenseOwnerViewRightsHandle = _boundLicenseHandleList[i];
Base\System\Windows\Threading\Dispatcher.cs (4)
115Dispatcher d = _dispatchers[i].Target as Dispatcher; 2847if(timers[iTimer]._dueTimeInTicks - currentTimeInTicks <= 0) 2851timer = timers[iTimer]; 2934DispatcherTimer timer = _timers[i];
WsatConfig (1)
CommandLine\OptionUsage.cs (1)
191Console.Write(string.Format(CultureInfo.InvariantCulture, optionOnlyPattern, optionUses[i]));
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\XamlStackWriter.cs (2)
120return _stack[_stack.Count - 1]; 126return _stack[ndx - 1];