371 implementations of Current
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
CodeGenerator (1)
HttpUtilities\CombinationsWithoutRepetition.cs (1)
26public T[] Current { get; private set; }
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
936public XmlSchema Current
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (2)
1472public KeyValue<object, object> Current 1507public KeyValue<K, V> Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
183public T Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (1)
361public T Current
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
GetDocument.Insider (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
illink (2)
ILLink.RoslynAnalyzer (2)
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
97 public TValue Current => _enumerator is not null
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
52 public ParameterProxy Current => new ParameterProxy (_method, (ParameterIndex) _current);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
43public KeyValuePair<string, string> Current { get; private set; }
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
24public VirtualChar Current => _virtualCharSequence[_position];
Microsoft.AspNetCore.Components (3)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
808public KeyValuePair<string, object?> Current { get; private set; }
src\Http\Routing\src\PathTokenizer.cs (1)
134public StringSegment Current
src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
25public UrlMatchingNode Current { get; private set; }
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataReader.cs (1)
311public ReadOnlyMemory<char> Current => _enumerator.Current.Value;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.AspNetCore.Http (7)
FormCollection.cs (1)
204public KeyValuePair<string, StringValues> Current
HeaderDictionary.cs (1)
425public KeyValuePair<string, StringValues> Current
Internal\ItemsDictionary.cs (1)
147public KeyValuePair<object, object?> Current => default;
Internal\RequestCookieCollection.cs (1)
196public KeyValuePair<string, string> Current
QueryCollection.cs (1)
220public KeyValuePair<string, StringValues> Current
QueryCollectionInternal.cs (1)
114public KeyValuePair<string, StringValues> Current => _notEmpty ? _dictionaryEnumerator.Current : default;
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
630public KeyValuePair<TKey, TValue> Current { get; private set; }
Microsoft.AspNetCore.Http.Abstractions (3)
Internal\HeaderSegmentCollection.cs (1)
112public HeaderSegment Current
Routing\EndpointMetadataCollection.cs (1)
184public object Current => _current!;
Routing\RouteValueDictionary.cs (1)
808public KeyValuePair<string, object?> Current { get; private set; }
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
311public ReadOnlyMemory<char> Current => _enumerator.Current.Value;
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (3)
1029public KeyValuePair<string, ModelStateEntry> Current => 1152public string Current { get; private set; } 1227public ModelStateEntry Current { get; private set; }
Microsoft.AspNetCore.Mvc.Core (5)
Diagnostics\EventData.cs (1)
50public KeyValuePair<string, object> Current { get; private set; }
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
110public ValidationEntry Current => _entry;
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
71public ValidationEntry Current => _entry;
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
80public ValidationEntry Current => _entry;
ModelBinding\Validation\ShortFormDictionaryValidationStrategy.cs (1)
84public ValidationEntry Current => _entry;
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
DelegatingEnumerator.cs (1)
35public TWrapped Current
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AttributeDictionary.cs (3)
342public KeyValuePair<string, string?> Current => _attributes.Get(_index); 452public string Current => _attributes.Get(_index).Key; 557public string? Current => _attributes.Get(_index).Value;
TempDataDictionary.cs (1)
287public KeyValuePair<string, object?> Current
Microsoft.AspNetCore.Routing (2)
PathTokenizer.cs (1)
134public StringSegment Current
Tree\TreeEnumerator.cs (1)
25public UrlMatchingNode Current { get; private set; }
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\HttpRequestHeaders.cs (2)
222public KeyValuePair<string, StringValues> Current => Enumerator.Current; 254public readonly KeyValuePair<string, StringValues> Current => _current;
Internal\Http\HttpResponseHeaders.cs (1)
163public readonly KeyValuePair<string, StringValues> Current => _current;
Internal\Http\HttpResponseTrailers.cs (1)
72public readonly KeyValuePair<string, StringValues> Current => _current;
Internal\Http3\Http3HeadersEnumerator.cs (1)
30public KeyValuePair<string, string> Current { get; private set; }
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
43public KeyValuePair<string, string> Current { get; private set; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
43public KeyValuePair<string, string> Current { get; private set; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
43public KeyValuePair<string, string> Current { get; private set; }
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
630public KeyValuePair<TKey, TValue> Current { get; private set; }
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
456public (ReadOnlyMemory<byte>, long) Current
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionStore.cs (1)
85public HubConnectionContext Current => _enumerator.Current.Value;
src\SignalR\common\Shared\MessageBuffer.cs (1)
456public (ReadOnlyMemory<byte>, long) Current
Microsoft.Build (8)
Collections\ArrayDictionary.cs (1)
236public KeyValuePair<TKey, TValue> Current =>
Collections\ConvertingEnumerable.cs (1)
85public readonly TTo2 Current
Collections\ItemDictionary.cs (1)
438public T Current => _itemEnumerator?.Current;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
992public T Current
Construction\ProjectElementContainer.cs (2)
888public T Current 989public ProjectElement Current { get; private set; }
Evaluation\ItemDataCollectionValue.cs (1)
29public I Current => (_value is IList<I> list) ? list[_index] : (I)_value;
Evaluation\SemiColonTokenizer.cs (1)
54public string Current
Microsoft.Build.Framework (9)
ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public KeyValuePair<TKey, TValue> Current => _enumerator.Current;
ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public TKey Current => _enumerator.Current.Key;
ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public TValue Current => _enumerator.Current.Value;
ImmutableSegmentedList`1+Enumerator.cs (1)
23public T Current => _enumerator.Current;
SegmentedArray`1.cs (1)
389public T Current => _current;
SegmentedDictionary`2.cs (3)
1181public KeyValuePair<TKey, TValue> Current => _current; 1428public TKey Current => _currentKey!; 1627public TValue Current => _currentValue!;
SegmentedList`1.cs (1)
1208public T Current => _current!;
Microsoft.CodeAnalysis (32)
Binding\AbstractLookupSymbolsInfo.cs (1)
41public int Current => _current;
Collections\OrderPreservingMultiDictionary.cs (1)
347public V Current => _valueSet[_index];
Collections\SmallDictionary.cs (3)
589K IEnumerator<K>.Current => _e.Current; 706V IEnumerator<V>.Current => _e.Current; 812KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
InternalUtilities\ConsList`1.cs (1)
34public T Current
InternalUtilities\MultiDictionary.cs (1)
69public V Current
InternalUtilities\SpecializedCollections.Empty.Enumerator`1.cs (1)
22public new T Current => throw new InvalidOperationException();
InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
25public T Current => _loneValue;
Operations\IOperation.OperationList.cs (1)
153public IOperation Current => _enumerator.Current;
Operations\IOperation.OperationList.Reversed.cs (1)
133public IOperation Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
Syntax\ChildSyntaxList.Enumerator.cs (1)
116public SyntaxNodeOrToken Current
Syntax\ChildSyntaxList.Reversed.cs (1)
118public SyntaxNodeOrToken Current
Syntax\SeparatedSyntaxList.Enumerator.cs (1)
75public TNode Current
Syntax\SyntaxList`1.Enumerator.cs (1)
76public TNode Current
Syntax\SyntaxNodeOrTokenList.cs (1)
569public SyntaxNodeOrToken Current => _list[_index];
Syntax\SyntaxTokenList.Enumerator.cs (1)
141public SyntaxToken Current => _enumerator.Current;
Syntax\SyntaxTokenList.Reversed.cs (1)
152public SyntaxToken Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
145public SyntaxTrivia Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Reversed.cs (1)
141public SyntaxTrivia Current => _enumerator.Current;
Text\TextLineCollection.cs (1)
108public TextLine Current
Microsoft.CodeAnalysis.CodeStyle (17)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
347public V Current => _valueSet[_index];
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
34public T Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
69public V Current
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator`1.cs (1)
22public new T Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
25public T Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
52public readonly TNode Current => _currentNode!;
Microsoft.CodeAnalysis.Collections.Package (11)
ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
SegmentedArray`1.cs (1)
383public readonly T Current => _current;
SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
226public (int depth, int localFuncIndex) Current => _current;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\LookupSymbolsInfoTests.cs (1)
29public string Current
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualCharSequence.cs (1)
75public readonly AspNetCoreVirtualChar Current
Microsoft.CodeAnalysis.InteractiveHost (11)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
Microsoft.CodeAnalysis.Threading.Package (11)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
Microsoft.CodeAnalysis.Workspaces (17)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
347public V Current => _valueSet[_index];
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
34public T Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
69public V Current
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator`1.cs (1)
22public new T Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
25public T Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
52public readonly TNode Current => _currentNode!;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
34public T Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
69public V Current
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator`1.cs (1)
22public new T Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
25public T Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
43public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
23public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
23public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
26public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
23public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
383public readonly T Current => _current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1215public readonly KeyValuePair<TKey, TValue> Current => _current; 1470public readonly TKey Current => _currentKey!; 1677public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1425public readonly T Current => _current;
src\Dependencies\Collections\SegmentedList`1.cs (1)
1361public readonly T Current => _current!;
Microsoft.DotNet.XUnitAssert.Tests (1)
CollectionAssertsTests.cs (1)
2601 public T Current =>
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
276public KeyValuePair<string, object?> Current => new KeyValuePair<string, object?>(_enumerator.Current.Key, _enumerator.Current.Value);
Microsoft.Extensions.Primitives (2)
StringTokenizer.cs (1)
102public StringSegment Current { get; private set; }
StringValues.cs (1)
824public string? Current => _current;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Maui.Controls (3)
BindableObject.cs (1)
183 public LocalValueEntry Current { get; private set; }
CastingEnumerator.cs (1)
42 public T Current
ListProxy.cs (1)
404 public object Current { get; private set; }
PresentationCore (32)
MS\Internal\FontCache\FamilyCollection.cs (1)
543Text.TextInterface.FontFamily IEnumerator<Text.TextInterface.FontFamily>.Current
MS\Internal\FontFace\TypefaceCollection.cs (1)
149public Typeface Current
MS\Internal\Generic\Span.cs (1)
388public Span<U> Current
System\Windows\FreezableCollection.cs (1)
1065public T Current
System\Windows\Generated\TextDecorationCollection.cs (1)
818public TextDecoration Current
System\Windows\Markup\XmlLanguage.cs (1)
514public XmlLanguage Current
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
826public Timeline Current
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
341Clock IEnumerator<Clock>.Current
System\Windows\Media\CharacterMetricsDictionary.cs (1)
564public KeyValuePair<int, CharacterMetrics> Current
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
817public BitmapEffect Current
System\Windows\Media\FamilyMapCollection.cs (1)
408public FontFamilyMap Current
System\Windows\Media\FamilyTypefaceCollection.cs (1)
424public FamilyTypeface Current
System\Windows\Media\Generated\DoubleCollection.cs (1)
842public double Current
System\Windows\Media\Generated\DrawingCollection.cs (1)
857public Drawing Current
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
815public GeneralTransform Current
System\Windows\Media\Generated\GeometryCollection.cs (1)
857public Geometry Current
System\Windows\Media\Generated\GradientStopCollection.cs (1)
919public GradientStop Current
System\Windows\Media\Generated\Int32Collection.cs (1)
841public int Current
System\Windows\Media\Generated\PathFigureCollection.cs (1)
910public PathFigure Current
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
815public PathSegment Current
System\Windows\Media\Generated\PointCollection.cs (1)
843public Point Current
System\Windows\Media\Generated\TextEffectCollection.cs (1)
815public TextEffect Current
System\Windows\Media\Generated\TransformCollection.cs (1)
857public Transform Current
System\Windows\Media\Generated\VectorCollection.cs (1)
843public Vector Current
System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
119public String Current
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
815public GeneralTransform3D Current
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
857public Material Current
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
857public Model3D Current
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
845public Point3D Current
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
857public Transform3D Current
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
845public Vector3D Current
System\Windows\Media3D\Visual3DCollection.cs (1)
665public Visual3D Current
PresentationFramework (9)
MS\Internal\Documents\ContentElementCollection.cs (1)
336public TItem Current
MS\Internal\Documents\HostedElements.cs (1)
153public IInputElement Current
MS\Internal\ListOfObject.cs (1)
120object IEnumerator<object>.Current
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
233public T Current 631public T Current => _FromIterator.Current;
System\Windows\Controls\ColumnDefinition.cs (1)
815public ColumnDefinition Current
System\Windows\Controls\RowDefinition.cs (1)
810public RowDefinition Current
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
270public DataGridCellInfo Current
System\Windows\Documents\TextElementEnumerator.cs (1)
77public TextElementType Current
Shared (1)
EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
System.Collections (13)
System\Collections\Generic\LinkedList.cs (1)
520public T Current => _current!;
System\Collections\Generic\OrderedDictionary.cs (3)
1406public KeyValuePair<TKey, TValue> Current { get; private set; } 1640public TKey Current => _enumerator.Current.Key; 1884public TValue Current => _enumerator.Current.Value;
System\Collections\Generic\PriorityQueue.cs (1)
1045public (TElement Element, TPriority Priority) Current => _current;
System\Collections\Generic\SortedDictionary.cs (3)
428public KeyValuePair<TKey, TValue> Current 648public TKey Current 809public TValue Current
System\Collections\Generic\SortedList.cs (3)
823public KeyValuePair<TKey, TValue> Current => new KeyValuePair<TKey, TValue>(_key!, _value!); 909public TKey Current => _currentKey!; 973public TValue Current => _currentValue!;
System\Collections\Generic\SortedSet.cs (1)
1938public T Current
System\Collections\Generic\Stack.cs (1)
397public T Current
System.Collections.Concurrent (5)
System\Collections\Concurrent\ConcurrentBag.cs (1)
1111public T Current => _current!;
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
888public KeyValuePair<TKey, TValue> Current { get; private set; }
System\Collections\Concurrent\OrderablePartitioner.cs (1)
247public TSource Current
System\Collections\Concurrent\PartitionerStatic.cs (2)
371public abstract KeyValuePair<long, TSource> Current { get; } 1428public abstract KeyValuePair<long, TSource> Current { get; }
System.Collections.Immutable (13)
System\Collections\Frozen\FrozenDictionary.cs (1)
656public readonly KeyValuePair<TKey, TValue> Current
System\Collections\Frozen\FrozenSet.cs (1)
510public readonly T Current
System\Collections\Immutable\ImmutableArray_1.Enumerator.cs (1)
105public T Current
System\Collections\Immutable\ImmutableDictionary_2.Enumerator.cs (1)
54public KeyValuePair<TKey, TValue> Current
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
401public KeyValuePair<TKey, TValue> Current
System\Collections\Immutable\ImmutableHashSet_1.Enumerator.cs (1)
54public T Current
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
322public T Current
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (1)
122public T Current
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (1)
139public T Current
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
88public KeyValuePair<TKey, TValue> Current
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
105public T Current
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (1)
109public T Current
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
74public KeyValuePair<int, TValue> Current
System.Data.Common (1)
System\Data\RbTree.cs (1)
2092public K Current
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\ActivityTagsCollection.cs (1)
289public KeyValuePair<string, object?> Current => _enumerator.Current;
System\Diagnostics\DiagLinkedList.cs (1)
167public T Current => _currentNode.Value;
System\Diagnostics\Metrics\TagList.netcore.cs (1)
325public KeyValuePair<string, object?> Current => _tagList[_index];
System.IO.Packaging (1)
System\IO\Packaging\PackageRelationshipCollection.cs (1)
146public PackageRelationship Current
System.Linq (2)
System\Linq\Iterator.cs (1)
41public TSource Current => _current;
System\Linq\PartialArrayEnumerator.cs (1)
35public T Current => _array[_index];
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
478public T Current => _current;
System.Linq.Parallel (5)
System\Linq\Parallel\Enumerables\EmptyEnumerable.cs (1)
50public T Current { get { return default!; } }
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (1)
74object? IEnumerator<object?>.Current
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
38public abstract TInputOutput Current { get; }
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
57public TOutput Current
System\Linq\Parallel\QueryOperators\QueryOperatorEnumerator.cs (1)
70public TElement Current
System.Net.Http (3)
System\Net\Http\Headers\HeaderStringValues.cs (1)
118public string Current => _current!;
System\Net\Http\Headers\HttpHeadersNonValidated.cs (1)
159public KeyValuePair<string, HeaderStringValues> Current => _current;
System\Net\Http\Headers\ObjectCollection.cs (1)
181public T Current => _current!;
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
18public string Current => (string)_enumerator.Current;
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Tensor.cs (1)
619T IEnumerator<T>.Current => _tensor[_curIndices];
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (2)
120public T Current 165public new T Current
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
311public T Current
src\libraries\System.Private.CoreLib\src\System\CharEnumerator.cs (1)
38public char Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1810public KeyValuePair<TKey, TValue> Current => _current; 2050public TKey Current => _currentKey!; 2243public TValue Current => _currentValue!;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1837public T Current => _current;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
1229public T Current => _current!;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
483public T Current
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
71public TResult Current => _current!;
src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
24public TSource Current => current!;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
468public KeyValuePair<TKey, TValue> Current
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
23public Rune Current => _current;
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1606public KeyValue<object, object?> Current => new KeyValue<object, object?>(_enumerator.Key, _enumerator.Value); 1635public KeyValue<K, V> Current
System.Private.Xml (2)
System\Xml\Serialization\XmlSchemas.cs (1)
815public XmlSchema Current
System\Xml\Xsl\ListBase.cs (1)
232public T Current
System.Reflection.Metadata (30)
System\Reflection\Metadata\BlobBuilder.Enumerators.cs (2)
30public BlobBuilder Current => _currentOpt!; 75public Blob Current
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (8)
69public DocumentHandle Current 168public MethodDebugInformationHandle Current 274public LocalScopeHandle Current 337public LocalScopeHandle Current 482public LocalVariableHandle Current 588public LocalConstantHandle Current 687public ImportScopeHandle Current 794public CustomDebugInformationHandle Current
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
129public ImportDefinition Current
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
192public SequencePoint Current
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (18)
79public GenericParameterHandle Current 187public GenericParameterConstraintHandle Current 293public CustomAttributeHandle Current 414public DeclarativeSecurityAttributeHandle Current 521public MethodDefinitionHandle Current 641public FieldDefinitionHandle Current 761public PropertyDefinitionHandle Current 881public EventDefinitionHandle Current 995public MethodImplementationHandle Current 1096public ParameterHandle Current 1208public InterfaceImplementationHandle Current 1298public TypeDefinitionHandle Current 1388public TypeReferenceHandle Current 1478public ExportedTypeHandle Current 1568public MemberReferenceHandle Current 1707public AssemblyReferenceHandle Current 1812public ManifestResourceHandle Current 1902public AssemblyFileHandle Current
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
21public X509Certificate2 Current
System\Security\Cryptography\X509Certificates\X509ChainElementEnumerator.cs (1)
20public X509ChainElement Current
System\Security\Cryptography\X509Certificates\X509ExtensionEnumerator.cs (1)
17public X509Extension Current
System.Text.Json (2)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (1)
33public JsonElement Current
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
32public JsonProperty Current
System.Text.RegularExpressions (4)
System\Text\RegularExpressions\CaptureCollection.cs (1)
207public Capture Current
System\Text\RegularExpressions\GroupCollection.cs (2)
260public Group Current 273KeyValuePair<string, Group> IEnumerator<KeyValuePair<string, Group>>.Current
System\Text\RegularExpressions\MatchCollection.cs (1)
225public Match Current
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
54T IEnumerator<T>.Current => (T)_enumerator.Current;
System.Xaml (3)
System\Xaml\NameScope.cs (1)
270public KeyValuePair<string, object> Current
System\Xaml\NameScopeDictionary.cs (1)
160public KeyValuePair<string, object> Current
System\Xaml\Parser\NodeStreamSorter.cs (1)
109public XamlNode Current
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
Templates.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
610public CommandArgument Current
xunit.assert (1)
Sdk\CollectionTracker.cs (1)
828 public T Current =>
1101 references to Current
ClientSample (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-dev-certs (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-getdocument (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-openapi (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-sql-cache (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-svcutil-lib (5)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
1511KeyValuePair<K, V> current = _enumerator.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (3)
185get { return _inner.Current; } 267counterValue[digits[i].Key] = digits[i].Value.Current; 300counterValue[digits[i].Key] = digits[i].Value.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
285get { return _e.Current; }
dotnet-user-jwts (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
dotnet-user-secrets (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
GetDocument.Insider (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
http2cat (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
IIS.FunctionalTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
IIS.LongTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
IIS.NewHandler.FunctionalTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
IIS.NewShim.FunctionalTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
IISExpress.FunctionalTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
98 ? _enumerator.Current
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (3)
108? SetCurrent(_genericEnumerator.Current.Key, _genericEnumerator.Current.Value, GetKnownRequestHeaderType(_genericEnumerator.Current.Key))
Microsoft.Arcade.Test.Common (3)
AssertEx.cs (2)
230var value1 = enumerator1.Current; 231var value2 = enumerator2.Current;
FakeHttpClient.cs (1)
41return Task.FromResult(_responseEnumerator.Current);
Microsoft.AspNetCore.Components (1)
NavigationManagerExtensions.cs (1)
189var currentValue = _enumerator.Current;
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\KeyRingProviderTests.cs (6)
767return getCacheExpirationTokenReturnValuesEnumerator.Current; 776return getAllKeysReturnValuesEnumerator.Current; 787Assert.Equal(createNewKeyCallbacksEnumerator.Current.Item1, activationDate); 788Assert.Equal(createNewKeyCallbacksEnumerator.Current.Item2, expirationDate); 789return createNewKeyCallbacksEnumerator.Current.Item3; 800var current = resolveDefaultKeyPolicyReturnValuesEnumerator.Current;
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
97var key = ModelNames.CreateIndexModelName(_key, _keyEnumerator.Current);
ModelBinding\Validation\ShortFormDictionaryValidationStrategy.cs (2)
98if (_model.TryGetValue(_keyMappingEnumerator.Current.Value, out value)) 105_entry = new ValidationEntry(_metadata, _keyMappingEnumerator.Current.Key, value);
ModelBinding\Validation\ValidationVisitor.cs (1)
435var entry = enumerator.Current;
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Validation\DefaultCollectionValidationStrategyTest.cs (1)
146entries.Add(enumerator.Current);
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (1)
191entries.Add(enumerator.Current);
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategyTest.cs (1)
206entries.Add(enumerator.Current);
ModelBinding\Validation\ShortFormDictionaryValidationStrategyTest.cs (1)
143entries.Add(enumerator.Current);
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
DelegatingEnumerator.cs (1)
39object obj = _inner.Current!;
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
DelegatingEnumeratorTest.cs (1)
69innerEnumerator.SetupGet(innerEnum => innerEnum.Current)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageLoggerExtensionsTest.cs (1)
185enumerator.Current.State.ToString());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
TempDataDictionaryTest.cs (1)
52var value = enumerator.Current;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\Http2cat\HPackHeaderWriter.cs (2)
64if (!EncodeHeader(headersEnumerator.Current.Key, headersEnumerator.Current.Value, buffer.Slice(currentLength), out int headerLength))
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http3\Http3HeadersEnumerator.cs (2)
92? SetCurrent(_genericEnumerator.Current.Key, _genericEnumerator.Current.Value, default)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (3)
108? SetCurrent(_genericEnumerator.Current.Key, _genericEnumerator.Current.Value, GetKnownRequestHeaderType(_genericEnumerator.Current.Key))
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (3)
108? SetCurrent(_genericEnumerator.Current.Key, _genericEnumerator.Current.Value, GetKnownRequestHeaderType(_genericEnumerator.Current.Key))
Microsoft.AspNetCore.Shared.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionStore.cs (1)
85public HubConnectionContext Current => _enumerator.Current.Value;
Microsoft.Build (10)
Collections\ConvertingEnumerable.cs (1)
89TFrom2 current = _backingEnumerator.Current;
Collections\ItemDictionary.cs (5)
438public T Current => _itemEnumerator?.Current; 445object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current; 510while (_listEnumerator.Current == null || _listEnumerator.Current.Count == 0); 512return _listEnumerator.Current.GetEnumerator();
Globbing\CompositeGlob.cs (3)
114var first = enumerator.Current; 130builder.Add(enumerator.Current); 134builder.Add(enumerator.Current);
Utilities\Utilities.cs (1)
620yield return enumerator.Current;
Microsoft.Build.BuildCheck.UnitTests (2)
EditorConfig_Tests.cs (2)
747var value1 = enumerator1.Current; 748var value2 = enumerator2.Current;
Microsoft.Build.Engine.UnitTests (9)
BackEnd\TargetEntry_Tests.cs (3)
183Assert.Equal("Bar", depsEnum.Current.TargetName); 192Assert.Equal("Bar", depsEnum.Current.TargetName); 194Assert.Equal("Foo", depsEnum.Current.TargetName);
Collections\CopyOnReadEnumerable_Tests.cs (1)
30enumerator.Current.ToString().ShouldBe(s);
Collections\OMcollections_tests.cs (5)
121enumerator.Current.ShouldBeNull(); 172Assert.Null(enumerator.Current); 174Assert.NotNull(enumerator.Current); 176Assert.Null(enumerator.Current); 178Assert.NotNull(enumerator.Current);
Microsoft.Build.Framework (2)
SegmentedList`1.cs (2)
114Add(en.Current); 795Insert(index++, en.Current);
Microsoft.Cci.Extensions (1)
Extensions\MemberExtensions.cs (1)
235var current = enumerator.Current;
Microsoft.CodeAnalysis (26)
Collections\IdentifierCollection.Collection.cs (1)
33array[arrayIndex] = enumerator.Current;
Collections\Rope.cs (2)
68if (chars0.Current != chars1.Current)
CommandLine\CommandLineParser.cs (1)
1265resolvedPath = enumerator.Current;
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
1029if (AddCustomAttributeToTable(parentHandle, attributeEnumerator.Current)) 1048if (AddCustomAttributeToTable(parentHandle, attributeEnumerator.Current))
InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
InternalUtilities\EnumerableExtensions.cs (9)
673var previous = e.Current; 676if (comparer.Compare(previous, e.Current) > 0) 681previous = e.Current; 771line[i] = e.Current; 823TSource result = e.Current; 881if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 905var result = e.Current; 908result = func(result, e.Current);
InternalUtilities\XmlUtilities.cs (4)
52Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 53CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
MetadataReader\MetadataHelpers.cs (3)
795var pair = enumerator.Current; 816pair = enumerator.Current; 827pair = enumerator.Current;
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
Microsoft.CodeAnalysis.CodeStyle (19)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (12)
673var previous = e.Current; 676if (comparer.Compare(previous, e.Current) > 0) 681previous = e.Current; 771line[i] = e.Current; 823TSource result = e.Current; 881if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 905var result = e.Current; 908result = func(result, e.Current); 974array[0] = e.Current; 988array[i] = e.Current; 999local[i] = e.Current;
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.Collections.Package (3)
SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
Microsoft.CodeAnalysis.CSharp (5)
Syntax\SyntaxEquivalence.cs (1)
283var current = enumerator.Current;
Syntax\SyntaxFactory.cs (4)
1374var firstNode = enumerator.Current; 1390builder.Add(enumerator.Current); 1423builder.Add(enumerator.Current); 1430builder.Add(enumerator.Current);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (2)
169var subseqeuntStatement = enumerator.Current; 194if (state.NodeContainsValuePatternOrReferencesInitializedSymbol(enumerator.Current, cancellationToken))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
286if (ReplacementChangesSemantics(originalChildNodeEnum.Current, replacedChildNodeEnum.Current, originalRoot, skipVerificationForCurrentNode: true))
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (2)
169var subseqeuntStatement = enumerator.Current; 194if (state.NodeContainsValuePatternOrReferencesInitializedSymbol(enumerator.Current, cancellationToken))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
2189return _metadataSequence.Current;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
59var actualToken = actualEnumerator.Current;
Parsing\ParsingTests.cs (3)
204var current = _treeEnumerator.Current; 232SyntaxNodeOrToken current = _treeEnumerator.Current; 251var tk = _treeEnumerator.Current.Kind();
Syntax\SyntaxAnnotationTests.cs (4)
408Assert.True(sourceNodeOrTokenEnumerator.Current.IsEquivalentTo(destNodeOrTokenEnumerator.Current)); 422Assert.True(sourceTriviaEnumerator.Current.IsEquivalentTo(destTriviaEnumerator.Current));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
286if (ReplacementChangesSemantics(originalChildNodeEnum.Current, replacedChildNodeEnum.Current, originalRoot, skipVerificationForCurrentNode: true))
Microsoft.CodeAnalysis.InteractiveHost (3)
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
Microsoft.CodeAnalysis.Test.Utilities (5)
Assert\AssertEx.cs (2)
354var value1 = enumerator1.Current; 355var value2 = enumerator2.Current;
Diagnostics\DiagnosticDescription.cs (3)
424AppendArgumentString(sb, argumentStrings.Current); 521Diagnostic d = e.Current; 567Diagnostic d = e.Current;
Microsoft.CodeAnalysis.Threading.Package (3)
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
Microsoft.CodeAnalysis.UnitTests (46)
Collections\BitArrayTests.cs (1)
247Assert.Equal(i2.Current, i);
Collections\ImmutableDictionaryBuilderTestBase.cs (2)
168Assert.Equal(default(KeyValuePair<string, int>), manualEnum.Current); 171Assert.Equal(default(KeyValuePair<string, int>), manualEnum.Current);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (2)
264Assert.Equal(default(KeyValuePair<int, GenericParameterHelper>), manualEnum.Current); 267Assert.Equal(default(KeyValuePair<int, GenericParameterHelper>), manualEnum.Current);
Collections\ImmutableSetTest.cs (5)
460Assert.Equal(default, enumerator.Current); 462Assert.Equal(default, enumerator.Current); 467Assert.Equal(default, enumerator.Current); 469Assert.Equal(default, enumerator.Current); 480Assert.Equal(set.First(), enumerator.Current);
Collections\ImmutablesTestBase.cs (4)
150Assert.Equal(default(T), enumerator.Current); 154manualArray[i++] = enumerator.Current; 158Assert.Equal(default(T), enumerator.Current); 160Assert.Equal(default(T), enumerator.Current);
Collections\List\CollectionAsserts.cs (6)
59if (e.Current == null) 61Assert.Null(a.Current); 65Assert.IsType(e.Current.GetType(), a.Current); 66Assert.Equal(e.Current, a.Current);
Collections\List\IEnumerable.Generic.Tests.cs (22)
167() => enumerator.Current); 171object? current = enumerator.Current; 175current = enumerator.Current; 217Assert.Throws<InvalidOperationException>(() => enumerator.Current); 221_ = enumerator.Current; 239object? currentItem = enumerator.Current; 261object? tempItem = enumerator.Current; 291object? currentItem = enumerator.Current; 295object? tempItem = enumerator.Current; 315Assert.Throws<InvalidOperationException>(() => enumerator.Current); 319_ = enumerator.Current; 619T current = enumerator.Current; 620Assert.Equal(current, enumerator.Current); 621Assert.Equal(current, enumerator.Current); 622Assert.Equal(current, enumerator.Current); 654Assert.Throws<InvalidOperationException>(() => enumerator.Current); 656current = enumerator.Current; 670Assert.Throws<InvalidOperationException>(() => enumerator.Current); 672current = enumerator.Current; 689Assert.Throws<InvalidOperationException>(() => enumerator.Current); 691current = enumerator.Current; 709current = enumerator.Current;
Collections\List\IList.Generic.Tests.cs (4)
628Assert.Throws<InvalidOperationException>(() => enumerator.Current); // enumerator.Current should fail 632current = enumerator.Current; 644Assert.Throws<InvalidOperationException>(() => enumerator.Current); // enumerator.Current should fail 648current = enumerator.Current;
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (10)
Syntax\SyntaxAnnotationTests.vb (4)
378Assert.True(sourceNodeOrTokenEnumerator.Current.IsEquivalentTo(destNodeOrTokenEnumerator.Current)) 391Assert.True(sourceTriviaEnumerator.Current.IsEquivalentTo(destTriviaEnumerator.Current))
Syntax\SyntaxFactsTest.vb (6)
1032Dim currentToken = enumerator.Current 1033Dim nextToken = enumerator.Current 1037nextToken = enumerator.Current 1128Dim currentToken = enumerator.Current 1129Dim nextToken = enumerator.Current 1133nextToken = enumerator.Current
Microsoft.CodeAnalysis.Workspaces (23)
Shared\Extensions\ISymbolExtensions.cs (4)
599Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 600CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (12)
673var previous = e.Current; 676if (comparer.Compare(previous, e.Current) > 0) 681previous = e.Current; 771line[i] = e.Current; 823TSource result = e.Current; 881if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 905var result = e.Current; 908result = func(result, e.Current); 974array[0] = e.Current; 988array[i] = e.Current; 999local[i] = e.Current;
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (17)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (9)
673var previous = e.Current; 676if (comparer.Compare(previous, e.Current) > 0) 681previous = e.Current; 771line[i] = e.Current; 823TSource result = e.Current; 881if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 905var result = e.Current; 908result = func(result, e.Current);
src\Compilers\Core\Portable\InternalUtilities\XmlUtilities.cs (4)
52Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 53CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
src\Dependencies\Collections\SegmentedList`1.cs (3)
116Add(en.Current); 336Add(en.Current); 948Insert(index++, en.Current);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
45CSharpArgumentInfo info = arginfosEnum.MoveNext() ? arginfosEnum.Current : null;
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
184MemberInfo member = memberEn.Current;
Microsoft.Data.Analysis (157)
DataFrame.Arrow.cs (2)
101AppendDataFrameColumnFromArrowArray(fieldsEnumerator.Current, structArrayEnumerator.Current, ret, field.Name + "_");
DataFrame.cs (4)
546DataFrameColumn column = columnEnumerator.Current; 547object value = rowEnumerator.Current; 585DataFrameColumn column = columnEnumerator.Current; 596DataFrameColumn column = columnEnumerator.Current;
DateTimeComputation.cs (6)
65long row = enumerator.Current; 80long row = enumerator.Current; 137long row = enumerator.Current; 152long row = enumerator.Current; 232long row = enumerator.Current; 290long row = enumerator.Current;
PrimitiveDataFrameColumn.cs (1)
521var curRow = rows.Current;
PrimitiveDataFrameColumnComputations.cs (144)
305long row = enumerator.Current; 320long row = enumerator.Current; 369long row = enumerator.Current; 384long row = enumerator.Current; 433long row = enumerator.Current; 448long row = enumerator.Current; 497long row = enumerator.Current; 512long row = enumerator.Current; 560long row = enumerator.Current; 608long row = enumerator.Current; 652long row = enumerator.Current; 700long row = enumerator.Current; 792long row = enumerator.Current; 807long row = enumerator.Current; 856long row = enumerator.Current; 871long row = enumerator.Current; 920long row = enumerator.Current; 935long row = enumerator.Current; 984long row = enumerator.Current; 999long row = enumerator.Current; 1047long row = enumerator.Current; 1095long row = enumerator.Current; 1139long row = enumerator.Current; 1187long row = enumerator.Current; 1279long row = enumerator.Current; 1294long row = enumerator.Current; 1343long row = enumerator.Current; 1358long row = enumerator.Current; 1407long row = enumerator.Current; 1422long row = enumerator.Current; 1471long row = enumerator.Current; 1486long row = enumerator.Current; 1534long row = enumerator.Current; 1582long row = enumerator.Current; 1626long row = enumerator.Current; 1674long row = enumerator.Current; 1766long row = enumerator.Current; 1781long row = enumerator.Current; 1830long row = enumerator.Current; 1845long row = enumerator.Current; 1894long row = enumerator.Current; 1909long row = enumerator.Current; 1958long row = enumerator.Current; 1973long row = enumerator.Current; 2021long row = enumerator.Current; 2069long row = enumerator.Current; 2113long row = enumerator.Current; 2161long row = enumerator.Current; 2253long row = enumerator.Current; 2268long row = enumerator.Current; 2317long row = enumerator.Current; 2332long row = enumerator.Current; 2381long row = enumerator.Current; 2396long row = enumerator.Current; 2445long row = enumerator.Current; 2460long row = enumerator.Current; 2508long row = enumerator.Current; 2556long row = enumerator.Current; 2600long row = enumerator.Current; 2648long row = enumerator.Current; 2740long row = enumerator.Current; 2755long row = enumerator.Current; 2804long row = enumerator.Current; 2819long row = enumerator.Current; 2868long row = enumerator.Current; 2883long row = enumerator.Current; 2932long row = enumerator.Current; 2947long row = enumerator.Current; 2995long row = enumerator.Current; 3043long row = enumerator.Current; 3087long row = enumerator.Current; 3135long row = enumerator.Current; 3227long row = enumerator.Current; 3242long row = enumerator.Current; 3291long row = enumerator.Current; 3306long row = enumerator.Current; 3355long row = enumerator.Current; 3370long row = enumerator.Current; 3419long row = enumerator.Current; 3434long row = enumerator.Current; 3482long row = enumerator.Current; 3530long row = enumerator.Current; 3574long row = enumerator.Current; 3622long row = enumerator.Current; 3714long row = enumerator.Current; 3729long row = enumerator.Current; 3778long row = enumerator.Current; 3793long row = enumerator.Current; 3842long row = enumerator.Current; 3857long row = enumerator.Current; 3906long row = enumerator.Current; 3921long row = enumerator.Current; 3969long row = enumerator.Current; 4017long row = enumerator.Current; 4061long row = enumerator.Current; 4109long row = enumerator.Current; 4201long row = enumerator.Current; 4216long row = enumerator.Current; 4265long row = enumerator.Current; 4280long row = enumerator.Current; 4329long row = enumerator.Current; 4344long row = enumerator.Current; 4393long row = enumerator.Current; 4408long row = enumerator.Current; 4456long row = enumerator.Current; 4504long row = enumerator.Current; 4548long row = enumerator.Current; 4596long row = enumerator.Current; 4688long row = enumerator.Current; 4703long row = enumerator.Current; 4752long row = enumerator.Current; 4767long row = enumerator.Current; 4816long row = enumerator.Current; 4831long row = enumerator.Current; 4880long row = enumerator.Current; 4895long row = enumerator.Current; 4943long row = enumerator.Current; 4991long row = enumerator.Current; 5035long row = enumerator.Current; 5083long row = enumerator.Current; 5175long row = enumerator.Current; 5190long row = enumerator.Current; 5239long row = enumerator.Current; 5254long row = enumerator.Current; 5303long row = enumerator.Current; 5318long row = enumerator.Current; 5367long row = enumerator.Current; 5382long row = enumerator.Current; 5430long row = enumerator.Current; 5478long row = enumerator.Current; 5522long row = enumerator.Current; 5570long row = enumerator.Current; 5662long row = enumerator.Current; 5677long row = enumerator.Current; 5726long row = enumerator.Current; 5741long row = enumerator.Current; 5790long row = enumerator.Current; 5805long row = enumerator.Current; 5854long row = enumerator.Current; 5869long row = enumerator.Current; 5917long row = enumerator.Current; 5965long row = enumerator.Current; 6009long row = enumerator.Current; 6057long row = enumerator.Current;
Microsoft.DotNet.NuGetRepack.Tests (2)
TestHelpers\AssertEx.cs (2)
246var value1 = enumerator1.Current; 247var value2 = enumerator2.Current;
Microsoft.DotNet.XUnitAssert.Tests (2)
CollectionAssertsTests.cs (2)
2602 GuardNotNull("Tried to get Current on a disposed enumerator", innerEnumerator).Current; 2605 GuardNotNull("Tried to get Current on a disposed enumerator", innerEnumerator).Current;
Microsoft.Extensions.Configuration.CommandLine (2)
CommandLineConfigurationProvider.cs (2)
50string currentArg = enumerator.Current; 102value = enumerator.Current;
Microsoft.Extensions.DependencyModel (1)
DependencyContextWriter.cs (1)
320RuntimeAssetGroup group = groups.Current;
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (1)
89KeyValuePair<string, object?> pair = enumerator.Current;
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\Network\LinuxNetworkUtilizationParser.cs (2)
150ReadOnlySpan<char> firstLine = enumerableLines.Current.TrimStart().Span; 158UpdateTcpStateInfo(enumerableLines.Current.Span, tcpStateInfo);
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpHeadersRedactor.cs (4)
42var firstItem = enumerator.Current.AsSpan(); 52currentItem = enumerator.Current.AsSpan(); 76currentItem = enumerator.Current.AsSpan(); 87currentItem = enumerator.Current.AsSpan();
Microsoft.Extensions.Logging (6)
LoggerFactoryScopeProvider.cs (6)
249_stringBuilder.Append(enumerator.Current.Key); 251_stringBuilder.Append(enumerator.Current.Value); 256_stringBuilder.Append(enumerator.Current.Key); 258_stringBuilder.Append(enumerator.Current.Value); 276public KeyValuePair<string, object?> Current => new KeyValuePair<string, object?>(_enumerator.Current.Key, _enumerator.Current.Value);
Microsoft.Extensions.Telemetry (4)
Logging\Import\LoggerFactoryScopeProvider.cs (4)
271_stringBuilder.Append(enumerator.Current.Key); 273_stringBuilder.Append(enumerator.Current.Value); 278_stringBuilder.Append(enumerator.Current.Key); 280_stringBuilder.Append(enumerator.Current.Value);
Microsoft.Maui.Controls (1)
CastingEnumerator.cs (1)
44 get { return _enumerator.Current as T; }
Microsoft.ML.AutoML (2)
Tuner\AutoZeroTuner.cs (1)
83var config = _configsEnumerator.Current;
Tuner\GridSearchTuner.cs (1)
34var res = _enumerator.Current;
Microsoft.ML.AutoML.Tests (1)
AutoFitTests.cs (1)
505var model = enumerator.Current;
Microsoft.ML.Data (24)
DataLoadSave\Binary\BinaryLoader.cs (6)
1604block = _toDecompressEnumerator.Current; 1640_curr = _toReadEnumerator.Current; 1658_curr = _toReadEnumerator.Current; 1859block = _toDecompressEnumerator.Current; 1923_curr = _toReadEnumerator.Current; 1947_curr = _toReadEnumerator.Current;
DataLoadSave\Text\TextLoaderCursor.cs (1)
293_rows.Index = _ator.Current;
DataView\DataViewConstructionUtils.cs (1)
739_currentRow = result ? _enumerator.Current : null;
Evaluators\AucAggregator.cs (16)
147posScore = posSorted.Current; 148var negScore = negSorted.Current; 171posScore = posSorted.Current; 179negScore = negSorted.Current; 195if (posScore == negSorted.Current) 252posScore = posSorted.Current.Score; 253var negScore = negSorted.Current.Score; 256var weight = posSorted.Current.Weight; 263var weight = negSorted.Current.Weight; 279var posWeight = posSorted.Current.Weight; 285posScore = posSorted.Current.Score; 289var negWeight = negSorted.Current.Weight; 295negScore = negSorted.Current.Score; 309var weight = posSorted.Current.Weight; 316var weight = negSorted.Current.Weight; 319if (posScore == negSorted.Current.Score)
Microsoft.ML.FastTree (14)
FastTree.cs (7)
1968int irow = kvEnums[i].Current.Key; 1969int jrow = kvEnums[j].Current.Key; 1994var kvp = kvEnum.Current; 2124int last = lastOn[hotEnumerator.Current]; 2134lastOn[hotEnumerator.Current] = iFeatureLocal; 2270int i = hotEnumerator.Current; 2318lastOn[hotEnumerator.Current] = iFeature;
SumupPerformanceCommand.cs (1)
221double skippedDocs = g.Current + 1; // Number docs till the next good one.
Utils\LinqExtensions.cs (6)
228if (e1.Current.CompareTo(e2.Current) <= 0) 230yield return e1.Current; 235yield return e2.Current; 241yield return e1.Current; 246yield return e2.Current;
Microsoft.ML.Parquet (4)
ParquetLoader.cs (2)
557_curDataSetRow = _dataSetEnumerator.Current; 562_readerOptions.Offset = (long)_blockEnumerator.Current * _readerOptions.Count;
PartitionedFileLoader.cs (2)
519string curPath = _parent._files.GetPathOrNull(_fileOrder.Current); 522Ch.Warning($"File at index {_fileOrder.Current} is missing a path. Loading of file is being skipped.");
Microsoft.ML.Samples (2)
Dynamic\SimpleDataViewImplementation.cs (2)
286=> value = _enumerator.Current.Label; 291=> value = _enumerator.Current.Text.AsMemory();
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
57if (columnsEnumerator.Current.Name != labelName) 58featuresList.Add(columnsEnumerator.Current.Name);
Microsoft.ML.TestFramework (3)
BaseTestBaseline.cs (3)
457suffixList.Add(suffix.Current); 458seqList.Add(seq.Current); 465seqList[idx++ % seqList.Count] = seq.Current;
Microsoft.ML.Tests (18)
CollectionsDataViewTest.cs (10)
165Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 238Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 264Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 319Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 320Assert.True(enumeratorSimple.Current.UnusedPropertyWithPrivateSetter == 100); 348Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 400Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 450Assert.True(CompareThroughReflection(enumeratorSimple.Current, originalEnumerator.Current)); 488Assert.True(enumeratorSimple.Current.GetDay == originalEnumerator.Current.Day && 489enumeratorSimple.Current.GetHour == originalEnumerator.Current.Hour);
TrainerEstimators\TreeEstimators.cs (2)
886var row = summaryDataEnumerator.Current; 893var row = summaryDataEnumerator.Current;
Transformers\ConcatTests.cs (6)
133Assert.True(colEnumerator.Current.outputColumnName == "f2" && 134colEnumerator.Current.inputColumnNames[0] == "float1" && 135colEnumerator.Current.inputColumnNames[1] == "float1"); 137Assert.True(colEnumerator.Current.outputColumnName == "f3" && 138colEnumerator.Current.inputColumnNames[0] == "float4" && 139colEnumerator.Current.inputColumnNames[1] == "float1");
Microsoft.ML.TimeSeries.Tests (7)
TimeSeriesDirectApi.cs (3)
139row = enumerator.Current; 197row = enumerator.Current; 404row = enumerator.Current;
TimeSeriesSimpleApiTests.cs (4)
67row = enumerator.Current; 111row = enumerator.Current; 162row = enumerator.Current; 220row = enumerator.Current;
Microsoft.ML.Tokenizers (32)
Model\SentencePieceTokenizer.cs (32)
1560if (enumerator.Current <= _maxByteId) 1564while (enumerator.Current < _byteCodeToIdOffset) 1567TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, ref sb); 1576if (enumerator.Current <= _maxByteId) 1578EncodeByte(enumerator.Current, _oneByteUtf8EncodingMaxId, _byteCodeToIdOffset, ref bytesCount, ref bytesPoolArray, ref sb); 1580else if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1586TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, ref sb); 1589else if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1595TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, ref sb); 1602if (enumerator.Current < _byteCodeToIdOffset) 1610TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, ref sb); 1615if (enumerator.Current <= _maxByteId) 1626bytesPoolArray![bytesCount++] = (byte)(enumerator.Current - _byteCodeToIdOffset); 1630EncodeByte(enumerator.Current, _oneByteUtf8EncodingMaxId, _byteCodeToIdOffset, ref bytesCount, ref bytesPoolArray, ref sb); 1640if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1646TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, ref sb); 1809if (enumerator.Current <= _maxByteId) 1812while (enumerator.Current < _byteCodeToIdOffset) 1814OperationStatus status = TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, buffer, ref charsWritten); 1829if (enumerator.Current <= _maxByteId) 1831if (!EncodeByte(enumerator.Current, _oneByteUtf8EncodingMaxId, _byteCodeToIdOffset, ref bytesCount, buffer, ref charsWritten, ref idsConsumed, ref bytesPoolArray)) 1836else if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1845OperationStatus status = TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, buffer, ref charsWritten); 1854else if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1863OperationStatus status = TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, buffer, ref charsWritten); 1878if (enumerator.Current < _byteCodeToIdOffset) 1888OperationStatus status = TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, buffer, ref charsWritten); 1898if (enumerator.Current <= _maxByteId) 1909bytesPoolArray![bytesCount++] = (byte)(enumerator.Current - _byteCodeToIdOffset); 1913if (!EncodeByte(enumerator.Current, _oneByteUtf8EncodingMaxId, _byteCodeToIdOffset, ref bytesCount, buffer, ref charsWritten, ref idsConsumed, ref bytesPoolArray)) 1929if (_vocabReverse.TryGetValue(enumerator.Current, out string? token)) 1938OperationStatus status = TryDecodeAsSpecialToken(this, enumerator.Current, considerSpecialTokens, buffer, ref charsWritten);
Microsoft.ML.Transforms (4)
Expression\TokenCursor.cs (1)
144Token tok = _buffer[_itokLim++] = _tokens.Current;
SvmLight\SvmLightLoader.cs (2)
165ReadOnlyMemory<char> token = ator.Current; 190token = ator.Current;
Text\WordTokenizing.cs (1)
408var column = columns.Current;
PresentationCore (7)
MS\Internal\FontCache\FamilyCollection.cs (2)
564return ((IEnumerator<Text.TextInterface.FontFamily>)this).Current; 658string ordinalName = familyNames.Current;
MS\Internal\FontFace\TypefaceCollection.cs (3)
155Text.TextInterface.Font face = _familyEnumerator.Current; 160FamilyTypeface familyTypeface = _familyTypefaceEnumerator.Current; 180return ((IEnumerator<Typeface>)this).Current;
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
355return ((IEnumerator<Clock>)this).Current;
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
388KeyValuePair<XmlLanguage, string> entry = _enumerator.Current;
PresentationFramework (30)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (7)
350TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 378Debug.Assert(rangeEnumerator.Current.IsNull || !next || 379(rangeSegment.End.CompareTo(rangeEnumerator.Current.Start) <= 0), 381rangeSegment = next ? rangeEnumerator.Current : TextSegment.Null; 420rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 436_segments.Insert(ind++, new HighlightSegment(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange));
MS\Internal\Annotations\TextAnchor.cs (8)
203ourSegment = ourEnumerator.Current; 204theirSegment = theirEnumerator.Current; 292Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 295otherSegment = enumerator.Current; 394Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 397otherSegment = enumerator.Current;
MS\Internal\Data\LiveShapingList.cs (1)
767get { return _ie.Current.Item; }
MS\Internal\Ink\InkCanvasSelection.cs (1)
596Rect elementRect = enumerator.Current;
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
348return m_enumerator.Current;
System\Windows\Documents\DocumentSequence.cs (2)
896GetPageAsyncRequest asyncRequest = ienum.Current.Value; 901notificationList.Add(ienum.Current.Key);
System\Windows\Documents\FixedDocument.cs (2)
1219GetPageAsyncRequest asyncRequest = ienum.Current.Value; 1223completedRequests.Add(ienum.Current.Key);
System\Windows\FrameworkTemplate.cs (1)
1090nameScope.RegisterNameInternal(nameEnumerator.Current, createdObject);
System\Windows\Input\KeyboardNavigation.cs (7)
590Rect rect = enumerator.Current; 607Rect rect = enumerator.Current; 1457IInputElement current = enumerator.Current; 1515IInputElement current = enumerator.Current; 1629IInputElement current = enumerator.Current; 1697IInputElement current = enumerator.Current; 2422Rect rect = enumerator.Current;
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
63Uri referralUri = licenseEnumerator.Current.ReferralInfoUri;
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
841IInputElement element = enumerator.Current;
Shared.Tests (1)
EmptyCollections\EmptyReadOnlyListTests.cs (1)
48Assert.Throws<InvalidOperationException>(() => enumerator.Current);
Swaggatherer (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
System.Collections (2)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (2)
60arr[0] = en.Current; 82arr[count++] = en.Current;
System.Collections.Concurrent (8)
System\Collections\Concurrent\ConcurrentDictionary.cs (4)
2326public DictionaryEntry Entry => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value); 2328public object Key => _enumerator.Current.Key; 2330public object? Value => _enumerator.Current.Value;
System\Collections\Concurrent\OrderablePartitioner.cs (1)
251return _source.Current.Value;
System\Collections\Concurrent\PartitionerStatic.cs (3)
710_sharedReader.Current); 795_sharedReader.Current); 821_sharedReader.Current);
System.Collections.Immutable (10)
System\Collections\Frozen\FrozenDictionary.cs (1)
655/// <inheritdoc cref="IEnumerator{T}.Current" />
System\Collections\Frozen\FrozenSet.cs (1)
509/// <inheritdoc cref="IEnumerator{T}.Current" />
System\Collections\Immutable\DictionaryEnumerator.cs (4)
21get { return new DictionaryEntry(_inner.Current.Key, _inner.Current.Value); } 26get { return _inner.Current.Key; } 31get { return _inner.Current.Value; }
System\Collections\Immutable\DisposableEnumeratorAdapter_2.cs (2)
58get { return _enumeratorObject != null ? _enumeratorObject.Current : _enumeratorStruct.Current; }
System\Collections\Immutable\ImmutableQueue.cs (2)
55ImmutableStack<T> forwards = ImmutableStack.Create(e.Current); 60backwards = backwards.Push(e.Current);
System.Data.Common (4)
System\Data\Common\DbConnectionStringBuilder.cs (2)
250values[i] = this[keylist.Current]; 251Debug.Assert(null != values[i], $"null value {keylist.Current}");
System\Data\DataTableExtensions.cs (2)
111current = rows.Current; 138current = rows.Current;
System.Diagnostics.DiagnosticSource (9)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (1)
89KeyValuePair<string, object?> pair = enumerator.Current;
System\Diagnostics\Activity.cs (5)
1646_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1650_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1670_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1674_last!.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1680_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current);
System\Diagnostics\DiagLinkedList.cs (2)
29_last = _first = new DiagNode<T>(e.Current); 33_last.Next = new DiagNode<T>(e.Current);
System\Diagnostics\DistributedContextPropagator.cs (1)
119KeyValuePair<string, string?> item = e.Current;
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.cs (1)
123KeyValuePair<string, string> kvp = enumerator.Current;
System.IO.Packaging (3)
System\IO\Packaging\PackageRelationshipCollection.cs (3)
125return _enumerator.Current; 150return _enumerator.Current; 170PackageRelationship r = _enumerator.Current;
System.Linq (184)
System\Linq\Aggregate.cs (2)
45result = e.Current; 48result = func(result, e.Current);
System\Linq\AggregateBy.cs (2)
123TSource value = enumerator.Current; 155TSource value = enumerator.Current;
System\Linq\AppendPrepend.cs (1)
65_current = _enumerator.Current;
System\Linq\Average.cs (10)
62long sum = e.Current; 67checked { sum += e.Current; } 110TAccumulator sum = TAccumulator.CreateChecked(e.Current); 114checked { sum += TAccumulator.CreateChecked(e.Current); } 145TSource? value = e.Current; 153value = e.Current; 200TAccumulator sum = TAccumulator.CreateChecked(selector(e.Current)); 205checked { sum += TAccumulator.CreateChecked(selector(e.Current)); } 241TSelector? value = selector(e.Current); 249value = selector(e.Current);
System\Linq\Chunk.cs (3)
89array[0] = e.Current; 103array[i] = e.Current; 114local[i] = e.Current;
System\Linq\Concat.cs (2)
98/// than each <see cref="System.Collections.IEnumerator.MoveNext"/> and <see cref="IEnumerator{T}.Current"/> calls having to traverse all of the previous 246_current = _enumerator.Current;
System\Linq\Concat.SpeedOpt.cs (2)
117return e.Current; 298return e.Current;
System\Linq\CountBy.cs (1)
60TSource value = enumerator.Current;
System\Linq\DefaultIfEmpty.cs (2)
52_current = _enumerator.Current; 66_current = _enumerator.Current;
System\Linq\Distinct.cs (3)
81TSource element = enumerator.Current; 123TSource element = _enumerator.Current; 134element = _enumerator.Current;
System\Linq\ElementAt.cs (3)
140return e.Current; 161queue.Enqueue(e.Current); 169queue.Enqueue(e.Current);
System\Linq\First.cs (1)
93return e.Current;
System\Linq\GroupJoin.cs (1)
56TOuter item = e.Current;
System\Linq\Join.cs (1)
59TOuter item = e.Current;
System\Linq\Last.cs (3)
95result = e.Current; 142TSource result = e.Current; 147TSource element = e.Current;
System\Linq\LeftJoin.cs (1)
57TOuter item = e.Current;
System\Linq\Max.cs (42)
44value = e.Current; 59T? cur = e.Current; 72T? cur = e.Current; 141value = e.Current; 149value = e.Current; 154T x = e.Current; 180value = e.Current; 192T? cur = e.Current; 201T? cur = e.Current; 250value = e.Current; 253decimal x = e.Current; 280value = e.Current; 287decimal? cur = e.Current; 348value = e.Current; 354TSource next = e.Current; 368value = e.Current; 373TSource next = e.Current; 384TSource next = e.Current; 449TSource value = e.Current; 466value = e.Current; 474TSource nextValue = e.Current; 489TSource nextValue = e.Current; 502TSource nextValue = e.Current; 543value = selector(e.Current); 546TResult x = selector(e.Current); 577value = selector(e.Current); 592TResult? cur = selector(e.Current); 605TResult? cur = selector(e.Current); 648value = selector(e.Current); 656value = selector(e.Current); 661TResult x = selector(e.Current); 692value = selector(e.Current); 704TResult? cur = selector(e.Current); 713TResult? cur = selector(e.Current); 747value = selector(e.Current); 750decimal x = selector(e.Current); 781value = selector(e.Current); 788decimal? cur = selector(e.Current); 823value = selector(e.Current); 830TResult x = selector(e.Current); 844value = selector(e.Current); 847TResult x = selector(e.Current);
System\Linq\MaxMin.cs (2)
132value = e.Current; 135T x = e.Current;
System\Linq\Min.cs (36)
46value = e.Current; 55T? cur = e.Current; 117value = e.Current; 125T x = e.Current; 165value = e.Current; 177T? cur = e.Current; 230value = e.Current; 233decimal x = e.Current; 259value = e.Current; 266decimal? cur = e.Current; 327value = e.Current; 333TSource next = e.Current; 347value = e.Current; 352TSource next = e.Current; 363TSource next = e.Current; 428TSource value = e.Current; 445value = e.Current; 453TSource nextValue = e.Current; 468TSource nextValue = e.Current; 481TSource nextValue = e.Current; 522value = selector(e.Current); 525TResult x = selector(e.Current); 558value = selector(e.Current); 567TResult? cur = selector(e.Current); 609value = selector(e.Current); 617TResult x = selector(e.Current); 661value = selector(e.Current); 673TResult? cur = selector(e.Current); 711value = selector(e.Current); 714decimal x = selector(e.Current); 745value = selector(e.Current); 752decimal? cur = selector(e.Current); 787value = selector(e.Current); 794TResult x = selector(e.Current); 808value = selector(e.Current); 811TResult x = selector(e.Current);
System\Linq\OrderedEnumerable.cs (2)
45value = e.Current; 52TElement x = e.Current;
System\Linq\OrderedEnumerable.SpeedOpt.cs (13)
175TElement value = e.Current; 179TElement x = e.Current; 200TElement value = e.Current; 204TElement current = e.Current; 270TElement resultValue = e.Current; 277TElement nextValue = e.Current; 290TElement nextValue = e.Current; 322TElement resultValue = e.Current; 329TElement nextValue = e.Current; 342TElement nextValue = e.Current; 403TElement resultValue = e.Current; 409TElement nextValue = e.Current; 420TElement nextValue = e.Current;
System\Linq\Reverse.SpeedOpt.cs (2)
79result = e.Current; 112return e.Current;
System\Linq\RightJoin.cs (1)
57TInner item = e.Current;
System\Linq\Select.cs (2)
145_current = _selector(_enumerator.Current); 289_current = _selector(_enumerator.Current);
System\Linq\Select.SpeedOpt.cs (4)
86return _selector(e.Current); 108return _selector(e.Current); 122TSource last = e.Current; 126last = e.Current;
System\Linq\SelectMany.cs (2)
201TSource element = _sourceEnumerator.Current; 218_current = _subEnumerator.Current;
System\Linq\SequenceEqual.cs (2)
60if (!(e2.MoveNext() && comparer.Equals(e1.Current, e2.Current)))
System\Linq\Shuffle.SpeedOpt.cs (3)
233reservoir = new List<TSource>(Math.Min(takeCount, 4)) { e.Current }; 242reservoir.Add(e.Current); 254reservoir[(int)r] = e.Current;
System\Linq\Single.cs (3)
93TSource result = e.Current; 144TSource result = e.Current; 149if (predicate(e.Current))
System\Linq\Skip.cs (4)
66TSource element = e.Current; 72yield return e.Current; 111TSource element = e.Current; 117yield return e.Current;
System\Linq\Skip.SizeOpt.cs (1)
16while (e.MoveNext()) yield return e.Current;
System\Linq\SkipTake.SpeedOpt.cs (6)
314_current = _enumerator.Current; 395return en.Current; 417return en.Current; 447result = en.Current; 474builder.Add(en.Current); 502builder.Add(en.Current);
System\Linq\Take.cs (5)
122queue.Enqueue(e.Current); 129queue.Enqueue(e.Current); 137queue.Enqueue(e.Current); 178queue.Enqueue(e.Current); 186queue.Enqueue(e.Current);
System\Linq\Take.SizeOpt.cs (1)
42yield return e.Current;
System\Linq\Union.cs (2)
140TSource element = _enumerator.Current; 155TSource element = _enumerator.Current;
System\Linq\Where.cs (2)
127TSource item = _enumerator.Current; 401TSource item = _enumerator.Current;
System\Linq\Where.SpeedOpt.cs (4)
103TSource current = e.Current; 111current = e.Current; 599TSource current = e.Current; 607current = e.Current;
System\Linq\Zip.cs (7)
81yield return (e1.Current, e2.Current); 91yield return resultSelector(e1.Current, e2.Current); 102yield return (e1.Current, e2.Current, e3.Current);
System.Linq.Expressions (55)
System\Linq\Expressions\BlockExpression.cs (15)
221if (en.Current == _arg0) 224return en.Current == _arg1; 274if (en.Current == _arg0) 277if (en.Current == _arg1) 280return en.Current == _arg2; 341if (en.Current == _arg0) 344if (en.Current == _arg1) 347if (en.Current == _arg2) 350return en.Current == _arg3; 425if (en.Current == _arg0) 428if (en.Current == _arg1) 431if (en.Current == _arg2) 434if (en.Current == _arg3) 437return en.Current == _arg4; 565return ExpressionUtils.ReturnObject<Expression>(_body) == en.Current;
System\Linq\Expressions\DynamicExpression.cs (10)
560return en.Current == ExpressionUtils.ReturnObject<Expression>(_arg0); 625if (en.Current == _arg0) 628return en.Current == _arg1; 696if (en.Current == _arg0) 699if (en.Current == _arg1) 702return en.Current == _arg2; 773if (en.Current == _arg0) 776if (en.Current == _arg1) 779if (en.Current == _arg2) 782return en.Current == _arg3;
System\Linq\Expressions\Interpreter\InstructionList.cs (2)
127while (hasCookie && cookieEnumerator.Current.Key == i) 129cookie = cookieEnumerator.Current.Value;
System\Linq\Expressions\LambdaExpression.cs (6)
410return en.Current == ExpressionUtils.ReturnObject<ParameterExpression>(_par0); 467if (en.Current == _par0) 470return en.Current == _par1; 532if (en.Current == _par0) 535if (en.Current == _par1) 538return en.Current == _par2;
System\Linq\Expressions\MethodCallExpression.cs (21)
291return en.Current == ExpressionUtils.ReturnObject<Expression>(_arg0); 348if (en.Current == _arg0) 351return en.Current == _arg1; 415if (en.Current == _arg0) 418if (en.Current == _arg1) 421return en.Current == _arg2; 488if (en.Current == _arg0) 491if (en.Current == _arg1) 494if (en.Current == _arg2) 497return en.Current == _arg3; 567if (en.Current == _arg0) 570if (en.Current == _arg1) 573if (en.Current == _arg2) 576if (en.Current == _arg3) 579return en.Current == _arg4; 668return en.Current == ExpressionUtils.ReturnObject<Expression>(_arg0); 729if (en.Current == _arg0) 732return en.Current == _arg1; 796if (en.Current == _arg0) 799if (en.Current == _arg1) 802return en.Current == _arg2;
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
68Add(en.Current);
System.Linq.Parallel (105)
System\Linq\Parallel\Merging\DefaultMergeHelper.cs (1)
168output.Add(enumerator.Current);
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
48get { return ((IEnumerator<TInputOutput>)this).Current; }
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (1)
656chunkBuffer[i] = _source.Current;
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (2)
127accumulator = _finalReduce(accumulator, enumerator.Current); 138accumulator = enumerator.Current;
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (1)
315Pair<TInputOutput, TLeftKey> currentPair = _outputEnumerator.Current.Value;
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (1)
386Pair<TInputOutput, ConcatKey<TLeftKey, TRightKey>> current = _outputEnumerator.Current.Value;
System\Linq\Parallel\QueryOperators\Binary\ZipQueryOperator.cs (2)
127yield return _resultSelector(leftEnumerator.Current, rightEnumerator.Current);
System\Linq\Parallel\QueryOperators\Inlined\CountAggregationOperator.cs (1)
53count += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\DecimalAverageAggregationOperator.cs (3)
52Pair<decimal, long> result = enumerator.Current; 59result.First += enumerator.Current.First; 60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\DecimalMinMaxAggregationOperator.cs (3)
56decimal best = enumerator.Current; 63decimal current = enumerator.Current; 74decimal current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\DecimalSumAggregationOperator.cs (1)
49sum += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\DoubleAverageAggregationOperator.cs (3)
52Pair<double, long> result = enumerator.Current; 59result.First += enumerator.Current.First; 60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\DoubleMinMaxAggregationOperator.cs (3)
62double best = enumerator.Current; 69double current = enumerator.Current; 80double current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\DoubleSumAggregationOperator.cs (1)
49sum += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\FloatAverageAggregationOperator.cs (3)
52Pair<double, long> result = enumerator.Current; 59result.First += enumerator.Current.First; 60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\FloatMinMaxAggregationOperator.cs (3)
61float best = enumerator.Current; 68float current = enumerator.Current; 79float current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\FloatSumAggregationOperator.cs (1)
49sum += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\IntAverageAggregationOperator.cs (3)
52Pair<long, long> result = enumerator.Current; 59result.First += enumerator.Current.First; 60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\IntMinMaxAggregationOperator.cs (3)
56int best = enumerator.Current; 63int current = enumerator.Current; 74int current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\IntSumAggregationOperator.cs (1)
52sum += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\LongAverageAggregationOperator.cs (3)
52Pair<long, long> result = enumerator.Current; 59result.First += enumerator.Current.First; 60result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\LongCountAggregationOperator.cs (1)
52count += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\LongMinMaxAggregationOperator.cs (3)
56long best = enumerator.Current; 63long current = enumerator.Current; 74long current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\LongSumAggregationOperator.cs (1)
51sum += enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalAverageAggregationOperator.cs (3)
51Pair<decimal, long> result = enumerator.Current; 58result.First += enumerator.Current.First; 59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalMinMaxAggregationOperator.cs (3)
55decimal? best = enumerator.Current; 62decimal? current = enumerator.Current; 73decimal? current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalSumAggregationOperator.cs (1)
49sum += enumerator.Current.GetValueOrDefault();
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleAverageAggregationOperator.cs (3)
51Pair<double, long> result = enumerator.Current; 58result.First += enumerator.Current.First; 59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleMinMaxAggregationOperator.cs (3)
61double? best = enumerator.Current; 68double? current = enumerator.Current; 80double? current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleSumAggregationOperator.cs (1)
49sum += enumerator.Current.GetValueOrDefault();
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatAverageAggregationOperator.cs (3)
51Pair<double, long> result = enumerator.Current; 58result.First += enumerator.Current.First; 59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatMinMaxAggregationOperator.cs (3)
61float? best = enumerator.Current; 68float? current = enumerator.Current; 80float? current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatSumAggregationOperator.cs (1)
49sum += enumerator.Current.GetValueOrDefault();
System\Linq\Parallel\QueryOperators\Inlined\NullableIntAverageAggregationOperator.cs (3)
51Pair<long, long> result = enumerator.Current; 58result.First += enumerator.Current.First; 59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableIntMinMaxAggregationOperator.cs (3)
55int? best = enumerator.Current; 62int? current = enumerator.Current; 73int? current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableIntSumAggregationOperator.cs (1)
51sum += enumerator.Current.GetValueOrDefault();
System\Linq\Parallel\QueryOperators\Inlined\NullableLongAverageAggregationOperator.cs (3)
51Pair<long, long> result = enumerator.Current; 58result.First += enumerator.Current.First; 59result.Second += enumerator.Current.Second;
System\Linq\Parallel\QueryOperators\Inlined\NullableLongMinMaxAggregationOperator.cs (3)
55long? best = enumerator.Current; 62long? current = enumerator.Current; 73long? current = enumerator.Current;
System\Linq\Parallel\QueryOperators\Inlined\NullableLongSumAggregationOperator.cs (1)
51sum += enumerator.Current.GetValueOrDefault();
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (3)
58yield return enumerator.Current; 220KeyValuePair<long, TElement> current = _sourceEnumerator.Current; 255currentElement = _sourceEnumerator.Current;
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (2)
66return _openedQueryEnumerator.Current; 85get { return ((IEnumerator<TOutput>)this).Current; }
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (1)
79if (enumerator.Current == _qualification)
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
62if (enumerator.Current)
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
261KeyValuePair<Wrapper<TInputOutput>, TKey> currentPair = _hashLookupEnumerator.Current;
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
151TSource current = e.Current;
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (4)
327currentElement = _selectManyOperator._resultSelector(_mutables._currentLeftElement, _currentRightSource.Current); 334currentElement = _currentRightSourceAsOutput.Current; 456currentElement = _selectManyOperator._resultSelector(_mutables._currentLeftElement, _currentRightSource.Current); 463currentElement = _currentRightSourceAsOutput.Current;
System\Linq\Parallel\Utils\ExceptionAggregator.cs (1)
41elem = enumerator.Current;
System\Linq\ParallelEnumerable.cs (10)
1566acc = (TAccumulate)(object)enumerator.Current!; 1571TSource elem = enumerator.Current; 4398if (!(e2.MoveNext() && comparer.Equals(e1.Current, e2.Current))) return false; 4893list.Add(input.Current); 4975TSource val = input.Current; 5072TSource src = input.Current; 5159lookup.Add(input.Current); 5246lookup.Add(input.Current); 5340TSource current = e.Current;
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
305MethodInfo mi = en.Current;
System.Net.Mail (3)
System\Net\Mime\MimeMultiPart.cs (3)
118MimeBasePart part = (MimeBasePart)context._partsEnumerator.Current; 123part = (MimeBasePart)context._partsEnumerator.Current; 167MimeBasePart part = (MimeBasePart)context._partsEnumerator.Current;
System.Private.CoreLib (24)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (2)
60arr[0] = en.Current; 82arr[count++] = en.Current;
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (2)
238arr[i++] = e.Current; 466array[i++] = e.Current;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (3)
87Add(en.Current); 271Add(en.Current); 857Insert(index++, en.Current);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (4)
227get => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value); 230public object Key => _enumerator.Current.Key; 232public object? Value => _enumerator.Current.Value;
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (10)
160string? firstValue = en.Current; 173result.Append(en.Current); 809string? firstValue = en.Current; 825result.Append(en.Current); 952char c = en.Current; // save the first value 970c = en.Current; 984T value = e.Current; // save the first value 1000result.AppendFormatted(e.Current); 1010string? firstString = e.Current?.ToString(); // save the first value 1026result.Append(e.Current?.ToString());
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
1248T value = en.Current; 1257value = en.Current;
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
6979Task task = e.Current;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1639KeyValuePair<K, V> current = _enumerator.Current;
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\Deserializer\ClassRecordSerializationInfoDeserializer.cs (1)
47string memberName = _memberNamesIterator.Current;
System.Private.Xml (4)
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (4)
87newSequence.Add(sequence.Current); 97newSequence.Add(_sequencesToMerge[0].Current); 122int cmp = _runtime.ComparePosition(sequence.Current, _sequencesToMerge[i].Current);
System.Private.Xml.Linq (2)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (2)
60arr[0] = en.Current; 82arr[count++] = en.Current;
System.Resources.Extensions (1)
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordSerializationInfoDeserializer.cs (1)
48string memberName = _memberNamesIterator.Current;
System.ServiceModel.Primitives.Tests (2)
ServiceModel\SynchronizedCollection.cs (2)
49Assert.True(e.Current.Equals(n++), string.Format("Expected: {0}, got:{1}", n-1, e.Current));
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (2)
57TKey key = enumerator.Current.Key; 61TValue element = enumerator.Current.Value;
System\Text\Json\Serialization\Converters\Collection\IEnumerableDefaultConverter.cs (1)
46TElement element = enumerator.Current;
System.Threading.Tasks.Parallel (3)
System\Threading\Tasks\Parallel.cs (2)
2647KeyValuePair<long, TSource> kvp = myPartition.Current; 2697TSource t = myPartition.Current;
System\Threading\Tasks\Parallel.ForEachAsync.cs (1)
282element = state.Enumerator.Current;
System.Xaml (7)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
251_current = _nodeStream.Current;
System\Xaml\Parser\NodeStreamSorter.cs (4)
134_current = _source.Current; 182node = _source.Current; 311node = _source.Current; 374XamlNode node = _source.Current;
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
765yield return new DictionaryEntry(enumerator.Current.Key, enumerator.Current.Value);
Templates.Blazor.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Templates.Blazor.WebAssembly.Auth.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Templates.Blazor.WebAssembly.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Templates.Mvc.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Templates.Tests (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
Wasm.Performance.ConsoleHost (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
182arguments.Current.Values.Add(arg); 261arguments.Current.Values.Add(arg); 357arguments.Current.Values.Add(arg); 614return _enumerator.Current;
WindowsBase.Tests (8)
System\Windows\NameScopeTests.cs (8)
735Assert.Throws<InvalidOperationException>(() => enumerator.Current); 739Assert.Equal("name", enumerator.Current.Key); 740Assert.Same(scopedElement, enumerator.Current.Value); 744Assert.Throws<InvalidOperationException>(() => enumerator.Current); 748Assert.Throws<InvalidOperationException>(() => enumerator.Current); 764Assert.Equal(default, enumerator.Current); 768Assert.Equal(default, enumerator.Current); 772Assert.Equal(default, enumerator.Current);
xunit.assert (3)
Sdk\CollectionTracker.cs (3)
689 startItems.Add(spanEnumerator.Current); 829 innerEnumerator.Current; 881 var current = innerEnumerator.Current;