Implemented interface member:
property
this
System.Collections.Generic.IReadOnlyList<T>.this[System.Int32]
796 references to
mscorlib (3)
system\AggregateException.cs (3)
364
if (!predicate(m_innerExceptions
[
i]))
371
unhandledExceptions.Add(m_innerExceptions
[
i]);
451
text, Environment.NewLine, i, m_innerExceptions
[
i].ToString(), "<---", Environment.NewLine);
PresentationCore (4)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
763
StylusPointPropertyInfo propertyInfo = propertyInfos
[
i];
876
StylusPointPropertyInfo propertyInfo = propertyInfos
[
i];
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1751
bfd = frames
[
i] as BitmapFrameDecode;
1774
decoder.Frames
[
i] as BitmapFrameDecode
PresentationFramework (197)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
627
end = textView.TextSegments
[
textView.TextSegments.Count - 1].End.CreatePointer(LogicalDirection.Backward);
src\Framework\MS\Internal\AppModel\IconHelper.cs (4)
498
int currentIconBitDepth = isBitmapIconDecoder ? frames
[
i].Thumbnail.Format.BitsPerPixel : frames
[
i].Format.BitsPerPixel;
506
int score = MatchImage(frames
[
i], size, currentIconBitDepth);
524
return frames
[
bestIndex];
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (11)
140
CollectionViewGroupInternal subgroup = Items
[
k] as CollectionViewGroupInternal;
144
return Items
[
k];
264
CollectionViewGroupInternal subgroup = Items
[
k] as CollectionViewGroupInternal;
280
if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items
[
k]))
312
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items
[
k])) ||
319
CollectionViewGroupInternal subgroup = group.Items
[
k] as CollectionViewGroupInternal;
334
CollectionViewGroupInternal subgroup = Items
[
k] as CollectionViewGroupInternal;
352
return Items
[
k];
496
CollectionViewGroupInternal subgroup = Items
[
i] as CollectionViewGroupInternal;
817
CollectionViewGroupInternal subgroup = _group.Items
[
_index] as CollectionViewGroupInternal;
821
_current = _group.Items
[
_index];
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (5)
536
group.LastIndex = (group.Items
[
index] == subgroup ? index : 0);
546
subgroup = group.Items
[
index] as CollectionViewGroupInternal;
628
subgroup = group.Items
[
index] as CollectionViewGroupInternal;
741
subgroup = group.Items
[
index] as CollectionViewGroupInternal;
787
CollectionViewGroupInternal subgroup = group.Items
[
k] as CollectionViewGroupInternal;
src\Framework\MS\Internal\Data\XmlDataCollection.cs (3)
83
if (this
[
i] != nodes[i])
101
if (this
[
i] != nodes[i])
106
if (this
[
i] == nodes[j])
src\Framework\MS\Internal\Documents\HostedElements.cs (6)
105
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments
[
_currentTextSegment].Start) >= 0 &&
106
((ITextPointer)_currentPosition).CompareTo(_textSegments
[
_currentTextSegment].End) < 0);
116
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments
[
_currentTextSegment].Start) >= 0);
117
while (((ITextPointer)_currentPosition).CompareTo(_textSegments
[
_currentTextSegment].End) < 0)
135
if (_textSegments
[
_currentTextSegment].Start is TextPointer)
137
_currentPosition = new TextPointer(_textSegments
[
_currentTextSegment].Start as TextPointer);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
164
TextSegment textSegment = textSegments
[
segmentIndex];
737
pageTextView = ((IServiceProvider)pageViews
[
index]).GetService(typeof(ITextView)) as DocumentPageTextView;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (113)
159
TextSegment textSegment = textSegments
[
segmentIndex];
176
Rect columnBox = columns
[
columnIndex].LayoutBox;
189
Geometry columnGeometry = GetTightBoundingGeometryFromTextPositionsHelper(columns
[
columnIndex].Paragraphs, startPositionInThisSegment, endPositionInThisSegment, 0.0, visibleRect);
537
contains = (position.TextContainer.End.CompareTo(segments
[
segments.Count - 1].End) == 0);
721
paragraph = paragraphs
[
paragraphIndex];
729
paragraph = floatingElements
[
paragraphIndex];
805
ParagraphResult rowResult = rowParagraphs
[
index];
927
ColumnResult column = columns
[
columnIndex];
984
paragraph = floatingElements
[
paragraphIndex];
992
paragraph = paragraphs
[
paragraphIndex];
1105
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
1133
paragraph = floatingElements
[
paragraphIndex];
1139
paragraph = paragraphs
[
paragraphIndex];
1269
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
1292
if (endPosition.CompareTo(paragraphs
[
i].StartPosition) <= 0)
1299
if (startPosition.CompareTo(paragraphs
[
i].EndPosition) > 0)
1306
Rect layoutBox = GetLayoutBox(paragraphs
[
i]);
1322
if (paragraphs
[
i] is ContainerParagraphResult)
1324
paragraphGeometry = ((ContainerParagraphResult)paragraphs
[
i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect);
1326
else if (paragraphs
[
i] is TextParagraphResult)
1328
paragraphGeometry = ((TextParagraphResult)paragraphs
[
i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect);
1330
else if (paragraphs
[
i] is TableParagraphResult)
1332
paragraphGeometry = ((TableParagraphResult)paragraphs
[
i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect);
1334
else if (paragraphs
[
i] is UIElementParagraphResult)
1336
paragraphGeometry = ((UIElementParagraphResult)paragraphs
[
i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition);
1388
if (!(startPosition.CompareTo(floatingElements
[
i].StartPosition) > 0 &&
1389
endPosition.CompareTo(floatingElements
[
i].EndPosition) < 0))
1396
Rect layoutBox = GetLayoutBox(floatingElements
[
i]);
1412
Invariant.Assert(floatingElements
[
i] is FloaterParagraphResult ||
1413
floatingElements
[
i] is FigureParagraphResult);
1414
if (floatingElements
[
i] is FloaterParagraphResult)
1417
FloaterParagraphResult floaterParagraphResult = (FloaterParagraphResult)floatingElements
[
i];
1423
else if (floatingElements
[
i] is FigureParagraphResult)
1426
FigureParagraphResult figureParagraphResult = (FigureParagraphResult)floatingElements
[
i];
1472
paragraph = floatingElements
[
paragraphIndex];
1478
paragraph = paragraphs
[
paragraphIndex];
1570
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
1597
paragraph = floatingElements
[
paragraphIndex];
1603
paragraph = paragraphs
[
paragraphIndex];
1698
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
1723
paragraph = floatingElements
[
paragraphIndex];
1729
paragraph = paragraphs
[
paragraphIndex];
1820
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
1855
columnBox = columns
[
columnIndex].LayoutBox;
1856
if (!(columns
[
columnIndex].HasTextContent))
1902
Rect nextColumnBox = columns
[
columnIndex + 1].LayoutBox;
1907
if (point.X > columnBox.Right + gap / 2 && columns
[
columnIndex + 1].HasTextContent)
1932
Rect nextColumnBox = columns
[
columnIndex + 1].LayoutBox;
1953
columnBox = columns
[
lastColumnWithContent].LayoutBox;
1987
paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
1988
if (!(paragraphs
[
paragraphIndex].HasTextContent))
2033
Rect nextParagraphBox = paragraphs
[
paragraphIndex + 1].LayoutBox;
2038
if (point.Y > paragraphBox.Bottom + gap / 2 && paragraphs
[
paragraphIndex + 1].HasTextContent)
2063
Rect nextParagraphBox = paragraphs
[
paragraphIndex + 1].LayoutBox;
2084
paragraphBox = paragraphs
[
lastParagraphWithContent].LayoutBox;
2107
Rect paragraphBox = floatingElements
[
paragraphIndex].LayoutBox;
2151
if (columns
[
columnIndex].Contains(position, true))
2165
else if (position.CompareTo(columns
[
columns.Count - 1].EndPosition) == 0)
2225
if (paragraphs
[
paragraphIndex].Contains(position, true))
2237
if (position.CompareTo(paragraphs
[
paragraphIndex].StartPosition) < 0)
2261
else if (position.CompareTo(paragraphs
[
paragraphs.Count - 1].EndPosition) == 0)
2293
paragraph = floatingElements
[
paragraphIndex];
2299
paragraph = paragraphs
[
paragraphIndex];
2354
lineRange = new TextSegment(lines
[
lineIndex].StartPosition, lines
[
lineIndex].GetContentEndPosition(), true);
2425
ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns
[
columnIndex].Paragraphs : _emptyParagraphCollection;
2471
if (paragraphs
[
paragraphIndex] is ContainerParagraphResult)
2474
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2475
ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs
[
paragraphIndex]).Paragraphs;
2483
else if (paragraphs
[
paragraphIndex] is TextParagraphResult)
2491
ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs
[
paragraphIndex]).Lines;
2493
if (!((TextParagraphResult)paragraphs
[
paragraphIndex]).HasTextContent)
2504
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2534
positionOut = lines
[
lineIndex].GetTextPositionFromDistance(suggestedX);
2538
positionOut = lines
[
lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward);
2566
positionOut = lines
[
lines.Count - 1].GetTextPositionFromDistance(suggestedX);
2570
positionOut = lines
[
lines.Count - 1].StartPosition.CreatePointer(LogicalDirection.Forward);
2576
else if (paragraphs
[
paragraphIndex] is TableParagraphResult)
2579
TableParagraphResult tableResult = (TableParagraphResult)paragraphs
[
paragraphIndex];
2582
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2618
else if (paragraphs
[
paragraphIndex] is SubpageParagraphResult)
2621
SubpageParagraphResult subpageParagraphResult = (SubpageParagraphResult)paragraphs
[
paragraphIndex];
2622
positionOut = GetPositionAtNextLine(((SubpageParagraphResult)paragraphs
[
paragraphIndex]).Columns, subpageParagraphResult.FloatingElements, position, suggestedX - subpageParagraphResult.ContentOffset.X, ref count, out newSuggestedX, out positionFound);
2684
paragraph = floatingElements
[
paragraphIndex];
2742
positionOut = GetPositionAtNextLine(columns
[
columnIndex].Paragraphs, position, suggestedX, ref count, out positionFound);
2760
suggestedX = (suggestedX - columns
[
oldColumnIndex].LayoutBox.Left) + columns
[
columnIndex].LayoutBox.Left;
2814
if (paragraphs
[
paragraphIndex] is ContainerParagraphResult)
2818
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2819
ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs
[
paragraphIndex]).Paragraphs;
2829
else if (paragraphs
[
paragraphIndex] is TextParagraphResult)
2835
positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs
[
paragraphIndex], suggestedX, ref count);
2842
else if (paragraphs
[
paragraphIndex] is TableParagraphResult)
2844
TableParagraphResult tableResult = (TableParagraphResult)paragraphs
[
paragraphIndex];
2845
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2879
else if (paragraphs
[
paragraphIndex] is SubpageParagraphResult)
2883
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2884
SubpageParagraphResult subpageParagraphResult = (SubpageParagraphResult)paragraphs
[
paragraphIndex];
2894
else if (paragraphs
[
paragraphIndex] is UIElementParagraphResult)
2908
Rect paragraphBox = paragraphs
[
paragraphIndex].LayoutBox;
2909
BlockUIContainer blockUIContainer = paragraphs
[
paragraphIndex].Element as BlockUIContainer;
3017
positionOut = lines
[
lineIndex].GetTextPositionFromDistance(suggestedX);
3021
positionOut = lines
[
lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward);
3044
positionOut = lines
[
lines.Count - 1].GetTextPositionFromDistance(suggestedX);
3048
positionOut = lines
[
lines.Count - 1].StartPosition.CreatePointer(LogicalDirection.Forward);
3082
double currentSuggestedX = columnSuggestedX + columns
[
columnIndex].LayoutBox.Left;
3083
ReadOnlyCollection<ParagraphResult> paragraphs = columns
[
columnIndex].Paragraphs;
3146
ParagraphResult paragraph = paragraphs
[
index];
3198
ParagraphResult paragraph = floatingElements
[
index];
3253
ColumnResult columnResult = columns
[
columnIndexStart];
3259
ColumnResult columnResult = columns
[
columnIndexStart];
3268
ReadOnlyCollection<ParagraphResult> paragraphs = columns
[
columnIndexStart].Paragraphs;
3314
textContentRange.Merge(columns
[
index].TextContentRange);
src\Framework\MS\Internal\Documents\TextParagraphView.cs (20)
199
positionOut = lines
[
lineIndex].GetTextPositionFromDistance(suggestedX);
203
positionOut = lines
[
lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward);
224
int dcp = Lines
[
lineIndex].StartPositionCP;
243
int dcp = Lines
[
lineIndex].StartPositionCP;
266
int dcp = Lines
[
lineIndex].StartPositionCP;
301
return new TextSegment(lines
[
lineIndex].StartPosition, lines
[
lineIndex].GetContentEndPosition(), true);
369
orientedPosition = lines
[
lineIndex].GetTextPositionFromDistance(point.X);
396
dcp > lines
[
lines.Count - 1].EndPositionCP)
416
if (dcp < lines
[
lineIndex].StartPositionCP)
420
else if (dcp > lines
[
lineIndex].EndPositionCP)
426
if (dcp == lines
[
lineIndex].EndPositionCP)
433
else if (dcp == lines
[
lineIndex].StartPositionCP)
606
Rect lineBox = lines
[
lineIndex].LayoutBox;
629
Rect nextLineBox = lines
[
lineIndex + 1].LayoutBox;
664
siblingLineBox = lines
[
lineIndex - 1].LayoutBox;
682
siblingLineBox = lines
[
lineIndex + 1].LayoutBox;
732
Rect lineBox = lines
[
lineIndex].LayoutBox;
740
siblingLineBox = lines
[
lineIndex - 1].LayoutBox;
769
siblingLineBox = lines
[
lineIndex + 1].LayoutBox;
src\Framework\MS\Internal\LayoutDump.cs (5)
662
LineResult line = lines
[
index];
700
ParagraphResult paragraph = paragraphs
[
index];
846
ReadOnlyCollection<ParagraphResult> cellParagraphs = ((RowParagraphResult)rowParagraphs
[
i]).CellParagraphs;
850
DumpTableCell(writer, cellParagraphs
[
j], cellVisual, visual);
890
ColumnResult column = columns
[
index];
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
1017
if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments
[
segmentIndex].Start) >= 0 &&
1018
((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments
[
segmentIndex].End) < 0)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5641
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items
[
cvg.Items.Count - 1], currentInfo.Item)))
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
859
CollectionViewGroup group = Items
[
i] as CollectionViewGroup;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
426
if (GetIsMasterPage(_pageViews
[
index]))
428
masterPageView = _pageViews
[
index];
464
_pageViews
[
index].DocumentPaginator = null;
649
_pageViews
[
index].DocumentPaginator = (_document != null) ? _document.DocumentPaginator : null;
868
_pageViews
[
index].DocumentPaginator = (_document != null) ? _document.DocumentPaginator : null;
905
if (GetIsMasterPage(pageViews
[
index]))
1295
_pageViews
[
index].PageNumber += offset;
src\Framework\System\Windows\Controls\SinglePageViewer.cs (6)
698
pageViews
[
index].SuspendLayout();
846
pageRect = new Rect(pageViews
[
index].RenderSize);
847
pageRect = pageViews
[
index].TransformToAncestor(this).TransformBounds(pageRect);
1021
pageViews
[
index].DuplicateVisual();
1103
pageViews
[
index].ResumeLayout();
1142
pageViews
[
index].SetPageZoom(Zoom / 100.0);
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
116
if (!textView.Contains(end) && end.CompareTo(textSegments
[
textSegments.Count-1].End) > 0)
118
end = textSegments
[
textSegments.Count - 1].End.CreatePointer();
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (5)
706
if (_end.CompareTo(textSegments
[
textSegments.Count - 1].End) != 0)
708
_end = textSegments
[
textSegments.Count - 1].End.CreatePointer();
933
while (position.CompareTo(textSegments
[
textSegments.Count - 1].End) != 0)
937
position.MoveToPosition(textSegments
[
textSegments.Count - 1].End);
1161
position.MoveToPosition(textSegments
[
textSegments.Count - 1].End);
src\Framework\System\Windows\Data\BindingGroup.cs (1)
980
ValidationError error = errors
[
i];
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
784
if (!DoubleUtil.AreClose(oldRects
[
i].Size, _contentRects
[
i].Size))
System.Activities (41)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (15)
450
FindTypeReferences(invocation.Arguments
[
i], typeReferences);
459
FindTypeReferences(lambda.Parameters
[
i], typeReferences);
468
ReadOnlyCollection<Expression> arguments = listInit.Initializers
[
i].Arguments;
471
FindTypeReferences(arguments
[
argumentIndex], typeReferences);
500
FindTypeReferences(bindings
[
i], typeReferences);
513
FindTypeReferences(arguments
[
i], typeReferences);
557
FindTypeReferences(callArguments
[
i], typeReferences);
567
FindTypeReferences(expressions
[
i], typeReferences);
577
FindTypeReferences(boundExpressions
[
i], typeReferences);
595
FindTypeReferences(ctorArguments
[
i], typeReferences);
630
FindTypeReferences(variables
[
i], typeReferences);
635
FindTypeReferences(blockExpressions
[
i], typeReferences);
664
ReadOnlyCollection<Expression> arguments = initializers
[
i].Arguments;
667
FindTypeReferences(arguments
[
j], typeReferences);
677
FindTypeReferences(bindings
[
i], typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (16)
771
expr2 = Rewrite(tmpArguments
[
i], lambdaParameters, out abort);
805
tmpArguments = tmpInitializers
[
i].Arguments;
810
expr1 = Rewrite(tmpArguments
[
j], lambdaParameters, out abort);
817
initializers.Add(Expression.ElementInit(tmpInitializers
[
i].AddMethod, arguments));
914
MemberBinding binding = Rewrite(tmpMemberBindings
[
i], lambdaParameters, out abort);
939
expr2 = Rewrite(tmpArguments
[
i], lambdaParameters, out abort);
977
expr2 = Rewrite(tmpArguments
[
i], lambdaParameters, out abort);
995
expr1 = Rewrite(tmpExpressions
[
i], lambdaParameters, out abort);
1012
expr1 = Rewrite(tmpExpressions
[
i], lambdaParameters, out abort);
1038
expr1 = Rewrite(tmpArguments
[
i], lambdaParameters, out abort);
1094
ParameterExpression param = (ParameterExpression)Rewrite(tmpVariables
[
i], lambdaParameters, out abort);
1106
expr1 = Rewrite(tmpExpressions
[
i], lambdaParameters, out abort);
1166
tmpArguments = tmpInitializers
[
i].Arguments;
1173
expr1 = Rewrite(tmpArguments
[
j], lambdaParameters, out abort);
1181
initializers.Add(Expression.ElementInit(tmpInitializers
[
i].AddMethod, arguments));
1194
MemberBinding item = Rewrite(tmpBindings
[
i], lambdaParameters, out abort);
System\Activities\Expressions\ExpressionServices.cs (1)
1453
Expression expression = source
[
i];
System\Activities\ExpressionUtilities.cs (3)
243
delegateParameterTypes[i] = lambdaParameters
[
i].Type;
527
Expression argument = callExpression.Arguments
[
i];
672
callExpression.Arguments
[
i], expression.Parameters);
System\Activities\Statements\Pick.cs (1)
191
ActivityInstance child = children
[
i];
System\Activities\Tracking\RuntimeTrackingProfile.cs (4)
318
if (subscriptions
[
i].States.Contains(activityRecord.State))
320
return subscriptions
[
i];
322
else if (subscriptions
[
i].States.Contains("*"))
326
genericMatch = subscriptions
[
i];
System\Activities\Validation\ValidationResults.cs (1)
72
ValidationError violation = this.allValidationErrors
[
i];
System.Core (95)
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (2)
160
mos[i - 1] = DynamicMetaObject.Create(args[i], parameters
[
i]);
172
var expr = parameters
[
i];
Microsoft\Scripting\Ast\BlockExpression.cs (1)
805
ParameterExpression v = varList
[
i];
Microsoft\Scripting\Ast\DynamicExpression.cs (1)
1076
Expression arg = args
[
i];
Microsoft\Scripting\Ast\ElementInit.cs (1)
58
return _arguments
[
index];
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (8)
367
Out(node.Initializers
[
i].ToString());
449
MemberBinding b = node.Bindings
[
i];
473
VisitElementInit(binding.Initializers
[
i]);
486
VisitMemberBinding(binding.Bindings
[
i]);
511
Visit(node.Arguments
[
i]);
535
Visit(node.Arguments
[
i]);
586
string name = members
[
i].Name;
599
Visit(node.Arguments
[
i]);
Microsoft\Scripting\Ast\ExpressionVisitor.cs (9)
71
Expression node = Visit(nodes
[
i]);
75
} else if (!object.ReferenceEquals(node, nodes
[
i])) {
78
newNodes[j] = nodes
[
j];
120
T node = elementVisitor(nodes
[
i]);
123
} else if (!object.ReferenceEquals(node, nodes
[
i])) {
126
newNodes[j] = nodes
[
j];
169
T node = Visit(nodes
[
i]) as T;
176
} else if (!object.ReferenceEquals(node, nodes
[
i])) {
179
newNodes[j] = nodes
[
j];
Microsoft\Scripting\Ast\IndexExpression.cs (3)
423
Expression arg = arguments
[
i];
436
if (newArgs == null && arg != arguments
[
i]) {
439
newArgs[j] = arguments
[
j];
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
473
var param = parameterList
[
i];
545
ParameterExpression pex = parameters
[
i];
Microsoft\Scripting\Ast\ListInitExpression.cs (1)
194
initList[i] = ElementInit(addMethod, initializerlist
[
i]);
Microsoft\Scripting\Ast\MemberInitExpression.cs (2)
105
block[i + 1] = ReduceMemberBinding(objVar, bindings
[
i]);
117
ElementInit element = initializers
[
i];
Microsoft\Scripting\Ast\MemberListBinding.cs (1)
135
ElementInit element = initializers
[
i];
Microsoft\Scripting\Ast\MemberMemberBinding.cs (1)
147
MemberBinding b = bindings
[
i];
Microsoft\Scripting\Ast\MethodCallExpression.cs (3)
843
Expression arg = arguments
[
i];
847
if (newArgs == null && arg != arguments
[
i]) {
850
newArgs[j] = arguments
[
j];
Microsoft\Scripting\Ast\NewArrayExpression.cs (3)
157
Expression expr = initializerList
[
i];
167
newList[j] = initializerList
[
j];
218
Expression expr = boundsList
[
i];
Microsoft\Scripting\Ast\NewExpression.cs (6)
240
Expression arg = arguments
[
i];
242
MemberInfo member = members
[
i];
264
if (newArguments == null && arg != arguments
[
i]) {
267
newArguments[j] = arguments
[
j];
274
if (newMembers == null && member != members
[
i]) {
277
newMembers[j] = members
[
j];
Microsoft\Scripting\Ast\RuntimeVariablesExpression.cs (1)
110
Expression v = vars
[
i];
Microsoft\Scripting\Ast\SwitchExpression.cs (2)
235
Type rightOperandType = c.TestValues
[
i].Type;
256
if (!TypeUtils.AreEquivalent(firstTestValue.Type, c.TestValues
[
i].Type)) {
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
255
var arg = index.Arguments
[
i - 1];
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
106
curTypeInfo = NextTypeInfo(types
[
i].Type, curTypeInfo);
Microsoft\Scripting\Compiler\ExpressionQuoter.cs (2)
122
IStrongBox box = GetBox(node.Variables
[
i]);
125
vars.Add(node.Variables
[
i]);
Microsoft\Scripting\Compiler\HoistedLocals.cs (1)
84
indexes.Add(vars
[
i], i);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (6)
735
EmitExpression(node.Expressions
[
index]);
741
Expression x = bounds
[
i];
866
EmitBinding(bindings
[
i], objectType);
900
EmitMethodCall(initializers
[
i].AddMethod, initializers
[
i], objectType);
903
if (initializers
[
i].AddMethod.ReturnType != typeof(void)) {
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
174
_scope.EmitSet(_lambda.Parameters
[
i]);
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (7)
189
DefineSwitchCaseLabel(node.Cases
[
i], out labels[i], out isGoto[i]);
190
foreach (Expression test in node.Cases
[
i].TestValues) {
351
DefineSwitchCaseLabel(node.Cases
[
i], out labels[i], out isGoto[i]);
353
foreach (ConstantExpression test in node.Cases
[
i].TestValues) {
443
EmitExpressionAsType(node.Cases
[
i].Body, node.Type, flags);
587
foreach (ConstantExpression t in node.Cases
[
i].TestValues) {
594
cases.Add(Expression.SwitchCase(node.Cases
[
i].Body, Expression.Constant(i)));
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (5)
75
BindingRewriter br = BindingRewriter.Create(_bindings
[
i], spiller, stack);
136
ElementInit init = _inits
[
i];
155
newInits[i] = _inits
[
i];
157
newInits[i] = Expression.ElementInit(_inits
[
i].AddMethod, cr[0, -1]);
179
Result add = cr.Finish(Expression.Call(memberTemp, _inits
[
i].AddMethod, cr[0, -1]));
Microsoft\Scripting\Compiler\StackSpiller.cs (9)
589
ElementInit init = inits
[
i];
607
newInits[i] = inits
[
i];
609
newInits[i] = Expression.ElementInit(inits
[
i].AddMethod, cr[0, -1]);
623
Result add = cr.Finish(Expression.Call(tempNew, inits
[
i].AddMethod, cr[0, -1]));
648
MemberBinding binding = bindings
[
i];
788
SwitchCase @case = cases
[
i];
795
Result test = RewriteExpression(testValues
[
j], stack);
858
CatchBlock handler = handlers
[
i];
931
clone[j] = original
[
j];
System\Linq\Expressions\ExpressionVisitor.cs (9)
175
Expression p = this.Visit(original
[
i]);
179
else if (p != original
[
i]) {
182
list.Add(original
[
j]);
219
MemberBinding b = this.VisitBinding(original
[
i]);
223
else if (b != original
[
i]) {
226
list.Add(original
[
j]);
241
ElementInit init = this.VisitElementInitializer(original
[
i]);
246
else if (init != original
[
i])
251
list.Add(original
[
j]);
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (1)
121
OperationCanceledException oce = flattenedAE.InnerExceptions
[
i] as OperationCanceledException;
System\Linq\SequenceQuery.cs (5)
227
Expression arg = argList
[
i];
230
if (newArgs == null && arg != argList
[
i]) {
233
newArgs.Add(argList
[
j]);
262
exprs.Add(this.FixupQuotedExpression(elementType, na.Expressions
[
i]));
361
Expression arg = args
[
i];
System.Data (1)
fx\src\data\System\Data\Common\FieldNameLookup.cs (1)
47
fieldNames[i] = columnNames
[
i];
System.Data.Entity (172)
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (2)
99
yield return new KeyValuePair<string, TypeUsage>(this._parameterNames
[
idx], this._parameterTypes
[
idx]);
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
138
EdmProperty originalProp = rowType.Properties
[
idx];
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
913
keys.Add(this.VisitWithLabel("Key", outputType.Properties
[
idx].Name, e.Keys[keyIdx]));
921
aggInfo.Text.Append(outputType.Properties
[
idx].Name);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
298
join ft in fkConstraint.FromProperties.Select((fp, idx) => Tuple.Create(fp, fkConstraint.ToProperties
[
idx])) //new { PrincipalProperty = fp, DependentProperty = fkConstraint.ToProperties[idx] })
447
string propName = resultRow.Properties
[
idx].Name;
644
bindings[innerResultType.Members
[
ordinal].Name] = innerNew.Arguments[ordinal];
System\Data\Common\DataRecord.cs (1)
417
return DataRecordInfo.FieldMetadata
[
ordinal].FieldType;
System\Data\Common\EntitySql\CqlErrorHelper.cs (4)
141
ReportIncompatibleCommonType(errCtx, rootLeftType, rootRightType, leftRow.Members
[
i].TypeUsage, rightRow.Members
[
i].TypeUsage);
202
leftComplex.Members
[
i].TypeUsage,
203
rightComplex.Members
[
i].TypeUsage);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
2970
if (!TypeHelpers.IsValidDistinctOpType(rowType.Members
[
i].TypeUsage))
System\Data\Common\FieldNameLookup.cs (1)
39
fieldNames[i] = columnNames
[
i];
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
346
var argument = arguments
[
i];
System\Data\Common\Internal\Materialization\RecordState.cs (4)
95
if (RecordStateFactory.IsColumnNested
[
ordinal])
207
return RecordStateFactory.ColumnNames
[
ordinal];
223
return RecordStateFactory.TypeUsages
[
ordinal];
232
return RecordStateFactory.IsColumnNested
[
ordinal];
System\Data\Common\Internal\Materialization\Translator.cs (1)
1361
EdmProperty edmProperty = mapping.GetPropertyMap(properties
[
i].Name).ClrProperty;
System\Data\Common\Utils\MetadataHelper.cs (2)
82
? functionImport.ReturnParameters
[
resultSetIndex]
627
EntitySetBase extent = baseEntitySets
[
i];
System\Data\EntityClient\EntityCommandDefinition.cs (1)
174
EntitySet entitySet = functionImport.EntitySets.Count > resultSetIndex ? functionImport.EntitySets
[
resultSetIndex] : null;
System\Data\EntityKey.cs (3)
757
EdmMember keyMember = ((EntitySetBase)entitySet).ElementType.KeyMembers
[
i];
969
EdmMember member = entityType.KeyMembers
[
i];
1054
EdmMember keyField = ((EntitySetBase)entitySet).ElementType.KeyMembers
[
i];
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (7)
100
map = (Map)this
[
index];
128
map = (Map)this
[
index];
250
return (Map)this
[
index];
262
return (Map)this
[
index];
280
typeMapping.AddMemberMap(new ObjectPropertyMapping(edmRowType.Properties
[
idx], clrRowType.Properties
[
idx]));
838
map = (ObjectTypeMapping)this
[
index];
System\Data\Mapping\FunctionImportMapping.cs (10)
114
string discriminatorColumn = this.DiscriminatorColumns
[
i];
132
impliedEntityTypesBitMap[i] = impliedEntityTypesSet.Contains(this.MappedEntityTypes
[
i]);
310
var discriminatorValue = typeMapping.ColumnConditions
[
i];
324
this.DiscriminatorColumns
[
i], discriminatorDomains[i].MakeReadOnly());
337
var typeMapping = this.NormalizedEntityTypeMappings
[
i];
343
var columnCondition = typeMapping.ColumnConditions
[
j];
384
var entityTypeMapping = this.NormalizedEntityTypeMappings
[
j];
413
reachableTypes.Add(this.MappedEntityTypes
[
i]);
434
var entityTypeMapping = this.NormalizedEntityTypeMappings
[
j];
472
reachableTypes.Add(this.MappedEntityTypes
[
i]);
System\Data\Mapping\FunctionImportMappingNonComposable.cs (4)
83
return this.ResultMappings
[
resultSetIndex];
115
if (null != columnConditions
[
i] && // this discriminator doesn't matter for the given condition
116
!columnConditions
[
i].ColumnValueMatchesCondition(discriminatorValues[i]))
147
entityType = resultMapping.MappedEntityTypes
[
i];
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
340
keyValues.Add(e.Property(rc.ToProperties
[
offset]));
System\Data\Mapping\StorageMappingItemLoader.cs (9)
1847
functionImport.EntitySets
[
resultSetIndex] : null;
2149
structuralTypeMappings.Add(Tuple.Create((StructuralType)functionImportKB.MappedEntityTypes
[
i], typeConditions, propertyMappings));
2246
var mapping = propertyMappings[entityType.Properties.IndexOf((EdmProperty)entityType.KeyMembers
[
i])] as StorageScalarPropertyMapping;
2361
var entityType = functionImportKB.MappedEntityTypes
[
typeID];
3690
facetDisplay.AppendFormat("{0}={1},", facets
[
i].Name, facets
[
i].Value ?? string.Empty);
3693
facetDisplay.AppendFormat("{0}={1}]", facets
[
numFacets - 1].Name, facets
[
numFacets-1].Value ?? string.Empty);
4319
members = new EdmMember[] { constraint.ToProperties
[
ordinal], };
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
210
EdmMember keyMember = keyRowType.Properties
[
ordinal];
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (1)
276
EdmMember member = parameterBinding.MemberPath.Members
[
i];
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
315
int ordinal = currentValues.GetOrdinal(keyMembers
[
i].Name);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (3)
147
PropagatorResult memberValue = CreateMemberPlaceholder(members
[
ordinal]);
171
var end = endMetadata
[
endOrdinal];
178
EdmMember keyMember = entityType.KeyMembers
[
memberOrdinal];
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (1)
486
PropagatorResult constant = Evaluator.Evaluate(keySelectors
[
i], change, parent);
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
203
EdmProperty property = processor.Table.ElementType.Properties
[
propertyOrdinal];
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (5)
245
EdmProperty keyMember = (EdmProperty)principalType.KeyMembers
[
i];
249
int recordOrdinal = record.GetOrdinal(constraint.ToProperties
[
constraintOrdinal].Name);
301
var principalProperty = constraint.FromProperties
[
i];
302
var dependentProperty = constraint.ToProperties
[
i];
511
EdmMember member = recordWithMetadata.DataRecordInfo.FieldMetadata
[
context.RecordOrdinal].FieldType;
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (2)
453
for (; i < pkColumns.Count && pkColumns
[
i].EdmEquals(fkColumns
[
i]); ++i);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (5)
119
var slotInfo = m_slots
[
slotNum];
126
return m_slots
[
slotNum].SlotValue;
132
return m_slots
[
slotNum].OutputMember;
141
return m_slots
[
slotNum].IsProjected;
229
m_slots
[
i].ToCompactString(builder);
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (1)
103
CqlBlock rightBlock = this.Children
[
i];
System\Data\Mapping\ViewGeneration\CqlGeneration\UnionCqlBlock.cs (1)
63
cqt = cqt.UnionAll(this.Children
[
i].AsCqt(isTopLevel));
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
201
var property = entityType.Properties
[
j];
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
251
int index = indexes
[
i];
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (4)
237
additionalChildSlots.Add(Tuple.Create(childBlock, childBlock.Slots
[
qualifiedSlotNumber]));
261
paddedSlotInfo[slotNum] = childBlock.Slots
[
slotNum];
307
SlotInfo slotInfo = firstChild.Slots
[
slotNum];
315
var aslot = firstChild.Slots
[
slotNum];
System\Data\Mapping\ViewValidator.cs (2)
320
AssociationSetEnd setEnd = associationSet.AssociationSetEnds
[
i];
374
structuralTypeSetInfos.Add(structuralType.Members
[
i].Name, info);
System\Data\Metadata\Edm\EntityTypeBase.cs (1)
79
keyNames[i] = this.KeyMembers
[
i].Name;
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (1)
195
return this
[
index];
System\Data\Metadata\Edm\ItemCollection.cs (2)
363
if (functionOverloads
[
i].FullName == functionName)
365
caseSensitiveFunctionOverloads.Add(functionOverloads
[
i]);
System\Data\Metadata\Edm\MemberCollection.cs (1)
108
return ((StructuralType)_declaringType.BaseType).Members
[
index];
System\Data\Metadata\Edm\NavigationProperty.cs (2)
159
dependantProperties.Add(rc.ToProperties
[
rc.FromProperties.IndexOf(((EdmProperty)keyMembers
[
i]))]);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (2)
756
promotionTypes[i] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { _primitiveTypes
[
i] });
864
PrimitiveType primitiveType = _primitiveTypes
[
primitiveTypeIndex];
System\Data\Metadata\Edm\RowType.cs (2)
213
EdmMember thisMember = this.Members
[
ordinal];
214
EdmMember otherMember = other.Members
[
ordinal];
System\Data\Metadata\Edm\TypeUsage.cs (2)
417
EdmProperty sspaceProperty = sspaceRowType.Properties
[
i];
572
Facet facet = this.Facets
[
j];
System\Data\Metadata\EdmItemCollection.cs (3)
417
this.AddInternal(primitiveTypes
[
i]);
418
_primitiveTypeMaps.Add(primitiveTypes
[
i]);
423
this.AddInternal(functions
[
i]);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
702
RelationshipEndMember cspaceEnd = cspaceAssociation.RelationshipEndMembers
[
i];
System\Data\Metadata\TypeSemantics.cs (9)
770
if (!IsPromotableTo(fromRowType.Properties
[
i].TypeUsage, toRowType.Properties
[
i].TypeUsage))
946
if (!TryGetCommonType(rowType1.Properties
[
i].TypeUsage, rowType2.Properties
[
i].TypeUsage, out columnCommonTypeUsage))
952
commonProperties.Add(new EdmProperty(rowType1.Properties
[
i].Name, columnCommonTypeUsage));
1079
EdmProperty fromProp = fromRow.Properties
[
idx];
1080
EdmProperty toProp = toRow.Properties
[
idx];
1126
commonTypeClosure[i, j] = Intersect(EdmProviderManifest.Instance.GetPromotionTypes(primitiveTypes
[
i]),
1127
EdmProviderManifest.Instance.GetPromotionTypes(primitiveTypes
[
j]));
System\Data\Objects\DataClasses\EntityReference.cs (6)
494
int principalOrdinal = principalTypeMetadata.GetOrdinalforOLayerMemberName(principalProps
[
i].Name);
496
int dependentOrdinal = dependentTypeMetadata.GetOrdinalforOLayerMemberName(constraint.ToProperties
[
i].Name);
532
int keyIndex = Array.IndexOf(keyNames, principalProps
[
i].Name);
583
object value = principalKey.FindValueByName(constraint.FromProperties
[
i].Name);
584
int dependentOrdinal = dependentTypeMetadata.GetOrdinalforOLayerMemberName(constraint.ToProperties
[
i].Name);
665
string propertyName = constraint.ToProperties
[
i].Name;
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (2)
634
constraint.ToProperties
[
i].Name,
635
retrievedProperties[constraint.FromProperties
[
i].Name].Key);
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
457
sourceBuilder.Append(dependentProps
[
idx].Name);
488
sourceBuilder.Append(principalProps
[
idx].Name);
1916
string fromPropertyName = constraint.FromProperties
[
i].Name;
1917
string toPropertyName = constraint.ToProperties
[
i].Name;
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (9)
206
Expression p = this.Visit(original
[
i]);
211
else if (p != original
[
i])
216
list.Add(original
[
j]);
261
MemberBinding b = this.VisitBinding(original
[
i]);
266
else if (b != original
[
i])
271
list.Add(original
[
j]);
286
ElementInit init = this.VisitElementInitializer(original
[
i]);
291
else if (init != original
[
i])
296
list.Add(original
[
j]);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
880
Expression argument = callExpression.Arguments
[
argumentOrdinal];
System\Data\Objects\ELinq\InitializerFacet.cs (5)
286
MemberInfo thisMember = this._newExpression.Members
[
i];
287
MemberInfo otherMember = otherProjection._newExpression.Members
[
i];
378
MemberBinding thisBinding = this._initExpression.Bindings
[
i];
379
MemberBinding otherBinding = otherProjection._initExpression.Bindings
[
i];
399
MemberBinding originalBinding = _initExpression.Bindings
[
i];
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
317
TryMatchCoalescePattern(callExpression.Arguments
[
argumentOrdinal], out normalizedArgument))
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
1308
parent.TranslateExpression(call.Arguments
[
argIndex]));
2949
renames.Add(Tuple.Create((EdmProperty)rename.Property, outerRowType.Properties
[
i].Name));
System\Data\Objects\ELinq\Translator.cs (3)
729
MemberInfo memberInfo = TypeSystem.PropertyOrField(linq.Members
[
i], out memberName, out memberType);
730
DbExpression memberValue = parent.TranslateExpression(linq.Arguments
[
i]);
831
MemberAssignment binding = linq.Bindings
[
i] as MemberAssignment;
System\Data\Objects\EntityEntry.cs (4)
2744
if (constraint.FromProperties
[
i].Name == pair.Key)
2746
EntityEntry.AddOrIncreaseCounter(properties, constraint.ToProperties
[
i].Name, pair.Value);
2815
if (constraint.ToProperties
[
i].Name == pair.Key)
2817
if (!ByValueEqualityComparer.Default.Equals(GetCurrentEntityValue(constraint.FromProperties
[
i].Name), pair.Value))
System\Data\Objects\Internal\ComplexTypeMaterializer.cs (1)
151
FieldMetadata field = fields
[
i];
System\Data\Objects\Internal\ForeignKeyFactory.cs (3)
121
dependentEntry.GetOriginalEntityValue(dependentProps
[
i].Name) :
122
dependentEntry.GetCurrentEntityValue(dependentProps
[
i].Name);
127
int keyIndex = Array.IndexOf(keyNames, principalProps
[
i].Name);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
360
EdmProperty columnProp = rowType.Properties
[
idx];
412
EdmProperty columnProp = rowType.Properties
[
idx];
System\Data\Objects\ObjectContext.cs (1)
2712
EntitySet entitySet = entitySets.Count > resultSetIndex ? entitySets
[
resultSetIndex] : null;
System\Data\Objects\ObjectStateManager.cs (4)
1482
EdmMember keyField = entitySetForKey.ElementType.KeyMembers
[
i];
3272
constraint.ToProperties
[
i].Name,
3273
retrievedProperties[constraint.FromProperties
[
i].Name].Key);
3728
string keyName = keyMembers
[
i].Name;
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
177
EdmProperty member = members
[
i];
System\Data\Objects\RelationshipEntry.cs (1)
303
return _relationshipWrapper.AssociationEndMembers
[
ordinal].Name;
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
417
md.EdmMember property = properties
[
i];
446
md.EdmMember property = entityType.KeyMembers
[
i];
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1070
argNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Arguments[idx]), e.Function.Parameters
[
idx].TypeUsage));
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (4)
2604
object discriminatorValue = op.DiscriminatorMap.TypeMap
[
i].Key;
2605
md.EntityType type = op.DiscriminatorMap.TypeMap
[
i].Value;
2791
newFields.Add(flatType.Properties
[
nestedPropertyOffset]);
2832
newFields.Add(flatType.Properties
[
nestedPropertyOffset]);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
3277
EdmProperty member = members
[
i];
System.Data.Entity.Design (7)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
375
_writer.WriteAttributeString(XmlConstants.Name, entityType.KeyMembers
[
i].Name);
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (4)
158
return set.AssociationSetEnds
[
fromEndIndex];
162
return set.AssociationSetEnds
[
toEndIndex];
451
if (constraint.FromProperties
[
i] == storeKeyProperty)
454
return constraint.ToProperties
[
i];
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
1006
fromProperties[index] = session.MappingLookups.StoreEdmPropertyToModelEdmProperty[storeConstraint.FromProperties
[
index]];
1007
toProperties[index] = session.MappingLookups.StoreEdmPropertyToModelEdmProperty[storeConstraint.ToProperties
[
index]];
System.Data.Linq (41)
ChangeProcessor.cs (1)
236
MetaDataMember thisKey = assoc.ThisKey
[
i];
ChangeTracker.cs (4)
578
MetaDataMember accThis = assoc.ThisKey
[
i];
579
MetaDataMember accParent = assoc.OtherKey
[
i];
589
MetaDataMember accThis = assoc.ThisKey
[
i];
828
MetaDataMember otherMember = assoc.OtherKey
[
index];
DataServices.cs (4)
219
MetaDataMember metaMember = type.IdentityMembers
[
i];
273
MetaDataMember metaMember = keyMembers
[
i];
337
object value = keys
[
i].StorageAccessor.GetBoxedValue(instance);
418
MetaDataMember mm = members
[
i];
IdentityManager.cs (1)
86
mm = type.IdentityMembers
[
i];
SqlClient\Query\Funcletizer.cs (9)
302
Expression p = this.Visit(original
[
i]);
306
else if (p != original
[
i]) {
309
list.Add(original
[
j]);
346
MemberBinding b = this.VisitBinding(original
[
i]);
350
else if (b != original
[
i]) {
353
list.Add(original
[
j]);
366
ElementInit init = this.VisitElementInitializer(original
[
i]);
370
else if (init != original
[
i]) {
373
list.Add(original
[
j]);
SqlClient\Query\QueryConverter.cs (14)
330
this.exprMap[lambda.Parameters
[
i]] = invoke.Arguments
[
i];
357
args[i] = (SqlExpression)this.Visit(invoke.Arguments
[
i]);
369
ParameterExpression p = lambda.Parameters
[
i];
841
args[i] = this.VisitExpression(qn.Arguments
[
i]);
865
args[i] = this.VisitExpression(qn.Arguments
[
i]);
873
MemberAssignment mb = init.Bindings
[
i] as MemberAssignment;
881
throw Error.UnhandledBindingType(init.Bindings
[
i].BindingType);
1221
SqlExpression newParamExpression = this.VisitExpression(mce.Arguments
[
i]);
1225
MetaParameter currMetaParam = function.Parameters
[
i];
1942
args[i] = VisitExpression(mc.Arguments
[
i]);
2685
exprs[i] = this.VisitExpression(arr.Expressions
[
i]);
2698
if (1 != list.Initializers
[
i].Arguments.Count) {
2703
exprs[i] = this.VisitExpression(list.Initializers
[
i].Arguments.Single());
SqlClient\Query\SqlFormatter.cs (1)
563
MetaParameter mp = spc.Function.Parameters
[
i];
SqlClient\Query\SqlParameterizer.cs (1)
201
MetaParameter mp = spc.Function.Parameters
[
i];
SqlClient\Query\Translator.cs (2)
122
MetaDataMember mm = member.Association.ThisKey
[
i];
253
MetaDataMember metaMember = mm.Association.OtherKey
[
i];
SqlClient\SqlProvider.cs (4)
1607
parameters
[
i],
1764
spis.Add(new SqlParameterInfo(this.parameters
[
i], parentArgs[i]));
1826
if (string.Compare(parameters
[
i].Parameter.Name, paramName, StringComparison.OrdinalIgnoreCase) == 0) {
1852
SqlParameterInfo pi = this.parameters
[
parameterIndex];
System.Data.Services (21)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
349
Expression p = this.Visit(original
[
i]);
354
else if (p != original
[
i])
359
list.Add(original
[
j]);
432
MemberBinding b = this.VisitBinding(original
[
i]);
437
else if (b != original
[
i])
442
list.Add(original
[
j]);
467
ElementInit init = this.VisitElementInitializer(original
[
i]);
472
else if (init != original
[
i])
477
list.Add(original
[
j]);
System\Data\Services\KeyInstance.cs (2)
145
ResourceProperty property = type.KeyProperties
[
i];
169
if (!WebConvert.TryKeyStringToPrimitive(valueText, type.KeyProperties
[
i].Type, out convertedValue))
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1514
LambdaExpression orderLamba = (LambdaExpression)this.OrderingInfo.OrderingExpressions
[
i].Expression;
1806
skipTokenTypes[i + 1] = ((LambdaExpression)this.OrderingInfo.OrderingExpressions
[
i].Expression).Body.Type;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
1503
result[i] = properties
[
i].Name;
1771
xmlWriter.WriteAttributeString(XmlConstants.Role, associationSet.AssociationSetEnds
[
i].Name);
1772
xmlWriter.WriteAttributeString(XmlConstants.EntitySet, associationSet.AssociationSetEnds
[
i].EntitySet.Name);
1775
WriteUserDefinedAnnotations(xmlWriter, associationSet.AssociationSetEnds
[
i].MetadataProperties, false /*writeCustomElements*/);
1776
WriteUserDefinedAnnotations(xmlWriter, associationSet.AssociationSetEnds
[
i].MetadataProperties, true /*writeCustomElements*/);
System\Data\Services\RequestUriProcessor.cs (3)
1069
Type parameterType = operation.Parameters
[
i].ParameterType.InstanceType;
1070
string queryStringValue = host.GetQueryStringItem(operation.Parameters
[
i].Name);
1223
ResourceProperty keyProperty = resourceType.KeyProperties
[
i];
System.Data.Services.Client (14)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
349
Expression p = this.Visit(original
[
i]);
354
else if (p != original
[
i])
359
list.Add(original
[
j]);
432
MemberBinding b = this.VisitBinding(original
[
i]);
437
else if (b != original
[
i])
442
list.Add(original
[
j]);
467
ElementInit init = this.VisitElementInitializer(original
[
i]);
472
else if (init != original
[
i])
477
list.Add(original
[
j]);
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
397
TryMatchCoalescePattern(callExpression.Arguments
[
argumentOrdinal], out normalizedArgument))
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
233
this.Visit(m.Arguments
[
ii]);
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
1748
Expression argument = ne.Arguments
[
i];
1749
MemberInfo member = ne.Members
[
i];
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
586
MemberAssignment assignment = (MemberAssignment)init.Bindings
[
i];
System.IdentityModel (32)
System\IdentityModel\Policy\UnconditionalPolicy.cs (4)
97
if (issuances
[
i] is WindowsClaimSet)
140
ClaimSet issuance = this.issuances
[
i];
219
if (this.issuances
[
i] != null)
221
evaluationContext.AddClaimSet(this, this.issuances
[
i]);
System\IdentityModel\SecurityUtils.cs (12)
109
if (wrappingToken.SecurityKeys
[
i].IsSupportedAlgorithm(encryptionMethod))
111
wrappingSecurityKey = wrappingToken.SecurityKeys
[
i];
509
if (unwrappingToken.SecurityKeys
[
i].IsSupportedAlgorithm(encryptionMethod))
511
unwrappingSecurityKey = unwrappingToken.SecurityKeys
[
i];
622
if (token.SecurityKeys
[
i].IsSupportedAlgorithm(algorithm))
730
if (claimSets
[
i] is WindowsClaimSet)// || claimSets[i] is X509CertificateClaimSet)
741
ret.Add(SecurityUtils.CloneClaimSetIfNecessary(claimSets
[
i]));
763
SecurityUtils.DisposeIfNecessary(claimSets
[
i] as WindowsClaimSet);
775
UnconditionalPolicy policy = authorizationPolicies
[
i] as UnconditionalPolicy;
787
UnconditionalPolicy policy = authorizationPolicies
[
i] as UnconditionalPolicy;
794
ret.Add(authorizationPolicies
[
i]);
809
DisposeIfNecessary(authorizationPolicies
[
i] as UnconditionalPolicy);
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
216
IAuthorizationPolicy policy = authorizationPolicies
[
j];
System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
125
SecurityKey securityKey = this.tokens
[
i].ResolveKeyIdentifierClause(keyIdentifierClause);
201
if (this.tokens
[
i].MatchesKeyIdentifierClause(keyIdentifierClause))
202
return this.tokens
[
i];
System\IdentityModel\Tokens\SamlAttributeStatement.cs (2)
168
if (attributeClaims
[
j] != null)
169
claims.Add(attributeClaims
[
j]);
System\IdentityModel\Tokens\SamlAuthenticationClaimResource.cs (7)
127
sab.Add(this.authorityBindings
[
i]);
179
if ((this.AuthorityBindings
[
i].AuthorityKind == rhs.AuthorityBindings
[
j].AuthorityKind) &&
180
(this.AuthorityBindings
[
i].Binding == rhs.AuthorityBindings
[
j].Binding) &&
181
(this.AuthorityBindings
[
i].Location == rhs.AuthorityBindings
[
j].Location))
System\IdentityModel\Tokens\SamlSubjectStatement.cs (1)
80
claims.Add(subjectClaims
[
i]);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
179
transformedCookie = _transforms
[
i].Encode(transformedCookie);
186
transformedCookie = _transforms
[
i - 1].Decode(transformedCookie);
System.ServiceModel (58)
System\ServiceModel\Channels\AddressHeaderCollection.cs (11)
74
message.Headers.Add(this
[
i].ToMessageHeader());
88
AddressHeader header = this
[
i];
109
AddressHeader header = this
[
i];
159
key = this
[
i].GetComparableForm(builder);
202
if (this
[
i].IsReferenceProperty)
213
if (!this
[
i].IsReferenceProperty)
222
if (this
[
i].IsReferenceProperty)
223
this
[
i].WriteAddressHeader(writer);
229
if (!this
[
i].IsReferenceProperty)
230
this
[
i].WriteAddressHeader(writer);
236
this
[
i].WriteAddressHeader(writer);
System\ServiceModel\Channels\PeerIPHelper.cs (1)
126
cloneArray[i] = CloneAddress(sourceCollection
[
i], maskScopeId);
System\ServiceModel\Channels\PeerNeighborManager.cs (2)
1444
this.remoteAddress.EndpointAddress, this.remoteAddress.IPAddresses
[
this.currentIndex]);
1451
this.neighbor.ConnectIPAddress = this.remoteAddress.IPAddresses
[
this.currentIndex];
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
555
ClaimSet claimSet = context.AuthorizationContext.ClaimSets
[
i];
System\ServiceModel\Channels\SecurityChannelListener.cs (2)
452
removed = this.cacheManagers
[
i].RemoveCachedLogonToken(username);
467
this.cacheManagers
[
i].FlushLogonTokenCache();
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
61
ClaimSet claimSet = authContext.ClaimSets
[
i];
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
1109
ClaimSet claimSet = this.authContext.ClaimSets
[
i];
1110
if (this.authContext.ClaimSets
[
i] == null)
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (4)
123
if (!this.actions.TryGetValue(filter.Actions
[
i], out filters))
126
this.actions.Add(filter.Actions
[
i], filters);
440
filters = this.actions[filter.Actions
[
i]];
444
this.actions.Remove(filter.Actions
[
i]);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilter.cs (2)
227
key = this.address.Headers
[
i].GetComparableForm(builder);
238
AddressHeader parameter = this.address.Headers
[
i];
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (2)
187
AddressHeader parameter = address.Headers
[
i];
767
AddressHeader parameter = address.Headers
[
i];
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
477
ClaimSet claimSet = authContext.ClaimSets
[
i];
System\ServiceModel\EndpointAddress.cs (1)
1292
this.headers.Add(address.Headers
[
i]);
System\ServiceModel\Security\IdentityVerifier.cs (2)
134
ClaimSet claimSet = authorizationContext.ClaimSets
[
i];
285
ClaimSet claimSet = authContext.ClaimSets
[
i];
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
295
AddressHeader header = target.Headers
[
i];
System\ServiceModel\Security\IssuedTokensHeader.cs (2)
229
issuedTokensHeader.TokenIssuances
[
k].GetAppliesToQName(out issuanceAppliesToName, out issuanceAppliesToNs);
245
issuances.Add(issuedTokensHeader.TokenIssuances
[
k]);
System\ServiceModel\Security\SctClaimsHandler.cs (2)
134
if ( policies
[
i] is EndpointAuthorizationPolicy )
154
System.IdentityModel.Claims.ClaimSet claimSet = authContext.ClaimSets
[
i];
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (4)
302
if (keys
[
i].IsSupportedAlgorithm(this.DefaultSymmetricSignatureAlgorithm))
306
key = keys
[
i];
309
else if (keys
[
i].IsSupportedAlgorithm(this.DefaultAsymmetricSignatureAlgorithm))
313
key = keys
[
i];
System\ServiceModel\Security\SecurityMessageProperty.cs (1)
232
policies.Add(spec.SecurityTokenPolicies
[
i]);
System\ServiceModel\Security\SecurityProtocol.cs (1)
663
outOfBandResolvers.Insert(0, primaryResolvers
[
i]);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
636
if (authorizationPolicies.Contains(currentTokenPolicies
[
i]))
638
authorizationPolicies.Remove(currentTokenPolicies
[
i]);
System\ServiceModel\Security\SecurityUtils.cs (8)
561
T temp = (token.SecurityKeys
[
i] as T);
639
if (unwrappingToken.SecurityKeys
[
i].IsSupportedAlgorithm(encryptionMethod))
641
unwrappingSecurityKey = unwrappingToken.SecurityKeys
[
i];
660
if (wrappingToken.SecurityKeys
[
i].IsSupportedAlgorithm(encryptionMethod))
662
wrappingSecurityKey = wrappingToken.SecurityKeys
[
i];
774
if (token.SecurityKeys
[
i].IsSupportedAlgorithm(algorithm))
793
ClaimSet claimSet = authContext.ClaimSets
[
i];
1004
ClaimSet claimSet = authContext.ClaimSets
[
i];
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (1)
204
SctClaimSerializer.SerializeClaimSet(authContext.ClaimSets
[
i], dictionary, writer, claimSetSerializer, claimSerializer);
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (3)
27
EndpointAuthorizationPolicy epAuthPolicy = sct.AuthorizationPolicies
[
i] as EndpointAuthorizationPolicy;
38
IAuthorizationPolicy authPolicy = sct.AuthorizationPolicies
[
i];
57
ap = sct.AuthorizationPolicies
[
i] as AuthorizationPolicy;
System\ServiceModel\Security\WSSecureConversation.cs (1)
392
ISecurityContextSecurityTokenCache oobTokenResolver = aggregateTokenResolve.TokenResolvers
[
i] as ISecurityContextSecurityTokenCache;
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (1)
113
BookmarkInfo bookmark = bookmarks
[
i];
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\DefaultDiscoveryService.cs (4)
56
if (this.publishedEndpoints
[
i].Address.Equals(criteria.Address))
58
return this.publishedEndpoints
[
i];
81
if (criteria.IsMatch(this.publishedEndpoints
[
i], compiledScopeCriterias))
83
findRequestContext.AddMatchingEndpoint(this.publishedEndpoints
[
i]);
System.Web.DynamicData (9)
DynamicData\ControlFilterExpression.cs (1)
127
string filterExpression = column.GetFilterExpression(names
[
i]);
DynamicData\DynamicControlParameter.cs (1)
138
MetaColumn parentTablePKColumn = parentTable.PrimaryKeyColumns
[
index++];
DynamicData\FilterUserControlBase.cs (1)
355
string queryStringParamName = fkColumn.ForeignKeyNames
[
i];
DynamicData\MetaChildrenColumn.cs (1)
114
routeValues.Add(fkColumn.ForeignKeyNames
[
i], Misc.SanitizeQueryStringValue(pkValues[i]));
DynamicData\MetaForeignKeyColumn.cs (1)
86
dictionary[ForeignKeyNames
[
i]] = fkValues[i];
DynamicData\ModelProviders\DLinqAssociationProvider.cs (2)
34
MetaDataMember thisKeyMetaDataMember = column.Member.Association.ThisKey
[
i];
35
MetaDataMember otherKeyMetaDataMember = column.Member.Association.OtherKey
[
i];
DynamicData\Util\RouteParametersHelper.cs (2)
37
string name = fkColumn.ForeignKeyNames
[
i];
40
MetaColumn parentTablePKColumn = fkColumn.ParentTable.PrimaryKeyColumns
[
i];
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
1044
EdmProperty correspondingProperty = constraint.ToProperties
[
ordinalInConstraint];
System.Workflow.Activities (28)
Common\ValidationHelpers.cs (2)
174
if (requestParent.EnabledActivities
[
i] == requestChild)
176
else if (requestParent.EnabledActivities
[
i] == responseChild)
Conditional.cs (2)
83
IfElseBranchActivity branch = this.EnabledActivities
[
i] as IfElseBranchActivity;
104
Activity childBranch = this.EnabledActivities
[
i];
ConditionalBranch.cs (1)
75
bool isLastBranch = (ifElse != null && ifElse.EnabledActivities.Count > 1 && (ifElse.EnabledActivities
[
ifElse.EnabledActivities.Count - 1] == ifElseBranch));
ConstrainedGroup.cs (2)
120
if (this.EnabledActivities
[
i].QualifiedName.Equals(childActivityName))
122
childActivity = this.EnabledActivities
[
i];
Designers\StateDesigner.cs (1)
1973
ContainedDesigners
[
ContainedDesigners.Count - 1].EnsureVisible();
Designers\StateDesignerConnector.cs (1)
193
PaintEditPoints(e, endSegmentEditPoints
[
i], false);
EventHandlers.cs (8)
101
EventDrivenActivity childActivity = this.EnabledActivities
[
i] as EventDrivenActivity;
121
EventDrivenActivity childActivity = this.EnabledActivities
[
i] as EventDrivenActivity;
261
if (eventHandlers.EnabledActivities
[
i].QualifiedName.Equals(eda.QualifiedName))
270
ActivityExecutionContext childContext = contextManager.CreateExecutionContext(eventHandlers.EnabledActivities
[
i]);
302
EventDrivenActivity eventDriven = handlers.EnabledActivities
[
i] as EventDrivenActivity;
330
EventDrivenActivity evtDriven = handlers.EnabledActivities
[
i] as EventDrivenActivity;
451
if (this.EnabledActivities
[
i].QualifiedName.Equals(childActivityName))
453
childActivity = this.EnabledActivities
[
i];
Listen.cs (4)
60
EventDrivenActivity eventDriven = this.EnabledActivities
[
i] as EventDrivenActivity;
83
EventDrivenActivity eventDriven = this.EnabledActivities
[
i] as EventDrivenActivity;
101
EventDrivenActivity eventDrivenChild = this.EnabledActivities
[
i] as EventDrivenActivity;
274
EventDrivenActivity eventDriven = parentActivity.EnabledActivities
[
i] as EventDrivenActivity;
Parallel.cs (4)
58
Activity childActivity = this.EnabledActivities
[
i];
74
Activity childActivity = this.EnabledActivities
[
i];
127
Activity childActivity = this.EnabledActivities
[
i];
162
Activity childActivity = parallel.EnabledActivities
[
i];
Sequence.cs (1)
72
Activity childActivity = this.EnabledActivities
[
i];
State.cs (2)
93
if (this.EnabledActivities
[
i].QualifiedName.Equals(childActivityName))
95
childActivity = this.EnabledActivities
[
i];
System.Workflow.ComponentModel (60)
AuthoringOM\ActivityExecutionContextCollection.cs (1)
86
activityQueue.Enqueue(compositeActivity.EnabledActivities
[
i]);
AuthoringOM\Behaviors\Compensate.cs (1)
136
ActivityExecutionContextInfo completedActivityInfo = contextManager.CompletedExecutionContexts
[
index];
AuthoringOM\Behaviors\ExceptionHandlers.cs (1)
83
Activity childActivity = this.EnabledActivities
[
i];
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (5)
146
string returnValue = this.ArgumentValues
[
argumentIndex] as string;
180
foreach (string enumValue in (this.ArgumentValues
[
argumentIndex] as string).Split(new string[] { language == SupportedLanguages.CSharp ? "|" : "Or" }, StringSplitOptions.RemoveEmptyEntries))
198
return System.Convert.ToBoolean(this.ArgumentValues
[
argumentIndex], CultureInfo.InvariantCulture);
203
if (this.ArgumentValues
[
argumentIndex] is CodeTypeOfExpression)
204
typeName = DesignTimeType.GetTypeNameFromCodeTypeReference((this.ArgumentValues
[
argumentIndex] as CodeTypeOfExpression).Type, null);
AuthoringOM\Design\ActivityDesigner.cs (2)
934
if (connectionPoints
[
j].Bounds.Contains(point))
936
hitInfo = new ConnectionPointHitTestInfo(connectionPoints
[
j]);
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
209
return ContainedDesigners
[
ContainedDesigners.Count - 1].Activity;
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1090
ActivityDesigner activityDesigner = containedDesigners
[
i] as ActivityDesigner;
AuthoringOM\Design\CompositeDesignerAccessibleObject.cs (1)
61
return compositeDesigner.ContainedDesigners
[
index].AccessibilityObject;
AuthoringOM\Design\Connector.cs (5)
336
if (DesignerGeometryHelper.PointOnLineSegment(point, new Point[] { segments
[
i - 1], segments
[
i] }, selectionSize))
467
PaintEditPoints(e, endSegmentEditPoints
[
i], false);
604
connector = connectorContainer.Connectors
[
index];
1602
ActivityDesigner activityDesigner = containedDesigners
[
j];
AuthoringOM\Design\DesignerHelpers.cs (2)
1524
DesignerVerb actionVerb = new DesignerVerb(designerActions
[
i].Text, new EventHandler(new EventHandler(OnExecuteDesignerAction)), new CommandID(WorkflowMenuCommands.MenuGuid, WorkflowMenuCommands.VerbGroupDesignerActions + i));
1525
actionVerb.Properties[DesignerUserDataKeys.DesignerAction] = designerActions
[
i];
AuthoringOM\Design\FreeFormDesigner.cs (7)
61
return designer.Connectors
[
index].AccessibilityObject;
63
return designer.ContainedDesigners
[
index - connectorsCount].AccessibilityObject;
69
return designer.ContainedDesigners
[
index].AccessibilityObject;
71
return designer.Connectors
[
index - containedDesignersCount].AccessibilityObject;
316
containedDesigners
[
i].Location = containedDesignerLocations[i];
891
ActivityDesigner designerToMove = ActivityDesigner.GetDesigner(e.Activities
[
i]);
1016
freeformDesigner.RemoveConnector(connectors
[
connectorIndex]);
AuthoringOM\Design\ParallelActivityDesigner.cs (11)
294
ActivityDesigner designer1 = containedDesigners
[
i];
297
ActivityDesigner designer2 = containedDesigners
[
i + 1];
305
ActivityDesigner lastDesigner = containedDesigners
[
containedDesigners.Count - 1];
345
ActivityDesigner lastDesigner = containedDesigners
[
containedDesigners.Count - 1];
365
parallelLinks[0].X = firstDesignerConnections
[
firstDesignerConnections.Count - 1].X;
367
parallelLinks[1].X = lastDesignerConnections
[
lastDesignerConnections.Count - 1].X;
392
connectingLine[0].X = designerConnections
[
connectionCount - 1].X;
393
connectingLine[0].Y = designerConnections
[
connectionCount - 1].Y;
394
connectingLine[1].X = designerConnections
[
connectionCount - 1].X;
446
ActivityDesigner lastDesigner = containedDesigners
[
containedDesigners.Count - 1];
477
ContainedDesigners
[
ContainedDesigners.Count - 1].EnsureVisible();
AuthoringOM\Design\SecondaryViewProvider.cs (3)
95
Type activityType = views
[
i].UserData[SecondaryView.UserDataKey_ActivityType] as Type;
106
Type activityType = views
[
i].UserData[SecondaryView.UserDataKey_ActivityType] as Type;
108
views
[
i].UserData[SecondaryView.UserDataKey_Designer] = null;
AuthoringOM\Design\SequentialActivityDesigner.cs (13)
196
containerEndConnection = containerConnections
[
containerConnections.Count - 1];
219
ActivityDesigner designerFrom = containedDesigners
[
i];
220
ActivityDesigner designerTo = containedDesigners
[
i + 1];
226
connectorBounds[i + 1].Location = new Point(designerFromConnections
[
designerFromPointCount - 1].X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, designerFromConnections
[
designerFromPointCount - 1].Y);
227
connectorBounds[i + 1].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), designerToConnections[0].Y - designerFromConnections
[
designerFromPointCount - 1].Y);
232
ActivityDesigner endDesigner = containedDesigners
[
containedDesigners.Count - 1];
243
connectorBounds[connectorCount - 1].Location = new Point(endDesignerConnections
[
endDesignerConnections.Count - 1].X - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0) / 2, endDesignerConnections
[
endDesignerConnections.Count - 1].Y);
244
connectorBounds[connectorCount - 1].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), containerEndConnection.Y - endDesignerConnections
[
endDesignerConnections.Count - 1].Y);
350
nextObject = ((ActivityDesigner)containedDesigners
[
currentIndex]).Activity;
366
nextObject = ((ActivityDesigner)containedDesigners
[
currentIndex - 1]).Activity;
452
heightDelta = Size.Height - (connectionPoints
[
connectionPoints.Count - 1].Y - connectionPoints[0].Y);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
231
DesignerView view = Views
[
i];
600
ActiveView = views
[
activeDesignerIndex];
AuthoringOM\Filters\CompensationHandlingFilter.cs (1)
382
ActivityExecutionContextInfo completedActivityInfo = contextManager.CompletedExecutionContexts
[
index];
AuthoringOM\Sequence.cs (1)
42
Activity childActivity = activity.EnabledActivities
[
i];
Shared\ValidationHelpers.cs (2)
173
if (requestParent.EnabledActivities
[
i] == requestChild)
175
else if (requestParent.EnabledActivities
[
i] == responseChild)
System.Workflow.Runtime (4)
DebugEngine\DebugController.cs (4)
550
Type scheduleType = types
[
i];
551
Activity rootActivity = values
[
i];
559
byte[] scheduleDefHash = keys
[
i];
560
Activity rootActivity = values
[
i];
System.WorkflowServices (2)
System\ServiceModel\Security\SerializableAuthorizationContext.cs (1)
127
SctClaimSerializer.SerializeClaimSet(authorizationContext.ClaimSets
[
i], claimDictionary, writer, claimSetSerializer, claimSerializer);
System\Workflow\Activities\ReceiveActivity.cs (1)
1530
parameterBinding.Value = inputs
[
index];
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
247
codeInitializationArray[i] = GetCodeExpressionForAttributeArgument(/* attrib = */ null, paramInfo.ArrayContents
[
i], classData);