285 implementations of
aspire (1)
src\Shared\CircularBuffer.cs (1)
178public T this[int index]
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
178public T this[int index]
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
19public IResource this[int index] { get => _resources[index]; set => _resources[index] = value; }
src\Shared\CircularBuffer.cs (1)
178public T this[int index]
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
71public T this[int index]
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
130T IList<T>.this[int index]
Shared\Options\ListValue.cs (1)
81public TValue this[int index]
GenerateDocumentationAndConfigFiles (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Metrics (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Metrics.Legacy (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.AspNetCore.Http.Abstractions (10)
EndpointFilterInvocationContextOfT.Generated.cs (10)
20public object? this[int index] 143public object? this[int index] 273public object? this[int index] 410public object? this[int index] 554public object? this[int index] 705public object? this[int index] 863public object? this[int index] 1028public object? this[int index] 1200public object? this[int index] 1379public object? this[int index]
Microsoft.AspNetCore.HttpOverrides (2)
DualIPNetworkList.cs (2)
38IPNetwork IList<IPNetwork>.this[int index] 48AspNetIPNetwork IList<AspNetIPNetwork>.this[int index]
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CopyOnWriteList.cs (1)
37public T this[int index]
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
CollectionModelBinderIntegrationTest.cs (2)
1292string IList<string>.this[int index] 1432T IList<T>.this[int index]
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
45public new TagHelperAttribute this[int index]
Microsoft.CodeAnalysis (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Collections.Package (7)
Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
Segmented\SegmentedList`1.cs (1)
197public T this[int index]
Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Extensions.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.InteractiveHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
17public T this[int index]
Microsoft.CodeAnalysis.Threading.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\GeneratedEmbeddings.cs (1)
49public TEmbedding this[int index]
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
196public IConfigurationSource this[int index]
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
28public ServiceDescriptor this[int index]
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
59public ServiceDescriptor this[int index]
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
122string? IList<string?>.this[int index]
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
14 public FontDescriptor this[int index]
Hosting\Internal\MauiServiceCollection.cs (1)
18 public ServiceDescriptor this[int index]
Primitives\LockableObservableListWrapper.cs (1)
36 public string this[int index]
Microsoft.Maui.Controls (24)
DefinitionCollection.cs (1)
83 public T this[int index]
Element\Element.cs (1)
1084 Element IList<Element>.this[int index] { get => _inner[index]; set => throw new NotSupportedException(); }
Interactivity\TriggerBase.cs (1)
213 public T this[int index]
Items\SelectionList.cs (1)
30 public object this[int index] { get => _internal[index]; set => _internal[index] = value; }
Layout\Layout.cs (2)
57 public IView thisthis[int index]
LegacyLayouts\LayoutOfT.cs (1)
13 public IView this[int index] { get => _children[index]; set => _children[index] = (T)value; }
Menu\MenuBar.cs (1)
23 public IMenuBarItem this[int index]
Menu\MenuBarItem.cs (1)
47 public IMenuElement this[int index]
Menu\MenuFlyout.cs (1)
23 public IMenuElement this[int index]
Menu\MenuFlyoutSubItem.cs (1)
15 public IMenuElement this[int index]
NavigationStepRequest.cs (1)
32 public NavigationStepRequest this[int index]
ObservableWrapper.cs (1)
141 public TRestrict this[int index]
OrderedDictionary.cs (2)
260 KeyValuePair<TKey, TValue> IList<KeyValuePair<TKey, TValue>>.this[int index] 440 public TValue this[int index]
ReadOnlyCastingList.cs (1)
80 public T this[int index]
Shell\MenuItemCollection.cs (1)
26 public MenuItem this[int index]
Shell\ShellElementCollection.cs (2)
102 public BaseShellItem this[int index] 303 TBaseShellItem IList<TBaseShellItem>.this[int index]
SwipeView\SwipeItems.cs (1)
58 public ISwipeItem this[int index]
SynchronizedList.cs (1)
100 public T this[int index]
TableView\TableSection.cs (1)
110 public T this[int index]
VisualStateManager.cs (2)
320 public VisualStateGroup this[int index] 792 public T this[int index]
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
21 public Location this[int index]
HandlerImpl\Polyline.Impl.cs (1)
19 public Location this[int index]
PresentationCore (32)
MS\Internal\PartialArray.cs (1)
84public T this[int index]
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
75public double this[int index]
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
63public Point this[int index]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
78public abstract char this[int index]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
56public T this[int index]
System\Windows\FreezableCollection.cs (1)
298public T this[int index]
System\Windows\Generated\TextDecorationCollection.cs (1)
215public TextDecoration this[int index]
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
214public Timeline this[int index]
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
217public BitmapEffect this[int index]
System\Windows\Media\FamilyMapCollection.cs (1)
179public FontFamilyMap this[int index]
System\Windows\Media\FamilyTypefaceCollection.cs (1)
166public FamilyTypeface this[int index]
System\Windows\Media\Generated\DoubleCollection.cs (1)
189public double this[int index]
System\Windows\Media\Generated\DrawingCollection.cs (1)
236public Drawing this[int index]
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
224public GeneralTransform this[int index]
System\Windows\Media\Generated\GeometryCollection.cs (1)
236public Geometry this[int index]
System\Windows\Media\Generated\GradientStopCollection.cs (1)
224public GradientStop this[int index]
System\Windows\Media\Generated\Int32Collection.cs (1)
189public int this[int index]
System\Windows\Media\Generated\PathFigureCollection.cs (1)
225public PathFigure this[int index]
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
224public PathSegment this[int index]
System\Windows\Media\Generated\PointCollection.cs (1)
189public Point this[int index]
System\Windows\Media\Generated\TextEffectCollection.cs (1)
224public TextEffect this[int index]
System\Windows\Media\Generated\TransformCollection.cs (1)
236public Transform this[int index]
System\Windows\Media\Generated\VectorCollection.cs (1)
189public Vector this[int index]
System\Windows\Media\GlyphRun.cs (2)
2101public bool this[int index] 2203public ushort this[int index]
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
222public GeneralTransform3D this[int index]
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
234public Material this[int index]
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
234public Model3D this[int index]
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
187public Point3D this[int index]
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
234public Transform3D this[int index]
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
187public Vector3D this[int index]
System\Windows\Media3D\Visual3DCollection.cs (1)
236public Visual3D this[int index]
PresentationFramework (12)
MS\Internal\Data\RBTree.cs (1)
507public T this[int index]
MS\Internal\Documents\ContentElementCollection.cs (1)
527public abstract TItem this[int index]
MS\Internal\ListOfObject.cs (1)
38object IList<object>.this[int index]
System\Windows\Controls\ColumnDefinition.cs (1)
448public ColumnDefinition this[int index] // T IList<T>.this[int index] {get; set;}
System\Windows\Controls\CustomDictionarySources.cs (1)
116Uri IList<Uri>.this[int index]
System\Windows\Controls\RowDefinition.cs (1)
443public RowDefinition this[int index] // T IList<T>.this[int index] {get; set;}
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
377public DataGridCellInfo this[int index]
System\Windows\Documents\TableCellCollection.cs (1)
435public TableCell this[int index]
System\Windows\Documents\TableColumnCollection.cs (1)
443public TableColumn this[int index]
System\Windows\Documents\TableRowCollection.cs (1)
435public TableRow this[int index]
System\Windows\Documents\TableRowGroupCollection.cs (1)
434public TableRowGroup this[int index]
System\Windows\TriggerActionCollection.cs (1)
158public TriggerAction this[int index]
Roslyn.Diagnostics.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (3)
344KeyValuePair<TKey, TValue> IList<KeyValuePair<TKey, TValue>>.this[int index] 1569TKey IList<TKey>.this[int index] 1715TValue IList<TValue>.this[int index]
System\Collections\Generic\SortedList.cs (2)
1073public TKey this[int index] 1187public TValue this[int index]
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
138public T this[int index]
System\Collections\Immutable\ImmutableArray_1.cs (1)
24T IList<T>.this[int index]
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
124public T this[int index]
System\Collections\Immutable\ImmutableList_1.cs (1)
940T IList<T>.this[int index]
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
752T IList<T>.this[int index]
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
35public DbBatchCommand this[int index]
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\TagList.netcore.cs (1)
63public KeyValuePair<string, object?> this[int index]
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net11.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
360public T this[int index] { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
710public string this[int index]
System.Linq (4)
System\Linq\Grouping.cs (1)
420TElement IList<TElement>.this[int index]
System\Linq\Range.SpeedOpt.cs (1)
88public T this[int index]
System\Linq\Repeat.SpeedOpt.cs (1)
95public TResult this[int index]
System\Linq\SkipTake.SpeedOpt.cs (1)
194public TSource this[int index]
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
458TElement IList<TElement>.this[int index]
System\Linq\ToLookupAsync.cs (1)
253public IGrouping<TKey, TElement> this[int index]
System.Linq.Expressions (3)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
52public T this[int index]
System\Linq\Expressions\BlockExpression.cs (1)
722public Expression this[int index]
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
165public T this[int index]
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
102public T this[int index]
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
176T IList<T>.this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
143public T this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
36public T this[int index]
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
60T IList<T>.this[int index]
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
26public abstract T this[int index] { get; set; }
System\Xml\Xsl\QIL\QilNode.cs (1)
119public virtual QilNode this[int index]
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
319public T this[int index] 723XPathItem IList<XPathItem>.this[int index]
System.ServiceModel.Primitives (2)
System\ServiceModel\SynchronizedCollection.cs (1)
67public T this[int index]
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
127T IList<T>.this[int index]
System.Text.Json (2)
System\Text\Json\Nodes\JsonObject.IList.cs (1)
86KeyValuePair<string, JsonNode?> IList<KeyValuePair<string, JsonNode?>>.this[int index]
System\Text\Json\Serialization\ConfigurationList.cs (1)
29public TItem this[int index]
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
133Capture IList<Capture>.this[int index]
System\Text\RegularExpressions\GroupCollection.cs (1)
147Group IList<Group>.this[int index]
System\Text\RegularExpressions\MatchCollection.cs (1)
143Match IList<Match>.this[int index]
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
20T IList<T>.this[int index]
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
22public T this[int index]
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
577int IList<int>.this[int index] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
1427T IList<T>.this[int index]
Test.Utilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
Text.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
102T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
38public T this[int index]
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
49public T this[int index]
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
132T IList<T>.this[int index]
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
197public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
46public T this[int index]
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
65public T this[int index]
204 writes to
Aspire.Hosting (1)
Ats\CollectionExports.cs (1)
136list[index] = value;
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
WebRootComponentParametersTest.cs (1)
180parameterValues[i] = jsonElement;
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitHostTest.cs (1)
895parameterValues[i] = jsonElement;
Circuits\RemoteRendererTest.cs (1)
696parameterValues[i] = jsonElement;
Microsoft.AspNetCore.Mvc.Cors (1)
CorsApplicationModelProvider.cs (1)
102actionConstraints[j] = new CorsHttpMethodActionConstraint(httpConstraint);
Microsoft.AspNetCore.OpenApi (3)
Services\Schemas\OpenApiSchemaService.cs (3)
287schema.AnyOf[i] = ResolveReferenceForSchema(document, schema.AnyOf[i], rootSchemaId, schemaId); 313schema.AllOf[i] = ResolveReferenceForSchema(document, schema.AllOf[i], rootSchemaId); 321schema.OneOf[i] = ResolveReferenceForSchema(document, schema.OneOf[i], rootSchemaId);
Microsoft.AspNetCore.Razor (2)
TagHelpers\TagHelperAttributeList.cs (2)
55Items[index] = value; 103Items[i] = attribute;
Microsoft.AspNetCore.Rewrite (1)
ApacheModRewrite\Tokenizer.cs (1)
109tokens[i] = Regex.Unescape(trimmed);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
172list[i] = node.WithTrailingTrivia(trailingTrivia.Concat(newLineTrivia)); 181list[i] = TrimLeadingNewLines(node);
Microsoft.CodeAnalysis.CSharp.Features (1)
Organizing\Organizers\MemberDeclarationsOrganizer.cs (1)
89finalList[indexInFinalList] = originalFirstNode;
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
172list[i] = node.WithTrailingTrivia(trailingTrivia.Concat(newLineTrivia)); 181list[i] = TrimLeadingNewLines(node);
Microsoft.CodeAnalysis.Features (1)
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (1)
234lines[i] = lines[i] + newLine;
Microsoft.CodeAnalysis.UnitTests (9)
Collections\List\IList.Generic.Tests.cs (9)
150Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[int.MinValue] = validAdd); 163Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[count] = validAdd); 164Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[count + 1] = validAdd); 177Assert.Throws<NotSupportedException>(() => list[count / 2] = CreateT(321432)); 224list[lastIndex] = value; 239list[lastIndex] = default(T)!; 244Assert.Throws<ArgumentNullException>(() => list[lastIndex] = default(T)!); 274Assert.Throws<ArgumentException>(() => list[count / 2] = value); 346list[count / 2] = value;
Microsoft.Data.Analysis (79)
DateTimeComputation.cs (2)
50column.Buffers[b] = mutableBuffer; 122column.Buffers[b] = mutableBuffer;
PrimitiveColumnContainer.cs (2)
487ret.Buffers[index] = mutableBuffer; 490ret.NullBitMapBuffers[index] = mutableNullBuffer;
PrimitiveColumnContainerHelpers.cs (1)
19bufferList[index] = mutableBuffer;
PrimitiveDataFrameColumnComputations.cs (72)
257column.Buffers[b] = mutableBuffer; 290column.Buffers[b] = mutableBuffer; 354column.Buffers[b] = mutableBuffer; 418column.Buffers[b] = mutableBuffer; 482column.Buffers[b] = mutableBuffer; 726column.Buffers[b] = mutableBuffer; 744column.Buffers[b] = mutableBuffer; 777column.Buffers[b] = mutableBuffer; 841column.Buffers[b] = mutableBuffer; 905column.Buffers[b] = mutableBuffer; 969column.Buffers[b] = mutableBuffer; 1213column.Buffers[b] = mutableBuffer; 1231column.Buffers[b] = mutableBuffer; 1264column.Buffers[b] = mutableBuffer; 1328column.Buffers[b] = mutableBuffer; 1392column.Buffers[b] = mutableBuffer; 1456column.Buffers[b] = mutableBuffer; 1700column.Buffers[b] = mutableBuffer; 1718column.Buffers[b] = mutableBuffer; 1751column.Buffers[b] = mutableBuffer; 1815column.Buffers[b] = mutableBuffer; 1879column.Buffers[b] = mutableBuffer; 1943column.Buffers[b] = mutableBuffer; 2187column.Buffers[b] = mutableBuffer; 2205column.Buffers[b] = mutableBuffer; 2238column.Buffers[b] = mutableBuffer; 2302column.Buffers[b] = mutableBuffer; 2366column.Buffers[b] = mutableBuffer; 2430column.Buffers[b] = mutableBuffer; 2674column.Buffers[b] = mutableBuffer; 2692column.Buffers[b] = mutableBuffer; 2725column.Buffers[b] = mutableBuffer; 2789column.Buffers[b] = mutableBuffer; 2853column.Buffers[b] = mutableBuffer; 2917column.Buffers[b] = mutableBuffer; 3161column.Buffers[b] = mutableBuffer; 3179column.Buffers[b] = mutableBuffer; 3212column.Buffers[b] = mutableBuffer; 3276column.Buffers[b] = mutableBuffer; 3340column.Buffers[b] = mutableBuffer; 3404column.Buffers[b] = mutableBuffer; 3648column.Buffers[b] = mutableBuffer; 3666column.Buffers[b] = mutableBuffer; 3699column.Buffers[b] = mutableBuffer; 3763column.Buffers[b] = mutableBuffer; 3827column.Buffers[b] = mutableBuffer; 3891column.Buffers[b] = mutableBuffer; 4135column.Buffers[b] = mutableBuffer; 4153column.Buffers[b] = mutableBuffer; 4186column.Buffers[b] = mutableBuffer; 4250column.Buffers[b] = mutableBuffer; 4314column.Buffers[b] = mutableBuffer; 4378column.Buffers[b] = mutableBuffer; 4622column.Buffers[b] = mutableBuffer; 4640column.Buffers[b] = mutableBuffer; 4673column.Buffers[b] = mutableBuffer; 4737column.Buffers[b] = mutableBuffer; 4801column.Buffers[b] = mutableBuffer; 4865column.Buffers[b] = mutableBuffer; 5109column.Buffers[b] = mutableBuffer; 5127column.Buffers[b] = mutableBuffer; 5160column.Buffers[b] = mutableBuffer; 5224column.Buffers[b] = mutableBuffer; 5288column.Buffers[b] = mutableBuffer; 5352column.Buffers[b] = mutableBuffer; 5596column.Buffers[b] = mutableBuffer; 5614column.Buffers[b] = mutableBuffer; 5647column.Buffers[b] = mutableBuffer; 5711column.Buffers[b] = mutableBuffer; 5775column.Buffers[b] = mutableBuffer; 5839column.Buffers[b] = mutableBuffer; 6083column.Buffers[b] = mutableBuffer;
StringDataFrameColumn.BinaryOperations.cs (2)
49buffer[j] = value + buffer[j]; 64buffer[j] += value;
Microsoft.DotNet.XliffTasks (1)
Model\UnstructuredDocument.cs (1)
91_fragments[_fragmentIndex] = translation;
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (2)
1769message.Contents[contentIndex] = new FunctionApprovalRequestContent(functionCall.CallId, functionCall); 1770outputMessages[messageIndex] = message;
Microsoft.Extensions.AI.Abstractions (5)
ChatCompletion\ChatResponseExtensions.cs (5)
210contents[existingIndex] = imageResult; 211contents[i] = null!; // Mark the current one for removal, then remove in single o(n) pass 418contents[start] = merge(contents, start, i); 423contents[start++] = null!; 459contents[nextSlot++] = content;
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
2500tools[index] = replacementFunctionB; 3086tools[index] = replacementFunctionB;
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
62set => _services[index] = value;
Microsoft.Maui.Controls (7)
BindableLayout\BindableLayout.cs (1)
156 mauiLayout[index] = view;
Interactivity\TriggerBase.cs (1)
220 _actual[index] = value;
Items\SelectionList.cs (1)
30 public object this[int index] { get => _internal[index]; set => _internal[index] = value; }
ObservableList.cs (1)
107 Items[i + startIndex] = ritems[i];
ReadOnlyCastingList.cs (1)
83 set => _list[index] = value as TFrom;
Shell\ShellElementCollection.cs (1)
306 set => Inner[index] = value;
VisualStateManager.cs (1)
323 set => _internalList[index] = value;
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
311result[i] += normalizedColumnNames[i / 3]; 312result[i] += "{get; set;}";
PresentationCore (63)
MS\Internal\TextFormatting\Bidi.cs (53)
714characterClass[counter + classIndex] = resolutionType; 736characterClass[counter + classIndex] = newClass; 853characterClass[counter + classIndex] = DirectionClass.Right; 903characterClass[counter + classIndex] = DirectionClass.Right; 950characterClass[counter + classIndex] = DirectionClass.Right; 958characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 992characterClass[counter + classIndex] = DirectionClass.Left; 1048characterClass[counter + classIndex] = DirectionClass.Right; 1091characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1097characterClass[counter + classIndex] = DirectionClass.Left; 1237characterClass[counter + classIndex] = DirectionClass.Left; 1241characterClass[counter + classIndex] = DirectionClass.EuropeanNumber; 1260characterClass[counter + 1 + classIndex] = DirectionClass.GenericNeutral; 1295characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1300characterClass[counter + classIndex] = DirectionClass.Left; 1324characterClass[counter + classIndex] = DirectionClass.Left; 1354characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1359characterClass[counter + classIndex] = DirectionClass.Left; 1398characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1436characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1461characterClass[counter + classIndex] = DirectionClass.Left; 1519characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1524characterClass[counter + classIndex] = DirectionClass.EuropeanNumber; 1530characterClass[counter + classIndex] = DirectionClass.Right; 1535characterClass[counter + classIndex] = DirectionClass.ArabicNumber; 1540characterClass[counter + classIndex] = ArabicNumberAfterLeft 1563characterClass[counter + classIndex] = lastClass; 1681levels[counter+index] = paragraphEmbeddingLevel; 1685levels[counter+index] = 1692levels[counter+index-1] = levels[counter+index]; 2040characterClass[counter] = tempClass; 2046characterClass[counter] = DirectionClass.GenericNeutral; 2065levels[neutralIndex] = neutralLevel; 2073levels[counter] = lastPathClass == 2 ? nonBidiLevel : bidiLevel; 2078levels[counter + 1] = levels[counter]; 2091levels[j] = baseLevel; 2113levels[neutralIndex] = neutralLevel; 2153levels[counter] = levelsStack.GetCurrentLevel(); 2166levels[counter] = ParagraphTerminatorLevel; 2186characterClass[counter] = DirectionClass.GenericNeutral; 2192levels[counter-1] = levels[counter]; 2201characterClass[counter] = DirectionClass.BoundaryNeutral; 2224levels[counter] = lastNonBnLevel; 2230characterClass[counter] = DirectionClass.BoundaryNeutral; 2255levels[counter] = lastNonBnLevel; 2259characterClass[counter] = DirectionClass.BoundaryNeutral; 2297levels[counter] = lastNonBnLevel; 2314characterClass[counter] = currentClass; 2319characterClass[counter] = (overrideClass == OverrideClass.OverrideClassLeft) ? 2327levels[counter-1] = levels[counter]; 2337levels[counter+1] = levels[counter]; 2338characterClass[counter+1] = characterClass[counter]; 2375levels[runLimits[counter]] = baseLevel;
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
356_glyphOffsets[i] = new Point(
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
2941adjustedAdvanceWidths[i] = realRoundedAdvanceWidth; 2945adjustedAdvanceWidths[indexOfLastKnownSpace] -= error; 2980adjustedAdvanceWidths[i] = realRoundedAdvanceWidth - error; 3072glyphAdvances[i] = textFormatterImp.IdealToReal(piJustifiedGlyphAdvances[i], currentLine.PixelsPerDip); 3073glyphOffsets[i] = new Point( 3213charWidths[i] = textFormatterImp.IdealToReal(piCharAdvances[i], Draw.CurrentLine.PixelsPerDip);
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
916displayGlyphAdvances[i] = _settings.Formatter.IdealToReal(run.NominalAdvances[i], PixelsPerDip); 1762displayGlyphAdvances[i] = _textFormatterImp.IdealToReal(NominalAdvances[i], _pixelsPerDip);
MS\Internal\TextFormatting\TextStore.cs (1)
529activeEffects[effectIndex++] = effect;
PresentationFramework (4)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
1217additionalLocators[i] = ((ContentLocatorBase)initialLocator.Clone()).Merge(additionalLocators[i]);
MS\Internal\Annotations\AnnotationObservableCollection.cs (1)
158Items[index] = item; // directly set Collection<T> inner Items collection
MS\Internal\Annotations\XmlElementCollection.cs (1)
116Items[index] = item; // directly set Collection<T> inner Items collection
System\Windows\ResourceDictionary.cs (1)
1363staticResources[i] = new StaticResourceHolder(keyValue, obj as DeferredResourceReference);
ReachFramework (1)
PrintConfig\PrintSchemaShim.cs (1)
473points[i] = TenthOfMillimeterToMicrons(points[i]);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
172list[i] = node.WithTrailingTrivia(trailingTrivia.Concat(newLineTrivia)); 181list[i] = TrimLeadingNewLines(node);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
156items[index] = item;
System.Private.Xml (8)
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (1)
98_whitespaceRules[idx] = new WhitespaceRule(dataReader);
System\Xml\Xsl\XPath\XPathBuilder.cs (2)
1041args[i] = f.ConvertToType(XmlTypeCode.String, args[i]); 1053args[i] = f.ConvertToType(argTypes[i], args[i]);
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (5)
214args[i] = _f.SafeDocOrderDistinct(args[i]); 248case XmlTypeCode.Boolean: args[i] = _f.ConvertToBoolean(args[i]); break; 249case XmlTypeCode.Double: args[i] = _f.ConvertToNumber(args[i]); break; 250case XmlTypeCode.String: args[i] = _f.ConvertToString(args[i]); break; 251case XmlTypeCode.Node: args[i] = xmlTypeFormalArg.IsSingleton ? _f.ConvertToNode(args[i]) : _f.ConvertToNodeSet(args[i]); break;
1857 references to
Aspire.Dashboard (6)
Components\Controls\Chart\ChartBase.cs (3)
231var metric = dimensionValues[i]; 247var previousHistogramValues = i > 0 ? GetHistogramValue(dimensionValues[i - 1]).Values : null; 448var metric = dimensionValues[i];
ServiceClient\DashboardClient.cs (3)
738resourceLogLines[i] = new ResourceLogLine(logLines[i].LineNumber, logLines[i].Text, logLines[i].IsStdErr);
Aspire.Hosting (1)
Ats\CollectionExports.cs (1)
123=> index >= 0 && index < list.Count ? list[index] : null;
csc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
dotnet-svcutil-lib (35)
FrameworkFork\Microsoft.Xml\Xml\schema\GenerateConverter.cs (1)
570if (uniqueSourceTypes[i] == typeof(object))
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
304reader.AddDefaultAttribute((SchemaAttDef)context.ElementDecl.DefaultAttDefs[i]);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
1058SchemaAttDef attdef = (SchemaAttDef)currentElementDecl.DefaultAttDefs[i];
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
547SchemaAttDef attdef = (SchemaAttDef)context.ElementDecl.DefaultAttDefs[i];
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FunctionQuery.cs (4)
31tmp[i] = Clone(other._args[i]); 54argTypes[i] = _args[i].StaticType; 76argVals[i] = _args[i].Evaluate(nodeIterator); 79argVals[i] = new XPathSelectionIterator(nodeIterator.Current, _args[i]);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\StringFunctions.cs (3)
34tmp[i] = Clone(other._argList[i]); 44_argList[i].SetXsltContext(context); 126s.Append(_argList[count++].Evaluate(nodeIterator).ToString());
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
719GenericInfo paramInfo = genInfo.Parameters[i];
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
207Type knownType = knownTypeList[i];
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\DefaultClaimSet.cs (3)
41get { return _claims[index]; } 61if (claim.Equals(_claims[i])) 76Claim claim = _claims[i];
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
55return _claims[index]; 288Claim claim = _claims[i];
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityUtils.cs (1)
161IAuthorizationPolicy policy = authorizationPolicies[i];
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
236if (_strEntries[i].SupportsCore(keyIdentifierClause))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
30if (collection[i] == null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
391int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 421string newString = newStrings[i].Value;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (4)
33CallbackState callbackState = new CallbackState(this, collection[index]); 37result = collection[index].BeginClose(timeoutHelper.RemainingTime(), s_nestedCallback, callbackState); 48collection[index].Abort(); 54CompleteClose(collection[index], result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (3)
37CallbackState callbackState = new CallbackState(this, collection[index]); 38IAsyncResult result = collection[index].BeginOpen(_timeoutHelper.RemainingTime(), s_nestedCallback, callbackState); 41collection[index].EndOpen(result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
114FaultContractInfo faultInfo = faultInfos[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
93XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo faultInfo = faultInfos[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
497MessageHeader<object> messageHeaderOfTAttribute = messageHeaderOfTAttributes[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
85get { lock (_sync) { return _items[index]; } }
Shared\ProjectDependency.cs (1)
437var dependency = dependencies[idx];
GenerateDocumentationAndConfigFiles (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
IdentitySample.Mvc (4)
artifacts\obj\IdentitySample.Mvc\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Manage\ManageLogins_cshtml.g.cs (4)
123Model.CurrentLogins[index].ProviderDisplayName 144Model.CurrentLogins[index].LoginProvider 156Model.CurrentLogins[index].ProviderKey 170Model.CurrentLogins[index].ProviderDisplayName
illink (10)
Metrics (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Metrics.Legacy (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.Arcade.Test.Common (5)
DiffUtil.cs (5)
49return _comparer(sequenceA[indexA], sequenceB[indexB]); 59yield return "--> " + toString(sequenceA[edit.IndexA]); 63yield return "++> " + toString(sequenceB[edit.IndexB]); 67yield return " " + toString(sequenceB[edit.IndexB]);
Microsoft.AspNetCore (1)
BootstrapHostBuilder.cs (1)
108var descriptor = _builder.Services[i];
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Components (1)
Routing\RouteTableFactory.cs (1)
207var current = builder.InboundEntries[i];
Microsoft.AspNetCore.Components.Endpoints (10)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (6)
193assignments.Add(Expression.Assign(Expression.Property(resultParam, props[i].Property), GetValueLocalVariableValueExpression(propsLocals[i]))); 210yield return Expression.Assign(Expression.Property(resultParam, props[i].Property), GetValueLocalVariableValueExpression(propsLocals[i])); 235var metadata = constructorParameterMetadata[i]; 260var metadata = propertyMetadata[i]; 342var property = properties[i]; 442var constructorParameter = constructorParameters[i];
ImportMapSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
JsonTempDataSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
ResourceCollectionSerializerContext.g.cs (1)
64global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
WebRootComponentParametersTest.cs (1)
179var jsonElement = JsonSerializer.SerializeToElement(parameterValues[i]);
Microsoft.AspNetCore.Components.Server (6)
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (1)
52var metadata = b.Metadata[i];
CircuitPersistenceManagerSerializerContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Circuits\ComponentParameterDeserializer.cs (2)
36var definition = parametersDefinitions[i]; 64var value = (JsonElement)parameterValues[i];
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
84var metadata = c.Metadata[i];
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitHostTest.cs (1)
894var jsonElement = JsonSerializer.SerializeToElement(parameterValues[i]);
Circuits\RemoteRendererTest.cs (1)
695var jsonElement = JsonSerializer.SerializeToElement(parameterValues[i]);
Microsoft.AspNetCore.Components.Web (1)
WebRendererSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Components.WebAssembly (4)
PrerenderComponentApplicationStoreSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Prerendering\WebAssemblyComponentParameterDeserializer.cs (2)
36var definition = parametersDefinitions[i]; 59var value = (JsonElement)parameterValues[i];
WebAssemblyJsonSerializerContext.g.cs (1)
63global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Components.WebView (1)
SourceGenerationContext.g.cs (1)
62global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
218target.Add(headerValues[i]);
Microsoft.AspNetCore.Diagnostics (5)
DeveloperExceptionPage\Views\CompilationErrorPage.Designer.cs (3)
336var errorDetail = Model.ErrorDetails[i]; 619if (!string.IsNullOrEmpty(Model.CompiledContent[i])) 646Write(Model.CompiledContent[i]);
ExtensionsExceptionJsonContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
255if (attributes[i].AttributeType.Name == "StackTraceHiddenAttribute")
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Internal\Binding\JsonTranscodingProviderServiceBinder.cs (1)
261var method = _serviceDescriptor.Methods[i];
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
115var field = fields[i];
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
115var field = fields[i];
Microsoft.AspNetCore.Hosting (2)
SourceGenerationContext.g.cs (1)
62global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
255if (attributes[i].AttributeType.Name == "StackTraceHiddenAttribute")
Microsoft.AspNetCore.Html.Abstractions (3)
HtmlContentBuilder.cs (3)
108var entry = Entries[i]; 135var entry = Entries[i]; 165var entry = Entries[i];
Microsoft.AspNetCore.Http.Abstractions (42)
DefaultEndpointFilterInvocationContext.cs (1)
32return (T)Arguments[index]!;
EndpointFilterInvocationContextOfT.Generated.cs (40)
66if (Arguments[i]?.Equals(item) == true) 79array[arrayIndex++] = Arguments[i]; 87yield return Arguments[i]; 104if (Arguments[i]?.Equals(item) == true) 194if (Arguments[i]?.Equals(item) == true) 207array[arrayIndex++] = Arguments[i]; 215yield return Arguments[i]; 233if (Arguments[i]?.Equals(item) == true) 329if (Arguments[i]?.Equals(item) == true) 342array[arrayIndex++] = Arguments[i]; 350yield return Arguments[i]; 369if (Arguments[i]?.Equals(item) == true) 471if (Arguments[i]?.Equals(item) == true) 484array[arrayIndex++] = Arguments[i]; 492yield return Arguments[i]; 512if (Arguments[i]?.Equals(item) == true) 620if (Arguments[i]?.Equals(item) == true) 633array[arrayIndex++] = Arguments[i]; 641yield return Arguments[i]; 662if (Arguments[i]?.Equals(item) == true) 776if (Arguments[i]?.Equals(item) == true) 789array[arrayIndex++] = Arguments[i]; 797yield return Arguments[i]; 819if (Arguments[i]?.Equals(item) == true) 939if (Arguments[i]?.Equals(item) == true) 952array[arrayIndex++] = Arguments[i]; 960yield return Arguments[i]; 983if (Arguments[i]?.Equals(item) == true) 1109if (Arguments[i]?.Equals(item) == true) 1122array[arrayIndex++] = Arguments[i]; 1130yield return Arguments[i]; 1154if (Arguments[i]?.Equals(item) == true) 1286if (Arguments[i]?.Equals(item) == true) 1299array[arrayIndex++] = Arguments[i]; 1307yield return Arguments[i]; 1332if (Arguments[i]?.Equals(item) == true) 1470if (Arguments[i]?.Equals(item) == true) 1483array[arrayIndex++] = Arguments[i]; 1491yield return Arguments[i]; 1517if (Arguments[i]?.Equals(item) == true)
HostString.cs (1)
247var pattern = patterns[i];
Microsoft.AspNetCore.Http.Connections.Common (2)
NegotiateProtocol.cs (2)
102var availableTransport = response.AvailableTransports[i]; 120writer.WriteStringValue(availableTransport.TransferFormats[j]);
Microsoft.AspNetCore.Http.Extensions (12)
DefaultProblemDetailsWriter.cs (1)
40var acceptHeaderValue = acceptHeader[i];
HeaderDictionaryTypeExtensions.cs (2)
83newValues[i] = values[i]!.ToString()!; 113newValues[i] = values[i]!.ToString()!;
ProblemDetailsJsonContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
QueryBuilder.cs (1)
76var pair = _params[i];
RequestDelegateFactory.cs (1)
497var currentFilterFactory = factoryContext.EndpointBuilder.FilterFactories[i];
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (6)
193assignments.Add(Expression.Assign(Expression.Property(resultParam, props[i].Property), GetValueLocalVariableValueExpression(propsLocals[i]))); 210yield return Expression.Assign(Expression.Property(resultParam, props[i].Property), GetValueLocalVariableValueExpression(propsLocals[i])); 235var metadata = constructorParameterMetadata[i]; 260var metadata = propertyMetadata[i]; 342var property = properties[i]; 442var constructorParameter = constructorParameters[i];
Microsoft.AspNetCore.Http.Microbenchmarks (3)
SharedTestJsonContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (2)
653var metadata = builder.Metadata[i]; 671var metadata = builder.Metadata[i];
Microsoft.AspNetCore.Http.Results.Tests (3)
ObjectJsonContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
StringJsonContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
TestJsonContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.HttpsPolicy (1)
HstsMiddleware.cs (1)
86if (string.Equals(host, _excludedHosts[i], StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Identity (3)
GeneratedRouteBuilderExtensions.g.cs (1)
1353var filterFactory = routeHandlerFilters[i];
IdentityEndpointsJsonSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
IdentityJsonSerializerContext.g.cs (1)
62global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\ServerFactory.cs (1)
130var part = manager.ApplicationParts[i];
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\FilterContext.cs (1)
86var filter = Filters[i];
ModelBinding\ModelPropertyCollection.cs (1)
41var property = Items[i];
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
ApiConventionAnalyzer.cs (2)
83var declaredMetadata = declaredResponseMetadata[i]; 99if (declaredMetadata.Matches(actualResponseMetadata[i]))
DeclaredApiResponseMetadata.cs (1)
68var declaredMetadata = declaredApiResponseMetadata[i];
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (2)
222if (!context.Results[i].Source.IsFromRequest) 252var parameter = context.Results[i];
Microsoft.AspNetCore.Mvc.Core (55)
ActionConstraints\ActionConstraintCache.cs (1)
62items.Add(new ActionConstraintItem(action.ActionConstraints[i]));
ActionConstraints\DefaultActionConstraintProvider.cs (1)
26ProvideConstraint(context.Results[i], context.HttpContext.RequestServices);
ApplicationModels\ActionAttributeRouteModel.cs (5)
39if (additionalSelector.ActionConstraints[i] is IRouteTemplateProvider) 47if (additionalSelector.EndpointMetadata[i] is IRouteTemplateProvider) 124selector.ActionConstraints.Add(actionConstraints[i]); 138selector.EndpointMetadata.Insert(i, controllerMetadata[i]); 170var controllerSelector = actionModel.Controller.Selectors[i];
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (1)
107if (selectorModel[i].AttributeRouteModel != null)
ApplicationModels\ControllerActionDescriptorProvider.cs (2)
55var action = context.Results[i]; 64var action = context.Results[i];
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
83var parameter = action.Parameters[i];
Authorization\AuthorizeFilter.cs (3)
125if (ReferenceEquals(this, context.Filters[i])) 130if (context.Filters[i] is AuthorizeFilter authorizeFilter) 215if (filters[i] is IAllowAnonymousFilter)
Controllers\ControllerBinderDelegateProvider.cs (2)
130var parameter = parameters[i]; 177var property = properties[i];
DependencyInjection\ApplicationModelConventionExtensions.cs (1)
39var applicationModelConvention = list[i];
Filters\DefaultFilterProvider.cs (1)
25ProvideFilter(context, results[i]);
ForbidResult.cs (1)
105await httpContext.ForbidAsync(AuthenticationSchemes[i], Properties);
Formatters\AcceptHeaderParser.cs (1)
26var value = acceptHeaders[i];
Formatters\TextInputFormatter.cs (2)
97SupportedEncodings[i].WebName, 100return SupportedEncodings[i];
Formatters\TextOutputFormatter.cs (6)
89var supportedEncoding = SupportedEncodings[i]; 93return SupportedEncodings[i]; 199var charset = acceptValues[i].Value; 204var encoding = SupportedEncodings[j]; 226var value = values[i]; 245var value = values[i];
Infrastructure\ControllerEndpointFilterInvocationContext.cs (1)
46return (T)Arguments[index]!;
Infrastructure\DefaultOutputFormatterSelector.cs (4)
195var mediaType = sortedAcceptHeaders[i]; 202var formatter = formatters[j]; 243var acceptableContentType = new MediaType(sortedAcceptableContentTypes[i].MediaType); 251var formatter = formatters[k];
ModelBinding\Binders\BodyModelBinder.cs (3)
119if (_formatters[i].CanRead(formatterContext)) 121formatter = _formatters[i]; 127Log.InputFormatterRejected(_logger, _formatters[i], formatterContext);
ModelBinding\Binders\FormFileModelBinder.cs (2)
183var file = Items[i]; 198var file = Items[i];
ModelBinding\CompositeValueProvider.cs (6)
72var factory = factories[i]; 116var valueProvider = Items[i]; 168var valueProvider = Items[i]; 185var valueProvider = Items[i]; 215var valueProvider = Items[i]; 232var valueProvider = Items[i];
ModelBinding\Metadata\MetadataDetailsProviderExtensions.cs (1)
37var metadataDetailsProvider = list[i];
ModelBinding\ModelBinderProviderExtensions.cs (1)
37var modelBinderProvider = list[i];
ModelBinding\Validation\CompositeModelValidatorProvider.cs (1)
37ValidatorProviders[i].CreateValidators(context);
ModelBinding\Validation\DefaultModelValidatorProvider.cs (2)
23var validatorItem = context.Results[i]; 43if (validatorMetadata[i] is IModelValidator)
ModelBinding\Validation\ModelValidatorProviderExtensions.cs (1)
37var modelValidatorProvider = list[i];
ModelBinding\ValueProviderFactoryExtensions.cs (1)
37var valueProviderFactory = list[i];
ProducesAttribute.cs (1)
80var filter = context.Filters[i] as IFormatFilter;
Routing\ActionConstraintMatcherPolicy.cs (1)
57var actionConstraint = constraints[i];
Routing\ActionEndpointFactory.cs (1)
477var filterFactory = routeHandlerFilters[i];
SignOutResult.cs (1)
125await httpContext.SignOutAsync(AuthenticationSchemes[i], Properties);
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\EndpointMetadataProviderTest.cs (4)
443var metadata = builder.Metadata[i]; 462var metadata = builder.Metadata[i]; 482var metadata = builder.Metadata[i]; 500var metadata = builder.Metadata[i];
ModelBinding\Validation\ClientValidatorCacheTest.cs (1)
128var validatorItem = context.Results[i];
ModelBinding\Validation\ValidatorCacheTest.cs (1)
80var validatorItem = context.Results[i];
TestJsonContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Mvc.Cors (2)
CorsApplicationModelProvider.cs (2)
93var selectorModel = selectors[i]; 100if (actionConstraints[j] is HttpMethodActionConstraint httpConstraint)
Microsoft.AspNetCore.Mvc.DataAnnotations (5)
DataAnnotationsClientModelValidatorProvider.cs (1)
65var validatorItem = results[i];
DataAnnotationsModelValidatorProvider.cs (2)
59var validatorItem = results[i]; 108if (validatorMetadata[i] is ValidationAttribute)
DefaultClientModelValidatorProvider.cs (1)
27var validatorItem = results[i];
NumericClientModelValidatorProvider.cs (1)
31var validator = results[i].Validator;
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
BasicTests.cs (1)
490Assert.StartsWith("Microsoft.", assemblyParts[i]);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ExcludeBindingMetadataProviderIntegrationTest.cs (1)
76if (options.ModelMetadataDetailsProviders[i] is ExcludeBindingMetadataProvider)
Microsoft.AspNetCore.Mvc.Razor (4)
RazorViewEngine.cs (4)
250expanders[i].PopulateValues(expanderContext); 348viewLocations = expanders[i].ExpandViewLocations(expanderContext, viewLocations); 406expirationTokens.Add(viewExpirationTokens[i]); 439expirationTokens.Add(viewDescriptor.ExpirationTokens[i]);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageDirectiveFeature.cs (2)
20var phase = builder.Phases[i]; 127messages[i] = diagnostics[i].GetMessage(CultureInfo.CurrentCulture);
RuntimeViewCompiler.cs (1)
141cacheEntryOptions.ExpirationTokens.Add(item.ExpirationTokens[i]);
Microsoft.AspNetCore.Mvc.RazorPages (16)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (3)
82var handlerModel = handlerModels[i]; 104var parameterModel = methodParameters[i]; 125var propertyModel = properties[i];
Infrastructure\DefaultPageHandlerMethodSelector.cs (2)
91var handler = handlers[i]; 107var handler = handlers[i];
Infrastructure\PageActionDescriptorProvider.cs (1)
51AddActionDescriptors(context.Results, pageRouteModels[i]);
Infrastructure\PageActionInvoker.cs (3)
208if (object.ReferenceEquals(_handler, _actionDescriptor.HandlerMethods[i])) 232var parameter = handler.Parameters[i]; 262if (object.ReferenceEquals(handler, _actionDescriptor.HandlerMethods[i]))
Infrastructure\PageActionInvokerCache.cs (2)
140results[i] = ExecutorFactory.CreateExecutor(actionDescriptor.HandlerMethods[i]); 162actionDescriptor.HandlerMethods[i]);
Infrastructure\PageBinderFactory.cs (4)
32var property = properties[i]; 56var property = properties[i]; 98var parameter = handler.Parameters[i]; 137var parameter = handler.Parameters[i];
Infrastructure\PageResultExecutor.cs (1)
66viewStarts[i] = pageContext.ViewStartFactories[i]();
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (1)
483provider.Descriptors.Add(new CompiledViewDescriptor(items[i]));
Microsoft.AspNetCore.Mvc.TagHelpers (7)
Cache\CacheTagKey.cs (6)
311var item = values[i]; 338var item = values[i]; 359if (!string.Equals(values1[i].Key, values2[i].Key, StringComparison.Ordinal) || 360!string.Equals(values1[i].Value, values2[i].Value, StringComparison.Ordinal))
RenderAtEndOfFormTagHelper.cs (1)
57output.PostContent.AppendHtml(formContext.EndOfFormContent[i]);
Microsoft.AspNetCore.Mvc.Testing (1)
CustomJsonSerializerContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
DefaultHtmlGenerator.cs (2)
1598var item = itemsList[i]; 1617var groupItem = itemsList[j];
Filters\SaveTempDataFilter.cs (1)
128if (filters[i] is ISaveTempDataCallback callback)
Rendering\MultiSelectList.cs (2)
232if (string.Equals(_groups[index].Name, groupName, StringComparison.CurrentCulture)) 234group = _groups[index];
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
ExpressionHelperTest.cs (7)
72(Expression<Func<IList<TestModel>, Category>>)(model => model[i].SelectedCategory), 76(Expression<Func<IList<LowerModel>, Category>>)(model => model[i].selectedcategory), 84(Expression<Func<TestModel, int>>)(model => model.PreferredCategories[i].CategoryId), 92(Expression<Func<IList<TestModel>, int>>)(model => model[2].PreferredCategories[i].CategoryId), 96(Expression<Func<IList<LowerModel>, int>>)(model => model[2].preferredcategories[i].CategoryId), 213(Expression<Func<IList<TestModel>, CategoryName>>)(testModel => testModel[i].SelectedCategory.CategoryName), 214(Expression<Func<TestModel, int>>)(model => model.PreferredCategories[i].CategoryId),
Microsoft.AspNetCore.OpenApi (6)
GeneratedRouteBuilderExtensions.g.cs (1)
191var filterFactory = routeHandlerFilters[i];
OpenApiJsonSchemaContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Services\Schemas\OpenApiSchemaService.cs (4)
287schema.AnyOf[i] = ResolveReferenceForSchema(document, schema.AnyOf[i], rootSchemaId, schemaId); 313schema.AllOf[i] = ResolveReferenceForSchema(document, schema.AllOf[i], rootSchemaId); 321schema.OneOf[i] = ResolveReferenceForSchema(document, schema.OneOf[i], rootSchemaId); 419await InnerApplySchemaTransformersAsync(schema.AnyOf[anyOfIndex], derivedJsonTypeInfo, null, context, transformer, cancellationToken);
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheMiddleware.cs (1)
549var requestETag = ifNoneMatchETags[i];
RecyclableReadOnlySequenceSegment.cs (1)
96last = Create(segments[i], last);
Microsoft.AspNetCore.Razor (5)
TagHelpers\ReadOnlyTagHelperAttributeList.cs (3)
55var attribute = items[i]; 125var attribute = items[i]; 158if (NameEquals(name, items[i]))
TagHelpers\TagHelperAttributeList.cs (2)
97if (NameEquals(attribute.Name, Items[i])) 187if (NameEquals(name, Items[i]))
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
448var requestETag = ifNoneMatchEtags[i];
Microsoft.AspNetCore.Rewrite (1)
ApacheModRewrite\Tokenizer.cs (1)
107var token = tokens[i];
Microsoft.AspNetCore.Rewrite.Tests (4)
ApacheModRewrite\TestStringParserTests.cs (2)
130var s1 = p1.PatternSegments[i]; 131var s2 = p2.PatternSegments[i];
IISUrlRewrite\FileParserTests.cs (2)
202var r1 = actual[i]; 203var r2 = expected[i];
Microsoft.AspNetCore.Routing (22)
Matching\NegotiationMatcherPolicy.cs (2)
119var value = values[j]; 417var value = values[i];
RequestDelegateFilterPipelineBuilder.cs (1)
44var currentFilterFactory = options.EndpointBuilder.FilterFactories[i];
RouteEndpointBuilder.cs (3)
80if (metadata[i] is IHttpMethodMetadata methodMetadata) 87if (!hasCorsMetadata && metadata[i] is ICorsMetadata) 94if (!hasRouteDiagnosticsMetadata && metadata[i] is IRouteDiagnosticsMetadata)
RouteValuesAddressScheme.cs (1)
66yield return (RouteEndpoint)matchResults[i].Match.Entry.Data;
Template\RoutePrecedence.cs (2)
45var segment = template.Segments[i]; 99var segment = template.Segments[i];
Template\RouteTemplate.cs (4)
41var segment = Segments[i]; 70var segment = Segments[i]; 105return index >= Segments.Count ? null : Segments[index]; 122var parameter = Parameters[i];
Template\TemplateMatcher.cs (1)
41var segment = Template.Segments[i];
Tree\LinkGenerationDecisionTree.cs (2)
121results.Add(new OutboundMatchResult(matches[i], isFallbackPath)); 129var criterion = criteria[i];
Tree\TreeRouter.cs (2)
160var path = GenerateVirtualPath(context, matches[i].Match.Entry, matches[i].Match.TemplateBinder);
Tree\UrlMatchingTree.cs (3)
79var segment = entry.RouteTemplate.Segments[i]; 254if (!segments[i].IsSimple) 260var part = segments[i].Parts[0];
ValidationEndpointFilterFactory.cs (1)
71var argument = context.Arguments[entry.Index];
Microsoft.AspNetCore.Routing.Abstractions (2)
RouteData.cs (2)
279routers[i] = snapshotRouters[i]; 284routers.Add(snapshotRouters[i]);
Microsoft.AspNetCore.Routing.Tests (7)
Template\TemplateParserTests.cs (7)
835if (x.Segments[i].Parts.Count != y.Segments[i].Parts.Count) 840for (int j = 0; j < x.Segments[i].Parts.Count; j++) 842if (!Equals(x.Segments[i].Parts[j], y.Segments[i].Parts[j])) 856if (!Equals(x.Parameters[i], y.Parameters[i]))
Microsoft.AspNetCore.Server.HttpSys (1)
HttpSysListener.cs (1)
333var headerValue = authChallenges[headerValueIndex];
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
255if (attributes[i].AttributeType.Name == "StackTraceHiddenAttribute")
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
255if (attributes[i].AttributeType.Name == "StackTraceHiddenAttribute")
Microsoft.AspNetCore.SignalR.Tests (2)
AppJsonSerializerContext.g.cs (1)
60global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
HubConnectionHandlerTests.cs (1)
4436Assert.Equal("echo:" + phrases[i], ((StreamItemMessage)messages[i]).Item);
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.AspNetCore.StaticFiles (1)
DefaultFilesMiddleware.cs (1)
62string defaultFile = _options.DefaultFileNames[matchIndex];
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Microsoft.CodeAnalysis.Analyzers (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Microsoft.CodeAnalysis.AnalyzerUtilities (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.CodeAnalysis.BannedApiAnalyzers (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Microsoft.CodeAnalysis.CodeStyle (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Microsoft.CodeAnalysis.Collections.Package (1)
Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (2)
62var compare = Compare(xNameParts[i], yNameParts[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
167var node = list[i]; 180var node = list[i];
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
21return parts[parts.Count - 1];
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\UnknownSourcePasteProcessor.cs (1)
247var change = Changes[changeIndex];
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (22)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (11)
68Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped); 69Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.AfterTyped); 74Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped); 78if (!orderedCSharpArgumentProviders[i].Metadata.AfterTyped.Contains(orderedCSharpArgumentProviders[i - 1].Metadata.Name)) 81Assert.Contains(orderedCSharpArgumentProviders[i].Metadata.Name, orderedCSharpArgumentProviders[i - 1].Metadata.BeforeTyped); 86if (orderedCSharpArgumentProviders[i].Metadata.BeforeTyped.Any()) 88Assert.Equal(orderedCSharpArgumentProviders.Last().Metadata.Name, Assert.Single(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped)); 91var after = Assert.Single(orderedCSharpArgumentProviders[i].Metadata.AfterTyped); 92Assert.Equal(orderedCSharpArgumentProviders[i - 1].Metadata.Name, after);
Completion\CompletionProviders\CompletionProviderOrderTests.cs (11)
106Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped); 107Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.AfterTyped); 112Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped); 116if (!orderedCSharpCompletionProviders[i].Metadata.AfterTyped.Contains(orderedCSharpCompletionProviders[i - 1].Metadata.Name)) 119Assert.Contains(orderedCSharpCompletionProviders[i].Metadata.Name, orderedCSharpCompletionProviders[i - 1].Metadata.BeforeTyped); 124if (orderedCSharpCompletionProviders[i].Metadata.BeforeTyped.Any()) 126Assert.Equal(orderedCSharpCompletionProviders.Last().Metadata.Name, Assert.Single(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped)); 129var after = Assert.Single(orderedCSharpCompletionProviders[i].Metadata.AfterTyped); 130Assert.Equal(orderedCSharpCompletionProviders[i - 1].Metadata.Name, after);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenCapturing.cs (4)
87int numToCapture = varsToCapture[varDepth]; 211AssertEx.Equal(expectedCtx[depth], ctx.VariablesByScope[depth]); 241if (newIndex == _layout[_current.depth]) 254if (layout[depth] > 0)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTestBase.cs (2)
234var attributeData = readers[blobGeneration].GetBlobBytes(genHandle); 243var attributeData = readers[blobGeneration].GetString(genHandle);
Microsoft.CodeAnalysis.CSharp.Features (2)
Organizing\Organizers\MemberDeclarationsOrganizer.cs (1)
80var originalNodeAtThatIndex = originalList[indexInFinalList];
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
173var namedParameter = namedParameters[i];
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\StateTableTests.cs (6)
1324Assert.Equal(expected[index].Item, entry.Item); 1325Assert.Equal(expected[index].State, entry.State); 1326Assert.Equal(expected[index].OutputIndex, entry.OutputIndex); 1336AssertEx.Equal(expected[index].Item, entry.Item); 1337Assert.Equal(expected[index].State, entry.State); 1338Assert.Equal(expected[index].OutputIndex, entry.OutputIndex);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
2396var expr = exprs[i];
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
LexicalAndXml\PreprocessorTests.cs (1)
160var dt = directives[idx++];
Syntax\SyntaxNodeTests.cs (1)
416Assert.Equal(directives[i], descendantDirectives[i]);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (2)
62var compare = Compare(xNameParts[i], yNameParts[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
167var node = list[i]; 180var node = list[i];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
21return parts[parts.Count - 1];
Microsoft.CodeAnalysis.EditorFeatures (2)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
331this.TrackingSession = _committedSessions[trackingSessionId];
SignatureHelp\Controller.Session_ComputeModel.cs (1)
167return items.Items[items.SelectedItemIndex.Value];
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (3)
80var expectedLineSpan = tree.GetLineSpan(expectedHighlightSpans[j]).Span; 81var expectedText = tree.GetText().ToString(expectedHighlightSpans[j]); 85var expected = expectedHighlightSpans[j];
ObsoleteSymbol\AbstractObsoleteSymbolTests.cs (1)
40var expectedSpans = workspace.Documents[i].SelectedSpans.OrderBy(s => s.Start);
ReassignedVariable\AbstractReassignedVariableTests.cs (1)
39var expectedSpans = workspace.Documents[i].SelectedSpans.OrderBy(s => s.Start);
TaskList\AbstractTaskListTests.cs (1)
50var span = expectedLists[i];
Workspaces\EditorTestWorkspace.cs (2)
466spanStartLocation = projectionBufferSpanStartingPositions[spanIndex] + offsetInText; 472spanEndLocationExclusive = projectionBufferSpanStartingPositions[spanIndex] + offsetInText;
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
ITextImageHelpers.cs (2)
58var change = changes[i]; 92var change = version.Changes[i];
Microsoft.CodeAnalysis.Extensions.Package (3)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
SignatureHelp\FSharpSignatureHelpItems.cs (1)
94var actualItem = items[selectedItem.Value];
Microsoft.CodeAnalysis.Features (10)
CodeFixes\Service\CodeFixService.cs (1)
978if (!TryGetWorkspaceFixer(fixers[i], services, logExceptionWithInfoBar: false, out var fixer))
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (1)
234lines[i] = lines[i] + newLine;
GenerateType\AbstractGenerateTypeService.GenerateNamedType.cs (2)
201var refKind = syntaxFacts.GetRefKindOfArgument(argumentList[i]); 203var parameterName = parameterNames[i];
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
215if (legalInsertionIndices[preferredInsertionIndex])
RQName\SimpleTree\SimpleGroupNode.cs (1)
18public SimpleTreeNode this[int index] { get { return Children[index]; } }
SignatureHelp\AbstractSignatureHelpProvider.cs (3)
58items[selectedItemIndex.Value].IsVariadic && 59preferredParameterIndex >= items[selectedItemIndex.Value].Parameters.Length; 104var selection = items[selectedItem.Value];
SignatureHelp\SignatureHelpItems.cs (1)
89var actualItem = items[selectedItem.Value];
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Microsoft.CodeAnalysis.LanguageServer (1)
RunFileApiJsonSerializerContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Extensions\Converters\VSExtensionUtilities.cs (1)
47var existingConverterType = converters[i].GetType();
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
62var existingConverterType = converters[i].GetType();
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Microsoft.CodeAnalysis.PublicApiAnalyzers (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.CodeAnalysis.ResxSourceGenerator (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Microsoft.CodeAnalysis.Test.Utilities (11)
Assert\DiffUtil.cs (5)
52return _comparer.Equals(sequenceA[indexA], sequenceB[indexB]); 62yield return "--> " + toString(sequenceA[edit.IndexA]); 66yield return "++> " + toString(sequenceB[edit.IndexB]); 70yield return " " + toString(sequenceB[edit.IndexB]);
Syntax\TokenUtilities.cs (6)
26var expectedToken = expectedTokens[i].ToString(); 27var actualToken = actualTokens[i].ToString(); 38actualAll += "^" + actualTokens[j].ToString() + "^ "; 39expectedAll += "^" + expectedTokens[j].ToString() + "^ "; 43actualAll += actualTokens[j].ToString() + " "; 44expectedAll += expectedTokens[j].ToString() + " ";
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Microsoft.CodeAnalysis.UnitTests (13)
Collections\List\IList.Generic.Tests.cs (13)
116Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[int.MinValue]); 124Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[count]); 125Assert.Throws(IList_Generic_Item_InvalidIndex_ThrowType, () => list[count + 1]); 134Assert.All(Enumerable.Range(0, count), index => result = list[index]); 176T before = list[count / 2]; 178Assert.Equal(before, list[count / 2]); 225Assert.Equal(value, list[lastIndex]); 240Assert.Equal(default(T), list[lastIndex]); 245Assert.NotEqual(default(T), list[lastIndex]); 359Assert.Equal(index, list.IndexOf(list[index])); 422Assert.Equal(validAdd, list[count]); 476Assert.Equal(value, list[lastIndex]); 491Assert.Equal(value, list[lastIndex]);
Microsoft.CodeAnalysis.Workspaces (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Workspaces\TestWorkspace`1.cs (4)
675if (submissions[i].CompilationOptions == null) 682if (submissions[j].CompilationOptions != null) 684OnProjectReferenceAdded(submissions[i].Id, new ProjectReference(submissions[j].Id));
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (2)
100pairArray[i] = new DynamicProperty(results[i].Key, results[i].Value);
Microsoft.Data.Analysis (440)
DataFrame.cs (1)
489Columns[i].FillNulls(values[i], inPlace: true);
DataFrameColumns\ArrowStringDataFrameColumn.cs (16)
84ReadOnlyDataFrameBuffer<byte> bitMapBuffer = _nullBitMapBuffers[bitMapIndex]; 100DataFrameBuffer<byte> bitMapBuffer = (DataFrameBuffer<byte>)_nullBitMapBuffers[bitMapIndex]; 145ReadOnlyDataFrameBuffer<byte> buffer = _dataBuffers[i]; 159ReadOnlyDataFrameBuffer<byte> buffer = _nullBitMapBuffers[i]; 173ReadOnlyDataFrameBuffer<int> buffer = _offsetsBuffers[i]; 189DataFrameBuffer<int> mutableOffsetsBuffer = (DataFrameBuffer<int>)_offsetsBuffers[_offsetsBuffers.Count - 1]; 201DataFrameBuffer<byte> mutableDataBuffer = (DataFrameBuffer<byte>)_dataBuffers[_dataBuffers.Count - 1]; 230while (curArrayIndex < numBuffers && rowIndex > _offsetsBuffers[curArrayIndex].Length - 1) 232rowIndex -= _offsetsBuffers[curArrayIndex].Length - 1; 242ReadOnlySpan<int> offsetBufferSpan = _offsetsBuffers[offsetsBufferIndex].ReadOnlySpan; 246return _dataBuffers[offsetsBufferIndex].ReadOnlySpan.Slice(currentOffset, numberOfBytes); 335return _offsetsBuffers[offsetsBufferIndex].Length - indexInBuffer; 355if (numberOfRows != 0 && numberOfRows > _offsetsBuffers[offsetsBufferIndex].Length - 1 - indexInBuffer) 359ArrowBuffer dataBuffer = new ArrowBuffer(_dataBuffers[offsetsBufferIndex].ReadOnlyBuffer); 360ArrowBuffer offsetsBuffer = new ArrowBuffer(_offsetsBuffers[offsetsBufferIndex].ReadOnlyBuffer); 361ArrowBuffer nullBuffer = new ArrowBuffer(_nullBitMapBuffers[offsetsBufferIndex].ReadOnlyBuffer);
DataFrameColumns\StringDataFrameColumn.cs (4)
348var span = mapIndices.ColumnContainer.Buffers[b].ReadOnlySpan; 349var validitySpan = mapIndices.ColumnContainer.NullBitMapBuffers[b].ReadOnlySpan; 370var span = mapIndices.ColumnContainer.Buffers[b].ReadOnlySpan; 371var validitySpan = mapIndices.ColumnContainer.NullBitMapBuffers[b].ReadOnlySpan;
DataFrameColumns\VBufferDataFrameColumn.cs (4)
234var span = mapIndices.ColumnContainer.Buffers[b].ReadOnlySpan; 235var validitySpan = mapIndices.ColumnContainer.NullBitMapBuffers[b].ReadOnlySpan; 256var span = mapIndices.ColumnContainer.Buffers[b].ReadOnlySpan; 257var validitySpan = mapIndices.ColumnContainer.NullBitMapBuffers[b].ReadOnlySpan;
DateTimeComputation.cs (12)
35var buffer = column.Buffers[b]; 69mutableBuffer = DataFrameBuffer<DateTime>.GetMutableBuffer(column.Buffers[bufferIndex]); 84mutableBuffer = DataFrameBuffer<DateTime>.GetMutableBuffer(column.Buffers[bufferIndex]); 107var buffer = column.Buffers[b]; 141mutableBuffer = DataFrameBuffer<DateTime>.GetMutableBuffer(column.Buffers[bufferIndex]); 156mutableBuffer = DataFrameBuffer<DateTime>.GetMutableBuffer(column.Buffers[bufferIndex]); 201var readOnlySpan = column.Buffers[b].ReadOnlySpan; 202var bitmapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 236readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 258var readOnlySpan = column.Buffers[b].ReadOnlySpan; 259var bitmapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 294readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan;
PrimitiveColumnContainer.BinaryOperations.cs (6)
24var rightSpan = right.Buffers[i].ReadOnlySpan; 27var rightValidity = right.NullBitMapBuffers[i].ReadOnlySpan; 77var rightValidity = this.NullBitMapBuffers[i].ReadOnlySpan; 117var leftSpan = this.Buffers[i].ReadOnlySpan; 118var rightSpan = right.Buffers[i].ReadOnlySpan; 159var leftSpan = this.Buffers[i].ReadOnlySpan;
PrimitiveColumnContainer.cs (16)
121if (Buffers[Buffers.Count - 1].Length == ReadOnlyDataFrameBuffer<T>.MaxCapacity) 149if (Buffers[Buffers.Count - 1].Length == ReadOnlyDataFrameBuffer<T>.MaxCapacity) 220var sourceBuffer = Buffers[b]; 221var sourceNullBitMap = NullBitMapBuffers[b].ReadOnlySpan; 316DataFrameBuffer<byte> bitMapBuffer = (DataFrameBuffer<byte>)NullBitMapBuffers[bitMapIndex]; 336ReadOnlyDataFrameBuffer<byte> bitMapBuffer = NullBitMapBuffers[bitMapIndex]; 365return Buffers[bufferIndex].Length - (int)startIndex; 392return Buffers[bufferIndex][bufferOffset]; 404Buffers[bufferIndex][bufferOffset] = value.Value; 409Buffers[bufferIndex][bufferOffset] = default; 481ReadOnlyDataFrameBuffer<U> buffer = mapIndices.Buffers[index]; 482ReadOnlySpan<byte> mapIndicesNullBitMapSpan = mapIndices.NullBitMapBuffers[index].ReadOnlySpan; 486DataFrameBuffer<T> mutableBuffer = DataFrameBuffer<T>.GetMutableBuffer(ret.Buffers[index]); 489DataFrameBuffer<byte> mutableNullBuffer = DataFrameBuffer<byte>.GetMutableBuffer(ret.NullBitMapBuffers[index]); 511thisSpan = Buffers[bufferIndex].ReadOnlySpan; 512thisNullBitMapSpan = NullBitMapBuffers[bufferIndex].ReadOnlySpan;
PrimitiveColumnContainerHelpers.cs (1)
14var sourceBuffer = bufferList[index];
PrimitiveDataFrameColumn.cs (11)
66yield return _columnContainer.Buffers[i].ReadOnlyMemory; 79ReadOnlyDataFrameBuffer<byte> buffer = _columnContainer.NullBitMapBuffers[i]; 134if (numberOfRows != 0 && numberOfRows > _columnContainer.Buffers[bufferIndex].Length - offset) 147ReadOnlyDataFrameBuffer<T> valueBuffer = (numberOfRows == 0) ? null : _columnContainer.Buffers[bufferIndex]; 148ReadOnlyDataFrameBuffer<byte> nullBuffer = (numberOfRows == 0) ? null : _columnContainer.NullBitMapBuffers[bufferIndex]; 165ArrowBuffer arrowValueBuffer = numberOfRows == 0 ? ArrowBuffer.Empty : new ArrowBuffer(_columnContainer.Buffers[bufferIndex].ReadOnlyBuffer); 166ArrowBuffer arrowNullBuffer = numberOfRows == 0 ? ArrowBuffer.Empty : new ArrowBuffer(_columnContainer.NullBitMapBuffers[bufferIndex].ReadOnlyBuffer); 367var span = ColumnContainer.Buffers[b].ReadOnlySpan; 368var validitySpan = ColumnContainer.NullBitMapBuffers[b].ReadOnlySpan; 621ReadOnlyDataFrameBuffer<T> buffer = _columnContainer.Buffers[b]; 623ReadOnlySpan<byte> nullBitMapSpan = _columnContainer.NullBitMapBuffers[b].ReadOnlySpan;
PrimitiveDataFrameColumn.Sort.cs (6)
31ReadOnlyDataFrameBuffer<T> buffer = _columnContainer.Buffers[b]; 32ReadOnlySpan<byte> nullBitMapSpan = _columnContainer.NullBitMapBuffers[b].ReadOnlySpan; 62ReadOnlyMemory<byte> buffer = _columnContainer.Buffers[bufferIndex].ReadOnlyBuffer; 72value = _columnContainer.Buffers[bufferIndex][index]; 76value = _columnContainer.Buffers[bufferIndex][index]; 85ReadOnlyDataFrameBuffer<T> buffer = buffers[i];
PrimitiveDataFrameColumnComputations.cs (362)
127var buffer = column.Buffers[b]; 145var buffer = column.Buffers[b]; 250var buffer = column.Buffers[b]; 276var buffer = column.Buffers[b]; 280var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 309mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 324mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 340var buffer = column.Buffers[b]; 344var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 373mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 388mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 404var buffer = column.Buffers[b]; 408var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 437mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 452mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 468var buffer = column.Buffers[b]; 472var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 501mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 516mutableBuffer = DataFrameBuffer<byte>.GetMutableBuffer(column.Buffers[bufferIndex]); 533var buffer = column.Buffers[b]; 535var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 564readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 581var buffer = column.Buffers[b]; 583var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 612readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 628var buffer = column.Buffers[b]; 630var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 656readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 673var buffer = column.Buffers[b]; 675var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 704readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 719var buffer = column.Buffers[b]; 737var buffer = column.Buffers[b]; 763var buffer = column.Buffers[b]; 767var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 796mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 811mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 827var buffer = column.Buffers[b]; 831var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 860mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 875mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 891var buffer = column.Buffers[b]; 895var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 924mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 939mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 955var buffer = column.Buffers[b]; 959var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 988mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 1003mutableBuffer = DataFrameBuffer<char>.GetMutableBuffer(column.Buffers[bufferIndex]); 1020var buffer = column.Buffers[b]; 1022var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1051readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1068var buffer = column.Buffers[b]; 1070var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1099readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1115var buffer = column.Buffers[b]; 1117var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1143readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1160var buffer = column.Buffers[b]; 1162var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1191readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1206var buffer = column.Buffers[b]; 1224var buffer = column.Buffers[b]; 1250var buffer = column.Buffers[b]; 1254var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1283mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1298mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1314var buffer = column.Buffers[b]; 1318var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1347mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1362mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1378var buffer = column.Buffers[b]; 1382var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1411mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1426mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1442var buffer = column.Buffers[b]; 1446var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1475mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1490mutableBuffer = DataFrameBuffer<decimal>.GetMutableBuffer(column.Buffers[bufferIndex]); 1507var buffer = column.Buffers[b]; 1509var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1538readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1555var buffer = column.Buffers[b]; 1557var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1586readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1602var buffer = column.Buffers[b]; 1604var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1630readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1647var buffer = column.Buffers[b]; 1649var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1678readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 1693var buffer = column.Buffers[b]; 1711var buffer = column.Buffers[b]; 1737var buffer = column.Buffers[b]; 1741var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1770mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1785mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1801var buffer = column.Buffers[b]; 1805var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1834mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1849mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1865var buffer = column.Buffers[b]; 1869var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1898mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1913mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1929var buffer = column.Buffers[b]; 1933var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 1962mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1977mutableBuffer = DataFrameBuffer<double>.GetMutableBuffer(column.Buffers[bufferIndex]); 1994var buffer = column.Buffers[b]; 1996var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2025readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2042var buffer = column.Buffers[b]; 2044var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2073readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2089var buffer = column.Buffers[b]; 2091var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2117readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2134var buffer = column.Buffers[b]; 2136var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2165readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2180var buffer = column.Buffers[b]; 2198var buffer = column.Buffers[b]; 2224var buffer = column.Buffers[b]; 2228var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2257mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2272mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2288var buffer = column.Buffers[b]; 2292var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2321mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2336mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2352var buffer = column.Buffers[b]; 2356var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2385mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2400mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2416var buffer = column.Buffers[b]; 2420var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2449mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2464mutableBuffer = DataFrameBuffer<float>.GetMutableBuffer(column.Buffers[bufferIndex]); 2481var buffer = column.Buffers[b]; 2483var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2512readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2529var buffer = column.Buffers[b]; 2531var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2560readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2576var buffer = column.Buffers[b]; 2578var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2604readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2621var buffer = column.Buffers[b]; 2623var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2652readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 2667var buffer = column.Buffers[b]; 2685var buffer = column.Buffers[b]; 2711var buffer = column.Buffers[b]; 2715var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2744mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2759mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2775var buffer = column.Buffers[b]; 2779var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2808mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2823mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2839var buffer = column.Buffers[b]; 2843var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2872mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2887mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2903var buffer = column.Buffers[b]; 2907var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2936mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2951mutableBuffer = DataFrameBuffer<int>.GetMutableBuffer(column.Buffers[bufferIndex]); 2968var buffer = column.Buffers[b]; 2970var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 2999readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3016var buffer = column.Buffers[b]; 3018var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3047readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3063var buffer = column.Buffers[b]; 3065var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3091readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3108var buffer = column.Buffers[b]; 3110var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3139readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3154var buffer = column.Buffers[b]; 3172var buffer = column.Buffers[b]; 3198var buffer = column.Buffers[b]; 3202var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3231mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3246mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3262var buffer = column.Buffers[b]; 3266var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3295mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3310mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3326var buffer = column.Buffers[b]; 3330var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3359mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3374mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3390var buffer = column.Buffers[b]; 3394var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3423mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3438mutableBuffer = DataFrameBuffer<long>.GetMutableBuffer(column.Buffers[bufferIndex]); 3455var buffer = column.Buffers[b]; 3457var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3486readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3503var buffer = column.Buffers[b]; 3505var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3534readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3550var buffer = column.Buffers[b]; 3552var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3578readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3595var buffer = column.Buffers[b]; 3597var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3626readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3641var buffer = column.Buffers[b]; 3659var buffer = column.Buffers[b]; 3685var buffer = column.Buffers[b]; 3689var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3718mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3733mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3749var buffer = column.Buffers[b]; 3753var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3782mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3797mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3813var buffer = column.Buffers[b]; 3817var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3846mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3861mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3877var buffer = column.Buffers[b]; 3881var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3910mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3925mutableBuffer = DataFrameBuffer<sbyte>.GetMutableBuffer(column.Buffers[bufferIndex]); 3942var buffer = column.Buffers[b]; 3944var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 3973readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 3990var buffer = column.Buffers[b]; 3992var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4021readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4037var buffer = column.Buffers[b]; 4039var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4065readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4082var buffer = column.Buffers[b]; 4084var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4113readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4128var buffer = column.Buffers[b]; 4146var buffer = column.Buffers[b]; 4172var buffer = column.Buffers[b]; 4176var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4205mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4220mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4236var buffer = column.Buffers[b]; 4240var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4269mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4284mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4300var buffer = column.Buffers[b]; 4304var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4333mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4348mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4364var buffer = column.Buffers[b]; 4368var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4397mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4412mutableBuffer = DataFrameBuffer<short>.GetMutableBuffer(column.Buffers[bufferIndex]); 4429var buffer = column.Buffers[b]; 4431var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4460readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4477var buffer = column.Buffers[b]; 4479var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4508readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4524var buffer = column.Buffers[b]; 4526var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4552readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4569var buffer = column.Buffers[b]; 4571var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4600readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4615var buffer = column.Buffers[b]; 4633var buffer = column.Buffers[b]; 4659var buffer = column.Buffers[b]; 4663var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4692mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4707mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4723var buffer = column.Buffers[b]; 4727var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4756mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4771mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4787var buffer = column.Buffers[b]; 4791var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4820mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4835mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4851var buffer = column.Buffers[b]; 4855var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4884mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4899mutableBuffer = DataFrameBuffer<uint>.GetMutableBuffer(column.Buffers[bufferIndex]); 4916var buffer = column.Buffers[b]; 4918var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4947readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 4964var buffer = column.Buffers[b]; 4966var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 4995readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5011var buffer = column.Buffers[b]; 5013var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5039readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5056var buffer = column.Buffers[b]; 5058var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5087readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5102var buffer = column.Buffers[b]; 5120var buffer = column.Buffers[b]; 5146var buffer = column.Buffers[b]; 5150var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5179mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5194mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5210var buffer = column.Buffers[b]; 5214var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5243mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5258mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5274var buffer = column.Buffers[b]; 5278var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5307mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5322mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5338var buffer = column.Buffers[b]; 5342var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5371mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5386mutableBuffer = DataFrameBuffer<ulong>.GetMutableBuffer(column.Buffers[bufferIndex]); 5403var buffer = column.Buffers[b]; 5405var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5434readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5451var buffer = column.Buffers[b]; 5453var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5482readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5498var buffer = column.Buffers[b]; 5500var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5526readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5543var buffer = column.Buffers[b]; 5545var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5574readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5589var buffer = column.Buffers[b]; 5607var buffer = column.Buffers[b]; 5633var buffer = column.Buffers[b]; 5637var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5666mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5681mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5697var buffer = column.Buffers[b]; 5701var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5730mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5745mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5761var buffer = column.Buffers[b]; 5765var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5794mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5809mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5825var buffer = column.Buffers[b]; 5829var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5858mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5873mutableBuffer = DataFrameBuffer<ushort>.GetMutableBuffer(column.Buffers[bufferIndex]); 5890var buffer = column.Buffers[b]; 5892var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5921readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5938var buffer = column.Buffers[b]; 5940var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 5969readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 5985var buffer = column.Buffers[b]; 5987var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 6013readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 6030var buffer = column.Buffers[b]; 6032var readOnlyBitMapSpan = column.NullBitMapBuffers[b].ReadOnlySpan; 6061readOnlySpan = column.Buffers[bufferIndex].ReadOnlySpan; 6076var buffer = column.Buffers[b];
StringDataFrameColumn.BinaryOperations.cs (1)
49buffer[j] = value + buffer[j];
Microsoft.DotNet.NuGetRepack.Tests (5)
TestHelpers\DiffUtil.cs (5)
49return _comparer.Equals(sequenceA[indexA], sequenceB[indexB]); 59yield return "--> " + toString(sequenceA[edit.IndexA]); 63yield return "++> " + toString(sequenceB[edit.IndexB]); 67yield return " " + toString(sequenceB[edit.IndexB]);
Microsoft.Extensions.AI (22)
ChatCompletion\ChatResponse{T}.cs (1)
126var json = Messages.Count > 0 ? Messages[Messages.Count - 1].Text : string.Empty;
ChatCompletion\FunctionInvokingChatClient.cs (11)
529if (contents[i] is UsageContent uc) 753if (toolList[i].GetService<ApprovalRequiredAIFunction>() is not null) 817any |= CopyFunctionCalls(messages[i].Contents, ref functionCalls); 831if (content[i] is FunctionCallContent functionCall && !functionCall.InformationalOnly) 1464var content = message.Contents[j]; 1711if (content[i] is FunctionCallContent fcc && !fcc.InformationalOnly) 1739var content = messages[i].Contents; 1742if (content[j] is FunctionCallContent functionCall && !functionCall.InformationalOnly) 1764var message = lastMessageIndex != messageIndex ? outputMessages[messageIndex].Clone() : outputMessages[messageIndex]; 1767var functionCall = (FunctionCallContent)message.Contents[contentIndex];
ChatCompletion\ImageGeneratingChatClient.cs (4)
173var content = message.Contents[contentIndex]; 256var tool = tools[i]; 325var content = contents[i]; 482newList.Add(original[j]);
ChatReduction\SummarizingChatReducer.cs (4)
135var lastSummarizedMessage = unsummarizedMessages[indexOfFirstMessageToKeep - 1]; 161if (!unsummarizedMessages[indexOfFirstMessageToKeep - 1].Contents.Any(IsToolRelatedContent)) 173if (unsummarizedMessages[i].Role == ChatRole.User) 224var message = unsummarizedMessages[i];
ToolReduction\EmbeddingToolReductionStrategy.cs (2)
59switch (contents[i]) 251var tool = tools[i];
Microsoft.Extensions.AI.Abstractions (22)
ChatCompletion\ChatResponseExtensions.cs (18)
199if (contents[i] is ImageGenerationToolResultContent imageResult && !string.IsNullOrEmpty(imageResult.ImageId)) 235static (contents, start, end) => new(MergeText(contents, start, end)) { AdditionalProperties = contents[start].AdditionalProperties?.Clone() }); 245AdditionalProperties = contents[start].AdditionalProperties?.Clone() 251Debug.Assert(contents[i] is TextReasoningContent { ProtectedData: null }, "Expected all but the last to have a null ProtectedData"); 255if (((TextReasoningContent)contents[end - 1]).ProtectedData is { } protectedData) 276var current = (DataContent)contents[i]; 289var first = (DataContent)contents[start]; 299var firstContent = (CodeInterpreterToolCallContent)contents[start]; 315(inputs ??= []).AddRange(((CodeInterpreterToolCallContent)contents[i]).Inputs ?? []); 337var firstContent = (CodeInterpreterToolResultContent)contents[start]; 353(output ??= []).AddRange(((CodeInterpreterToolResultContent)contents[i]).Outputs ?? []); 376_ = sb.Append(contents[i]); 393if (!TryAsCoalescable(contents[start], out var firstContent)) 402while (i < contents.Count && TryAsCoalescable(contents[i], out TContent? next) && (canMerge is null || canMerge(prev, next))) 457if (contents[i] is { } content) 478CoalesceContent((List<AIContent>)response.Messages[i].Contents); 492var lastMessage = response.Messages[response.Messages.Count - 1]; 508message = response.Messages[response.Messages.Count - 1];
Contents\AIContentExtensions.cs (2)
48if (list[i] is TextContent text) 100string text = messages[i].Text;
Embeddings\EmbeddingGeneratorExtensions.cs (1)
202results[i] = (inputs[i], embeddings[i]);
HostedMcpServerToolRequireSpecificApprovalMode.cs (1)
71hash = Combine(hash, list[i]?.GetHashCode() ?? 0);
Microsoft.Extensions.AI.Abstractions.Tests (11)
AssertExtensions.cs (2)
33var expectedItem = expectedMessage.Contents[j]; 34var chatItem = chatMessage.Contents[j];
ChatCompletion\ChatMessageTests.cs (1)
108TextContent tc = Assert.IsType<TextContent>(message.Contents[i]);
Contents\AIContentTests.cs (3)
91Assert.NotNull(message.Contents[i]); 92Assert.Equal(message.Contents[i].GetType(), deserialized.Contents[i].GetType());
Image\ImageGenerationResponseTests.cs (1)
48UriContent uc = Assert.IsType<UriContent>(response.Contents[i]);
SpeechToText\SpeechToTextResponseTests.cs (2)
92TextContent tc = Assert.IsType<TextContent>(response.Contents[i]); 173Assert.Equal($"Text{i + 1}", ((TextContent)result.Contents[i]).Text);
SpeechToText\SpeechToTextResponseUpdateTests.cs (2)
110Assert.Equal(original.Contents[i].ToString(), result.Contents[i].ToString());
Microsoft.Extensions.AI.Integration.Tests (2)
PromptBasedFunctionCallingChatClient.cs (2)
69if (message.Contents[itemIndex] is FunctionResultContent frc) 74else if (message.Contents[itemIndex] is FunctionCallContent fcc)
Microsoft.Extensions.AI.OpenAI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
33var expectedItem = expectedMessage.Contents[j]; 34var chatItem = chatMessage.Contents[j];
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\DistributedCachingChatClientTest.cs (4)
812var expectedItem = expectedMessage.Contents[itemIndex]; 813var actualItem = actualMessage.Contents[itemIndex]; 846var expectedItemItem = expectedItem.Contents[itemIndex]; 847var actualItemItem = actualItem.Contents[itemIndex];
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
33var expectedItem = expectedMessage.Contents[j]; 34var chatItem = chatMessage.Contents[j];
Microsoft.Extensions.Configuration (2)
ConfigurationRoot.cs (1)
118IConfigurationProvider provider = providers[i];
InternalConfigurationRootExtensions.cs (1)
53IConfigurationProvider provider = providers[i];
Microsoft.Extensions.DataIngestion (2)
Chunkers\SectionChunker.cs (2)
54switch (section.Elements[i]) 68elements.Add(section.Elements[i]);
Microsoft.Extensions.DataIngestion.Abstractions (2)
IngestionDocument.cs (2)
48elementsToProcess.Push(Sections[sectionIndex]); 63elementsToProcess.Push(nestedSection.Elements[i]);
Microsoft.Extensions.DependencyInjection.Abstractions (7)
Extensions\ServiceCollectionDescriptorExtensions.cs (6)
69if (collection[i].ServiceType == descriptor.ServiceType 70&& object.Equals(collection[i].ServiceKey, descriptor.ServiceKey)) 474ServiceDescriptor service = services[i]; 535if (collection[i].ServiceType == descriptor.ServiceType && object.Equals(collection[i].ServiceKey, descriptor.ServiceKey)) 568ServiceDescriptor? descriptor = collection[i];
Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs (1)
403ServiceDescriptor? descriptor = collection[i];
Microsoft.Extensions.Diagnostics (3)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (3)
49KeyValuePair<string, object?> pair = secondList[i]; 58KeyValuePair<string, object?> pair1 = sortedTags[j]; 97KeyValuePair<string, object?> pair1 = sortedTags[j];
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
TelemetryHealthChecksPublisherTests.cs (2)
120var healthStatus = healthStatuses[i]; 123Assert.Equal(1, GetValue(unhealthyCounters, GetKey(i), healthStatuses[i].ToString()));
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLoggerTests.cs (1)
323var (expectedMessage, expectedLevel, expectedPrefix) = expectationsInOrder[i];
Microsoft.Extensions.FileSystemGlobbing (7)
Internal\PatternContexts\PatternContextLinear.cs (2)
53IPathSegment segment = Pattern.Segments[Frame.SegmentIndex]; 93return Pattern.Segments[Frame.SegmentIndex].Match(value);
Internal\PatternContexts\PatternContextLinearInclude.cs (1)
30onDeclare(Pattern.Segments[Frame.SegmentIndex], IsLastSegment());
Internal\PatternContexts\PatternContextRagged.cs (3)
90frame.SegmentGroup = Pattern.Contains[frame.SegmentGroupIndex]; 152return Frame.SegmentGroup[Frame.SegmentIndex].Match(value); 167IPathSegment segment = Frame.SegmentGroup[groupLength - index - 1];
Internal\PatternContexts\PatternContextRaggedInclude.cs (1)
31onDeclare(Frame.SegmentGroup[Frame.SegmentIndex], false);
Microsoft.Extensions.Http (3)
DefaultHttpClientFactory.cs (2)
113options.HttpClientActions[i](client); 174options.HttpMessageHandlerBuilderActions[i](b);
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
61get => _services[index];
Microsoft.Extensions.Http.Resilience (4)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (1)
92if (handlers[i] is ResilienceHandler)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
66nextGroup = _groups[_lastUsedIndex];
Routing\Internal\RoutingHelper.cs (2)
19weightSum += weightProvider(endpoints[i]); 25var endpoint = endpoints[i];
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
21CustomAttributeData attributeData = attributes[i];
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
21CustomAttributeData attributeData = attributes[i];
Microsoft.Extensions.Options.SourceGeneration (2)
Emitter.cs (2)
130var modelToValidate = vt.ModelsToValidate[i]; 168var line = attributeInstance.InstantiationLines[j];
Microsoft.Extensions.ServiceDiscovery (1)
Configuration\ConfigurationServiceEndpointProvider.Log.cs (1)
40endpointValues.Append(endpoints[i].ToString());
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Resolver\DnsResolver.cs (1)
364IPEndPoint serverEndPoint = _options.Servers[index];
Microsoft.Extensions.Telemetry (1)
Logging\Import\ProviderAliasUtilities.cs (1)
23CustomAttributeData attributeData = attributes[i];
Microsoft.Maui (10)
Extensions\EnumerableExtensions.cs (1)
182 public static T Last<T>(this IList<T> self) => self[self.Count - 1];
Handlers\Layout\LayoutExtensions.cs (1)
26 var child = layout[i];
Layouts\AbsoluteLayoutManager.cs (2)
29 var child = AbsoluteLayout[n]; 70 var child = AbsoluteLayout[n];
Layouts\GridLayoutManager.cs (2)
127 if (_grid[n].Visibility != Visibility.Collapsed) 129 _childrenToLayOut[currentChild] = _grid[n];
Layouts\HorizontalStackLayoutManager.cs (2)
22 var child = Stack[n]; 60 var child = Stack[n];
Layouts\VerticalStackLayoutManager.cs (2)
23 var child = Stack[n]; 56 var child = Stack[n];
Microsoft.Maui.Controls (48)
Element\Element.cs (1)
269 RemoveLogicalChild(LogicalChildrenInternalBackingStore[i], i);
FormattedString.cs (1)
26 SetInheritedBindingContext(Spans[i], BindingContext);
IndicatorView\IndicatorStackLayout.cs (1)
112 var visualElement = Children[index] as VisualElement;
Interactivity\TriggerBase.cs (1)
215 get { return _actual[index]; }
Internals\NotifyCollectionChangedEventArgsExtensions.cs (1)
20 to.Add(from[i]);
Items\SelectableItemsView.cs (1)
98 SelectedItems.Add(newSelection[n]);
Items\SelectionList.cs (2)
30 public object this[int index] { get => _internal[index]; set => _internal[index] = value; } 121 items.Add(_internal[n]);
Label\Label.cs (1)
400 Span span = FormattedText.Spans[i];
Layout\FlexLayout.cs (1)
610 AddFlexItem(i, Children[i]);
Menu\MenuBar.cs (1)
48 var menuBarItem = menuBarItems[i];
MultiBinding.cs (1)
159 var binding = Bindings[i];
ObservableList.cs (2)
54 T item = Items[oldIndex]; 106 oldItems[i] = Items[i + startIndex];
Picker\Picker.cs (2)
410 SetValue(SelectedItemProperty, Items[index], SetterSpecificity.FromHandler); 460 var item = Items[index];
ReadOnlyCastingList.cs (3)
35 get { return _list[index] as T; } 82 get => _list[index] as T; 102 array[i] = _list[i] as T;
Shell\ShellElementCollection.cs (1)
305 get => (TBaseShellItem)Inner[index];
Shell\ShellUriHandler.cs (9)
832 for (int j = sectionIndex; j < Shell.Items[i].Items.Count; j++) 834 for (int k = contentIndex; k < Shell.Items[i].Items[j].Items.Count;) 837 nodeLocation.SetNode(Shell.Items[i]); 838 nodeLocation.SetNode(Shell.Items[i].Items[j]); 839 nodeLocation.SetNode(Shell.Items[i].Items[j].Items[k]);
VisualElement\VisualElement_StyleSheet.cs (1)
23 styleAttribute = attrList[i];
VisualStateManager.cs (18)
171 if (!_names.Add(groups[n].Name)) 187 var group = groups[groupIndex]; 196 if (!_names.Add(group.States[stateIndex].Name)) 316 _internalList[index].StatesChanged -= ValidateAndNotify; 322 get => _internalList[index]; 453 var state = States[stateIndex]; 456 var trigger = state.StateTriggers[triggerIndex]; 582 if (!States[i].Equals(other.States[i])) 593 hash = (hash * 43) ^ States[i].GetHashCode(); 668 if (!Setters[i].Equals(other.Setters[i])) 671 if (!StateTriggers[i].Equals(other.StateTriggers[i])) 682 hash = (hash * 43) ^ Setters[i].GetHashCode(); 684 hash = (hash * 43) ^ StateTriggers[i].GetHashCode(); 713 VisualStateGroup group = list[i]; 716 if (group.States[j].Name == name)
Microsoft.Maui.Controls.Build.Tasks (7)
SetPropertiesVisitor.cs (7)
598 var lastProp = properties[properties.Count - 1]; 1066 var tuple = properties[i]; 1095 var lastGetterTypeRef = properties[i - 1].property?.PropertyType; 1139 if (properties[i].property == null) 1143 var propertyName = properties[i].Item1.Name; 1148 if (properties[i].Item3 is not null) 1150 handlers.Add((partGetter, $"{propertyName}[{properties[i].Item3}]"));
Microsoft.Maui.Controls.Maps (4)
HandlerImpl\Polygon.Impl.cs (2)
23 get { return Geopath[index]; } 133 var item = Geopath[index];
HandlerImpl\Polyline.Impl.cs (2)
21 get { return Geopath[index]; } 132 var item = Geopath[index];
Microsoft.ML.CodeGenerator (3)
Templates\Azure\Console\AzureModelBuilder.cs (1)
90Write("mlContext.Transforms."+PreTrainerTransforms[i]);
Templates\Console\ModelBuilder.cs (2)
110Write("mlContext.Transforms."+PreTrainerTransforms[i]); 131Write("mlContext.Transforms."+PostTrainerTransforms[i]);
Microsoft.ML.Core (21)
Utilities\BinFinder.cs (1)
197var count = counts[i];
Utilities\SupervisedBinFinder.cs (6)
75valuePairs[i] = new ValuePair<Single>(values[i], labels[i]); 76if (seenValues.Add(values[i])) 153valuePairs[i] = new ValuePair<Double>(values[i], labels[i]); 154if (seenValues.Add(values[i]))
Utilities\Utils.cs (14)
297if (input[mid] >= value) 303Contracts.Assert(minCur == min || input[minCur - 1] < value); 304Contracts.Assert(limCur == lim || input[limCur] >= value); 307Contracts.Assert(minCur == min || input[minCur - 1] < value); 308Contracts.Assert(limCur == lim || input[limCur] >= value); 331Contracts.Assert(!float.IsNaN(input[mid])); 333if (input[mid] >= value) 339Contracts.Assert(minCur == min || input[minCur - 1] < value); 340Contracts.Assert(limCur == lim || input[limCur] >= value); 343Contracts.Assert(minCur == min || input[minCur - 1] < value); 344Contracts.Assert(limCur == lim || input[limCur] >= value); 608var currentValue = values[i]; 634var currentValue = values[i]; 660var currentValue = values[i];
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
2247var kvp = kvps[i]; 2254kvp = list[j];
Microsoft.ML.Data (1)
DataView\DataViewConstructionUtils.cs (1)
671return _data[Index];
Microsoft.ML.Ensemble (4)
Selector\DiversityMeasure\BaseDisagreementDiversityMeasure.cs (4)
27var modelXOutputs = predictions[models[i]]; 28var modelYOutputs = predictions[models[j]]; 36ModelX = models[i], 37ModelY = models[j]
Microsoft.ML.FastTree (2)
Training\Test.cs (1)
333BestResult = History[BestIteration - 1][LossIndex];
TreeEnsemble\InternalTreeEnsemble.cs (1)
407FeatureToGainMap currentGains = trees[iteration].GainMap;
Microsoft.ML.IntegrationTests (4)
Common.cs (4)
337Assert.False(float.IsNaN(array[i])); 338Assert.False(float.IsInfinity(array[i])); 352Assert.False(double.IsNaN(array[i])); 353Assert.False(double.IsInfinity(array[i]));
Microsoft.ML.ResultProcessor (5)
ResultProcessor.cs (5)
896if (lines[i] == FoldSeparatorString && (i + 1) < lines.Count && lines[i + 1].StartsWith("FOLD")) 900while (endLineIdx < lines.Count && lines[endLineIdx] != FoldSeparatorString) 988if (lines[i].IndexOf(':') < 0) 990string[] nameValCols = lines[i].Split(':');
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
340var m = models[i];
Microsoft.ML.Tokenizers (2)
ModelSourceGenerationContext.g.cs (1)
53global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];
Utils\IListExtensions.cs (1)
22list.Add(listToAdd[i]);
Microsoft.ML.TorchSharp (2)
NasBert\Models\NasBertEncoder.cs (1)
108arches[i],
Utils\DataUtils.cs (1)
28var v = values[i];
Microsoft.Net.Http.Headers (6)
HttpHeaderParser.cs (1)
70var value = values[i];
NameValueHeaderValue.cs (5)
298destination.Append(values[i].Name.AsSpan()); 299if (!StringSegment.IsNullOrEmpty(values[i].Value)) 302destination.Append(values[i].Value.AsSpan()); 331result = result ^ values[i].GetHashCode(); 445var value = values[i];
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\EventLogCollector.cs (2)
317if (eventLogRecord.Properties[index].Value == null) 323return eventLogRecord.Properties[index].Value.ToString();
Microsoft.VisualStudio.LanguageServices (8)
InheritanceMargin\InheritanceGlyphManager.cs (1)
170return lines[index];
NavigationBar\NavigationBarClient.cs (3)
67? _currentTypeItems[currentTypeIndex] 76return _projectItems[index]; 79return _currentTypeItems[index];
Utilities\VsEnumBSTR.cs (1)
38rgelt[i] = _values[_currentIndex];
Utilities\VsEnumDebugName.cs (1)
38rgelt[i] = _values[_currentIndex];
Venus\CodeBlockEnumerator.cs (1)
48rgelt[i] = _codeBlocks[_currentElement++];
Venus\ContainedDocument.cs (1)
734visibleSpansInOriginal[currentVisibleSpanIndex].End < change.Span.Start)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (2)
1227var trivia = triviaList[i]; 1302var lastIndex = leadingTriviaList.FindIndex(t => t == commentList[commentList.Count - 1]);
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
170capitalizationScheme: n.CapitalizationSchemes[n.CapitalizationSchemeIndex].Capitalization)));
Options\Style\NamingPreferences\NamingStyles\NamingStyleViewModel.cs (1)
55_style.CapitalizationScheme = CapitalizationSchemes[value].Capitalization;
PresentationBuildTasks (11)
src\Microsoft.DotNet.Wpf\src\PresentationCore\MS\internal\Media\ParserStreamGeometryContext.cs (2)
674XamlSerializationHelper.WriteDouble(_bw, points[i].X); 675XamlSerializationHelper.WriteDouble(_bw, points[i].Y);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
4935if( attributes[i].Constructor.ReflectedType == KnownTypes.Types[(int)KnownElements.ContentWrapperAttribute] ) 4945contentWrapper = attributes[i].ConstructorArguments[0].Value as Type;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (4)
219CustomAttributeData data = allAttributes[i]; 223foundAttributes.Add(allAttributes[i]); 239CustomAttributeTypedArgument tca = constructorArguments[i]; 259CustomAttributeTypedArgument tca = constructorArguments[i];
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (3)
256attrValue = GetCustomAttributeData(list[j], attrType, out typeValue, allowTypeAlso, false, allowZeroArgs); 289cad = list[j]; 492friendAssemblyName = GetCustomAttributeData(list[j], GetMscorlibType(typeof(InternalsVisibleToAttribute)), out typeValue, false, false, false);
PresentationCore (143)
MS\Internal\IListConverters.cs (4)
122builder.Append(list[i].ToString(culture)); 163builder.Append(list[i].ToString(culture)); 204builder.Append((list[i] ? 1 : 0)); 246builder.Append((string) converter.ConvertTo(context, culture, list[i], typeof(string)));
MS\Internal\Media\ParserStreamGeometryContext.cs (2)
674XamlSerializationHelper.WriteDouble(_bw, points[i].X); 675XamlSerializationHelper.WriteDouble(_bw, points[i].Y);
MS\Internal\Shaping\TypefaceMap.cs (2)
179ScaledShapeTypeface scaledShapeTypeface = _cachedScaledTypefaces[index]; 444if(scaledTypeface.Equals(_cachedScaledTypefaces[i]))
MS\Internal\TextFormatting\Bidi.cs (58)
710Debug.Assert(CharProperty[2, (int) characterClass[counter + classIndex]]==0, 712characterClass[counter + classIndex].ToString()); 735Debug.Assert(CharProperty[2, (int) characterClass[counter + classIndex]]==0, "Changing class of a fixed class"); 813currentClass = characterClass[counter + classIndex]; 864characterClass[counter + classIndex], 910characterClass[counter + classIndex], 964if (characterClass[i + classIndex] != DirectionClass.CommonSeparator && 965characterClass[i + classIndex] != DirectionClass.BoundaryNeutral) 971if (characterClass[i + classIndex] == DirectionClass.CommonSeparator ) 983characterClass[counter + classIndex]); 1003characterClass[counter + classIndex], 1033if (characterClass[counter + classIndex] == DirectionClass.ArabicNumber) 1055characterClass[counter + classIndex], 1104characterClass[counter + classIndex], 1247characterClass[counter + classIndex]); 1257(characterClass[counter + 1 + classIndex] == DirectionClass.EuropeanSeparator|| 1258characterClass[counter + 1 + classIndex] == DirectionClass.CommonSeparator)) 1310characterClass[counter + classIndex]); 1335characterClass[counter + classIndex], 1370characterClass[counter + classIndex], 1416characterClass[counter + classIndex], 1421lastClass = characterClass[counter + classIndex]; 1446characterClass[counter + classIndex], 1455characterClass[counter + classIndex], 1466characterClass[counter + classIndex]); 1474characterClass[counter + classIndex], 1555characterClass[counter + classIndex]); 1660Invariant.Assert(CharProperty[3, (int) characterClass[counter+index]]==1, 1686(byte)((ImplictPush[Helper.IsOdd(levels[counter+index]) ? 1 : 0, 1687(int)characterClass[index+counter]]) + levels[counter+index]); 1692levels[counter+index-1] = levels[counter+index]; 2016hiddenCharClass = characterClass[i]; // In case EN resolution is overridden. 2078levels[counter + 1] = levels[counter]; 2188if (counter>0 && characterClass[counter-1] == DirectionClass.BoundaryNeutral) 2190if (levels[counter-1] < levels[counter] && levels[counter] != ParagraphTerminatorLevel) 2192levels[counter-1] = levels[counter]; 2309Invariant.Assert(characterClass[counter] == DirectionClass.ArabicNumber || characterClass[counter] == DirectionClass.EuropeanNumber); 2323if (counter>0 && characterClass[counter-1]==DirectionClass.BoundaryNeutral) 2325if (levels[counter-1] < levels[counter]) 2327levels[counter-1] = levels[counter]; 2333lastNonBnLevel = levels[counter]; 2337levels[counter+1] = levels[counter]; 2338characterClass[counter+1] = characterClass[counter]; 2341hiddenCharClass = characterClass[counter]; 2373currenLimitIsParagraphTerminator = (levels[runLimits[counter]] == ParagraphTerminatorLevel); 2400sor = Helper.IsOdd(Math.Max(baseLevel, levels[runStart])) ? 2405sor = Helper.IsOdd(Math.Max(lastRunLevel, levels[runStart])) ? 2409lastRunLevel = levels[runStart]; 2415eor = Helper.IsOdd(Math.Max(levels[runStart], baseLevel)) ? 2425characterClass[runLimits[runNumber]] == DirectionClass.BoundaryNeutral) 2430eor = Helper.IsOdd(Math.Max(levels[runStart], levels[runLimits[runNumber-1] + 1])) ? 2442levels[runStart],
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
84TextShapeableSymbols current = shapeables[i] as TextShapeableSymbols;
MS\Internal\TextFormatting\FullTextState.cs (1)
240TextTabProperties tab = (TextTabProperties)pap.Tabs[i];
MS\Internal\TextFormatting\LineServicesRun.cs (1)
255TextEffect textEffect = _textEffects[i];
MS\Internal\TextFormatting\TextStore.cs (1)
1705TextShapeableSymbols shapeable = shapeables[i];
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
48this[i] = realValues[i];
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (2)
42_xArray[i] = pointValues[i].X; 43_yArray[i] = pointValues[i].Y;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (2)
60return _list[index + _initialIndex]; 136yield return _list[i];
System\Windows\Input\ManipulationLogic.cs (1)
390_manipulationProcessor.SetParameters(parameters[i]);
System\Windows\Media\Animation\AnimationLayer.cs (5)
109_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 129_ownerStorage.AttachAnimationClock(animationClocks[i], _removeRequestedHandler); 202animationClockList.Add(_animationClocks[i]); 210AnimationClock clock = newAnimationClocks[i]; 265AnimationClock clock = _animationClocks[i];
System\Windows\Media\Animation\AnimationStorage.cs (8)
649Debug.Assert(animationClocks[i] != null); 651storage._animationClocks.Add(animationClocks[i]); 652storage.AttachAnimationClock(animationClocks[i], storage._removeRequestedHandler); 672newClockCollection.Add(animationClocks[i]); 673storage.AttachAnimationClock(animationClocks[i], storage._removeRequestedHandler); 750for (int i = 0; i < count && keys[i] < propertyTriggerLayerIndex; i++) 754propertyTriggerLayers.TryGetValue(keys[i], out currentLayer); 944currentPropertyValue = layers[i].GetCurrentValue(currentPropertyValue);
System\Windows\Media\ByteStreamGeometryContext.cs (1)
647Point p = points[i];
System\Windows\Media\GlyphRun.cs (35)
376ushort current = clusterMap[i]; 383if (clusterMap[i] < clusterMap[i - 1]) 386if (clusterMap[i] >= GlyphCount) 520if (currentCodepoint >= clusterMap.Count || clusterMap[currentCodepoint] != clusterMap[clusterCodepointStart]) 531clusterGlyphEnd = clusterMap[currentCodepoint]; 533for (int i = clusterMap[clusterCodepointStart]; i < clusterGlyphEnd; ++i) 534clusterWidth += advances[i]; 594if (i < clusterMap.Count && clusterMap[i] == clusterMap[currentClusterStart]) 600ushort lastGlyphInCluster = i < clusterMap.Count ? clusterMap[i] : (ushort)advances.Count; 602Debug.Assert(clusterMap[currentClusterStart] < lastGlyphInCluster); 605for (int j = clusterMap[currentClusterStart]; j < lastGlyphInCluster; ++j) 606clusterAdvance += advances[j]; 614if (caretStops[j]) 639if (caretStops[caretStops.Count - 1]) 655if (caretStops[caretStops.Count - 1]) 1192return _glyphOffsets[i]; 1311accAdvance += _advanceWidths[i]; 1473accAdvance += _advanceWidths[i]; 1509accAdvance += _advanceWidths[i]; 1554ushort glyphIndex = _glyphIndices[i]; 1573accAdvance += _advanceWidths[i]; 1922pGlyphIndices[i] = _glyphIndices[i]; 1931ushort glyphIndex = _glyphIndices[i]; 1945pAdvanceWidths[i] = (float)_advanceWidths[i]; 1953float advanceWidth = (float)_advanceWidths[i]; 1969pOffsets[2*i] = (float)_glyphOffsets[i].X; 1970pOffsets[2*i+1] = (float)_glyphOffsets[i].Y; 1978float x = (float)_glyphOffsets[i].X; 1979float y = (float)_glyphOffsets[i].Y; 2037if (caretStops[i]) 2050if (caretStops[i]) 2066if (caretStops[lastStop])
System\Windows\Media\GlyphsSerializer.cs (12)
80glyphClusterStart = _clusters[characterIndex]; 86if (_clusters[characterIndex] != glyphClusterStart) 89Debug.Assert(_clusters[characterIndex] > glyphClusterStart); 90AddCluster(glyphClusterStart - _glyphClusterInitialOffset, _clusters[characterIndex] - _glyphClusterInitialOffset, charClusterStart, characterIndex); 93glyphClusterStart = _clusters[characterIndex]; 157ushort fontIndex = _indices[glyph]; 174double shapingAdvance = _advances[glyph] * _milToEm; 200int offset = (int)Math.Round(_offsets[glyph].X * _milToEm); 208offset = (int)Math.Round(_offsets[glyph].Y * _milToEm); 247sourceCharacter = _characters[charClusterStart]; 269if (!_caretStops[i]) 291if (_caretStops[i])
System\Windows\Media\Imaging\BitmapEncoder.cs (2)
435SaveFrame(frameEncodeHandle, encoderOptions, _frames[i]); 666colorContextPtrs[i] = colorContexts[i].ColorContextHandle.DangerousGetHandle();
System\Windows\Media\Imaging\BitmapPalette.cs (2)
44colorArray[i] = colors[i]; 274Color color = _colors[i];
System\Windows\Media\PathStreamGeometryContext.cs (1)
317_currentSegmentPoints.Add(points[i]);
System\Windows\ReverseInheritProperty.cs (1)
73SetCacheFlagInAncestry(otherOrigins[i], true, null, false, setOriginCacheFlag: false);
PresentationFramework (90)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (10)
116if (pageEl.Count > 0 && ((FixedPageProxy)pageEl[pageEl.Count - 1]).Page == startPage) 130((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, end)); 135((FixedPageProxy)pageEl[firstPage]).Segments.Add(new PointSegment(start, PointSegment.NotAPoint)); 136((FixedPageProxy)pageEl[firstPage + numOfPages]).Segments.Add(new PointSegment(PointSegment.NotAPoint, end)); 208if (!double.IsNaN(fp.Segments[i].Start.X)) 210value += fp.Segments[i].Start.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.Segments[i].Start.Y.ToString(NumberFormatInfo.InvariantInfo); 217if (!double.IsNaN(fp.Segments[i].End.X)) 219value += fp.Segments[i].End.X.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + fp.Segments[i].End.Y.ToString(NumberFormatInfo.InvariantInfo);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
962data = ResolveSingleLocator(ref selection, ref attachmentLevel, AttachmentLevel.MiddlePortion, locators[i], offset, startNode, skipStartNode); 980data = ResolveSingleLocator(ref selection, ref attachmentLevel, AttachmentLevel.EndPortion, locators[locators.Count - 1], offset, startNode, skipStartNode); 1217additionalLocators[i] = ((ContentLocatorBase)initialLocator.Clone()).Merge(additionalLocators[i]);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
156GetTextSegmentValues(textSegments[i], elementStart, elementEnd, out startOffset, out endOffset);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
233ITextPointer end = segments[segments.Count - 1].End;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (7)
640Debug.Assert(owners[i] != null, "null owner"); 825if (r1[i].Segment.Contains(ps2)) 827IList<HighlightSegment> r2 = r1[i].Split(ps2, LogicalDirection.Backward); 829res.Add(r2[j]); 833if (!r2.Contains(r1[i])) 834r1[i].Discard(); 838res.Add(r1[i]);
MS\Internal\Data\DifferencingCollection.cs (6)
60if (index < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index])) 70if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 76target = list[index]; 90if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 95if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index])) 160if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index]))
MS\Internal\Documents\TextBoxLine.cs (2)
264Rect rect = textBounds[boundIndex].Rectangle; 371return (((TextSpan<TextRun>)runs[runs.Count - 1]).Value is TextEndOfParagraph);
MS\Internal\Documents\TextBoxView.cs (2)
2047Rect rect = TransformToVisualSpace(bounds[i]); 2126Rect rect = bounds[i];
MS\Internal\Globalization\BamlTreeUpdater.cs (2)
330BamlTreeNode newNode = newChildren[nodeIndex++]; 367BamlTreeNode newNode = newChildren[nodeIndex];
MS\Internal\Ink\InkCanvasSelection.cs (1)
721UpdateElementBounds(elements[i], matrix);
MS\Internal\PtsHost\Line.cs (3)
511Rect rect = textBounds[boundIndex].Rectangle; 852return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 928TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun;
MS\Internal\PtsHost\PtsHost.cs (1)
1519TextBreakpoint textBreakpoint = textBreakpoints[breakIndex];
MS\Internal\PtsHost\TextParaClient.cs (2)
1904RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]); 2016RectangleGeometry rectGeometry = new RectangleGeometry(rectangles[i]);
MS\Internal\Text\Line.cs (2)
178Rect rect = textBounds[boundIndex].Rectangle; 415return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
System\Windows\Annotations\AnnotationHelper.cs (1)
636TextAnchor ta = attachedAnnotations[i].AttachedAnchor as TextAnchor;
System\Windows\Annotations\LocatorPartList.cs (1)
364loc.Parts.Add(additionalLocatorParts[i]);
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
340DataGridCellItemAutomationPeer cellPeer = GetCellItemPeer(e.AddedCells[i]); 349DataGridCellItemAutomationPeer cellPeer = GetCellItemPeer(e.RemovedCells[i]);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (2)
169return (ProviderFromPeer(GetOrCreateCellItemPeer(columns[startIndex]))); 176currentItemPeer = GetOrCreateCellItemPeer(columns[i]);
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (3)
207UnRegisterItem(Items[index]); 231oldItem = Items[index]; 237RegisterItem(Items[index]);
System\Windows\Controls\TextBlock.cs (1)
2323Rect rect = aryTextBounds[j];
System\Windows\Controls\ToolBarTray.cs (1)
198ToolBar currentToolBar = Items[index];
System\Windows\Controls\Validation.cs (1)
370VisualStateGroup g = groups[groupIndex];
System\Windows\Data\BindingGroup.cs (5)
853_itemsRW.Add(newItems[i]); 858IEditableObject ieo = newItems[i].Target as IEditableObject; 865indei = newItems[i].Target as INotifyDataErrorInfo; 869UpdateNotifyDataErrors(indei, newItems[i]); 1265if (ItemsControl.EqualsEx(item, list[i].Target))
System\Windows\Documents\DocumentReferenceCollection.cs (1)
100return _InternalList[index];
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
716TextSegment ts = args.Ranges[idxScan];
System\Windows\Documents\FixedDocument.cs (1)
1140TextSegment textSegment = ranges[i];
System\Windows\Documents\FixedSOMPageConstructor.cs (10)
154_pageConstructor._AddLine(_lastPoint, points[i], _transform); 155_lastPoint = points[i]; 160_lastPoint = points[points.Count - 1]; 167GatherBounds(points[i]); 174_lastPoint = points[points.Count - 1]; 180_lastPoint = points[points.Count - 1]; 436glyphIndex = glyphRun.ClusterMap[charIndex]; 443double advFont = typeFace.AdvanceWidths[glyphRun.GlyphIndices[glyphIndex]] * glyphRun.FontRenderingEmSize; 444double advSpecified = glyphRun.AdvanceWidths[glyphIndex]; 452advWidth += glyphRun.AdvanceWidths[i];
System\Windows\Documents\FixedSOMTextRun.cs (1)
131run._defaultCharWidth = gtf.XHeight > 0 ? gtf.XHeight * glyphs.FontRenderingEmSize : glyphRun.AdvanceWidths[startIndex];
System\Windows\Documents\FixedTextView.cs (1)
449return run.CaretStops == null || run.CaretStops[fixedp.Offset];
System\Windows\Documents\FlowDocument.cs (1)
1409textSegment = args.Ranges[i];
System\Windows\Documents\PageContentCollection.cs (1)
96return InternalList[pageIndex];
System\Windows\Documents\TextContainerChangedEventArgs.cs (5)
209change = Changes.Values[keyIndex]; 285TextChange prevChange = Changes.Values[curIndex]; 311while (curIndex < Changes.Count && Changes.Values[curIndex].Offset <= offset + length) 316MergeTextChangeRight(Changes.Values[curIndex], change, offset, length); 333TextChange curChange = Changes.Values[curIndex];
System\Windows\ResourceDictionary.cs (3)
1263KeyRecord keyRecord = keyCollection[i]; 1330var optimizedStaticResource = staticResources[i] as OptimizedStaticResource; 1338var staticResource = staticResources[i] as StaticResource;
System\Windows\Standard\Utilities.cs (4)
143int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel; 150int score = _MatchImage(frames[i], bitDepth, width, height, currentIconBitDepth); 168return frames[bestIndex];
System\Windows\VisualStateManager.cs (1)
170VisualStateGroup g = groups[groupIndex];
PresentationFramework.Fluent.Tests (2)
ResourceTests\FluentResourceDictionaryTests.cs (2)
117yield return new object[] { s_colorDictionarySourceList[i], s_colorDictionarySourceList[j] };
ReachFramework (21)
AlphaFlattener\PrimitiveList.cs (1)
174Console.Write(chars[i]);
AlphaFlattener\Utility.cs (1)
2730CheckRectanglePoint(points[index]);
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (2)
337defaultPaperSize.Width = paperSizes[defaultPaperSizeIndex].Width; 342defaultPaperSize.Height = paperSizes[defaultPaperSizeIndex].Height;
PrintConfig\PrintCapabilitesWriter.cs (15)
271bins[i], 305optionLocalName = string.Format(CultureInfo.InvariantCulture, "User{0:0000000000}", bins[i]); 306string optionDisplayName = (i < binDisplayNames.Count) ? binDisplayNames[i] : null; 336if (PrintSchemaShim.TryGetPageMediaSizeNameFromPaperSizeCode(paperSizeCodes[i], out mediaSizeEnum)) 351string optionDisplayName = (i < paperSizeDisplayNames.Count) ? paperSizeDisplayNames[i] : null; 358WriteValue("xsd:integer", XmlConvert.ToString(paperSizes[i].Width)); 364WriteValue("xsd:integer", XmlConvert.ToString(paperSizes[i].Height)); 398mediaTypes[i], 413optionLocalName = string.Format(CultureInfo.InvariantCulture, "User{0:0000000000}", mediaTypes[i]); 414optionDisplayName = (i < mediaTypeDisplayNames.Count) ? mediaTypeDisplayNames[i] : null; 502(short)resolutions[i].x, 512if (resolutions[i].x > 0 && resolutions[i].y > 0) 514string x = XmlConvert.ToString(resolutions[i].x); 515string y = XmlConvert.ToString(resolutions[i].y);
PrintConfig\PrintSchemaShim.cs (1)
473points[i] = TenthOfMillimeterToMicrons(points[i]);
Serialization\VisualSerializer.cs (1)
1605if (!IsXmlValidChar(glyphRun.Characters[i]))
Replay (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
Roslyn.Diagnostics.Analyzers (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
Roslyn.Diagnostics.CSharp.Analyzers (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (2)
62var compare = Compare(xNameParts[i], yNameParts[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
167var node = list[i]; 180var node = list[i];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
21return parts[parts.Count - 1];
Sample (1)
artifacts\obj\Sample\Release\net11.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (1)
5812var filterFactory = routeHandlerFilters[i];
Swaggatherer (4)
SwaggathererApplication.cs (4)
173if (!entry.Template.Segments[i].IsSimple) 194entry.Template.Segments[k].Parts[0].Text, 195other.Template.Segments[k].Parts[0].Text, 245var part = template.Segments[i].Parts[0];
System.Collections.Concurrent (3)
System\Collections\Concurrent\OrderablePartitioner.cs (1)
177partitions[i] = new EnumeratorDropIndices(orderablePartitions[i]);
System\Collections\Concurrent\PartitionerStatic.cs (2)
1223_sharedReader[_startIndex + _localOffset.Value]); 1529return (new KeyValuePair<long, TSource>(_offset, _list[_offset]));
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableExtensions.cs (2)
138get { return _collection[index]; } 223return _collection[index];
System.ComponentModel.Composition (2)
Microsoft\Internal\Collections\CollectionServices.cs (2)
254if (!thisList[i]!.Equals(thatList[i]))
System.Diagnostics.DiagnosticSource (3)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (3)
49KeyValuePair<string, object?> pair = secondList[i]; 58KeyValuePair<string, object?> pair1 = sortedTags[j]; 97KeyValuePair<string, object?> pair1 = sortedTags[j];
System.IO.Packaging (2)
System\IO\Packaging\Package.cs (2)
989precedingPartName = _partList.Keys[index - 1].NormalizedPartUriString; 994followingPartName = _partList.Keys[index + 1].NormalizedPartUriString;
System.Linq (34)
System\Linq\ElementAt.cs (2)
21return list[index]; 119list[index] :
System\Linq\Last.cs (2)
84return list[count - 1]; 129TSource result = list[i];
System\Linq\Reverse.SpeedOpt.cs (2)
39return list[count - index - 1]; 68return list[count - 1];
System\Linq\Select.SizeOpt.cs (2)
92array[i] = _selector(_source[i]); 102list.Add(_selector(_source[i]));
System\Linq\Select.SpeedOpt.cs (12)
542results[i] = func(source[i]); 557_selector(_source[i]); 581return _selector(_source[index]); 606return _selector(_source[len - 1]); 619if (EqualityComparer<TResult>.Default.Equals(_selector(_source[i]), value)) 876_current = _selector(_source[_minIndexInclusive + index]); 907return _selector(_source[_minIndexInclusive + index]); 919return _selector(_source[_minIndexInclusive]); 932return _selector(_source[Math.Min(lastIndex, _maxIndexInclusive)]); 985destination[i] = func(source[sourceIndex]); 1001_selector(_source[i]); 1015if (EqualityComparer<TResult>.Default.Equals(_selector(_source[i]), value))
System\Linq\SequenceEqual.cs (2)
44if (!comparer.Equals(firstList[i], secondList[i]))
System\Linq\Shuffle.SpeedOpt.cs (5)
56return list[Random.Shared.Next(0, listCount)]; 181return list[Random.Shared.Next(0, count)]; 216reservoir.Add(list[i]); 226reservoir[r] = list[i]; 308if (EqualityComparer<TSource>.Default.Equals(list[i], value))
System\Linq\SkipTake.SpeedOpt.cs (7)
43_current = _source[_minIndexInclusive + index]; 72return _source[_minIndexInclusive + index]; 84return _source[_minIndexInclusive]; 97return _source[Math.Min(lastIndex, _maxIndexInclusive)]; 161destination[i] = source[sourceIndex]; 184if (EqualityComparer<TSource>.Default.Equals(source[i], item)) 203return _source[_minIndexInclusive + index];
System.Linq.AsyncEnumerable (1)
System\Linq\ToAsyncEnumerable.cs (1)
59yield return source[i];
System.Linq.Expressions (2)
System\Dynamic\Utils\ContractUtils.cs (1)
115if (array[i] == null)
System\Linq\Expressions\Compiler\TypeInfoExtensions.cs (1)
28paramTypes[i + 1] = args[i].Type;
System.Linq.Parallel (5)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (2)
438currentElement = _data[currentKey]; 544currentElement = _data[current];
System\Linq\Parallel\QueryOperators\ListQueryResults.cs (1)
49return _source[index];
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (2)
163IEnumerator<KeyValuePair<long, TElement>> partition = partitionerPartitions[i]; 189IEnumerator<TElement> partition = partitionerPartitions[i];
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
239rawValues.Add(valuesList[i] ?? string.Empty);
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicBuffers.cs (1)
73SetBuffer(i, toBuffer(inputs[i]));
System.Net.Sockets (6)
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
178ArraySegment<byte> buffer = value[i];
System\Net\Sockets\SocketPal.Unix.cs (5)
308ArraySegment<byte> buffer = buffers[startIndex + i]; 356int space = buffers[endIndex].Count - endOffset; 421ArraySegment<byte> buffer = buffers[i]; 437RangeValidationHelpers.ValidateSegment(buffers[j]); 561ArraySegment<byte> buffer = buffers[i];
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (3)
38get => items[index]; 231objects[index++] = items[i]; 243get => items[index];
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (4)
35public T this[int index] => list[index]; 62get => list[index]; 162objects[index++] = list[i]; 178get => list[index];
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (2)
62vsb.Append(constructorArguments[i].ToString()); 71vsb.Append(namedArguments[i].ToString());
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (1)
76result.Append(array[i].ToString(elementType != typeof(object)));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (2)
2321TTask task = tasks[i]; 2349Task task = tasks[i] ?? throw new ArgumentException(SR.Task_MultiTaskContinuation_NullTask, nameof(tasks));
src\System\Reflection\RuntimeCustomAttributeData.cs (3)
227if (attrs[i].Constructor.DeclaringType == caType) 229return attrs[i].ConstructorArguments[parameter];
src\System\Reflection\RuntimeParameterInfo.cs (1)
390object obj = args[index].Value!;
src\System\RuntimeType.CoreCLR.cs (2)
1617if (ReferenceEquals(attrs[i].Constructor.DeclaringType, DefaultMemberAttrType)) 1619attr = attrs[i];
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\DataContractSet.cs (1)
490GenericInfo paramInfo = genInfo.Parameters[i];
System\Runtime\Serialization\ExtensionDataReader.cs (3)
543ExtensionDataMember member = dataNode.Members[_element.childElementIndex++]; 562IDataNode? item = dataNode.Items[_element.childElementIndex++]; 581ISerializableDataMember member = dataNode.Members[_element.childElementIndex++];
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
197Type knownType = knownTypeList[i];
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
1056wrapperElement.Attributes.Append((XmlAttribute)xmlAttributes[i]); 1063wrapperElement.AppendChild(xmlChildNodes[i]);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (4)
667ExtensionDataMember member = members[i]; 765WriteExtensionDataMember(xmlWriter, members[i]); 787WriteExtensionDataValue(xmlWriter, items[i]); 810ISerializableDataMember member = members[i];
System.Private.Xml (49)
System\Xml\Schema\XdrValidator.cs (1)
306reader.AddDefaultAttribute((SchemaAttDef)context.ElementDecl.DefaultAttDefs[i]);
System\Xml\Schema\XmlSchemaValidator.cs (1)
1024SchemaAttDef attdef = (SchemaAttDef)currentElementDecl.DefaultAttDefs[i];
System\Xml\Schema\XsdValidator.cs (1)
539SchemaAttDef attdef = (SchemaAttDef)context.ElementDecl.DefaultAttDefs[i];
System\Xml\XPath\Internal\FunctionQuery.cs (4)
29tmp[i] = Clone(other._args[i]); 52argTypes[i] = _args[i].StaticType; 74argVals[i] = _args[i].Evaluate(nodeIterator); 78argVals[i] = new XPathSelectionIterator(nodeIterator.Current, _args[i]);
System\Xml\XPath\Internal\StringFunctions.cs (3)
33tmp[i] = Clone(other._argList[i]); 43_argList[i].SetXsltContext(context); 124s.Append(_argList[count++].Evaluate(nodeIterator).ToString());
System\Xml\Xsl\IlGen\StaticDataManager.cs (1)
118QilBinary ndNmspDecl = (QilBinary)list[i];
System\Xml\Xsl\ListBase.cs (1)
261_current = _sequence[_index];
System\Xml\Xsl\QIL\QilNode.cs (1)
163Insert(Count, list[i]);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
44rule = rules[i];
System\Xml\Xsl\Runtime\XmlILStorageConverter.cs (1)
105seq.Add((XPathNavigator)listItems[i]);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
513navArray[i] = seq[i]; 718if (!CreateXmlType(seq[i]).IsSubtypeOf(typBase))
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
548AddClone(list[idx]);
System\Xml\Xsl\Runtime\XslNumber.cs (2)
207FormatItem(sb, val[idx], DefaultStartChar, 1); 248FormatItem(sb, val[i], thisFormat.startChar, thisFormat.length);
System\Xml\Xsl\Runtime\XsltLibrary.cs (5)
95arr[i] = args[i]; 410if (CompareValues(op, nodeset[idx], val, compType)) 427if (CompareValues(op, left[leftIdx], right[rightIdx], compType)) 571if (!val[idx].IsNode)
System\Xml\Xsl\XPath\XPathBuilder.cs (3)
1041args[i] = f.ConvertToType(XmlTypeCode.String, args[i]); 1049if (argTypes![i] == XmlTypeCode.Node && XPathQilFactory.CannotBeNodeSet(args[i])) 1053args[i] = f.ConvertToType(argTypes[i], args[i]);
System\Xml\Xsl\Xslt\Focus.cs (3)
108_current = (QilParameter)args[argNum++]; 113_position = (QilParameter)args[argNum++]; 118_last = (QilParameter)args[argNum++];
System\Xml\Xsl\Xslt\QilGenerator.cs (11)
518XslNode node = tmpl.Content[i]; 707XslNode node = instructions[i]; 1180VarPar? withParam = content[i] as VarPar; 1420XslNode when = cases[i]; 1531Sort? sort = content[i] as Sort; 2534if (args.Count <= pos || args[pos].Name != name) 2541varPar = (VarPar)args[pos]; 2585Debug.Assert(actualArgs[actArg].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()"); 2586VarPar withParam = (VarPar)actualArgs[actArg]; 2666Debug.Assert(actualArgs[i].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()"); 2667VarPar withParam = (VarPar)actualArgs[i];
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (6)
214args[i] = _f.SafeDocOrderDistinct(args[i]); 248case XmlTypeCode.Boolean: args[i] = _f.ConvertToBoolean(args[i]); break; 249case XmlTypeCode.Double: args[i] = _f.ConvertToNumber(args[i]); break; 250case XmlTypeCode.String: args[i] = _f.ConvertToString(args[i]); break; 251case XmlTypeCode.Node: args[i] = xmlTypeFormalArg.IsSingleton ? _f.ConvertToNode(args[i]) : _f.ConvertToNodeSet(args[i]); break;
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1357var child = content[t];
System.Reflection.Context (1)
System\Reflection\Context\Projection\Projector.cs (1)
132T value = values[i];
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (3)
35clones[i] = cats[i].CloneForApiReturn(); 49clones[i] = cans[i].CloneForApiReturn(); 69cads[i] = cats[i].CloneForApiReturn();
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (2)
112cats[i] = catgs[i].ToApiForm(); 143cans[i] = cangs[i].ToApiForm(attributeType);
System.ServiceModel.Primitives (45)
System\IdentityModel\Claims\DefaultClaimSet.cs (3)
42get { return _claims[index]; } 64if (claim.Equals(_claims[i])) 79Claim claim = _claims[i];
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
59return _claims[index]; 308Claim claim = _claims[i];
System\IdentityModel\SecurityUtils.cs (1)
166IAuthorizationPolicy policy = authorizationPolicies[i];
System\IdentityModel\Tokens\WSSecurityJan2004.cs (5)
201if (StrEntries[i].CanReadClause(reader, tokenType)) 203clause = StrEntries[i].ReadClause(reader, nonce, length, tokenType); 226if (StrEntries[i].SupportsCore(keyIdentifierClause)) 238if (StrEntries[i].SupportsCore(keyIdentifierClause)) 241StrEntries[i].WriteContent(writer, keyIdentifierClause);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (3)
56if (StrEntries[i].SupportsCore(keyIdentifierClause)) 60string tokenTypeUri = GetTokenTypeUri(StrEntries[i], keyIdentifierClause); 66StrEntries[i].WriteContent(writer, keyIdentifierClause);
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
29if (collection[i] == null)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
381int utf8ValueSize = Encoding.UTF8.GetByteCount(newStrings[i].Value); 411string newString = newStrings[i].Value;
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (4)
34CallbackState callbackState = new CallbackState(this, collection[index]); 38result = collection[index].BeginClose(timeoutHelper.RemainingTime(), s_nestedCallback, callbackState); 48collection[index].Abort(); 54CompleteClose(collection[index], result);
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (3)
41CallbackState callbackState = new CallbackState(this, collection[index]); 42IAsyncResult result = collection[index].BeginOpen(_timeoutHelper.RemainingTime(), s_nestedCallback, callbackState); 45collection[index].EndOpen(result);
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
127FaultContractInfo faultInfo = faultInfos[i];
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
89XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo faultInfo = faultInfos[i];
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
602MessageHeader<object> messageHeaderOfTAttribute = messageHeaderOfTAttributes[i];
System\ServiceModel\Security\ReceiveSecurityHeader.cs (7)
370_universalTokenResolver.Add(_outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, _primaryTokenParameters); 371_primaryTokenResolver.Add(_outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, _primaryTokenParameters); 409SupportingTokenAuthenticatorSpecification spec = _supportingTokenAuthenticators[i]; 586if (_supportingTokenAuthenticators[i].TokenAuthenticator == tokenAuthenticator) 588spec = _supportingTokenAuthenticators[i]; 617if (_outOfBandPrimaryTokenCollection[i] == token) 777SecurityTokenAuthenticator tokenAuthenticator = allowedTokenAuthenticators[i];
System\ServiceModel\Security\SecurityProtocol.cs (10)
429security.IncomingSupportingTokens.Add(new SupportingTokenSpecification(tokens[i], tokenPoliciesMapping[tokens[i]], attachmentMode)); 512SupportingTokenProviderSpecification spec = supportingTokenProviders[i]; 532if (supportingAuthenticators[i].TokenResolver != null) 535outOfBandResolvers.Add(supportingAuthenticators[i].TokenResolver); 563SecurityToken token = supportingTokens[i].SecurityToken; 564SecurityTokenParameters tokenParameters = supportingTokens[i].SecurityTokenParameters; 565switch (supportingTokens[i].SecurityTokenAttachmentMode) 580Fx.Assert("Unknown token attachment mode " + supportingTokens[i].SecurityTokenAttachmentMode.ToString()); 581throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.UnknownTokenAttachmentMode, supportingTokens[i].SecurityTokenAttachmentMode.ToString())));
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
82get { lock (_sync) { return Items[index]; } }
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
37base.Add(source.Items[i]); 137Items[i].WriteTo(writer);
System\ServiceModel\Syndication\SyndicationFeed.cs (2)
93tmp.Add((cloneItems) ? srcList[i].Clone() : srcList[i]);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
172static T Choose<T>(Random random, IList<T> elems) => elems[random.Next(elems.Count)];
System.Threading.Tasks.Parallel (5)
System\Threading\Tasks\Parallel.cs (5)
17730, list.Count, parallelOptions, (i) => body(list[i]), null, null, null, null); 17780, list.Count, parallelOptions, null, (i, state) => bodyWithState(list[i], state), null, null, null); 17830, list.Count, parallelOptions, null, (i, state) => bodyWithStateAndIndex(list[i], state, i), null, null, null); 17880, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithStateAndLocal(list[i], state, local), localInit, localFinally); 17930, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithEverything!(list[i], state, i, local), localInit, localFinally);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FlowPanelDesigner.cs (1)
22if (snapLines[i] is SnapLine line
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
204if (snapLines[i] is SnapLine snapLine && snapLine.Filter is not null && snapLine.Filter.StartsWith(SnapLine.Padding, StringComparison.Ordinal))
System\Windows\Forms\Design\LabelDesigner.cs (1)
78SnapLine snapLine = snapLines[i];
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FileDialogCustomPlacesCollection.cs (1)
14FileDialogCustomPlace customPlace = Items[i];
System.Windows.Forms.Tests (3)
System\Windows\Forms\ScrollBarTests.cs (3)
2485Assert.Equal(expected[callCount].Type, e.Type); 2486Assert.Equal(expected[callCount].NewValue, e.NewValue); 2487Assert.Equal(expected[callCount].OldValue, e.OldValue);
System.Xaml (21)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (1)
2004Add(list[i]);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
256attrValue = GetCustomAttributeData(list[j], attrType, out typeValue, allowTypeAlso, false, allowZeroArgs); 289cad = list[j];
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1257XamlType pparamType = paramTypes[i];
System\Xaml\Schema\Reflector.cs (5)
467result[i] = ExtractType(cad.ConstructorArguments[i]); 521if (TypesAreEqual(_attributeData[i].Constructor.DeclaringType, attributeType)) 523return _attributeData[i]; 535if (TypesAreEqual(_attributeData[i].Constructor.DeclaringType, attributeType)) 537cads.Add(_attributeData[i]);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
107typeArgs[i] = GetXamlTypeOrUnknown(schemaContext, typeName.TypeArguments[i]);
System\Xaml\XamlObjectReader.cs (1)
729var itemValue = itemsList[i];
System\Xaml\XamlSchemaContext.cs (6)
293if (xamlTypeName.TypeArguments[i] is null) 298typeArgs[i] = GetXamlType(xamlTypeName.TypeArguments[i]); 836Assembly assembly = _unexaminedAssemblies[i]; 1126var assembly = unexaminedAssembliesCopy[i]; 1154_unexaminedAssemblies.Add(unexaminedAssembliesCopy[j]); 1191XmlNsInfo.XmlNsDefinition xmlnsDef = xmlnsDefs[i];
System\Xaml\XamlType.cs (4)
1474TypeArguments[i].AppendTypeName(sb, forceNsInitialization); 1666XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext); 1948if (xamlType1._typeArguments[i] != xamlType2._typeArguments[i])
Test.Utilities (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
Text.Analyzers (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
46action(list[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
92var item = list[i]; 109if (predicate(list[i])) 120if (predicate(list[i], arg))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
53stack.Push(range[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (2)
305var currentToken = list[i]; 384var firstToken = tokenWithIndices[i];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
40public T this[int index] => list[index];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
16if (index < sequence.Count && predicate(sequence[index]))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
479var r = t1[i].IsMoreSpecificThan(t2[i]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
95if (availableIndices[i]) 105if (availableIndices[i]) 349if (availableIndices != null && !availableIndices[desiredGroupIndex]) 372if (availableIndices != null && !availableIndices[previousIndex])
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
17result.Add(parameters[i].RenameParameter(parameterNames[i]));
vbc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
VBCSCompiler (1)
src\Compilers\Shared\BuildProtocol.cs (1)
105var arg = args[i];
Wasm.Performance.TestApp (1)
PersonJsonContext.g.cs (1)
58global::System.Text.Json.Serialization.JsonConverter? converter = options.Converters[i];