644 implementations of Current
dotnet (1)
Commands\Test\MTP\Models.cs (1)
94object IEnumerator.Current => Current;
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-getdocument (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-openapi (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-sql-cache (1)
src\aspnetcore\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\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-user-secrets (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
GenerateDocumentationAndConfigFiles (26)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
GetDocument.Insider (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
ILCompiler.Compiler (3)
src\runtime\src\coreclr\tools\Common\Pgo\PgoFormat.cs (1)
133object IEnumerator.Current => throw new NotImplementedException();
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
105object? IEnumerator.Current => Current;
src\runtime\src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
54object IEnumerator.Current => new ParameterProxy(_method, (ParameterIndex)_current);
ILCompiler.ReadyToRun (2)
src\runtime\src\coreclr\tools\Common\Pgo\PgoFormat.cs (1)
133object IEnumerator.Current => throw new NotImplementedException();
src\runtime\src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
54object IEnumerator.Current => new ParameterProxy(_method, (ParameterIndex)_current);
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtable.cs (1)
733object IEnumerator.Current
illink (2)
ILLink.RoslynAnalyzer (2)
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
105object? IEnumerator.Current => Current;
src\runtime\src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
54object IEnumerator.Current => new ParameterProxy(_method, (ParameterIndex)_current);
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
29object? IEnumerator.Current => this.Current;
Microsoft.AspNetCore.Components (3)
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
810object IEnumerator.Current => Current;
src\aspnetcore\src\Http\Routing\src\PathTokenizer.cs (1)
134object IEnumerator.Current
src\aspnetcore\src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\FormDataReader.cs (1)
306object IEnumerator.Current => _enumerator.Current;
TempData\TempData.cs (1)
193object IEnumerator.Current => Current;
Microsoft.AspNetCore.Components.Server (1)
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Utilities.cs (1)
74object IEnumerator.Current => this.enumerator.Entry;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
parent\parent\parent\eng\MSBuild\parent\parent\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\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
631object 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\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
306object 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.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\PooledObjects\PooledList`1.Enumerator.cs (1)
26object? IEnumerator.Current => Current;
Microsoft.AspNetCore.Routing (2)
PathTokenizer.cs (1)
134object IEnumerator.Current
Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\HttpRequestHeaders.cs (2)
235object IEnumerator.Current => Current; 265readonly 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\aspnetcore\src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
484object IEnumerator.Current => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionStore.cs (1)
87object IEnumerator.Current => Current;
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
484object IEnumerator.Current => throw new NotImplementedException();
Microsoft.Build (22)
Collections\ArrayDictionary.cs (1)
243object IEnumerator.Current => _emitDictionaryEntries ? CurrentDictionaryEntry : Current;
Collections\ConvertingEnumerable.cs (1)
98Object IEnumerator.Current => Current;
Collections\CopyOnWritePropertyDictionary.cs (1)
402readonly object IEnumerator.Current => Current;
Collections\ItemDictionary.cs (1)
447object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
997Object System.Collections.IEnumerator.Current
Construction\ProjectElementContainer.cs (2)
912object IEnumerator.Current => Current; 1011object IEnumerator.Current
Evaluation\ItemDataCollectionValue.cs (1)
30object System.Collections.IEnumerator.Current => Current;
Evaluation\SemiColonTokenizer.cs (1)
59object IEnumerator.Current => Current;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\8b3a4ac2431f87ea\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\8b3a4ac2431f87ea\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
Microsoft.Build.Tasks.Core (1)
src\msbuild\src\Shared\LanguageParser\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)
65object? 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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Syntax\ChildSyntaxList.Enumerator.cs (1)
139object 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 (26)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (26)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.CodeStyle (23)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Extensions.Package (13)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
AspNetCore\EmbeddedLanguages\AspNetCoreVirtualCharSequence.cs (1)
81readonly object IEnumerator.Current
Microsoft.CodeAnalysis.NetAnalyzers (4)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PooledObjects\ArrayBuilder.Enumerator.cs (1)
38readonly object? System.Collections.IEnumerator.Current => this.Current;
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\SmallDictionary.cs (3)
707object IEnumerator.Current => _e.Current; 824object? IEnumerator.Current => _e.Current; 930object IEnumerator.Current => _e.Current;
Microsoft.CodeAnalysis.Razor.Compiler (9)
Language\Intermediate\IntermediateNodeCollection.cs (1)
226object IEnumerator.Current => Current;
Language\Syntax\ChildSyntaxList.Enumerator.cs (1)
126object IEnumerator.Current
Language\Syntax\SpecializedCollections.cs (1)
64public object Current => throw new InvalidOperationException();
Language\Syntax\SyntaxList`1.Enumerator.cs (1)
70object IEnumerator.Current
Language\Syntax\SyntaxTokenList.Enumerator.cs (1)
129object IEnumerator.Current => _enumerator.Current;
Language\Syntax\SyntaxTokenList.Reversed.cs (1)
116object IEnumerator.Current => _enumerator.Current;
Language\TagHelperCollection.Builder.Enumerator.cs (1)
47object IEnumerator.Current => Current;
Language\TagHelperCollection.Enumerator.cs (1)
73object IEnumerator.Current => Current;
Language\TagHelperObjectBuilderCollection`2.Enumerator.cs (1)
29readonly object IEnumerator.Current => _current;
Microsoft.CodeAnalysis.ResxSourceGenerator (26)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Workspaces (23)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.Extensions.AI (1)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
230object IEnumerator.Current => Current;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.Http.Diagnostics (1)
parent\parent\parent\eng\MSBuild\parent\parent\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)
94object IEnumerator.Current => Current;
StringValues.cs (1)
823object? IEnumerator.Current => _current;
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
292object? IEnumerator.Current => Current;
Microsoft.Gen.BuildMetadata.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Logging.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Metrics.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetricsReports.Unit.Tests (1)
parent\parent\parent\parent\eng\MSBuild\parent\parent\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.TemplateEngine.Utils (1)
CombinedList.cs (1)
73object? IEnumerator.Current => Current;
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (1)
97Public ReadOnly Property Current() As Object Implements IEnumerator.Current
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\SimpleJSON.cs (1)
150object IEnumerator.Current { get { return _enumerator.Current; } }
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Utility\Collection.cs (1)
40object IEnumerator.Current
Mono.Cecil (1)
Mono.Collections.Generic\Collection.cs (1)
362 object IEnumerator.Current {
NuGet.DependencyResolver.Core (1)
GraphModel\Tracker.cs (1)
186readonly object IEnumerator.Current => Current;
NuGet.ProjectModel (1)
LazyStringSplit.cs (1)
109object IEnumerator.Current => 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)
929object 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 212public 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)
88public 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)
2157object IEnumerator.Current 2228object IEnumerator.Current
System\Windows\Window.cs (1)
8056object IEnumerator.Current
ReachFramework (1)
Serialization\Manager\ReachSerializableProperties.cs (1)
70Current
Roslyn.Diagnostics.Analyzers (26)
src\roslyn\src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\roslyn\src\Compilers\Core\Portable\Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
65object? IEnumerator.Current
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
47readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
27readonly object IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
27readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
386readonly object? IEnumerator.Current => Current;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
1223readonly object? IEnumerator.Current 1474readonly object? IEnumerator.Current 1681readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1431readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
1365readonly object? IEnumerator.Current
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Enumerator.cs (1)
24public object? Current => throw new InvalidOperationException();
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Enumerator`1.cs (1)
29object? IEnumerator.Current => _loneValue;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (3)
709object IEnumerator.Current => _e.Current; 826object? IEnumerator.Current => _e.Current; 932object IEnumerator.Current => _e.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
49readonly object IEnumerator.Current => this.Current!;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (1)
191readonly object? IEnumerator.Current => this.Current;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
rzc (1)
CommandLine\CommandLineApplication.cs (1)
612object IEnumerator.Current
Shared (1)
EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
System.Collections (13)
System\Collections\Generic\LinkedList.cs (1)
522object? IEnumerator.Current
System\Collections\Generic\OrderedDictionary.cs (3)
1413readonly object IEnumerator.Current => _useDictionaryEntry ? 1647object IEnumerator.Current => Current; 1891object? IEnumerator.Current => Current;
System\Collections\Generic\PriorityQueue.cs (1)
1036object IEnumerator.Current => _current;
System\Collections\Generic\SortedDictionary.cs (3)
455object? IEnumerator.Current 654object? IEnumerator.Current 815object? IEnumerator.Current
System\Collections\Generic\SortedList.cs (3)
825object? IEnumerator.Current 911object? IEnumerator.Current 975object? IEnumerator.Current
System\Collections\Generic\SortedSet.cs (1)
1947object? IEnumerator.Current
System\Collections\Generic\Stack.cs (1)
393object? System.Collections.IEnumerator.Current => Current;
System.Collections.Concurrent (3)
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)
716object 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)
123object? 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)
124object? 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 (3)
System\ComponentModel\CollectibleKeyConcurrentHashtable.cs (1)
98object IEnumerator.Current => Current;
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.Data.OleDb (1)
DbConnectionStringCommon.cs (1)
115object? System.Collections.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)
331object IEnumerator.Current => _tagList[_index];
System.Diagnostics.EventLog (1)
System\Diagnostics\EventLogEntryCollection.cs (1)
81public object Current
System.DirectoryServices (5)
System\DirectoryServices\DirectoryEntries.cs (1)
165object IEnumerator.Current => Current;
System\DirectoryServices\PropertyCollection.cs (2)
201public object Current => Entry.Value!; 313public virtual object Current
System\DirectoryServices\SearchResultCollection.cs (2)
259object IEnumerator.Current => Current; 442object IEnumerator.Current => Current;
System.DirectoryServices.AccountManagement (5)
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
218public object Current
System\DirectoryServices\AccountManagement\FindResultEnumerator.cs (1)
48object IEnumerator.Current
System\DirectoryServices\AccountManagement\PrincipalCollectionEnumerator.cs (1)
46object IEnumerator.Current
System\DirectoryServices\AccountManagement\TrackedCollectionEnumerator.cs (1)
36object IEnumerator.Current
System\DirectoryServices\AccountManagement\ValueCollectionEnumerator.cs (1)
27object IEnumerator.Current
System.Drawing.Common (1)
System\Drawing\Printing\PrinterSettings.ArrayEnumerator.cs (1)
23public object? Current => _item;
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)
System\Management\ManagementObjectCollection.cs (1)
493object IEnumerator.Current
System\Management\MethodSet.cs (1)
295object IEnumerator.Current { get { return (object)this.Current; } }
System\Management\PropertySet.cs (1)
276object IEnumerator.Current { get { return (object)this.Current; } }
System\Management\QualifierSet.cs (1)
350object IEnumerator.Current { get { return (object)this.Current; } }
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)
103readonly object? IEnumerator.Current => throw new NotSupportedException();
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
591readonly object? IEnumerator.Current => Current;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
429readonly object? IEnumerator.Current => Current;
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (1)
109readonly object? IEnumerator.Current => throw new NotSupportedException();
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
519readonly object? IEnumerator.Current => Current;
System.Private.CoreLib (40)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
265object IEnumerator.Current
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtable.cs (1)
733object IEnumerator.Current
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\Utilities\LockFreeReaderHashtableOfPointers.cs (1)
650object IEnumerator.Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (3)
41public object? Current 131object? IEnumerator.Current => Current; 139public object Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
323object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\CharEnumerator.cs (1)
36object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
1119public object? Current 2139public object? Current 2606public object? Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
1088public object Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (2)
878object IEnumerator.Current => Current; 2302public object Current => Entry;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1923object? IEnumerator.Current 2161object? IEnumerator.Current 2354object? IEnumerator.Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1849object? IEnumerator.Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
1226object? IEnumerator.Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
484object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1459public object? Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
222public object Current => Entry; 347public object? Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
234public object Current => Entry;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextElementEnumerator.cs (1)
47public object Current => GetTextElement();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
76object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
55object? IEnumerator.Current
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
6018object IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
276object IEnumerator.Current => Current!;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1093public object Current => Entry;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
490object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
1954object IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfoEnumerator.cs (1)
71object? IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
269object IEnumerator.Current => Current!;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\RunePosition.cs (2)
245object IEnumerator.Current => Current; 313object IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\SpanLineEnumerator.cs (1)
83object IEnumerator.Current => throw new NotSupportedException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
55object IEnumerator.Current => Current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilderRuneEnumerator.cs (1)
71readonly object? IEnumerator.Current => _current;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
52object? IEnumerator.Current => _current;
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1611object System.Collections.IEnumerator.Current => Current; 1647object System.Collections.IEnumerator.Current => Current;
System.Private.Reflection.Execution (1)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
265object IEnumerator.Current
System.Private.TypeLoader (1)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
265object IEnumerator.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)
818object 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\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1093public object Current => Entry;
System.Security.AccessControl (1)
System\Security\AccessControl\ACL.cs (1)
29object IEnumerator.Current
System.Security.Cryptography (7)
src\runtime\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\runtime\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.Security.Principal.Windows (1)
System\Security\Principal\IRCollection.cs (1)
395object IEnumerator.Current
System.ServiceModel.Primitives (1)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
288public object Current
System.Speech (1)
Internal\RBList.cs (1)
595public object Current
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)
308object IEnumerator.Current => Current;
System\Text\RegularExpressions\GroupCollection.cs (1)
444object IEnumerator.Current => Current;
System\Text\RegularExpressions\MatchCollection.cs (1)
396object IEnumerator.Current => Current;
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (1)
171readonly object IEnumerator.Current => throw new NotSupportedException();
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
276object 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
320 references to Current
Aspire.Hosting (2)
ApplicationModel\CustomResourceSnapshot.cs (2)
296if (!PropertyValueContentEquals(enumeratorX.Current, enumeratorY.Current))
dotnet-svcutil-lib (92)
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.CodeDom\Microsoft\VBCodeProvider.cs (8)
716CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 1747CodeCatchClause current = (CodeCatchClause)en.Current; 2017if (!(en.Current is CodeMemberMethod)) 2019CodeMemberMethod meth = (CodeMemberMethod)en.Current; 2021if (!(en.Current is CodeTypeConstructor) 2022&& !(en.Current is CodeConstructor) 2187if (!(en.Current is CodeMemberProperty)) 2189CodeMemberProperty prop = (CodeMemberProperty)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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.Analyzers.Local.Tests (4)
JsonArrayTest.cs (4)
138Assert.Equal(obj[i], genericEnumerator.Current); 139Assert.Equal(obj[i], legacyEnumerator.Current); 140Assert.Equal(genericEnumerator.Current, legacyEnumerator.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.Build (4)
Collections\ItemDictionary.cs (1)
447object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Utilities\Utilities.cs (1)
889object item = enumerator.Current;
Microsoft.CodeAnalysis (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Extensions.Package (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Enumerator.cs (1)
27readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).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
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Utility\Collection.cs (2)
37get { return (TemplateType)_enumerator.Current; } 42get { return _enumerator.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)
361PackagePart currentPart = (PackagePart)_partIterator.Current;
MS\Internal\ListOfObject.cs (2)
121get { return _ie.Current; } 139get { return _ie.Current; }
MS\Internal\Navigation\JournalEntryStack.cs (1)
214get { return _ienum.Current; }
System\Windows\Controls\ColumnDefinition.cs (1)
833/// <see cref="IEnumerator.Current"/>
System\Windows\Controls\ListBox.cs (1)
879SelectionChange.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)
371ScrollViewer sv = children.Current as ScrollViewer; 4425object child = children.Current;
System\Windows\ResourceDictionary.cs (4)
2183object key = _keysEnumerator.Current; 2193return _keysEnumerator.Current; 2201return _owner[_keysEnumerator.Current]; 2232return _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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
30readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\roslyn\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)
2166if (cacheEnum.Current != memberEnum.Current) 2211if (primaryEnum.Current != mergeEnum.Current) 2224if (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)
1231UniqueConstraint? 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)
905object? currentValue = en.Current; 921currentValue = en.Current;
System.DirectoryServices (1)
System\DirectoryServices\SearchResultCollection.cs (1)
236return (SearchResult)(_innerEnumerator.Current);
System.DirectoryServices.AccountManagement (10)
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (3)
287SearchResult currentSR = (SearchResult)_memberSearchResultsEnumerator.Current; 451string memberDN = (string)_membersEnum.Current; 896this.current = (SearchResult)_queryMembersResultEnumerator.Current;
System\DirectoryServices\AccountManagement\AD\ADEntriesSet.cs (1)
70_current = (SearchResult)_enumerator.Current;
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
106_currentResult = _currentEnumerator.Current;
System\DirectoryServices\AccountManagement\AD\TokenGroupsSet.cs (1)
99byte[] sid = (byte[])_tokenGroupsEnum.Current;
System\DirectoryServices\AccountManagement\SAM\SAMGroupsSet.cs (1)
55UnsafeNativeMethods.IADs nativeMember = (UnsafeNativeMethods.IADs)_groupsEnumerator.Current;
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (1)
107UnsafeNativeMethods.IADs nativeMember = (UnsafeNativeMethods.IADs)_membersEnumerator.Current;
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (1)
93DirectoryEntry entry = (DirectoryEntry)_enumerator.Current;
System\DirectoryServices\AccountManagement\TrackedCollectionEnumerator.cs (1)
78TrackedCollection<T>.ValueEl el = (TrackedCollection<T>.ValueEl)_enumerator.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.Management (3)
System\Management\ManagementOperationWatcher.cs (2)
179DictionaryEntry entry = (DictionaryEntry)sinkEnum.Current; 196DictionaryEntry entry = (DictionaryEntry)copiedSinkEnum.Current;
System\Management\MethodSet.cs (1)
306return new MethodData(parent, (string)en.Current);
System.Net.Http (2)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
910_list.Insert(index++, en.Current); 1016_list[index++] = en.Current; 1127return _en.Current;
src\runtime\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)
203object ai = e.Current; 1016object ai = e.Current;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
824typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping!.TypeDesc!;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1351WritePotentiallyReferencingElement("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.AccessControl (1)
System\Security\AccessControl\ACL.cs (1)
45get { return (GenericAce)((IEnumerator)this).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)
343kiName = keyInfoEnum.Current as KeyInfoName; 370kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 378kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey; 432kiName = keyInfoEnum.Current as KeyInfoName; 454kiX509Data = keyInfoEnum.Current as KeyInfoX509Data; 475kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 501kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey;
System\Security\Cryptography\Xml\KeyInfo.cs (1)
148tempObj = tempEnum.Current!;
System\Security\Cryptography\Xml\SignedXml.cs (1)
487switch (_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)
937yield return children.Current;
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2211object 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.Xaml (2)
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
358result.Add(enumerator.Current); 756yield return (DictionaryEntry)enumerator.Current;
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
426if (!AttributeValuesAreEqual(e1.Current, e2.Current))