Implemented interface member:
property
this
System.Collections.Generic.IReadOnlyList<T>.this[System.Int32]
680 references to
Crossgen2Tasks (1)
CommonFilePulledFromSdkRepo\TaskBase.cs (1)
71ExceptionToStringWithoutMessage(aggregate.InnerExceptions[i]),
dotnet-svcutil-lib (33)
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\UnconditionalPolicy.cs (4)
99if (issuances[i] is WindowsClaimSet) 142ClaimSet issuance = _issuances[i]; 221if (_issuances[i] != null) 223evaluationContext.AddClaimSet(this, _issuances[i]);
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityUtils.cs (4)
325UnconditionalPolicy policy = authorizationPolicies[i] as UnconditionalPolicy; 337UnconditionalPolicy policy = authorizationPolicies[i] as UnconditionalPolicy; 344ret.Add(authorizationPolicies[i]); 359DisposeIfNecessary(authorizationPolicies[i] as UnconditionalPolicy);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
124SecurityKey securityKey = _tokens[i].ResolveKeyIdentifierClause(keyIdentifierClause); 199if (_tokens[i].MatchesKeyIdentifierClause(keyIdentifierClause)) 200return _tokens[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeaderCollection.cs (11)
66message.Headers.Add(this[i].ToMessageHeader()); 80AddressHeader header = this[i]; 101AddressHeader header = this[i]; 151key = this[i].GetComparableForm(builder); 194if (this[i].IsReferenceProperty) 205if (!this[i].IsReferenceProperty) 214if (this[i].IsReferenceProperty) 215this[i].WriteAddressHeader(writer); 221if (!this[i].IsReferenceProperty) 222this[i].WriteAddressHeader(writer); 228this[i].WriteAddressHeader(writer);
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (1)
1290_headers.Add(address.Headers[i]);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (2)
100ClaimSet claimSet = authorizationContext.ClaimSets[i]; 224ClaimSet claimSet = authContext.ClaimSets[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityAlgorithmSuite.cs (4)
301if (keys[i].IsSupportedAlgorithm(this.DefaultSymmetricSignatureAlgorithm)) 305key = keys[i]; 308else if (keys[i].IsSupportedAlgorithm(this.DefaultAsymmetricSignatureAlgorithm)) 312key = keys[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityMessageProperty.cs (1)
227policies.Add(spec.SecurityTokenPolicies[i]);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
469if (token.SecurityKeys[i].IsSupportedAlgorithm(algorithm)) 488ClaimSet claimSet = authContext.ClaimSets[i]; 542ClaimSet claimSet = authContext.ClaimSets[i];
GenerateDocumentationAndConfigFiles (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
HttpStress (4)
Program.cs (4)
757sb.Append(eventData.PayloadNames[i]).Append(": ").Append(eventData.Payload[i]); 773Console.Write(eventData.PayloadNames[i] + ": "); 775Console.Write(eventData.Payload[i]);
InMemory.FunctionalTests (2)
EventSourceTests.cs (2)
496Payload[eventWrittenEventArgs.PayloadNames[i]] = eventWrittenEventArgs.Payload[i] as string;
Metrics (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Metrics.Legacy (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.AspNetCore.Hosting.Tests (1)
Internal\HostingEventSourceTests.cs (1)
130Assert.Equal(expected[i], payloadList[i]);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
643var propertyMetadata = metadataProperties[i];
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
580var propertyMetadata = bindingContext.ModelMetadata.Properties[i];
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (1)
31var property = context.Metadata.Properties[i];
ModelBinding\Binders\ComplexTypeModelBinder.cs (3)
111var property = modelMetadata.Properties[i]; 161var property = modelMetadata.Properties[i]; 381var propertyMetadata = bindingContext.ModelMetadata.Properties[i];
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
27var property = context.Metadata.Properties[i];
ModelBinding\ModelBindingHelper.cs (1)
417var property = modelMetadata.Properties[i];
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (1)
499Assert.Same(expectedProperties[i], properties[i]);
Microsoft.AspNetCore.Mvc.Cors (1)
CorsHttpMethodActionConstraint.cs (1)
41var supportedMethod = methods[i];
Microsoft.AspNetCore.Mvc.TagHelpers (4)
TagHelperOutputExtensions.cs (4)
60context.AllAttributes[i].Name, 291var existingAttribute = allAttributes[allAttributeIndex]; 297var previousName = allAttributes[i].Name; 312var nextName = allAttributes[i].Name;
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ModelExplorer.cs (1)
188var propertyMetadata = properties[i];
ModelStateDictionaryExtensions.cs (1)
127var property = modelMetadata.Properties[i];
ValidationHelpers.cs (1)
98var propertyMetadata = metadata.Properties[i];
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
49return base[index];
Microsoft.AspNetCore.Razor.Test (1)
TagHelpers\ReadOnlyTagHelperAttributeListTest.cs (1)
702var attribute = attributes[indexToLookup];
Microsoft.CodeAnalysis.Analyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.AnalyzerUtilities (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.BannedApiAnalyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.CodeStyle (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (2)
src\ExpressionEvaluator\CSharp\Source\ResultProvider\CSharpFormatter.Values.cs (2)
75var lowerBound = lowerBounds[i]; 76var size = sizes[i];
Microsoft.CodeAnalysis.EditorFeatures (1)
SignatureHelp\Presentation\Signature.cs (1)
71return _parameterIndex >= 0 && _parameters != null ? _parameters[_parameterIndex] : null;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
CustomTypeInfo.cs (2)
75? tupleElementNames[index] 204array[i] = bytes[start + i];
DynamicFlagsCustomTypeInfo.cs (1)
61(bytes[b] & (1 << (index % 8))) != 0;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (7)
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (2)
75? tupleElementNames[index] 204array[i] = bytes[start + i];
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
61(bytes[b] & (1 << (index % 8))) != 0;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (3)
118int divisor = _divisors[i]; 119indices[i] = _lowerBounds[i] + index / divisor; 148divisors[i - 1] = divisors[i] * sizes[i];
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
69var row = GetMemberRow(resultProvider, inspectionContext, value, defaultView[i + offset], parent, _cardinality);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (7)
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (2)
75? tupleElementNames[index] 204array[i] = bytes[start + i];
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
61(bytes[b] & (1 << (index % 8))) != 0;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (3)
118int divisor = _divisors[i]; 119indices[i] = _lowerBounds[i] + index / divisor; 148divisors[i - 1] = divisors[i] * sizes[i];
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
69var row = GetMemberRow(resultProvider, inspectionContext, value, defaultView[i + offset], parent, _cardinality);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.PublicApiAnalyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.ResxSourceGenerator (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.CodeAnalysis.Workspaces (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\NullabilityInfoContext\NullabilityInfoContext.cs (1)
651when index < args.Count && args[index].Value is byte elementB:
Microsoft.Maui.Controls (5)
Shell\Shell.cs (3)
1700 ShellItem item = items[i]; 1711 ShellSection item = items[i]; 1722 ShellContent item = items[i];
Shell\ShellExtensions.cs (1)
29 var result = SearchForPart(items[i], searchBy);
SynchronizedList.cs (1)
106 return snap[index];
Microsoft.VisualBasic.Tests (2)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (2)
437Assert.True(File.Exists(FileList[i])); 456Assert.Contains(FileList[i], TestFileList);
Microsoft.VisualStudio.LanguageServices (2)
ErrorReporting\VisualStudioErrorReportingService.ExceptionFormatting.cs (1)
40text = $"{text}{Environment.NewLine}---> (Inner Exception #{i}) {GetFormattedExceptionStack(aggregate.InnerExceptions[i])} <--- {Environment.NewLine}";
HACK_ThemeColorFixer.cs (1)
102formatMap.SwapPriorities(classificationType, formatMap.CurrentPriorityOrder[index]);
PresentationCore (11)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
716StylusPointPropertyInfo propertyInfo = propertyInfos[i]; 820StylusPointPropertyInfo propertyInfo = propertyInfos[i];
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
483StylusDevice stylusDevice = tabletDevice.StylusDevices[j];
System\Windows\Input\Stylus\Common\StylusButtonCollection.cs (2)
36if (this[x].Guid == guid) 38return this[x];
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
136SetPropertyValue(properties[i], additionalValues[j], copyBeforeWrite: false);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (2)
501int value = stylusPoint.GetPropertyValue(properties[x]); 502newStylusPoint.SetPropertyValue(properties[x], value, copyBeforeWrite: false);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1073&& stylusDevice.StylusButtons[barrelPos].StylusButtonState == StylusButtonState.Down)
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1444bfd = frames[i] as BitmapFrameDecode; 1467decoder.Frames[i] as BitmapFrameDecode
PresentationFramework (196)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
602end = textView.TextSegments[textView.TextSegments.Count - 1].End.CreatePointer(LogicalDirection.Backward);
MS\Internal\AppModel\IconHelper.cs (4)
458int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel; 466int score = MatchImage(frames[i], size, currentIconBitDepth); 484return frames[bestIndex];
MS\Internal\Data\CollectionViewGroupInternal.cs (11)
135CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 139return Items[k]; 253CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 269if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 301if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 308CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 323CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 341return Items[k]; 482CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 786CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 790_current = _group.Items[_index];
MS\Internal\Data\CollectionViewGroupRoot.cs (5)
524group.LastIndex = (group.Items[index] == subgroup ? index : 0); 534subgroup = group.Items[index] as CollectionViewGroupInternal; 616subgroup = group.Items[index] as CollectionViewGroupInternal; 729subgroup = group.Items[index] as CollectionViewGroupInternal; 775CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal;
MS\Internal\Data\XmlDataCollection.cs (3)
77if (this[i] != nodes[i]) 95if (this[i] != nodes[i]) 100if (this[i] == nodes[j])
MS\Internal\Documents\HostedElements.cs (6)
86Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 87((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 97Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 98while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 116if (_textSegments[_currentTextSegment].Start is TextPointer) 118_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);
MS\Internal\Documents\MultiPageTextView.cs (2)
158TextSegment textSegment = textSegments[segmentIndex]; 729pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView;
MS\Internal\Documents\TextDocumentView.cs (109)
149TextSegment textSegment = textSegments[segmentIndex]; 166Rect columnBox = columns[columnIndex].LayoutBox; 179Geometry columnGeometry = GetTightBoundingGeometryFromTextPositionsHelper(columns[columnIndex].Paragraphs, startPositionInThisSegment, endPositionInThisSegment, 0.0, visibleRect); 526contains = (position.TextContainer.End.CompareTo(segments[segments.Count - 1].End) == 0); 710paragraph = paragraphs[paragraphIndex]; 717paragraph = floatingElements[paragraphIndex]; 793ParagraphResult rowResult = rowParagraphs[index]; 912ColumnResult column = columns[columnIndex]; 969paragraph = floatingElements[paragraphIndex]; 977paragraph = paragraphs[paragraphIndex]; 1075ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1103paragraph = floatingElements[paragraphIndex]; 1109paragraph = paragraphs[paragraphIndex]; 1235ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1258if (endPosition.CompareTo(paragraphs[i].StartPosition) <= 0) 1265if (startPosition.CompareTo(paragraphs[i].EndPosition) > 0) 1272Rect layoutBox = GetLayoutBox(paragraphs[i]); 1288if (paragraphs[i] is ContainerParagraphResult) 1290paragraphGeometry = ((ContainerParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect); 1292else if (paragraphs[i] is TextParagraphResult) 1294paragraphGeometry = ((TextParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, paragraphTopSpace, visibleRect); 1296else if (paragraphs[i] is TableParagraphResult) 1298paragraphGeometry = ((TableParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition, visibleRect); 1300else if (paragraphs[i] is UIElementParagraphResult) 1302paragraphGeometry = ((UIElementParagraphResult)paragraphs[i]).GetTightBoundingGeometryFromTextPositions(startPosition, endPosition); 1354if (!(startPosition.CompareTo(floatingElements[i].StartPosition) > 0 && 1355endPosition.CompareTo(floatingElements[i].EndPosition) < 0)) 1362Rect layoutBox = GetLayoutBox(floatingElements[i]); 1378Invariant.Assert(floatingElements[i] is FloaterParagraphResult || 1379floatingElements[i] is FigureParagraphResult); 1381if (floatingElements[i] is FloaterParagraphResult floaterParagraphResult) 1388else if (floatingElements[i] is FigureParagraphResult figureParagraphResult) // Transform visible rect to subpage coordinates, and transform geometry from subpage coordinates 1435paragraph = floatingElements[paragraphIndex]; 1441paragraph = paragraphs[paragraphIndex]; 1530ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1557paragraph = floatingElements[paragraphIndex]; 1563paragraph = paragraphs[paragraphIndex]; 1655ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1680paragraph = floatingElements[paragraphIndex]; 1686paragraph = paragraphs[paragraphIndex]; 1774ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1809columnBox = columns[columnIndex].LayoutBox; 1810if (!(columns[columnIndex].HasTextContent)) 1856Rect nextColumnBox = columns[columnIndex + 1].LayoutBox; 1861if (point.X > columnBox.Right + gap / 2 && columns[columnIndex + 1].HasTextContent) 1886Rect nextColumnBox = columns[columnIndex + 1].LayoutBox; 1907columnBox = columns[lastColumnWithContent].LayoutBox; 1941paragraphBox = paragraphs[paragraphIndex].LayoutBox; 1942if (!(paragraphs[paragraphIndex].HasTextContent)) 1987Rect nextParagraphBox = paragraphs[paragraphIndex + 1].LayoutBox; 1992if (point.Y > paragraphBox.Bottom + gap / 2 && paragraphs[paragraphIndex + 1].HasTextContent) 2017Rect nextParagraphBox = paragraphs[paragraphIndex + 1].LayoutBox; 2038paragraphBox = paragraphs[lastParagraphWithContent].LayoutBox; 2061Rect paragraphBox = floatingElements[paragraphIndex].LayoutBox; 2105if (columns[columnIndex].Contains(position, true)) 2119else if (position.CompareTo(columns[columns.Count - 1].EndPosition) == 0) 2179if (paragraphs[paragraphIndex].Contains(position, true)) 2191if (position.CompareTo(paragraphs[paragraphIndex].StartPosition) < 0) 2215else if (position.CompareTo(paragraphs[paragraphs.Count - 1].EndPosition) == 0) 2247paragraph = floatingElements[paragraphIndex]; 2253paragraph = paragraphs[paragraphIndex]; 2308lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 2376ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 2422if (paragraphs[paragraphIndex] is ContainerParagraphResult) 2425Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2426ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs[paragraphIndex]).Paragraphs; 2434else if (paragraphs[paragraphIndex] is TextParagraphResult) 2442ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2444if (!((TextParagraphResult)paragraphs[paragraphIndex]).HasTextContent) 2455Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2485positionOut = lines[lineIndex].GetTextPositionFromDistance(suggestedX); 2489positionOut = lines[lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward); 2517positionOut = lines[lines.Count - 1].GetTextPositionFromDistance(suggestedX); 2521positionOut = lines[lines.Count - 1].StartPosition.CreatePointer(LogicalDirection.Forward); 2527else if (paragraphs[paragraphIndex] is TableParagraphResult tableResult) // c) TableParagraph - process nested paragraphs. 2531Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2567else if (paragraphs[paragraphIndex] is SubpageParagraphResult) 2570SubpageParagraphResult subpageParagraphResult = (SubpageParagraphResult)paragraphs[paragraphIndex]; 2571positionOut = GetPositionAtNextLine(((SubpageParagraphResult)paragraphs[paragraphIndex]).Columns, subpageParagraphResult.FloatingElements, position, suggestedX - subpageParagraphResult.ContentOffset.X, ref count, out newSuggestedX, out positionFound); 2633paragraph = floatingElements[paragraphIndex]; 2691positionOut = GetPositionAtNextLine(columns[columnIndex].Paragraphs, position, suggestedX, ref count, out positionFound); 2709suggestedX = (suggestedX - columns[oldColumnIndex].LayoutBox.Left) + columns[columnIndex].LayoutBox.Left; 2762if (paragraphs[paragraphIndex] is ContainerParagraphResult) 2766Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2767ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs[paragraphIndex]).Paragraphs; 2777else if (paragraphs[paragraphIndex] is TextParagraphResult) 2783positionOut = GetPositionAtNextLineFromSiblingTextPara((TextParagraphResult)paragraphs[paragraphIndex], suggestedX, ref count); 2790else if (paragraphs[paragraphIndex] is TableParagraphResult tableResult) 2792Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2826else if (paragraphs[paragraphIndex] is SubpageParagraphResult) 2830Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2831SubpageParagraphResult subpageParagraphResult = (SubpageParagraphResult)paragraphs[paragraphIndex]; 2841else if (paragraphs[paragraphIndex] is UIElementParagraphResult) 2855Rect paragraphBox = paragraphs[paragraphIndex].LayoutBox; 2856BlockUIContainer blockUIContainer = paragraphs[paragraphIndex].Element as BlockUIContainer; 2964positionOut = lines[lineIndex].GetTextPositionFromDistance(suggestedX); 2968positionOut = lines[lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward); 2991positionOut = lines[lines.Count - 1].GetTextPositionFromDistance(suggestedX); 2995positionOut = lines[lines.Count - 1].StartPosition.CreatePointer(LogicalDirection.Forward); 3029double currentSuggestedX = columnSuggestedX + columns[columnIndex].LayoutBox.Left; 3030ReadOnlyCollection<ParagraphResult> paragraphs = columns[columnIndex].Paragraphs; 3093ParagraphResult paragraph = paragraphs[index]; 3144ParagraphResult paragraph = floatingElements[index]; 3197ColumnResult columnResult = columns[columnIndexStart]; 3203ColumnResult columnResult = columns[columnIndexStart]; 3212ReadOnlyCollection<ParagraphResult> paragraphs = columns[columnIndexStart].Paragraphs; 3258textContentRange.Merge(columns[index].TextContentRange);
MS\Internal\Documents\TextParagraphView.cs (23)
173positionOut = lines[lineIndex].GetTextPositionFromDistance(suggestedX); 177positionOut = lines[lineIndex].StartPosition.CreatePointer(LogicalDirection.Forward); 198int dcp = Lines[lineIndex].StartPositionCP; 217int dcp = Lines[lineIndex].StartPositionCP; 240int dcp = Lines[lineIndex].StartPositionCP; 272return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 337orientedPosition = lines[lineIndex].GetTextPositionFromDistance(point.X); 364dcp > lines[lines.Count - 1].EndPositionCP) 384if (dcp < lines[lineIndex].StartPositionCP) 388else if (dcp > lines[lineIndex].EndPositionCP) 394if (dcp == lines[lineIndex].EndPositionCP) 401else if (dcp == lines[lineIndex].StartPositionCP) 412Debug.Assert(dcp >= lines[lineIndex].StartPositionCP); 413Debug.Assert(dcp < lines[lineIndex].EndPositionCP || 414( dcp == lines[lineIndex].EndPositionCP && 574Rect lineBox = lines[lineIndex].LayoutBox; 597Rect nextLineBox = lines[lineIndex + 1].LayoutBox; 632siblingLineBox = lines[lineIndex - 1].LayoutBox; 650siblingLineBox = lines[lineIndex + 1].LayoutBox; 700Rect lineBox = lines[lineIndex].LayoutBox; 708siblingLineBox = lines[lineIndex - 1].LayoutBox; 737siblingLineBox = lines[lineIndex + 1].LayoutBox;
MS\Internal\LayoutDump.cs (5)
657LineResult line = lines[index]; 695ParagraphResult paragraph = paragraphs[index]; 841ReadOnlyCollection<ParagraphResult> cellParagraphs = ((RowParagraphResult)rowParagraphs[i]).CellParagraphs; 845DumpTableCell(writer, cellParagraphs[j], cellVisual, visual); 885ColumnResult column = columns[index];
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
980if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 981((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0)
System\Windows\Controls\DataGrid.cs (1)
5588(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
844CollectionViewGroup group = Items[i] as CollectionViewGroup;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
400if (GetIsMasterPage(_pageViews[index])) 402masterPageView = _pageViews[index]; 438_pageViews[index].DocumentPaginator = null; 617_pageViews[index].DocumentPaginator = _document?.DocumentPaginator; 836_pageViews[index].DocumentPaginator = _document?.DocumentPaginator; 870if (GetIsMasterPage(pageViews[index])) 1255_pageViews[index].PageNumber += offset;
System\Windows\Controls\SinglePageViewer.cs (6)
689pageViews[index].SuspendLayout(); 837pageRect = new Rect(pageViews[index].RenderSize); 838pageRect = pageViews[index].TransformToAncestor(this).TransformBounds(pageRect); 1012pageViews[index].DuplicateVisual(); 1094pageViews[index].ResumeLayout(); 1133pageViews[index].SetPageZoom(Zoom / 100.0);
System\Windows\Controls\TextAdaptor.cs (2)
104if (!textView.Contains(end) && end.CompareTo(textSegments[textSegments.Count-1].End) > 0) 106end = textSegments[textSegments.Count - 1].End.CreatePointer();
System\Windows\Controls\TextRangeAdaptor.cs (5)
695if (_end.CompareTo(textSegments[textSegments.Count - 1].End) != 0) 697_end = textSegments[textSegments.Count - 1].End.CreatePointer(); 922while (position.CompareTo(textSegments[textSegments.Count - 1].End) != 0) 926position.MoveToPosition(textSegments[textSegments.Count - 1].End); 1149position.MoveToPosition(textSegments[textSegments.Count - 1].End);
System\Windows\Data\BindingGroup.cs (1)
960ValidationError error = errors[i];
System\Windows\Input\KeyboardNavigation.cs (2)
729if (!DoubleUtil.AreClose(oldRects[i].Size, _contentRects[i].Size))
PresentationUI (4)
MS\Internal\Documents\RightsManagementProvider.cs (3)
427defaultUser = users[index]; 458string defaultUserName = users[index].Name; 459int defaultAccountType = (int)users[index].AuthenticationType;
MS\Internal\Documents\RMPublishingDialog.cs (1)
214return _templates[comboBoxTemplates.SelectedIndex].Template;
Roslyn.Diagnostics.Analyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\BasicFieldNameLookup.cs (1)
37fieldNames[i] = columnNames[i];
System.Linq.Expressions (87)
System\Dynamic\DynamicMetaObjectBinder.cs (1)
145mos[i - 1] = DynamicMetaObject.Create(args[i], parameters[i]);
System\Dynamic\Utils\CollectionExtensions.cs (2)
114if (!cmp.Equals(first[i], second[i]))
System\Dynamic\Utils\ExpressionUtils.cs (3)
111Expression arg = arguments[i]; 115if (newArgs == null && arg != arguments[i]) 120newArgs[j] = arguments[j];
System\Linq\Expressions\BlockExpression.cs (2)
1015Expression lastExpression = expressionList[expressionCount - 1]; 1074ParameterExpression v = varList[i];
System\Linq\Expressions\Compiler\DelegateHelpers.cs (1)
35curTypeInfo = NextTypeInfo(types[i].Type, curTypeInfo);
System\Linq\Expressions\Compiler\HoistedLocals.cs (1)
72indexes.Add(vars[i], i);
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (6)
913EmitExpression(expressions[i]); 921Expression x = expressions[i]; 1046EmitBinding(bindings[i], objectType); 1091EmitMethodCall(initializers[i].AddMethod, initializers[i], objectType); 1094if (initializers[i].AddMethod.ReturnType != typeof(void))
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (7)
215DefineSwitchCaseLabel(node.Cases[i], out labels[i], out isGoto[i]); 216foreach (Expression test in node.Cases[i].TestValues) 399DefineSwitchCaseLabel(node.Cases[i], out labels[i], out isGoto[i]); 401foreach (ConstantExpression test in node.Cases[i].TestValues) 501EmitExpressionAsType(node.Cases[i].Body, node.Type, flags); 673foreach (ConstantExpression t in node.Cases[i].TestValues) 684cases.UncheckedAdd(Expression.SwitchCase(node.Cases[i].Body, new TrueReadOnlyCollection<Expression>(Utils.Constant(i))));
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (5)
71BindingRewriter br = BindingRewriter.Create(_bindings[i], spiller, stack); 144ElementInit init = _inits[i]; 168newInits[i] = _inits[i]; 172newInits[i] = new ElementInit(_inits[i].AddMethod, new TrueReadOnlyCollection<Expression>(cr[0, -1]!)); 194Result add = cr.Finish(new InstanceMethodCallExpressionN(_inits[i].AddMethod, memberTemp, cr[0, -1]!));
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
153Add(expressions[i]);
System\Linq\Expressions\Compiler\StackSpiller.cs (9)
640ElementInit init = inits[i]; 661newInits[i] = inits[i]; 665newInits[i] = new ElementInit(inits[i].AddMethod, new TrueReadOnlyCollection<Expression>(cr[0, -1]!)); 687Result add = cr.Finish(new InstanceMethodCallExpressionN(inits[i].AddMethod, refTempNew, cr[0, -1]!)); 718MemberBinding binding = bindings[i]; 889SwitchCase @case = cases[i]; 897Result test = RewriteExpression(testValues[j], stack); 968CatchBlock handler = handlers[i]; 1049clone[j] = original[j];
System\Linq\Expressions\DynamicExpression.cs (1)
1248Expression arg = arguments[i];
System\Linq\Expressions\ElementInit.cs (1)
37public Expression GetArgument(int index) => Arguments[index];
System\Linq\Expressions\ExpressionStringBuilder.cs (5)
332VisitElementInit(node.Initializers[i]); 429MemberBinding b = node.Bindings[i]; 458VisitElementInit(binding.Initializers[i]); 474VisitMemberBinding(binding.Bindings[i]); 572string name = members[i].Name;
System\Linq\Expressions\ExpressionVisitor.cs (9)
49Expression node = Visit(nodes[i]); 55else if (!object.ReferenceEquals(node, nodes[i])) 60newNodes[j] = nodes[j]; 98T node = elementVisitor(nodes[i]); 103else if (!object.ReferenceEquals(node, nodes[i])) 108newNodes[j] = nodes[j]; 159T? node = Visit(nodes[i]) as T; 169else if (!object.ReferenceEquals(node, nodes[i])) 174newNodes[j] = nodes[j];
System\Linq\Expressions\IndexExpression.cs (3)
500Expression arg = arguments[i]; 515if (newArgs == null && arg != arguments[i]) 520newArgs[j] = arguments[j];
System\Linq\Expressions\Interpreter\LightCompiler.cs (6)
523Expression lastExpression = node.Expressions[node.Expressions.Count - 1]; 557CompileAsVoid(node.Expressions[i]); 1650SwitchCase switchCase = node.Cases[i]; 1694SwitchCase switchCase = node.Cases[i]; 1904Expression e = block.Expressions[i]; 2700ElementInit initializer = initializers[i];
System\Linq\Expressions\Interpreter\TypeOperations.cs (2)
583IStrongBox? box = GetBox(node.Variables[i]); 587vars.Add(node.Variables[i]);
System\Linq\Expressions\LambdaExpression.cs (2)
865ParameterExpression param = parameterList[i]; 947ParameterExpression pex = parameters[i];
System\Linq\Expressions\ListInitExpression.cs (1)
173initList[i] = ElementInit(addMethod, initializerlist[i]);
System\Linq\Expressions\MemberInitExpression.cs (2)
78block[i + 1] = ReduceMemberBinding(objVar, bindings[i]); 94ElementInit element = initializers[i];
System\Linq\Expressions\MemberListBinding.cs (1)
129ElementInit element = initializers[i];
System\Linq\Expressions\MemberMemberBinding.cs (1)
157MemberBinding b = bindings[i];
System\Linq\Expressions\MethodCallExpression.cs (1)
1428Expression e = indexList[i];
System\Linq\Expressions\NewArrayExpression.cs (3)
150Expression expr = initializerList[i]; 164newList[j] = initializerList[j]; 230Expression expr = boundsList[i];
System\Linq\Expressions\NewExpression.cs (6)
237Expression arg = arguments[i]; 239MemberInfo member = members[i]; 267if (newArguments == null && arg != arguments[i]) 272newArguments[j] = arguments[j]; 280if (newMembers == null && member != members[i]) 285newMembers[j] = members[j];
System\Linq\Expressions\RuntimeVariablesExpression.cs (1)
96ContractUtils.RequiresNotNull(vars[i], nameof(variables), i);
System\Linq\Expressions\SwitchExpression.cs (2)
227Type rightOperandType = c.TestValues[i].Type; 261if (!TypeUtils.AreEquivalent(firstTestValue.Type, c.TestValues[i].Type))
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (2)
138IStrongBox? box = GetBox(node.Variables[i]); 142vars.Add(node.Variables[i]);
System.Linq.Parallel (1)
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (1)
114OperationCanceledException? oce = flattenedAE.InnerExceptions[i] as OperationCanceledException;
System.Linq.Queryable (5)
System\Linq\EnumerableRewriter.cs (5)
71Expression arg = argList[i]; 74if (newArgs == null && arg != argList[i]) 79newArgs.Add(argList[j]); 112exprs.Add(FixupQuotedExpression(elementType, na.Expressions[i])); 345Expression arg = args[i];
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (1)
315Exception currentInnerException = currentInnerExceptions[i];
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (3)
112var fieldstr = payloadName[i].ToString(); 119switch (payload[i]) 137if (payload[i] is object o)
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (1)
657when index < args.Count && args[index].Value is byte elementB:
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
844DataMember dataMember = classDataContract.DataMembers[i]; 1089string stringValue = enumDataContract.DataMembers[i].Name; 1090long longValue = enumDataContract.DataMembers[i].Order; // Members[] and Values[] go hand in hand.
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
459ClaimSet claimSet = authorizationContext.ClaimSets[i];
System\ServiceModel\Security\SecurityUtilsEx.cs (1)
121ClaimSet claimSet = authContext.ClaimSets[i];
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (4)
111int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel; 119int score = MatchImage(frames[i], size, currentIconBitDepth); 137return frames[bestIndex];
System.Xaml (5)
System\Xaml\Schema\XamlDirective.cs (3)
70result ^= ns[i].GetHashCode(); 109if (ns1[i] != ns2[i])
System\Xaml\XamlSchemaContext.cs (2)
1280_referenceAssemblyNames[i] = new AssemblyName(_referenceAssemblies[i].FullName); 1285return _referenceAssemblies[i];
Test.Utilities (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))
Text.Analyzers (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (19)
93var span1 = left[index1]; 94var span2 = right[index2]; 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 161var span1 = left[index1]; 162var span2 = right[index2]; 221var span1 = left[index1]; 222var span2 = right[index2]; 283var span1 = left[index1]; 284var span2 = right[index2]; 333var span1 = left[index1++]; 365if (left[i] != right[i]) 398var span1 = this[index1]; 399var span2 = set[index2]; 434if (this[index].OverlapsWith(span)) 458var span1 = this[index1]; 459var span2 = set[index2]; 488if (this[index].IntersectsWith(span))