803 implementations of Current
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
CodeGenerator (1)
HttpUtilities\CombinationsWithoutRepetition.cs (1)
27object IEnumerator.Current => Current;
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlChildEnumerator.cs (1)
50object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (2)
322public object Current 343public object Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
153public object Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XPathNodeList.cs (1)
119public object Current
FrameworkFork\Microsoft.Xml\Xml\EmptyEnumerator.cs (1)
24object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
489object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (1)
231object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (1)
311public Object Current
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
941object System.Collections.IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNodeIterator.cs (1)
60public virtual object Current
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (2)
1477object System.Collections.IEnumerator.Current 1516object System.Collections.IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
193object IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (1)
356object IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
283public object Current
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
GenerateDocumentationAndConfigFiles (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
GetDocument.Insider (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
illink (2)
ILLink.RoslynAnalyzer (2)
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
105object? IEnumerator.Current => Current;
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
54object IEnumerator.Current => new ParameterProxy(_method, (ParameterIndex)_current);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Metrics (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Metrics.Legacy (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
29object? IEnumerator.Current => this.Current;
Microsoft.AspNetCore.Components (3)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
810object IEnumerator.Current => Current;
src\Http\Routing\src\PathTokenizer.cs (1)
142object IEnumerator.Current
src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataReader.cs (1)
313object IEnumerator.Current => _enumerator.Current;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.AspNetCore.Http (7)
FormCollection.cs (1)
221object IEnumerator.Current
HeaderDictionary.cs (1)
442object IEnumerator.Current
Internal\ItemsDictionary.cs (1)
149object? IEnumerator.Current => null;
Internal\RequestCookieCollection.cs (1)
209object IEnumerator.Current
QueryCollection.cs (1)
237object IEnumerator.Current
QueryCollectionInternal.cs (1)
121object IEnumerator.Current => Current;
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
632object IEnumerator.Current => Current;
Microsoft.AspNetCore.Http.Abstractions (3)
Internal\HeaderSegmentCollection.cs (1)
122object IEnumerator.Current
Routing\EndpointMetadataCollection.cs (1)
184public object Current => _current!;
Routing\RouteValueDictionary.cs (1)
810object IEnumerator.Current => Current;
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
313object IEnumerator.Current => _enumerator.Current;
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (3)
1032object IEnumerator.Current => Current; 1154object IEnumerator.Current => Current; 1229object IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.Core (5)
Diagnostics\EventData.cs (1)
77object IEnumerator.Current => Current;
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
112object IEnumerator.Current => Current;
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
73object IEnumerator.Current => Current;
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
82object IEnumerator.Current => Current;
ModelBinding\Validation\ShortFormDictionaryValidationStrategy.cs (1)
86object IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
DelegatingEnumerator.cs (1)
51object? IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AttributeDictionary.cs (3)
345object IEnumerator.Current => Current; 454object IEnumerator.Current => Current; 559object? IEnumerator.Current => Current;
TempDataDictionary.cs (1)
299object IEnumerator.Current => Current;
Microsoft.AspNetCore.Owin (2)
DictionaryStringArrayWrapper.cs (1)
111object IEnumerator.Current => Current;
DictionaryStringValuesWrapper.cs (1)
156object IEnumerator.Current => Current;
Microsoft.AspNetCore.Routing (2)
PathTokenizer.cs (1)
142object IEnumerator.Current
Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\HttpRequestHeaders.cs (2)
226object IEnumerator.Current => Current; 256readonly object IEnumerator.Current => _current;
Internal\Http\HttpResponseHeaders.cs (1)
167readonly object IEnumerator.Current => _current;
Internal\Http\HttpResponseTrailers.cs (1)
76readonly object IEnumerator.Current => _current;
Internal\Http3\Http3HeadersEnumerator.cs (1)
31object IEnumerator.Current => Current;
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
632object IEnumerator.Current => Current;
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
477object IEnumerator.Current => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionStore.cs (1)
87object IEnumerator.Current => Current;
src\SignalR\common\Shared\MessageBuffer.cs (1)
477object IEnumerator.Current => throw new NotImplementedException();
Microsoft.Build (9)
Collections\ArrayDictionary.cs (1)
243object IEnumerator.Current => _emitDictionaryEntries ? CurrentDictionaryEntry : Current;
Collections\ConvertingEnumerable.cs (1)
98Object IEnumerator.Current => Current;
Collections\CopyOnWritePropertyDictionary.cs (1)
405readonly object IEnumerator.Current => Current;
Collections\ItemDictionary.cs (1)
445object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
1000Object System.Collections.IEnumerator.Current
Construction\ProjectElementContainer.cs (2)
903object IEnumerator.Current => Current; 1002object IEnumerator.Current
Evaluation\ItemDataCollectionValue.cs (1)
30object System.Collections.IEnumerator.Current => Current;
Evaluation\SemiColonTokenizer.cs (1)
59object IEnumerator.Current => Current;
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
194public object Current => Entry;
Microsoft.Build.Framework (9)
ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25object IEnumerator.Current => Current;
ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25object? IEnumerator.Current => Current;
ImmutableSegmentedList`1+Enumerator.cs (1)
25object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
SegmentedArray`1.cs (1)
390object? IEnumerator.Current => Current;
SegmentedDictionary`2.cs (3)
1187object? IEnumerator.Current 1430object? IEnumerator.Current 1629object? IEnumerator.Current
SegmentedList`1.cs (1)
1210object? IEnumerator.Current
Microsoft.Build.Tasks.Core (1)
tokenEnumerator.cs (1)
76public object Current
Microsoft.CodeAnalysis (32)
Binding\AbstractLookupSymbolsInfo.cs (1)
45object? System.Collections.IEnumerator.Current => _current;
Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
Operations\IOperation.OperationList.cs (1)
155object? IEnumerator.Current => _enumerator.Current;
Operations\IOperation.OperationList.Reversed.cs (1)
135object? IEnumerator.Current => _enumerator.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Syntax\ChildSyntaxList.Enumerator.cs (1)
127object IEnumerator.Current
Syntax\ChildSyntaxList.Reversed.cs (1)
130object IEnumerator.Current
Syntax\SeparatedSyntaxList.Enumerator.cs (1)
83object IEnumerator.Current
Syntax\SyntaxList`1.Enumerator.cs (1)
88object IEnumerator.Current
Syntax\SyntaxNodeOrTokenList.cs (1)
575object IEnumerator.Current => this.Current;
Syntax\SyntaxTokenList.Enumerator.cs (1)
143object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTokenList.Reversed.cs (1)
155object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
147object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Reversed.cs (1)
144object IEnumerator.Current => _enumerator.Current;
Text\TextLineCollection.cs (1)
135object IEnumerator.Current
Microsoft.CodeAnalysis.Analyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.BannedApiAnalyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.CodeStyle (20)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Collections.Package (13)
Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
228object IEnumerator.Current => throw new NotImplementedException();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\LookupSymbolsInfoTests.cs (1)
38object System.Collections.IEnumerator.Current
Microsoft.CodeAnalysis.Extensions.Package (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualCharSequence.cs (1)
79readonly object IEnumerator.Current
Microsoft.CodeAnalysis.InteractiveHost (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.PublicApiAnalyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.ResxSourceGenerator (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
454public object Current
Microsoft.CodeAnalysis.Threading.Package (13)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.CodeAnalysis.Workspaces (20)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.DotNet.XUnitAssert.Tests (1)
CollectionAssertsTests.cs (1)
2604 object? IEnumerator.Current =>
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
233object IEnumerator.Current => Current;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
278object? IEnumerator.Current => Current;
Microsoft.Extensions.Primitives (2)
StringTokenizer.cs (1)
104object IEnumerator.Current => Current;
StringValues.cs (1)
826object? IEnumerator.Current => _current;
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
296object? IEnumerator.Current => Current;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Maui.Controls (3)
BindableObject.cs (1)
182 object IEnumerator.Current => Current;
CastingEnumerator.cs (1)
27 object IEnumerator.Current
ListProxy.cs (1)
404 public object Current { get; private set; }
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (1)
97Public ReadOnly Property Current() As Object Implements IEnumerator.Current
PresentationCore (36)
MS\Internal\FontCache\FamilyCollection.cs (1)
560object IEnumerator.Current
MS\Internal\FontFace\TypefaceCollection.cs (1)
175object System.Collections.IEnumerator.Current
MS\Internal\Generic\Span.cs (1)
396object IEnumerator.Current
MS\Internal\Span.cs (1)
469public object Current
System\Windows\FreezableCollection.cs (1)
1048object IEnumerator.Current
System\Windows\Generated\TextDecorationCollection.cs (1)
814object IEnumerator.Current
System\Windows\Markup\XmlLanguage.cs (1)
600object IEnumerator.Current
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
813object IEnumerator.Current
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
350object System.Collections.IEnumerator.Current
System\Windows\Media\CharacterMetricsDictionary.cs (1)
553object SC.IEnumerator.Current
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
376public virtual object Current
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
816object IEnumerator.Current
System\Windows\Media\FamilyMapCollection.cs (1)
412object SC.IEnumerator.Current
System\Windows\Media\FamilyTypefaceCollection.cs (1)
428object SC.IEnumerator.Current
System\Windows\Media\FormattedText.cs (1)
937object IEnumerator.Current
System\Windows\Media\Generated\DoubleCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media\Generated\DrawingCollection.cs (1)
858object IEnumerator.Current
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
823object IEnumerator.Current
System\Windows\Media\Generated\GeometryCollection.cs (1)
858object IEnumerator.Current
System\Windows\Media\Generated\GradientStopCollection.cs (1)
926object IEnumerator.Current
System\Windows\Media\Generated\Int32Collection.cs (1)
841object IEnumerator.Current
System\Windows\Media\Generated\PathFigureCollection.cs (1)
913object IEnumerator.Current
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
823object IEnumerator.Current
System\Windows\Media\Generated\PointCollection.cs (1)
843object IEnumerator.Current
System\Windows\Media\Generated\TextEffectCollection.cs (1)
823object IEnumerator.Current
System\Windows\Media\Generated\TransformCollection.cs (1)
858object IEnumerator.Current
System\Windows\Media\Generated\VectorCollection.cs (1)
843object IEnumerator.Current
System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
28object IEnumerator.Current
System\Windows\Media\VisualCollection.cs (1)
927object IEnumerator.Current
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
821object IEnumerator.Current
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
856object IEnumerator.Current
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
856object IEnumerator.Current
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
842object IEnumerator.Current
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
856object IEnumerator.Current
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
842object IEnumerator.Current
System\Windows\Media3D\Visual3DCollection.cs (1)
653object IEnumerator.Current
PresentationFramework (29)
MS\Internal\Controls\EmptyEnumerator.cs (1)
51public object Current
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
20object IEnumerator.Current
MS\Internal\Data\CollectionViewGroupInternal.cs (1)
807object IEnumerator.Current
MS\Internal\Data\CompositeCollectionView.cs (1)
1545public object Current
MS\Internal\Data\IndexedEnumerable.cs (1)
747object IEnumerator.Current
MS\Internal\Data\LiveShapingList.cs (1)
763object IEnumerator.Current
MS\Internal\Documents\ContentElementCollection.cs (1)
357object IEnumerator.Current
MS\Internal\Documents\HostedElements.cs (1)
142object IEnumerator.Current
MS\Internal\ListOfObject.cs (1)
137object IEnumerator.Current
MS\Internal\Navigation\JournalEntryStack.cs (2)
126public object Current 215public object Current
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
248object IEnumerator.Current 634object IEnumerator.Current => Current;
System\Windows\Controls\ColumnDefinition.cs (1)
835object IEnumerator.Current
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
94public object Current
System\Windows\Controls\Grid.cs (1)
3964public Object Current
System\Windows\Controls\MultipleCopiesCollection.cs (1)
339object IEnumerator.Current
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
155object IEnumerator.Current
System\Windows\Controls\RowDefinition.cs (1)
830object IEnumerator.Current
System\Windows\Controls\TextBlock.cs (1)
4008object IEnumerator.Current
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
287object IEnumerator.Current
System\Windows\Data\CollectionView.cs (1)
1687public object Current
System\Windows\Documents\RangeContentEnumerator.cs (1)
56public object Current
System\Windows\Documents\Table.cs (1)
468public Object Current
System\Windows\Documents\TextElementEnumerator.cs (1)
57object System.Collections.IEnumerator.Current
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
80object IEnumerator.Current
System\Windows\ResourceDictionary.cs (2)
2153object IEnumerator.Current 2224object IEnumerator.Current
System\Windows\Window.cs (1)
8080object IEnumerator.Current
ReachFramework (1)
Serialization\Manager\ReachSerializableProperties.cs (1)
70Current
Roslyn.Diagnostics.Analyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Shared (1)
EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
System.Collections (13)
System\Collections\Generic\LinkedList.cs (1)
522object? IEnumerator.Current
System\Collections\Generic\OrderedDictionary.cs (3)
1417readonly object IEnumerator.Current => _useDictionaryEntry ? 1651object IEnumerator.Current => Current; 1895object? IEnumerator.Current => Current;
System\Collections\Generic\PriorityQueue.cs (1)
1046object IEnumerator.Current => _current;
System\Collections\Generic\SortedDictionary.cs (3)
455object? IEnumerator.Current 656object? IEnumerator.Current 817object? IEnumerator.Current
System\Collections\Generic\SortedList.cs (3)
825object? IEnumerator.Current 911object? IEnumerator.Current 975object? IEnumerator.Current
System\Collections\Generic\SortedSet.cs (1)
1950object? IEnumerator.Current
System\Collections\Generic\Stack.cs (1)
413object? System.Collections.IEnumerator.Current
System.Collections.Concurrent (6)
System\Collections\Concurrent\ConcurrentBag.cs (1)
1113object? IEnumerator.Current
System\Collections\Concurrent\ConcurrentDictionary.cs (2)
878object IEnumerator.Current => Current; 2307public object Current => Entry;
System\Collections\Concurrent\OrderablePartitioner.cs (1)
254object? IEnumerator.Current
System\Collections\Concurrent\PartitionerStatic.cs (2)
395object? IEnumerator.Current 1466object? IEnumerator.Current
System.Collections.Immutable (14)
System\Collections\Frozen\FrozenDictionary.cs (1)
715object IEnumerator.Current => Current;
System\Collections\Frozen\FrozenSet.cs (1)
524object IEnumerator.Current => Current!;
System\Collections\Immutable\DictionaryEnumerator.cs (1)
34public object Current
System\Collections\Immutable\ImmutableArray_1.Enumerator.cs (1)
124object? IEnumerator.Current
System\Collections\Immutable\ImmutableDictionary_2.Enumerator.cs (1)
66object IEnumerator.Current
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
393object IEnumerator.Current
System\Collections\Immutable\ImmutableHashSet_1.Enumerator.cs (1)
66object? IEnumerator.Current
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
314object? IEnumerator.Current
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (1)
139object? System.Collections.IEnumerator.Current => this.Current;
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (1)
169object IEnumerator.Current
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
111object IEnumerator.Current
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
122object? System.Collections.IEnumerator.Current
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (1)
128object? IEnumerator.Current
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
97object IEnumerator.Current
System.Collections.NonGeneric (3)
System\Collections\Queue.cs (1)
457public object? Current
System\Collections\SortedList.cs (1)
851public object? Current
System\Collections\Stack.cs (1)
363public object? Current
System.Collections.Specialized (4)
System\Collections\Specialized\ListDictionary.cs (2)
278public object Current 427public object? Current
System\Collections\Specialized\NameObjectCollectionBase.cs (1)
520public object? Current
System\Collections\Specialized\OrderedDictionary.cs (1)
461public object? Current
System.ComponentModel.TypeConverter (2)
System\ComponentModel\EventDescriptorCollection.cs (1)
444public object? Current
System\ComponentModel\PropertyDescriptorCollection.cs (1)
599public object Current => Entry;
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElementCollection.cs (1)
1290object IEnumerator.Current => _current.Value;
System\Configuration\ConfigurationValues.cs (1)
164object IEnumerator.Current => null;
System.Data.Common (3)
System\Data\Common\DbEnumerator.cs (1)
51public object Current => _current!;
System\Data\DataViewSettingCollection.cs (1)
181public object Current => _dataViewSettings![(DataTable)_tableEnumerator.Current];
System\Data\RbTree.cs (1)
2101object? IEnumerator.Current
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\ActivityTagsCollection.cs (1)
278object IEnumerator.Current => ((IEnumerator)_enumerator).Current;
System\Diagnostics\DiagLinkedList.cs (1)
285object? IEnumerator.Current => Current;
System\Diagnostics\Metrics\TagList.netcore.cs (1)
327object IEnumerator.Current => _tagList[_index];
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (1)
391public object Current
System.IO.Packaging (1)
System\IO\Packaging\PackageRelationshipCollection.cs (1)
121object IEnumerator.Current
System.Linq (2)
System\Linq\Iterator.cs (1)
103object? IEnumerator.Current => Current;
System\Linq\PartialArrayEnumerator.cs (1)
36object? IEnumerator.Current => Current;
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
492object? IEnumerator.Current
System.Linq.Parallel (5)
System\Linq\Parallel\Enumerables\EmptyEnumerable.cs (1)
51object? IEnumerator.Current { get { return null; } }
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (1)
69object? IEnumerator.Current
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
46object? IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
83object? IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOperatorEnumerator.cs (1)
75object? IEnumerator.Current
System.Management (4)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (4)
348object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 573object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 643object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 693object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } }
System.Net.Http (3)
System\Net\Http\Headers\HeaderStringValues.cs (1)
121object IEnumerator.Current => Current;
System\Net\Http\Headers\HttpHeadersNonValidated.cs (1)
162object IEnumerator.Current => _current;
System\Net\Http\Headers\ObjectCollection.cs (1)
183object? IEnumerator.Current => _current;
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
26object IEnumerator.Current => _enumerator.Current;
System.Net.Primitives (1)
System\Net\CredentialCache.cs (1)
206public object Current
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\ReadOnlyTensorDimensionSpan_1.cs (1)
110readonly object? IEnumerator.Current => throw new NotSupportedException();
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
533readonly object? IEnumerator.Current => Current;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
417readonly object? IEnumerator.Current => Current;
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (1)
113readonly object? IEnumerator.Current => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
459readonly object? IEnumerator.Current => Current;
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (3)
41public object? Current 131object? IEnumerator.Current => Current; 139public object Current
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
323object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\CharEnumerator.cs (1)
36object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
1120public object? Current 2140public object? Current 2607public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
1015public object Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1814object? IEnumerator.Current 2052object? IEnumerator.Current 2245object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1841object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
1231object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
499object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1459public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
222public object Current => Entry; 358public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
234public object Current => Entry;
src\libraries\System.Private.CoreLib\src\System\Globalization\TextElementEnumerator.cs (1)
47public object Current => GetTextElement();
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
76object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
55object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
5967object IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
275object IEnumerator.Current => Current!;
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1097public object Current => Entry;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
490object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
1763object IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfoEnumerator.cs (1)
71object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
268object IEnumerator.Current => Current!;
src\libraries\System.Private.CoreLib\src\System\Text\SpanLineEnumerator.cs (1)
83object IEnumerator.Current => throw new NotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
55object IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
52object? IEnumerator.Current => _current;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
123public object? Current => throw new InvalidOperationException(SR.InvalidOperation_EnumOpCantHappen);
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1611object System.Collections.IEnumerator.Current => Current; 1647object System.Collections.IEnumerator.Current => Current;
System.Private.Xml (12)
System\Xml\Dom\XmlChildEnumerator.cs (1)
47object IEnumerator.Current
System\Xml\Dom\XmlElementList.cs (2)
334public object? Current 355public object? Current
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
150public object Current
System\Xml\Dom\XPathNodeList.cs (1)
116public object? Current
System\Xml\EmptyEnumerator.cs (1)
20object IEnumerator.Current
System\Xml\Schema\XmlSchemaCollection.cs (1)
424object? IEnumerator.Current
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
135object IEnumerator.Current
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
281public object? Current
System\Xml\Serialization\XmlSchemas.cs (1)
820object System.Collections.IEnumerator.Current
System\Xml\XPath\XPathNodeIterator.cs (1)
54public object Current
System\Xml\Xsl\ListBase.cs (1)
240object System.Collections.IEnumerator.Current
System.Reflection.Metadata (30)
System\Reflection\Metadata\BlobBuilder.Enumerators.cs (2)
29object IEnumerator.Current => Current; 73object IEnumerator.Current => Current;
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (8)
94object IEnumerator.Current 193object IEnumerator.Current 299object IEnumerator.Current 401object IEnumerator.Current 507object IEnumerator.Current 613object IEnumerator.Current 712object IEnumerator.Current 819object IEnumerator.Current
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
134object IEnumerator.Current
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
197object IEnumerator.Current
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (18)
104object IEnumerator.Current 212object IEnumerator.Current 332object IEnumerator.Current 439object IEnumerator.Current 559object IEnumerator.Current 679object IEnumerator.Current 799object IEnumerator.Current 919object IEnumerator.Current 1019object IEnumerator.Current 1134object IEnumerator.Current 1232object IEnumerator.Current 1322object IEnumerator.Current 1412object IEnumerator.Current 1502object IEnumerator.Current 1592object IEnumerator.Current 1746object IEnumerator.Current 1836object IEnumerator.Current 1926object IEnumerator.Current
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1097public object Current => Entry;
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (1)
57object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } }
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
32object IEnumerator.Current
System\Security\Cryptography\AsnEncodedDataEnumerator.cs (1)
27object IEnumerator.Current
System\Security\Cryptography\OidEnumerator.cs (1)
18object IEnumerator.Current => Current;
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509ChainElementEnumerator.cs (1)
28object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509ExtensionEnumerator.cs (1)
22object IEnumerator.Current
System.Security.Cryptography.Pkcs (4)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
32object IEnumerator.Current
System\Security\Cryptography\Pkcs\CmsRecipientEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\Pkcs\RecipientInfoEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\Pkcs\SignerInfoEnumerator.cs (1)
23object IEnumerator.Current => _signerInfos[_position];
System.Security.Permissions (2)
System\Security\Permissions\KeyContainerPermissionAccessEntryEnumerator.cs (1)
14object IEnumerator.Current { get; }
System\Security\Policy\ApplicationTrustEnumerator.cs (1)
12object IEnumerator.Current { get { return null; } }
System.Text.Json (2)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (1)
79object IEnumerator.Current => Current;
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
84object IEnumerator.Current => Current;
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\CaptureCollection.cs (1)
220object IEnumerator.Current => Current;
System\Text\RegularExpressions\GroupCollection.cs (1)
288object IEnumerator.Current => Current;
System\Text\RegularExpressions\MatchCollection.cs (1)
238object IEnumerator.Current => Current;
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (1)
164readonly object IEnumerator.Current => throw new NotSupportedException();
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
277object IEnumerator.Current => Current;
System.Windows.Forms (10)
System\Windows\Forms\Control.ControlCollection.ControlCollectionEnumerator.cs (1)
57public object? Current
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.EntryEnumerator.cs (1)
58object IEnumerator.Current
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedListEnumerator.cs (1)
23object IEnumerator.Current
System\Windows\Forms\Controls\DataGridView\DataGridViewIntLinkedListEnumerator.cs (1)
23object IEnumerator.Current
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.UnsharingRowEnumerator.cs (1)
52object IEnumerator.Current
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.CustomTabOffsetsEnumerator.cs (1)
58object IEnumerator.Current
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.SelectedIndexEnumerator.cs (1)
58object IEnumerator.Current
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.ToolStripPanelCellToControlEnumerator.cs (1)
24public virtual object? Current
System\Windows\Forms\Controls\TreeView\ArraySubsetEnumerator.cs (1)
36public object? Current => _current == -1 ? null : _array[_current];
System\Windows\Forms\Internal\ItemArray.EntryEnumerator.cs (1)
91object IEnumerator.Current
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignSurfaceCollection.cs (1)
81public object Current
System\ComponentModel\Design\Serialization\StatementContext.cs (1)
206public readonly object Current => Entry;
System\Windows\Forms\Design\Behavior\BehaviorServiceAdornerCollectionEnumerator.cs (1)
20object IEnumerator.Current => _baseEnumerator.Current;
System\Windows\Forms\Design\ListAdapter.cs (1)
55object IEnumerator.Current => _enumerator.Current;
System.Xaml (3)
System\Xaml\NameScope.cs (1)
284object IEnumerator.Current => Current;
System\Xaml\NameScopeDictionary.cs (1)
203object IEnumerator.Current
System\Xaml\Parser\NodeStreamSorter.cs (1)
110object IEnumerator.Current
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Test.Utilities (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Text.Analyzers (23)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
22readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
xunit.assert (1)
Sdk\CollectionTracker.cs (1)
832 object? IEnumerator.Current =>
550 references to Current
dotnet-svcutil-lib (84)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (32)
387if (en.Current is CodeTypeConstructor) 389_currentMember = (CodeTypeMember)en.Current; 400CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 656if (en.Current is CodeConstructor) 658_currentMember = (CodeTypeMember)en.Current; 669CodeConstructor imp = (CodeConstructor)en.Current; 686if (en.Current is CodeMemberEvent) 688_currentMember = (CodeTypeMember)en.Current; 699CodeMemberEvent imp = (CodeMemberEvent)en.Current; 834if (en.Current is CodeMemberField) 836_currentMember = (CodeTypeMember)en.Current; 847CodeMemberField imp = (CodeMemberField)en.Current; 865if (en.Current is CodeSnippetTypeMember) 868_currentMember = (CodeTypeMember)en.Current; 879CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 932if (en.Current is CodeMemberMethod 933&& !(en.Current is CodeTypeConstructor) 934&& !(en.Current is CodeConstructor)) 936_currentMember = (CodeTypeMember)en.Current; 947CodeMemberMethod imp = (CodeMemberMethod)en.Current; 949if (en.Current is CodeEntryPointMethod) 951GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 971if (en.Current is CodeTypeDeclaration) 977CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 1021CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 1033if (en.Current is CodeMemberProperty) 1035_currentMember = (CodeTypeMember)en.Current; 1046CodeMemberProperty imp = (CodeMemberProperty)en.Current; 1166((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, _output.InnerWriter, _options); 1192CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 1460((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, _output.InnerWriter, _options); 1544CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (6)
166CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 183CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 509ValidateStatement((CodeStatement)en.Current); 563CodeCatchClause current = (CodeCatchClause)en.Current; 643CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 657ValidateExpression((CodeExpression)en.Current);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (33)
914if (en.Current is CodeMemberEvent) 916_currentMember = (CodeTypeMember)en.Current; 927CodeMemberEvent imp = (CodeMemberEvent)en.Current; 945if (en.Current is CodeMemberField) 947_currentMember = (CodeTypeMember)en.Current; 958CodeMemberField imp = (CodeMemberField)en.Current; 1242((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, _output.InnerWriter, _options); 1257CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 1683CodeCatchClause current = (CodeCatchClause)en.Current; 2063if (en.Current is CodeMemberMethod 2064&& !(en.Current is CodeTypeConstructor) 2065&& !(en.Current is CodeConstructor)) 2067_currentMember = (CodeTypeMember)en.Current; 2078CodeMemberMethod imp = (CodeMemberMethod)en.Current; 2080if (en.Current is CodeEntryPointMethod) 2082GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 2169if (en.Current is CodeMemberProperty) 2171_currentMember = (CodeTypeMember)en.Current; 2182CodeMemberProperty imp = (CodeMemberProperty)en.Current; 2503if (en.Current is CodeConstructor) 2505_currentMember = (CodeTypeMember)en.Current; 2516CodeConstructor imp = (CodeConstructor)en.Current; 2857if (en.Current is CodeTypeConstructor) 2859_currentMember = (CodeTypeMember)en.Current; 2870CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 2888if (en.Current is CodeSnippetTypeMember) 2891_currentMember = (CodeTypeMember)en.Current; 2902CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 2937if (en.Current is CodeTypeDeclaration) 2943CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 3031((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, _output.InnerWriter, _options); 3052CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 3517CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (2)
283Object cur = enumerator.Current; 295cur = enumerator.Current;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (2)
212get { return (XmlSchemaObject)_enumerator.Current; } 233get { return _enumerator.Current; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
924typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping.TypeDesc;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
1339WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true);
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (5)
115Match m = (Match)en.Current; 125Match m = (Match)en.Current; 221Match m = (Match)en.Current; 255Match m = (Match)en.Current; 273Match m = (Match)en.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
322XmlNode currentNode = (XmlNode)nodes.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
195get { return ((IEnumerator)_inner).Current; }
GenerateDocumentationAndConfigFiles (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Metrics (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Metrics.Legacy (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.Analyzers.Local.Tests (4)
Json\JsonArrayTest.cs (4)
138Assert.Equal(obj[i], genericEnumerator.Current); 139Assert.Equal(obj[i], legacyEnumerator.Current); 140Assert.Equal(genericEnumerator.Current, legacyEnumerator.Current);
Microsoft.Arcade.Test.Common (2)
AssertEx.cs (2)
105if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.AspNetCore.Components.Server.Tests (2)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestHubMessageEqualityComparer.cs (2)
127if (!Equals(leftEnumerator.Current, rightEnumerator.Current))
Microsoft.AspNetCore.DataProtection (2)
XmlEncryption\EncryptedXmlDecryptor.cs (2)
113if (!(keyInfoEnum.Current is KeyInfoX509Data kiX509Data)) 139if (!(certEnum.Current is X509Certificate2 certInfo))
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
123var model = _enumerator.Current;
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
96var model = _enumerator.Current;
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\TestHubMessageEqualityComparer.cs (2)
127if (!Equals(leftEnumerator.Current, rightEnumerator.Current))
Microsoft.Build (1)
Collections\ItemDictionary.cs (1)
445object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
Microsoft.Build.BuildCheck.UnitTests (2)
EditorConfig_Tests.cs (2)
100if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.Build.Engine.UnitTests (1)
Collections\OMcollections_tests.cs (1)
118object o = ((IEnumerator)enumerator).Current;
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1+Enumerator.cs (1)
25object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Analyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Collections.Package (2)
Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (3)
51AssertEx.Fail("Unmatched expected: " + expectedEnumerator.Current); 56AssertEx.Fail("Unmatched actual: " + expectedEnumerator.Current); 60var expectedToken = (TokenDescription)expectedEnumerator.Current;
Microsoft.CodeAnalysis.Extensions.Package (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertEx.cs (2)
110if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.CodeAnalysis.Threading.Package (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.UnitTests (39)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (2)
512Assert.Equal(valuesListEnum.Current, valuesEnum.Current);
Collections\ImmutableDictionaryBuilderTestBase.cs (7)
199Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 204Assert.Equal(enumerator.Entry, enumerator.Current); 210Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 217Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 222Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 223Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value); 227Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current);
Collections\ImmutableDictionaryTestBase.cs (7)
187Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 192Assert.Equal(enumerator.Entry, enumerator.Current); 198Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 205Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 210Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 211Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value); 215Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
278list.Add((T)enumerator.Current);
Collections\ImmutableSetTest.cs (1)
242list.Add((T)enumerator.Current);
Collections\List\CollectionAsserts.cs (6)
33if (e.Current == null) 35Assert.Null(a.Current); 39Assert.IsType(e.Current.GetType(), a.Current); 40Assert.Equal(e.Current, a.Current);
Collections\List\IEnumerable.NonGeneric.Tests.cs (11)
273current = enumerator.Current; 283object current = enumerator.Current; 284Assert.Equal(current, enumerator.Current); 285Assert.Equal(current, enumerator.Current); 286Assert.Equal(current, enumerator.Current); 316Assert.Throws<InvalidOperationException>(() => enumerator.Current); 318current = enumerator.Current; 330Assert.Throws<InvalidOperationException>(() => enumerator.Current); 332current = enumerator.Current; 347Assert.Throws<InvalidOperationException>(() => enumerator.Current); 349current = enumerator.Current;
Collections\List\IList.NonGeneric.Tests.cs (4)
1097Assert.Throws<InvalidOperationException>(() => enumerator.Current); // Enumerator.Current should fail 1101_ = enumerator.Current; // Enumerator.Current should not fail 1112Assert.Throws<InvalidOperationException>(() => enumerator.Current); // Enumerator.Current should fail 1116_ = enumerator.Current; // Enumerator.Current should not fail
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.DotNet.NuGetRepack.Tests (2)
TestHelpers\AssertEx.cs (2)
105if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Logging\LoggerMessageStateTests.cs (1)
167var current = (KeyValuePair<string, object?>)m.Current!;
Microsoft.Maui.Controls (3)
BindableLayout\BindableLayout.cs (1)
383 var item = enumerator.Current;
ListProxy.cs (1)
359 _items.Add(_enumeratorIndex, _enumerator.Current);
RadioButton\RadioButtonGroup.cs (1)
80 var rb = itor.Current as RadioButton;
Microsoft.ML.Parquet (4)
ParquetLoader.cs (4)
763if (enu.Current is IList && enu.Current.GetType().IsGenericType) 765sb.Append("[" + ConvertListToString((IList)enu.Current) + "],"); 769sb.Append(enu.Current?.ToString() + ",");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (1)
97Public ReadOnly Property Current() As Object Implements IEnumerator.Current
PresentationCore (4)
System\Windows\Input\Command\CommandBindingCollection.cs (1)
186if (collectionEnum.Current is CommandBinding cmdBinding)
System\Windows\Input\Command\InputBindingCollection.cs (1)
253InputBinding inputBinding = collectionEnum.Current as InputBinding;
System\Windows\Input\Command\InputGestureCollection.cs (1)
280InputGesture inputGesture = collectionEnum.Current as InputGesture;
System\Windows\Input\MouseDevice.cs (1)
417IMouseInputProvider provider = inputProviders.Current as IMouseInputProvider;
PresentationFramework (56)
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
231return _items.Current;
MS\Internal\Data\CollectionViewGroupInternal.cs (1)
803_current = _subEnum.Current;
MS\Internal\Data\CompositeCollectionView.cs (1)
1508_current = _containerEnumerator.Current;
MS\Internal\Data\EnumerableCollectionView.cs (1)
538_snapshot.Add(ie.Current);
MS\Internal\Data\IndexedEnumerable.cs (6)
105if (object.Equals(_enumerator.Current, item)) 116CacheCurrentItem(index, _enumerator.Current); 246CacheCurrentItem(index, _enumerator.Current); 389current = _enumerator.Current; 741while ((returnValue = _enumerator.MoveNext()) && !_filterCallback(_enumerator.Current)); 751return _enumerator.Current;
MS\Internal\DataStreams.cs (1)
351WalkLogicalTree(e.Current, operation);
MS\Internal\Documents\ContentElementCollection.cs (1)
355/// <see cref="IEnumerator.Current"/>
MS\Internal\Documents\TableTextElementCollectionInternal.cs (3)
329if (objectSearchFor == enumChildren.Current) 334if (enumChildren.Current is TElementType || enumChildren.Current is DummyProxy)
MS\Internal\IO\Packaging\PackageFilter.cs (1)
364PackagePart currentPart = (PackagePart)_partIterator.Current;
MS\Internal\ListOfObject.cs (2)
121get { return _ie.Current; } 139get { return _ie.Current; }
MS\Internal\Navigation\JournalEntryStack.cs (1)
217get { return _ienum.Current; }
System\Windows\Controls\ColumnDefinition.cs (1)
833/// <see cref="IEnumerator.Current"/>
System\Windows\Controls\ListBox.cs (1)
882SelectionChange.Select(NewItemInfo(enumerator.Current, null, index), true /* assumeInItemsCollection */);
System\Windows\Controls\RadioButton.cs (1)
172RadioButton rb = itor.Current as RadioButton;
System\Windows\Controls\RowDefinition.cs (1)
828/// <see cref="IEnumerator.Current"/>
System\Windows\Data\CollectionView.cs (5)
120currentItem = e.Current; 1557object item = ie.Current; 1642(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1683(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1693: _baseEnumerator.Current;
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
220string prefix = (string) enumerator.Current;
System\Windows\DescendentsWalker.cs (2)
196DependencyObject child = logicalChildren.Current as DependencyObject; 255object current = logicalChildren.Current;
System\Windows\Documents\FixedPage.cs (2)
914element = (DependencyObject)itor.Current; 1031if (itor.Current == e)
System\Windows\Documents\FixedTextBuilder.cs (9)
942namedNode = elements.Current as IFrameworkInputElement; 946elements.Current as UIElement, 951if (_IsImage(elements.Current) || 952(elements.Current is Glyphs && (elements.Current as Glyphs).MeasurementGlyphRun != null)) 959else if (constructLines && elements.Current is Path) 961pageStructure.PageConstructor.ProcessPath(elements.Current as Path, transform); 963else if (elements.Current is Canvas) 970Canvas canvas = elements.Current as Canvas;
System\Windows\Documents\Table.cs (2)
444currentChild = _columns.Current; 450currentChild = _rowGroups.Current;
System\Windows\Documents\TextElement.cs (1)
1095TextElement child = children.Current as TextElement;
System\Windows\Documents\TextElementCollection.cs (1)
329TextElementType element = enumerator.Current as TextElementType;
System\Windows\FrameworkContentElement.cs (1)
1996DependencyObject child =enumerator.Current as DependencyObject;
System\Windows\FrameworkElement.cs (1)
3078DependencyObject child = enumerator.Current as DependencyObject;
System\Windows\LogicalTreeHelper.cs (1)
94childNode = childEnumerator.Current as DependencyObject;
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
45get => (DictionaryEntry)_enumerator.Current;
System\Windows\Navigation\NavigationService.cs (2)
358ScrollViewer sv = children.Current as ScrollViewer; 4430object child = children.Current;
System\Windows\ResourceDictionary.cs (4)
2179object key = _keysEnumerator.Current; 2189return _keysEnumerator.Current; 2197return _owner[_keysEnumerator.Current]; 2228return _owner[_keysEnumerator.Current];
ReachFramework (7)
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
184object pageContent = enumerator.Current;
Serialization\Manager\NGCSerializerAsync.cs (1)
1280object documentReference = enumerator.Current;
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
185object uiElement = enumerator.Current;
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
144object documentReference = enumerator.Current;
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
182object pageContent = enumerator.Current;
Serialization\Manager\ReachSerializableProperties.cs (1)
74return _queueEnumerator.Current;
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
186object uiElement = enumerator.Current;
Roslyn.Diagnostics.Analyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Shared.Tests (1)
EmptyCollections\EmptyReadOnlyListTests.cs (1)
49Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current);
System.Collections.NonGeneric (2)
System\Collections\Queue.cs (1)
72Enqueue(en.Current);
System\Collections\Stack.cs (1)
59Push(en.Current);
System.Collections.Specialized (13)
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
388array.SetValue(e.Current, index++); 612array.SetValue(e.Current, index++);
System\Collections\Specialized\OrderedDictionary.cs (10)
465Debug.Assert(_arrayEnumerator.Current != null); 468return ((DictionaryEntry)_arrayEnumerator.Current).Key; 472return ((DictionaryEntry)_arrayEnumerator.Current).Value; 485Debug.Assert(_arrayEnumerator.Current != null); 486return new DictionaryEntry(((DictionaryEntry)_arrayEnumerator.Current).Key, ((DictionaryEntry)_arrayEnumerator.Current).Value); 497Debug.Assert(_arrayEnumerator.Current != null); 498return ((DictionaryEntry)_arrayEnumerator.Current).Key; 509Debug.Assert(_arrayEnumerator.Current != null); 510return ((DictionaryEntry)_arrayEnumerator.Current).Value;
System\Collections\Specialized\StringCollection.cs (1)
248return (string?)(_baseEnumerator.Current);
System.ComponentModel.TypeConverter (6)
System\ComponentModel\TypeDescriptor.cs (6)
2167if (cacheEnum.Current != memberEnum.Current) 2212if (primaryEnum.Current != mergeEnum.Current) 2225if (secondaryEnum.Current != mergeEnum.Current)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElement.cs (1)
1794while (it.MoveNext()) ValidateElement((ConfigurationElement)it.Current, null, true);
System\Configuration\ConfigurationElementCollection.cs (1)
1276Entry entry = (Entry)_itemsEnumerator.Current;
System.Data.Common (7)
System\Data\ConstraintEnumerator.cs (3)
37_constraints = ((DataTable)_tables.Current).Constraints.GetEnumerator(); 46Debug.Assert(_constraints.Current is Constraint, "ConstraintEnumerator, contains object which is not constraint"); 47candidate = (Constraint)_constraints.Current;
System\Data\DataColumn.cs (1)
1236UniqueConstraint? o = (e.Current as UniqueConstraint);
System\Data\DataViewSettingCollection.cs (3)
116ar.SetValue(Enumerator.Current, index++); 125ar.SetValue(Enumerator.Current, index++); 181public object Current => _dataViewSettings![(DataTable)_tableEnumerator.Current];
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\ActivityTagsCollection.cs (1)
278object IEnumerator.Current => ((IEnumerator)_enumerator).Current;
System\Diagnostics\DsesFilterAndTransform.cs (2)
913object? currentValue = en.Current; 929currentValue = en.Current;
System.Linq (8)
System\Linq\Cast.cs (1)
65_current = (TResult)_enumerator.Current;
System\Linq\Cast.SpeedOpt.cs (4)
52return (TResult)e.Current; 76return (TResult)e.Current; 95TResult last = (TResult)e.Current; 98last = (TResult)e.Current;
System\Linq\OfType.cs (1)
50if (_enumerator.Current is TResult result)
System\Linq\OfType.SpeedOpt.cs (2)
96if (e.Current is TResult last) 102if (e.Current is TResult castCurrent)
System.Linq.Parallel (2)
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (2)
71get { return _wrappedEnumerator.Current; } 76get { return _wrappedEnumerator.Current; }
System.Net.Http (2)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (2)
63Debug.Assert(Equals(e1.Current, e2.Current), $"{pi.Name}. Cloned enumerator's values don't match.");
System.Net.HttpListener (2)
System\Net\HttpListenerPrefixCollection.cs (2)
18public string Current => (string)_enumerator.Current; 26object IEnumerator.Current => _enumerator.Current;
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
911_list.Insert(index++, en.Current); 1017_list[index++] = en.Current; 1128return _en.Current;
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (2)
273e1 = (SecurityElement?)lhs.Current; 274e2 = (SecurityElement?)rhs.Current;
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (3)
77object current = enumerator.Current; 94object current = enumerator.Current; 114object current = enumerator.Current;
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (2)
65object current = enumerator.Current; 76object current = enumerator.Current;
System.Private.Xml (11)
System\Xml\Schema\XmlSchemaDataType.cs (2)
183object cur = enumerator.Current!; 195cur = enumerator.Current!;
System\Xml\Schema\XmlSchemaObjectCollection.cs (2)
122get { return (XmlSchemaObject)_enumerator.Current!; } 137get { return _enumerator.Current!; }
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
177object ai = e.Current; 862object ai = e.Current;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
824typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping!.TypeDesc!;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1304WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true);
System\Xml\XmlConvert.cs (3)
195Match m = (Match)en.Current!; 228Match m = (Match)en.Current!; 243Match m = (Match)en.Current!;
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
23get { return (X509Certificate2)_enumerator.Current!; }
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
23get { return (X509Certificate)_enumerator.Current!; }
System\Security\Cryptography\XmlKeyHelper.cs (2)
225string? curName = Functions.GetLocalName(_enumerator.Current); 230return Functions.GetValue(_enumerator.Current);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\EncryptedXml.cs (7)
318kiName = keyInfoEnum.Current as KeyInfoName; 345kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 353kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey; 407kiName = keyInfoEnum.Current as KeyInfoName; 429kiX509Data = keyInfoEnum.Current as KeyInfoX509Data; 450kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 476kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey;
System\Security\Cryptography\Xml\KeyInfo.cs (1)
140tempObj = tempEnum.Current!;
System\Security\Cryptography\Xml\SignedXml.cs (1)
490switch (_keyInfoEnum.Current)
System.ServiceModel.Primitives.Tests (2)
Channels\UnderstoodHeadersTest.cs (2)
54MessageHeaderInfo mhi = (MessageHeaderInfo)iEnum.Current; 63MessageHeaderInfo mhi = (MessageHeaderInfo)iEnum2.Current;
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (1)
68object? element = enumerator.Current;
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
68object? element = enumerator.Current;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
943yield return children.Current;
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2214object o = childEnum.Current;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.ToolStripPanelCellToControlEnumerator.cs (2)
28ToolStripPanelCell? cell = _arrayListEnumerator.Current as ToolStripPanelCell; 29Debug.Assert(cell is not null, $"Expected ToolStripPanel cells only!!!{_arrayListEnumerator.Current.GetType()}");
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
677instance = listEnumerator.Current;
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignSurfaceCollection.cs (1)
85IDesignerHost host = (IDesignerHost)_designerEnumerator.Current!;
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (2)
67object value = modifiedEnum.Current!; 78result.Add(modifiedEnum.Current!);
System\Windows\Forms\Design\Behavior\BehaviorServiceAdornerCollectionEnumerator.cs (2)
18public Adorner Current => (Adorner)_baseEnumerator.Current; 20object IEnumerator.Current => _baseEnumerator.Current;
System\Windows\Forms\Design\ListAdapter.cs (2)
54T IEnumerator<T>.Current => (T)_enumerator.Current; 55object IEnumerator.Current => _enumerator.Current;
System\Windows\Forms\Design\ListViewSubItemCollectionEditor.cs (1)
96values[index++] = enumerator.Current;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (1)
51descriptors.Add((MaskDescriptor)enumerator.Current);
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (1)
272controls.Add((Control)enumerator.Current);
System.Windows.Forms.Tests (147)
System\Resources\ResXResourceWriterTests.cs (7)
140var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 161var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 182var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 203var currentEntry = (DictionaryEntry)enumerator.Current; 224var currentEntry = (DictionaryEntry)enumerator.Current; 245var currentEntry = (DictionaryEntry)enumerator.Current; 267var currentEntry = (DictionaryEntry)enumerator.Current;
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (14)
277Assert.Throws<InvalidOperationException>(() => enumerator.Current); 280Assert.Throws<InvalidOperationException>(() => enumerator.Current); 284Assert.Throws<InvalidOperationException>(() => enumerator.Current); 299Assert.Throws<InvalidOperationException>(() => enumerator.Current); 302Assert.Equal("2", enumerator.Current); 305Assert.Throws<InvalidOperationException>(() => enumerator.Current); 309Assert.Throws<InvalidOperationException>(() => enumerator.Current); 324Assert.Throws<InvalidOperationException>(() => enumerator.Current); 327Assert.Throws<InvalidOperationException>(() => enumerator.Current); 331Assert.Throws<InvalidOperationException>(() => enumerator.Current); 347Assert.Throws<InvalidOperationException>(() => enumerator.Current); 350Assert.Equal("2", enumerator.Current); 353Assert.Throws<InvalidOperationException>(() => enumerator.Current); 357Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\BaseCollectionTests.cs (1)
52Assert.Equal(1, enumerator.Current);
System\Windows\Forms\BindingContextTests.cs (2)
232Assert.IsType<DictionaryEntry>(enumerator.Current); 234Assert.IsType<DictionaryEntry>(enumerator.Current);
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
139enumerator.Current.Should().Be(expectedIndex);
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
116result.Add(enumerator.Current);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (7)
1396Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1399Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1403Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1431Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1434Assert.Equal(2, enumerator.Current); 1437Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1441Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ControlTests.ControlCollection.cs (25)
1595Assert.Null(enumerator.Current); 1598Assert.Null(enumerator.Current); 1602Assert.Null(enumerator.Current); 1625Assert.Null(enumerator.Current); 1628Assert.Same(child1, enumerator.Current); 1631Assert.Same(child2, enumerator.Current); 1634Assert.Same(child3, enumerator.Current); 1637Assert.Same(child3, enumerator.Current); 1641Assert.Same(child3, enumerator.Current); 1657Assert.Null(enumerator.Current); 1660Assert.Null(enumerator.Current); 1664Assert.Null(enumerator.Current); 1687Assert.Null(enumerator.Current); 1690Assert.Same(child2, enumerator.Current); 1693Assert.Same(child3, enumerator.Current); 1696Assert.Same(child3, enumerator.Current); 1700Assert.Same(child3, enumerator.Current); 1718Assert.Null(enumerator.Current); 1721Assert.Same(child1, enumerator.Current); 1724Assert.Same(child2, enumerator.Current); 1727Assert.Same(child3, enumerator.Current); 1730Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1733Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1737Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1740Assert.Same(child1, enumerator.Current);
System\Windows\Forms\DataGridViewComboBoxCell.ObjectCollectionTests.cs (3)
249enumerator.Current.Should().Be("Item1"); 251enumerator.Current.Should().Be("Item2"); 253enumerator.Current.Should().Be("Item3");
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (8)
390Assert.Throws<InvalidOperationException>(() => enumerator.Current); 393Assert.Throws<InvalidOperationException>(() => enumerator.Current); 396Assert.Throws<InvalidOperationException>(() => enumerator.Current); 418Assert.Throws<InvalidOperationException>(() => enumerator.Current); 421Assert.Same(control.Rows[2].Cells[0], enumerator.Current); 424Assert.Same(control.Rows[0].Cells[0], enumerator.Current); 427Assert.Throws<InvalidOperationException>(() => enumerator.Current); 430Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (8)
430Assert.Throws<InvalidOperationException>(() => enumerator.Current); 433Assert.Throws<InvalidOperationException>(() => enumerator.Current); 436Assert.Throws<InvalidOperationException>(() => enumerator.Current); 462Assert.Throws<InvalidOperationException>(() => enumerator.Current); 465Assert.Same(control.Columns[2], enumerator.Current); 468Assert.Same(control.Columns[0], enumerator.Current); 471Assert.Throws<InvalidOperationException>(() => enumerator.Current); 474Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (8)
380Assert.Throws<InvalidOperationException>(() => enumerator.Current); 383Assert.Throws<InvalidOperationException>(() => enumerator.Current); 386Assert.Throws<InvalidOperationException>(() => enumerator.Current); 407Assert.Throws<InvalidOperationException>(() => enumerator.Current); 410Assert.Same(control.Rows[2], enumerator.Current); 413Assert.Same(control.Rows[0], enumerator.Current); 416Assert.Throws<InvalidOperationException>(() => enumerator.Current); 419Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (12)
1124Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1127Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1144Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1147Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1169Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1172Bitmap result1 = Assert.IsType<Bitmap>(enumerator.Current); 1178Bitmap result2 = Assert.IsType<Bitmap>(enumerator.Current); 1184Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1207Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1210Bitmap result1 = Assert.IsType<Bitmap>(enumerator.Current); 1216Bitmap result2 = Assert.IsType<Bitmap>(enumerator.Current); 1222Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (7)
2244Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2247Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2251Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2270Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2273Assert.Equal(2, enumerator.Current); 2276Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2280Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (14)
4035Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4038Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4042Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4061Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4064Assert.Equal(2, enumerator.Current); 4067Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4071Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9357Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9360Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9364Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9383Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9386Assert.Equal(2, enumerator.Current); 9389Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9393Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (29)
1668Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1671Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1675Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1698Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1701Assert.Same(child1, enumerator.Current); 1704Assert.Same(child2, enumerator.Current); 1707Assert.Same(child3, enumerator.Current); 1710Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1714Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1730Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1733Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1737Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1760Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1763Assert.Same(child1, enumerator.Current); 1766Assert.Same(child2, enumerator.Current); 1769Assert.Same(child3, enumerator.Current); 1772Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1776Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1794Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1797Assert.Same(child1, enumerator.Current); 1800Assert.Same(child2, enumerator.Current); 1803Assert.Same(child3, enumerator.Current); 1806Assert.Same(child3, enumerator.Current); 1809Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1813Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1816Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1827Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1830Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1834Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System.Xaml (2)
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
358result.Add(enumerator.Current); 756yield return (DictionaryEntry)enumerator.Current;
System.Xaml.Tests (2)
System\Xaml\Schema\XamlTypeInvokerTests.cs (2)
504Assert.Equal(1, items.Current); 514Assert.Equal(1, items.Current);
Test.Utilities (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Text.Analyzers (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
426if (!AttributeValuesAreEqual(e1.Current, e2.Current))
WindowsBase.Tests (26)
System\Windows\DependencyObjectTests.cs (12)
1269Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1274Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1279Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1284Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1302Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1310entry = Assert.IsType<LocalValueEntry>(((IEnumerator)enumerator).Current); 1317Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1322Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1345Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1353entry = Assert.IsType<LocalValueEntry>(((IEnumerator)enumerator).Current); 1360Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1365Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current);
System\Windows\LocalValueEnumeratorTests.cs (6)
84Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 93Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 102Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 113Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 126Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 138Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current);
System\Windows\NameScopeTests.cs (8)
791Assert.Throws<InvalidOperationException>(() => enumerator.Current); 795Assert.Equal("name", ((KeyValuePair<string, object>)enumerator.Current).Key); 796Assert.Same(scopedElement, ((KeyValuePair<string, object>)enumerator.Current).Value); 800Assert.Throws<InvalidOperationException>(() => enumerator.Current); 804Assert.Throws<InvalidOperationException>(() => enumerator.Current); 820Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current); 824Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current); 828Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current);
xunit.assert (5)
Sdk\ArgumentFormatter.cs (1)
417 var current = enumerator.Current;
Sdk\CollectionTracker.cs (4)
170 if (!itemComparer.Equals(expectedEnumerator.Current, actualEnumerator.Current)) 283 var xCurrent = enumeratorX.Current; 284 var yCurrent = enumeratorY.Current;