684 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
GenerateDocumentationAndConfigFiles (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.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)
101public TValue Current => _enumerator is not null
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
52public 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; }
Metrics (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Metrics.Legacy (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
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.Owin (2)
DictionaryStringArrayWrapper.cs (1)
109public KeyValuePair<string, string[]> Current => _current;
DictionaryStringValuesWrapper.cs (1)
154public KeyValuePair<string, StringValues> Current => _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)
457public (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)
457public (ReadOnlyMemory<byte>, long) 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
Operations\IOperation.OperationList.cs (1)
154public IOperation Current => _enumerator.Current;
Operations\IOperation.OperationList.Reversed.cs (1)
134public IOperation Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
Syntax\ChildSyntaxList.Enumerator.cs (1)
116public SyntaxNodeOrToken Current
Syntax\ChildSyntaxList.Reversed.cs (1)
119public SyntaxNodeOrToken Current
Syntax\SeparatedSyntaxList.Enumerator.cs (1)
75public TNode Current
Syntax\SyntaxList`1.Enumerator.cs (1)
76public TNode Current
Syntax\SyntaxNodeOrTokenList.cs (1)
570public SyntaxNodeOrToken Current => _list[_index];
Syntax\SyntaxTokenList.Enumerator.cs (1)
141public SyntaxToken Current => _enumerator.Current;
Syntax\SyntaxTokenList.Reversed.cs (1)
153public SyntaxToken Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
145public SyntaxTrivia Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Reversed.cs (1)
142public SyntaxTrivia Current => _enumerator.Current;
Text\TextLineCollection.cs (1)
108public TextLine Current
Microsoft.CodeAnalysis.Analyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.BannedApiAnalyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.CodeStyle (20)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.Collections.Package (13)
Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
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.Extensions.Package (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualCharSequence.cs (1)
73public readonly AspNetCoreVirtualChar Current
Microsoft.CodeAnalysis.InteractiveHost (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.PublicApiAnalyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.ResxSourceGenerator (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Microsoft.CodeAnalysis.Threading.Package (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
Microsoft.CodeAnalysis.Workspaces (20)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
Microsoft.DotNet.XUnitAssert.Tests (1)
CollectionAssertsTests.cs (1)
2601 public T Current =>
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
230public KeyValuePair<string, TValue> Current => _dictionaryEnumerator.Current;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
55public T Current => throw new InvalidOperationException();
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.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
293public KeyValuePair<string, object?> 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.MetadataExtractor.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)
148public Typeface Current
MS\Internal\Generic\Span.cs (1)
387public Span<U> Current
System\Windows\FreezableCollection.cs (1)
1064public T Current
System\Windows\Generated\TextDecorationCollection.cs (1)
830public TextDecoration Current
System\Windows\Markup\XmlLanguage.cs (1)
513public XmlLanguage Current
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
829public Timeline Current
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
340Clock IEnumerator<Clock>.Current
System\Windows\Media\CharacterMetricsDictionary.cs (1)
563public KeyValuePair<int, CharacterMetrics> Current
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
832public BitmapEffect Current
System\Windows\Media\FamilyMapCollection.cs (1)
407public FontFamilyMap Current
System\Windows\Media\FamilyTypefaceCollection.cs (1)
423public FamilyTypeface Current
System\Windows\Media\Generated\DoubleCollection.cs (1)
857public double Current
System\Windows\Media\Generated\DrawingCollection.cs (1)
874public Drawing Current
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
839public GeneralTransform Current
System\Windows\Media\Generated\GeometryCollection.cs (1)
874public Geometry Current
System\Windows\Media\Generated\GradientStopCollection.cs (1)
942public GradientStop Current
System\Windows\Media\Generated\Int32Collection.cs (1)
857public int Current
System\Windows\Media\Generated\PathFigureCollection.cs (1)
929public PathFigure Current
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
839public PathSegment Current
System\Windows\Media\Generated\PointCollection.cs (1)
859public Point Current
System\Windows\Media\Generated\TextEffectCollection.cs (1)
839public TextEffect Current
System\Windows\Media\Generated\TransformCollection.cs (1)
874public Transform Current
System\Windows\Media\Generated\VectorCollection.cs (1)
859public Vector Current
System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
118public String Current
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
837public GeneralTransform3D Current
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
872public Material Current
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
872public Model3D Current
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
858public Point3D Current
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
872public Transform3D Current
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
858public Vector3D Current
System\Windows\Media3D\Visual3DCollection.cs (1)
664public Visual3D Current
PresentationFramework (9)
MS\Internal\Documents\ContentElementCollection.cs (1)
335public TItem Current
MS\Internal\Documents\HostedElements.cs (1)
152public IInputElement Current
MS\Internal\ListOfObject.cs (1)
119object IEnumerator<object>.Current
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
234public T Current 633public T Current => _FromIterator.Current;
System\Windows\Controls\ColumnDefinition.cs (1)
861public ColumnDefinition Current
System\Windows\Controls\RowDefinition.cs (1)
856public RowDefinition Current
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
269public DataGridCellInfo Current
System\Windows\Documents\TextElementEnumerator.cs (1)
76public TextElementType Current
Roslyn.Diagnostics.Analyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.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)
1414public KeyValuePair<TKey, TValue> Current { get; private set; } 1648public TKey Current => _enumerator.Current.Key; 1892public 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 646public TKey Current 807public 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)
391public T Current => _currentElement!;
System.Collections.Concurrent (4)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
876public 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)
701public 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)
277public KeyValuePair<string, object?> Current => _enumerator.Current;
System\Diagnostics\DiagLinkedList.cs (1)
283public 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 (2)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (2)
596public string Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 654public System.Collections.Generic.KeyValuePair<string, System.Net.Http.Headers.HeaderStringValues> Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
18public string Current => (string)_enumerator.Current;
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\ReadOnlyTensorDimensionSpan_1.cs (1)
78public readonly ReadOnlyTensorSpan<T> Current => _span[_index];
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
539readonly T IEnumerator<T>.Current => Current;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
423readonly T IEnumerator<T>.Current => Current;
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (1)
81public readonly TensorSpan<T> Current => _span[_index];
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
465readonly T IEnumerator<T>.Current => Current;
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (2)
121public T Current 166public 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)
482public T Current => _currentElement!;
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\MemoryExtensions.cs (1)
5857public Range Current => new Range(_startCurrent, _endCurrent);
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
272T IEnumerator<T>.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
478public KeyValuePair<TKey, TValue> Current
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
1750public GCHandle Current
src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
265T IEnumerator<T>.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Text\SpanLineEnumerator.cs (1)
31public ReadOnlySpan<char> Current => _current;
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
23public Rune Current => _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)
1609public KeyValue<object, object?> Current => new KeyValue<object, object?>(_enumerator.Key, _enumerator.Value); 1638public 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)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (3)
3858public System.Security.Cryptography.X509Certificates.X509Certificate2 Current { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } } 3950public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } } 4065public System.Security.Cryptography.X509Certificates.X509Extension Current { get { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); } }
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 (6)
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\Text\RegularExpressions\Regex.EnumerateMatches.cs (1)
161public readonly ValueMatch Current => _current;
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
274public readonly Range Current => _currentSplit;
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)
269public KeyValuePair<string, object> Current
System\Xaml\NameScopeDictionary.cs (1)
159public KeyValuePair<string, object> Current
System\Xaml\Parser\NodeStreamSorter.cs (1)
105public 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
Test.Utilities (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.Current;
Text.Analyzers (23)
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\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45public readonly KeyValuePair<TKey, TValue> Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25public readonly TKey Current => _enumerator.Current.Key;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25public readonly TValue Current => _enumerator.Current.Value;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
25public readonly T Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
385public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1217public readonly KeyValuePair<TKey, TValue> Current => _current; 1472public readonly TKey Current => _currentKey!; 1679public readonly TValue Current => _currentValue!;
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1427public readonly T Current => _current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1363public readonly T Current => _current!;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator`1.cs (1)
24public new T Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27public T Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
703K IEnumerator<K>.Current => _e.Current; 820V IEnumerator<V>.Current => _e.Current; 926KeyValuePair<K, V> IEnumerator<KeyValuePair<K, V>>.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
32public readonly T Current => default(TIntervalTreeWitness).GetValue(tree, _nodeEnumerator.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
51public readonly TNode Current => _currentNode!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
17public readonly VirtualChar Current => virtualCharSequence[_position];
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
38public T Current => _current.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 =>
1363 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;
GenerateDocumentationAndConfigFiles (16)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.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)
102? _enumerator.Current
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (3)
108? SetCurrent(_genericEnumerator.Current.Key, _genericEnumerator.Current.Value, GetKnownRequestHeaderType(_genericEnumerator.Current.Key))
Metrics (17)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Metrics.Legacy (17)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.Arcade.Test.Common (4)
AssertEx.cs (2)
230var value1 = enumerator1.Current; 231var value2 = enumerator2.Current;
FakeHttpClient.cs (2)
46return Task.FromResult(_responseEnumerator.Current); 83return 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)
430var 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.OpenApi.SourceGenerators (4)
XmlComments\XmlComment.InheritDoc.cs (4)
409AnalyzerDebug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 410CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
Microsoft.AspNetCore.Owin (2)
DictionaryStringArrayWrapper.cs (1)
105_current = Convert(_inner.Current);
DictionaryStringValuesWrapper.cs (1)
150_current = Convert(_inner.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.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)
1294resolvedPath = enumerator.Current;
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
1041if (AddCustomAttributeToTable(parentHandle, attributeEnumerator.Current)) 1060if (AddCustomAttributeToTable(parentHandle, attributeEnumerator.Current))
InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
InternalUtilities\XmlUtilities.cs (4)
52Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 53CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
MetadataReader\MetadataHelpers.cs (3)
803var pair = enumerator.Current; 824pair = enumerator.Current; 835pair = enumerator.Current;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
Microsoft.CodeAnalysis.Analyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.BannedApiAnalyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.CodeStyle (19)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.Collections.Package (15)
Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(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)
168var subseqeuntStatement = enumerator.Current; 193if (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.Emit3.UnitTests (12)
Attributes\AttributeTests.cs (12)
4968enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Enum, (int)new DayOfWeek()); 4970enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new bool()); 4972enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new sbyte()); 4974enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new byte()); 4976enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new short()); 4978enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new ushort()); 4980enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new int()); 4982enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new uint()); 4984enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new char()); 4986enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new float()); 4988enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new Single()); 4990enumerator.Current.VerifyNamedArgumentValue(0, "X", TypedConstantKind.Primitive, new double());
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForBuilderDiagnosticAnalyzer.cs (2)
168var subseqeuntStatement = enumerator.Current; 193if (state.NodeContainsValuePatternOrReferencesInitializedSymbol(enumerator.Current, cancellationToken))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
2188return _metadataSequence.Current;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
59var actualToken = actualEnumerator.Current;
Parsing\ParsingTests.cs (4)
212var current = _treeEnumerator.Current; 241var current = _treeEnumerator.Current; 276var current = _treeEnumerator.Current; 303var 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.Extensions.Package (17)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (12)
2204if (oldHasToken != newHasToken || oldHasToken && !AreEquivalent(oldTokensEnum.Current, newTokensEnum.Current)) 2225var oldSpan = oldTokensEnum.Current.Span; 2226var newSpan = newTokensEnum.Current.Span; 2267currentSegment = (oldMappedSpan.Path, oldStartLine, lineDelta, oldTokensEnum.Current, newTokensEnum.Current); 2270lastNewToken = newTokensEnum.Current; 2281if (newTokensEnum.Current.HasLeadingTrivia) 2285rudeEditSpan = TextSpan.FromBounds(newTokensEnum.Current.FullSpan.Start, newTokensEnum.Current.SpanStart); 2291rudeEditSpan = TextSpan.FromBounds(lastNewToken.Span.End, newTokensEnum.Current.SpanStart); 2298rudeEditSpan = newTokensEnum.Current.Span;
Microsoft.CodeAnalysis.InteractiveHost (15)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.PublicApiAnalyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Microsoft.CodeAnalysis.ResxSourceGenerator (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.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); 536Diagnostic d = e.Current; 557Diagnostic d = e.Current;
Microsoft.CodeAnalysis.Threading.Package (15)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
Microsoft.CodeAnalysis.UnitTests (43)
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 (19)
186Assert.Throws<InvalidOperationException>(() => enumerator.Current); 190_ = enumerator.Current; 208object? currentItem = enumerator.Current; 230object? tempItem = enumerator.Current; 260object? currentItem = enumerator.Current; 264object? tempItem = enumerator.Current; 284Assert.Throws<InvalidOperationException>(() => enumerator.Current); 288_ = enumerator.Current; 588T current = enumerator.Current; 589Assert.Equal(current, enumerator.Current); 590Assert.Equal(current, enumerator.Current); 591Assert.Equal(current, enumerator.Current); 623Assert.Throws<InvalidOperationException>(() => enumerator.Current); 625current = enumerator.Current; 639Assert.Throws<InvalidOperationException>(() => enumerator.Current); 641current = enumerator.Current; 658Assert.Throws<InvalidOperationException>(() => enumerator.Current); 660current = enumerator.Current; 678current = 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 (6)
Syntax\SyntaxFactsTest.vb (6)
1033Dim currentToken = enumerator.Current 1034Dim nextToken = enumerator.Current 1038nextToken = enumerator.Current 1129Dim currentToken = enumerator.Current 1130Dim nextToken = enumerator.Current 1134nextToken = enumerator.Current
Microsoft.CodeAnalysis.Workspaces (21)
Differencing\LongestCommonSubsequence.cs (2)
262var (currentV, d) = varrays.Current; 315var (currentV, d) = varrays.Current;
Shared\Extensions\ISymbolExtensions.cs (4)
598Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 599CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\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\XmlUtilities.cs (4)
52Debug.Assert(sourceAttributes.Current.Name == targetAttributes.Current.Name); 53CopyAnnotations(sourceAttributes.Current, targetAttributes.Current);
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
46CSharpArgumentInfo info = arginfosEnum.MoveNext() ? arginfosEnum.Current : null;
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
189MemberInfo 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.Caching.Hybrid (2)
Internal\TagSet.cs (2)
131string firstTag = iterator.Current; 151oversized[count++] = iterator.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 (3)
Linux\Disk\DiskStatsReader.cs (1)
36string line = enumerableLines.Current.Trim().ToString();
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 (6)
Logging\Import\LoggerFactoryScopeProvider.cs (6)
266_stringBuilder.Append(enumerator.Current.Key); 268_stringBuilder.Append(enumerator.Current.Value); 273_stringBuilder.Append(enumerator.Current.Key); 275_stringBuilder.Append(enumerator.Current.Value); 294new KeyValuePair<string, object?>(_enumerator.Current.Key, _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)
888var row = summaryDataEnumerator.Current; 895var 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 (7)
Model\SentencePieceBaseModel.cs (7)
167int current = enumerator.Current; 183current = enumerator.Current; 204current = enumerator.Current; 392int current = enumerator.Current; 412current = enumerator.Current; 417if (!EncodeByte(enumerator.Current, OneByteUtf8EncodingMaxId, ByteCodeToIdOffset, ref bytesCount, buffer, ref charsWritten, ref idsConsumed, ref bytesPoolArray)) 468current = enumerator.Current;
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)
154Text.TextInterface.Font face = _familyEnumerator.Current; 159FamilyTypeface familyTypeface = _familyTypefaceEnumerator.Current; 179return ((IEnumerator<Typeface>)this).Current;
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
354return ((IEnumerator<Clock>)this).Current;
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
387KeyValuePair<XmlLanguage, string> entry = _enumerator.Current;
PresentationFramework (30)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (7)
349TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 377Debug.Assert(rangeEnumerator.Current.IsNull || !next || 378(rangeSegment.End.CompareTo(rangeEnumerator.Current.Start) <= 0), 380rangeSegment = next ? rangeEnumerator.Current : TextSegment.Null; 419rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 435_segments.Insert(ind++, new HighlightSegment(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange));
MS\Internal\Annotations\TextAnchor.cs (8)
202ourSegment = ourEnumerator.Current; 203theirSegment = theirEnumerator.Current; 291Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 294otherSegment = enumerator.Current; 393Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 396otherSegment = enumerator.Current;
MS\Internal\Data\LiveShapingList.cs (1)
765get { return _ie.Current.Item; }
MS\Internal\Ink\InkCanvasSelection.cs (1)
595Rect elementRect = enumerator.Current;
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
349return m_enumerator.Current;
System\Windows\Documents\DocumentSequence.cs (2)
895GetPageAsyncRequest asyncRequest = ienum.Current.Value; 900notificationList.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)
1085nameScope.RegisterNameInternal(nameEnumerator.Current, createdObject);
System\Windows\Input\KeyboardNavigation.cs (7)
589Rect rect = enumerator.Current; 606Rect rect = enumerator.Current; 1455IInputElement current = enumerator.Current; 1513IInputElement current = enumerator.Current; 1627IInputElement current = enumerator.Current; 1695IInputElement current = enumerator.Current; 2420Rect rect = enumerator.Current;
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
62Uri referralUri = licenseEnumerator.Current.ReferralInfoUri;
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
839IInputElement element = enumerator.Current;
Roslyn.Diagnostics.Analyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
286if (ReplacementChangesSemantics(originalChildNodeEnum.Current, replacedChildNodeEnum.Current, originalRoot, skipVerificationForCurrentNode: true))
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)
2301public DictionaryEntry Entry => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value); 2303public object Key => _enumerator.Current.Key; 2305public 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)
700/// <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)
253values[i] = this[keylist.Current]; 254Debug.Assert(null != values[i], $"null value {keylist.Current}");
System\Data\DataTableExtensions.cs (2)
111current = rows.Current; 138current = rows.Current;
System.Diagnostics.DiagnosticSource (10)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (1)
89KeyValuePair<string, object?> pair = enumerator.Current;
System\Diagnostics\Activity.cs (5)
1643_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1647_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1667_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1671_last!.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1677_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current);
System\Diagnostics\DiagLinkedList.cs (2)
30_last = _first = new DiagNode<T>(e.Current); 34_last.Next = new DiagNode<T>(e.Current);
System\Diagnostics\DistributedContextPropagator.cs (1)
135KeyValuePair<string, string?> item = e.Current;
System\Diagnostics\W3CPropagator.cs (1)
214KeyValuePair<string, string?> item = e.Current;
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.cs (1)
119KeyValuePair<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 (185)
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; 302return 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\DefaultIfEmpty.SpeedOpt.cs (1)
104if (EqualityComparer<TSource>.Default.Equals(enumerator.Current, value))
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)
260TOuter item = e.Current;
System\Linq\Last.cs (3)
95result = e.Current; 142TSource result = e.Current; 147TSource element = e.Current;
System\Linq\LeftJoin.cs (1)
256TOuter 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; 273TElement resultValue = e.Current; 280TElement nextValue = e.Current; 293TElement nextValue = e.Current; 325TElement resultValue = e.Current; 332TElement nextValue = e.Current; 345TElement nextValue = e.Current; 406TElement resultValue = e.Current; 412TElement nextValue = e.Current; 423TElement nextValue = e.Current;
System\Linq\Reverse.SpeedOpt.cs (2)
79result = e.Current; 112return e.Current;
System\Linq\RightJoin.cs (1)
254TInner item = e.Current;
System\Linq\Select.cs (2)
145_current = _selector(_enumerator.Current); 289_current = _selector(_enumerator.Current);
System\Linq\Select.SpeedOpt.cs (4)
87return _selector(e.Current); 109return _selector(e.Current); 123TSource last = e.Current; 127last = 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)
239reservoir = new List<TSource>(Math.Min(takeCount, 4)) { e.Current }; 248reservoir.Add(e.Current); 260reservoir[(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)
329_current = _enumerator.Current; 410return en.Current; 432return en.Current; 465result = en.Current; 492builder.Add(en.Current); 520builder.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; 661TSource current = e.Current; 669current = 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.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
380/// <inheritdoc cref="IEnumerator{T}.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)
6975Task task = e.Current;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1642KeyValuePair<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)
250_current = _nodeStream.Current;
System\Xaml\Parser\NodeStreamSorter.cs (4)
130_current = _source.Current; 178node = _source.Current; 307node = _source.Current; 370XamlNode node = _source.Current;
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
764yield 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;
Test.Utilities (16)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (9)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.Current;
Text.Analyzers (20)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
125public T Current => _kvpEnumerator.Current.Key;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (12)
607var previous = e.Current; 610if (comparer.Compare(previous, e.Current) > 0) 615previous = e.Current; 682line[i] = e.Current; 733TSource result = e.Current; 898if (!enumerator2.MoveNext() || !comparer(enumerator.Current, enumerator2.Current)) 926var result = e.Current; 929result = func(result, e.Current); 995array[0] = e.Current; 1009array[i] = e.Current; 1020local[i] = e.Current;
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
118Add(en.Current); 338Add(en.Current); 950Insert(index++, en.Current);
src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledConcurrentSet.cs (1)
152public T Current => _kvpEnumerator.Current.Key;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
148element = state.Enumerator.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
532var p1 = xMembersEnumerator.Current; 533var p2 = yMembersEnumerator.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;