471 implementations of Current
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
CodeGenerator (1)
HttpUtilities\CombinationsWithoutRepetition.cs (1)
27object IEnumerator.Current => Current;
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlChildEnumerator.cs (1)
50object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (2)
322public object Current 343public object Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
153public object Current
FrameworkFork\Microsoft.Xml\Xml\Dom\XPathNodeList.cs (1)
119public object Current
FrameworkFork\Microsoft.Xml\Xml\EmptyEnumerator.cs (1)
24object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
489object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (1)
231object IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (1)
311public Object Current
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
941object System.Collections.IEnumerator.Current
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNodeIterator.cs (1)
60public virtual object Current
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (2)
1477object System.Collections.IEnumerator.Current 1516object System.Collections.IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
193object IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (1)
356object IEnumerator.Current
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
283public object Current
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
GetDocument.Insider (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
illink (2)
ILLink.RoslynAnalyzer (2)
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
101 object? IEnumerator.Current => Current;
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
54 object IEnumerator.Current => new ParameterProxy (_method, (ParameterIndex) _current);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
29object? IEnumerator.Current => this.Current;
Microsoft.AspNetCore.Components (3)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
810object IEnumerator.Current => Current;
src\Http\Routing\src\PathTokenizer.cs (1)
142object IEnumerator.Current
src\Http\Routing\src\Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataReader.cs (1)
313object IEnumerator.Current => _enumerator.Current;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.AspNetCore.Http (7)
FormCollection.cs (1)
221object IEnumerator.Current
HeaderDictionary.cs (1)
442object IEnumerator.Current
Internal\ItemsDictionary.cs (1)
149object? IEnumerator.Current => null;
Internal\RequestCookieCollection.cs (1)
209object IEnumerator.Current
QueryCollection.cs (1)
237object IEnumerator.Current
QueryCollectionInternal.cs (1)
121object IEnumerator.Current => Current;
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
632object IEnumerator.Current => Current;
Microsoft.AspNetCore.Http.Abstractions (3)
Internal\HeaderSegmentCollection.cs (1)
122object IEnumerator.Current
Routing\EndpointMetadataCollection.cs (1)
184public object Current => _current!;
Routing\RouteValueDictionary.cs (1)
810object IEnumerator.Current => Current;
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
313object IEnumerator.Current => _enumerator.Current;
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (3)
1032object IEnumerator.Current => Current; 1154object IEnumerator.Current => Current; 1229object IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.Core (5)
Diagnostics\EventData.cs (1)
77object IEnumerator.Current => Current;
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
112object IEnumerator.Current => Current;
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
73object IEnumerator.Current => Current;
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
82object IEnumerator.Current => Current;
ModelBinding\Validation\ShortFormDictionaryValidationStrategy.cs (1)
86object IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
DelegatingEnumerator.cs (1)
51object? IEnumerator.Current => Current;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AttributeDictionary.cs (3)
345object IEnumerator.Current => Current; 454object IEnumerator.Current => Current; 559object? IEnumerator.Current => Current;
TempDataDictionary.cs (1)
299object IEnumerator.Current => Current;
Microsoft.AspNetCore.Routing (2)
PathTokenizer.cs (1)
142object IEnumerator.Current
Tree\TreeEnumerator.cs (1)
27object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\HttpRequestHeaders.cs (2)
226object IEnumerator.Current => Current; 256readonly object IEnumerator.Current => _current;
Internal\Http\HttpResponseHeaders.cs (1)
167readonly object IEnumerator.Current => _current;
Internal\Http\HttpResponseTrailers.cs (1)
76readonly object IEnumerator.Current => _current;
Internal\Http3\Http3HeadersEnumerator.cs (1)
31object IEnumerator.Current => Current;
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
44object IEnumerator.Current => Current;
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
632object IEnumerator.Current => Current;
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
476object IEnumerator.Current => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionStore.cs (1)
87object IEnumerator.Current => Current;
src\SignalR\common\Shared\MessageBuffer.cs (1)
476object IEnumerator.Current => throw new NotImplementedException();
Microsoft.Build (8)
Collections\ArrayDictionary.cs (1)
243object IEnumerator.Current => _emitDictionaryEntries ? CurrentDictionaryEntry : Current;
Collections\ConvertingEnumerable.cs (1)
98Object IEnumerator.Current => Current;
Collections\ItemDictionary.cs (1)
445object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
1000Object System.Collections.IEnumerator.Current
Construction\ProjectElementContainer.cs (2)
901object IEnumerator.Current => Current; 995object IEnumerator.Current
Evaluation\ItemDataCollectionValue.cs (1)
30object System.Collections.IEnumerator.Current => Current;
Evaluation\SemiColonTokenizer.cs (1)
59object IEnumerator.Current => Current;
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
194public object Current => Entry;
Microsoft.Build.Framework (9)
ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25object IEnumerator.Current => Current;
ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25object? IEnumerator.Current => Current;
ImmutableSegmentedList`1+Enumerator.cs (1)
25object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
SegmentedArray`1.cs (1)
390object? IEnumerator.Current => Current;
SegmentedDictionary`2.cs (3)
1187object? IEnumerator.Current 1430object? IEnumerator.Current 1629object? IEnumerator.Current
SegmentedList`1.cs (1)
1210object? IEnumerator.Current
Microsoft.Build.Tasks.Core (1)
tokenEnumerator.cs (1)
76public object Current
Microsoft.CodeAnalysis (32)
Binding\AbstractLookupSymbolsInfo.cs (1)
45object? System.Collections.IEnumerator.Current => _current;
Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
Collections\SmallDictionary.cs (3)
595object IEnumerator.Current => _e.Current; 712object? IEnumerator.Current => _e.Current; 818object IEnumerator.Current => _e.Current;
InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
InternalUtilities\SpecializedCollections.Empty.Enumerator.cs (1)
22public object? Current => throw new InvalidOperationException();
InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27object? IEnumerator.Current => _loneValue;
Operations\IOperation.OperationList.cs (1)
154object? IEnumerator.Current => _enumerator.Current;
Operations\IOperation.OperationList.Reversed.cs (1)
134object? IEnumerator.Current => _enumerator.Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
384readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1221readonly object? IEnumerator.Current 1472readonly object? IEnumerator.Current 1679readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1429readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedList`1.cs (1)
1363readonly object? IEnumerator.Current
Syntax\ChildSyntaxList.Enumerator.cs (1)
127object IEnumerator.Current
Syntax\ChildSyntaxList.Reversed.cs (1)
129object IEnumerator.Current
Syntax\SeparatedSyntaxList.Enumerator.cs (1)
83object IEnumerator.Current
Syntax\SyntaxList`1.Enumerator.cs (1)
88object IEnumerator.Current
Syntax\SyntaxNodeOrTokenList.cs (1)
574object IEnumerator.Current => this.Current;
Syntax\SyntaxTokenList.Enumerator.cs (1)
143object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTokenList.Reversed.cs (1)
154object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
147object IEnumerator.Current => _enumerator.Current;
Syntax\SyntaxTriviaList.Reversed.cs (1)
143object IEnumerator.Current => _enumerator.Current;
Text\TextLineCollection.cs (1)
135object IEnumerator.Current
Microsoft.CodeAnalysis.CodeStyle (20)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator.cs (1)
22public object? Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27object? IEnumerator.Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
384readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1221readonly object? IEnumerator.Current 1472readonly object? IEnumerator.Current 1679readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1429readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedList`1.cs (1)
1363readonly object? IEnumerator.Current
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
50readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
23readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Collections.Package (11)
ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25readonly object IEnumerator.Current => Current;
ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25readonly object? IEnumerator.Current => Current;
ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
SegmentedArray`1.cs (1)
384readonly object? IEnumerator.Current => Current;
SegmentedDictionary`2.cs (3)
1221readonly object? IEnumerator.Current 1472readonly object? IEnumerator.Current 1679readonly object? IEnumerator.Current
SegmentedHashSet`1.cs (1)
1429readonly object? IEnumerator.Current
SegmentedList`1.cs (1)
1363readonly object? IEnumerator.Current
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
228object IEnumerator.Current => throw new NotImplementedException();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\LookupSymbolsInfoTests.cs (1)
38object System.Collections.IEnumerator.Current
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualCharSequence.cs (1)
81readonly object IEnumerator.Current
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
454public object Current
Microsoft.CodeAnalysis.Workspaces (20)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
349object IEnumerator.Current => Current;
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator.cs (1)
22public object? Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27object? IEnumerator.Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
384readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1221readonly object? IEnumerator.Current 1472readonly object? IEnumerator.Current 1679readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1429readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedList`1.cs (1)
1363readonly object? IEnumerator.Current
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.Enumerator.cs (1)
34readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeHelpers.NodeEnumerator.cs (1)
50readonly object IEnumerator.Current => this.Current!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
23readonly object? IEnumerator.Current => this.Current;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
39object? IEnumerator.Current => Current;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
67object? IEnumerator.Current
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
65object? IEnumerator.Current => this.Current;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerator.cs (1)
22public object? Current => throw new InvalidOperationException();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Enumerator`1.cs (1)
27object? IEnumerator.Current => _loneValue;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
45readonly object IEnumerator.Current => _returnType == ReturnType.DictionaryEntry ? ((IDictionaryEnumerator)this).Entry : Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection+Enumerator.cs (1)
25readonly object IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection+Enumerator.cs (1)
25readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
384readonly object? IEnumerator.Current => Current;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
1221readonly object? IEnumerator.Current 1472readonly object? IEnumerator.Current 1679readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1429readonly object? IEnumerator.Current
src\Dependencies\Collections\SegmentedList`1.cs (1)
1363readonly object? IEnumerator.Current
Microsoft.DotNet.XUnitAssert.Tests (1)
CollectionAssertsTests.cs (1)
2604 object? IEnumerator.Current =>
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
221object IEnumerator.Current => Current;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
278object? IEnumerator.Current => Current;
Microsoft.Extensions.Primitives (2)
StringTokenizer.cs (1)
104object IEnumerator.Current => Current;
StringValues.cs (1)
826object? IEnumerator.Current => _current;
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
296object? IEnumerator.Current => Current;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Microsoft.Maui.Controls (3)
BindableObject.cs (1)
182 object IEnumerator.Current => Current;
CastingEnumerator.cs (1)
27 object IEnumerator.Current
ListProxy.cs (1)
404 public object Current { get; private set; }
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (1)
97Public ReadOnly Property Current() As Object Implements IEnumerator.Current
PresentationCore (36)
MS\Internal\FontCache\FamilyCollection.cs (1)
560object IEnumerator.Current
MS\Internal\FontFace\TypefaceCollection.cs (1)
176object System.Collections.IEnumerator.Current
MS\Internal\Generic\Span.cs (1)
397object IEnumerator.Current
MS\Internal\Span.cs (1)
470public object Current
System\Windows\FreezableCollection.cs (1)
1049object IEnumerator.Current
System\Windows\Generated\TextDecorationCollection.cs (1)
802object IEnumerator.Current
System\Windows\Markup\XmlLanguage.cs (1)
601object IEnumerator.Current
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
810object IEnumerator.Current
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
351object System.Collections.IEnumerator.Current
System\Windows\Media\CharacterMetricsDictionary.cs (1)
554object SC.IEnumerator.Current
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
377public virtual object Current
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
801object IEnumerator.Current
System\Windows\Media\FamilyMapCollection.cs (1)
413object SC.IEnumerator.Current
System\Windows\Media\FamilyTypefaceCollection.cs (1)
429object SC.IEnumerator.Current
System\Windows\Media\FormattedText.cs (1)
938object IEnumerator.Current
System\Windows\Media\Generated\DoubleCollection.cs (1)
826object IEnumerator.Current
System\Windows\Media\Generated\DrawingCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
799object IEnumerator.Current
System\Windows\Media\Generated\GeometryCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media\Generated\GradientStopCollection.cs (1)
903object IEnumerator.Current
System\Windows\Media\Generated\Int32Collection.cs (1)
825object IEnumerator.Current
System\Windows\Media\Generated\PathFigureCollection.cs (1)
894object IEnumerator.Current
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
799object IEnumerator.Current
System\Windows\Media\Generated\PointCollection.cs (1)
827object IEnumerator.Current
System\Windows\Media\Generated\TextEffectCollection.cs (1)
799object IEnumerator.Current
System\Windows\Media\Generated\TransformCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media\Generated\VectorCollection.cs (1)
827object IEnumerator.Current
System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
29object IEnumerator.Current
System\Windows\Media\VisualCollection.cs (1)
943object IEnumerator.Current
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
799object IEnumerator.Current
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
829object IEnumerator.Current
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
841object IEnumerator.Current
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
829object IEnumerator.Current
System\Windows\Media3D\Visual3DCollection.cs (1)
654object IEnumerator.Current
PresentationFramework (29)
MS\Internal\Controls\EmptyEnumerator.cs (1)
52public object Current
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
21object IEnumerator.Current
MS\Internal\Data\CollectionViewGroupInternal.cs (1)
808object IEnumerator.Current
MS\Internal\Data\CompositeCollectionView.cs (1)
1546public object Current
MS\Internal\Data\IndexedEnumerable.cs (1)
748object IEnumerator.Current
MS\Internal\Data\LiveShapingList.cs (1)
765object IEnumerator.Current
MS\Internal\Documents\ContentElementCollection.cs (1)
358object IEnumerator.Current
MS\Internal\Documents\HostedElements.cs (1)
143object IEnumerator.Current
MS\Internal\ListOfObject.cs (1)
138object IEnumerator.Current
MS\Internal\Navigation\JournalEntryStack.cs (2)
127public object Current 216public object Current
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
247object IEnumerator.Current 632object IEnumerator.Current => Current;
System\Windows\Controls\ColumnDefinition.cs (1)
789object IEnumerator.Current
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
95public object Current
System\Windows\Controls\Grid.cs (1)
3911public Object Current
System\Windows\Controls\MultipleCopiesCollection.cs (1)
340object IEnumerator.Current
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
156object IEnumerator.Current
System\Windows\Controls\RowDefinition.cs (1)
784object IEnumerator.Current
System\Windows\Controls\TextBlock.cs (1)
4009object IEnumerator.Current
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
288object IEnumerator.Current
System\Windows\Data\CollectionView.cs (1)
1688public object Current
System\Windows\Documents\RangeContentEnumerator.cs (1)
57public object Current
System\Windows\Documents\Table.cs (1)
469public Object Current
System\Windows\Documents\TextElementEnumerator.cs (1)
58object System.Collections.IEnumerator.Current
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
81object IEnumerator.Current
System\Windows\ResourceDictionary.cs (2)
2128object IEnumerator.Current 2199object IEnumerator.Current
System\Windows\Window.cs (1)
8081object IEnumerator.Current
ReachFramework (1)
Serialization\Manager\ReachSerializableProperties.cs (1)
71Current
Shared (1)
EmptyCollections\EmptyReadOnlyList.cs (1)
56object IEnumerator.Current => throw new InvalidOperationException();
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
System.Collections (14)
System\Collections\BitArray.cs (1)
1147public object Current
System\Collections\Generic\LinkedList.cs (1)
522object? IEnumerator.Current
System\Collections\Generic\OrderedDictionary.cs (3)
1409readonly object IEnumerator.Current => _useDictionaryEntry ? 1643object IEnumerator.Current => Current; 1887object? IEnumerator.Current => Current;
System\Collections\Generic\PriorityQueue.cs (1)
1046object IEnumerator.Current => _current;
System\Collections\Generic\SortedDictionary.cs (3)
455object? IEnumerator.Current 656object? IEnumerator.Current 817object? IEnumerator.Current
System\Collections\Generic\SortedList.cs (3)
825object? IEnumerator.Current 911object? IEnumerator.Current 975object? IEnumerator.Current
System\Collections\Generic\SortedSet.cs (1)
1950object? IEnumerator.Current
System\Collections\Generic\Stack.cs (1)
413object? System.Collections.IEnumerator.Current
System.Collections.Concurrent (6)
System\Collections\Concurrent\ConcurrentBag.cs (1)
1113object? IEnumerator.Current
System\Collections\Concurrent\ConcurrentDictionary.cs (2)
890object IEnumerator.Current => Current; 2332public object Current => Entry;
System\Collections\Concurrent\OrderablePartitioner.cs (1)
254object? IEnumerator.Current
System\Collections\Concurrent\PartitionerStatic.cs (2)
395object? IEnumerator.Current 1466object? IEnumerator.Current
System.Collections.Immutable (14)
System\Collections\Frozen\FrozenDictionary.cs (1)
670object IEnumerator.Current => Current;
System\Collections\Frozen\FrozenSet.cs (1)
524object IEnumerator.Current => Current!;
System\Collections\Immutable\DictionaryEnumerator.cs (1)
34public object Current
System\Collections\Immutable\ImmutableArray_1.Enumerator.cs (1)
124object? IEnumerator.Current
System\Collections\Immutable\ImmutableDictionary_2.Enumerator.cs (1)
66object IEnumerator.Current
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
393object IEnumerator.Current
System\Collections\Immutable\ImmutableHashSet_1.Enumerator.cs (1)
66object? IEnumerator.Current
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
314object? IEnumerator.Current
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (1)
139object? System.Collections.IEnumerator.Current => this.Current;
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (1)
169object IEnumerator.Current
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
111object IEnumerator.Current
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
122object? System.Collections.IEnumerator.Current
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (1)
128object? IEnumerator.Current
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
97object IEnumerator.Current
System.Collections.NonGeneric (3)
System\Collections\Queue.cs (1)
457public object? Current
System\Collections\SortedList.cs (1)
851public object? Current
System\Collections\Stack.cs (1)
363public object? Current
System.Collections.Specialized (4)
System\Collections\Specialized\ListDictionary.cs (2)
278public object Current 427public object? Current
System\Collections\Specialized\NameObjectCollectionBase.cs (1)
520public object? Current
System\Collections\Specialized\OrderedDictionary.cs (1)
461public object? Current
System.ComponentModel.TypeConverter (2)
System\ComponentModel\EventDescriptorCollection.cs (1)
444public object? Current
System\ComponentModel\PropertyDescriptorCollection.cs (1)
599public object Current => Entry;
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElementCollection.cs (1)
1293object IEnumerator.Current => _current.Value;
System\Configuration\ConfigurationValues.cs (1)
164object IEnumerator.Current => null;
System.Data.Common (3)
System\Data\Common\DbEnumerator.cs (1)
51public object Current => _current!;
System\Data\DataViewSettingCollection.cs (1)
181public object Current => _dataViewSettings![(DataTable)_tableEnumerator.Current];
System\Data\RbTree.cs (1)
2101object? IEnumerator.Current
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\ActivityTagsCollection.cs (1)
290object IEnumerator.Current => ((IEnumerator)_enumerator).Current;
System\Diagnostics\DiagLinkedList.cs (1)
169object? IEnumerator.Current => Current;
System\Diagnostics\Metrics\TagList.netcore.cs (1)
327object IEnumerator.Current => _tagList[_index];
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (1)
391public object Current
System.IO.Packaging (1)
System\IO\Packaging\PackageRelationshipCollection.cs (1)
121object IEnumerator.Current
System.Linq (2)
System\Linq\Iterator.cs (1)
103object? IEnumerator.Current => Current;
System\Linq\PartialArrayEnumerator.cs (1)
36object? IEnumerator.Current => Current;
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
492object? IEnumerator.Current
System.Linq.Parallel (5)
System\Linq\Parallel\Enumerables\EmptyEnumerable.cs (1)
51object? IEnumerator.Current { get { return null; } }
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (1)
69object? IEnumerator.Current
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
46object? IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
83object? IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOperatorEnumerator.cs (1)
75object? IEnumerator.Current
System.Management (4)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (4)
348object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 573object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 643object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } } 693object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } }
System.Net.Http (3)
System\Net\Http\Headers\HeaderStringValues.cs (1)
121object IEnumerator.Current => Current;
System\Net\Http\Headers\HttpHeadersNonValidated.cs (1)
162object IEnumerator.Current => _current;
System\Net\Http\Headers\ObjectCollection.cs (1)
183object? IEnumerator.Current => _current;
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
26object IEnumerator.Current => _enumerator.Current;
System.Net.Primitives (1)
System\Net\CredentialCache.cs (1)
206public object Current
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Tensor.cs (1)
624object? IEnumerator.Current => _tensor[_curIndices];
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (3)
41public object? Current 130object? IEnumerator.Current => Current; 138public object Current
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
323object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\CharEnumerator.cs (1)
36object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
1120public object? Current 2140public object? Current 2607public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1814object? IEnumerator.Current 2052object? IEnumerator.Current 2245object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1841object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
1231object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
499object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1459public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
222public object Current => Entry; 358public object? Current
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
234public object Current => Entry;
src\libraries\System.Private.CoreLib\src\System\Globalization\TextElementEnumerator.cs (1)
47public object Current => GetTextElement();
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.cs (1)
76object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
55object? IEnumerator.Current
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1100public object Current => Entry;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
480object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfoEnumerator.cs (1)
71object? IEnumerator.Current => Current;
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
52object? IEnumerator.Current => _current;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
123public object? Current => throw new InvalidOperationException(SR.InvalidOperation_EnumOpCantHappen);
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1608object System.Collections.IEnumerator.Current => Current; 1644object System.Collections.IEnumerator.Current => Current;
System.Private.Xml (12)
System\Xml\Dom\XmlChildEnumerator.cs (1)
47object IEnumerator.Current
System\Xml\Dom\XmlElementList.cs (2)
334public object? Current 355public object? Current
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
150public object Current
System\Xml\Dom\XPathNodeList.cs (1)
116public object? Current
System\Xml\EmptyEnumerator.cs (1)
20object IEnumerator.Current
System\Xml\Schema\XmlSchemaCollection.cs (1)
424object? IEnumerator.Current
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
135object IEnumerator.Current
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
281public object? Current
System\Xml\Serialization\XmlSchemas.cs (1)
820object System.Collections.IEnumerator.Current
System\Xml\XPath\XPathNodeIterator.cs (1)
54public object Current
System\Xml\Xsl\ListBase.cs (1)
240object System.Collections.IEnumerator.Current
System.Reflection.Metadata (30)
System\Reflection\Metadata\BlobBuilder.Enumerators.cs (2)
29object IEnumerator.Current => Current; 73object IEnumerator.Current => Current;
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (8)
94object IEnumerator.Current 193object IEnumerator.Current 299object IEnumerator.Current 401object IEnumerator.Current 507object IEnumerator.Current 613object IEnumerator.Current 712object IEnumerator.Current 819object IEnumerator.Current
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
134object IEnumerator.Current
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
197object IEnumerator.Current
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (18)
104object IEnumerator.Current 212object IEnumerator.Current 332object IEnumerator.Current 439object IEnumerator.Current 559object IEnumerator.Current 679object IEnumerator.Current 799object IEnumerator.Current 919object IEnumerator.Current 1019object IEnumerator.Current 1134object IEnumerator.Current 1232object IEnumerator.Current 1322object IEnumerator.Current 1412object IEnumerator.Current 1502object IEnumerator.Current 1592object IEnumerator.Current 1746object IEnumerator.Current 1836object IEnumerator.Current 1926object IEnumerator.Current
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1100public object Current => Entry;
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (1)
57object System.Collections.IEnumerator.Current { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } }
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
32object IEnumerator.Current
System\Security\Cryptography\AsnEncodedDataEnumerator.cs (1)
27object IEnumerator.Current
System\Security\Cryptography\OidEnumerator.cs (1)
18object IEnumerator.Current => Current;
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509ChainElementEnumerator.cs (1)
28object IEnumerator.Current
System\Security\Cryptography\X509Certificates\X509ExtensionEnumerator.cs (1)
22object IEnumerator.Current
System.Security.Cryptography.Pkcs (4)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectEnumerator.cs (1)
32object IEnumerator.Current
System\Security\Cryptography\Pkcs\CmsRecipientEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\Pkcs\RecipientInfoEnumerator.cs (1)
26object IEnumerator.Current
System\Security\Cryptography\Pkcs\SignerInfoEnumerator.cs (1)
23object IEnumerator.Current => _signerInfos[_position];
System.Security.Permissions (2)
System\Security\Permissions\KeyContainerPermissionAccessEntryEnumerator.cs (1)
14object IEnumerator.Current { get; }
System\Security\Policy\ApplicationTrustEnumerator.cs (1)
12object IEnumerator.Current { get { return null; } }
System.Text.Json (2)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (1)
79object IEnumerator.Current => Current;
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
84object IEnumerator.Current => Current;
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
220object IEnumerator.Current => Current;
System\Text\RegularExpressions\GroupCollection.cs (1)
288object IEnumerator.Current => Current;
System\Text\RegularExpressions\MatchCollection.cs (1)
238object IEnumerator.Current => Current;
System.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)
285object IEnumerator.Current => Current;
System\Xaml\NameScopeDictionary.cs (1)
204object IEnumerator.Current
System\Xaml\Parser\NodeStreamSorter.cs (1)
114object IEnumerator.Current
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Templates.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
618object IEnumerator.Current
xunit.assert (1)
Sdk\CollectionTracker.cs (1)
832 object? IEnumerator.Current =>
519 references to Current
dotnet-svcutil-lib (84)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (32)
387if (en.Current is CodeTypeConstructor) 389_currentMember = (CodeTypeMember)en.Current; 400CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 656if (en.Current is CodeConstructor) 658_currentMember = (CodeTypeMember)en.Current; 669CodeConstructor imp = (CodeConstructor)en.Current; 686if (en.Current is CodeMemberEvent) 688_currentMember = (CodeTypeMember)en.Current; 699CodeMemberEvent imp = (CodeMemberEvent)en.Current; 834if (en.Current is CodeMemberField) 836_currentMember = (CodeTypeMember)en.Current; 847CodeMemberField imp = (CodeMemberField)en.Current; 865if (en.Current is CodeSnippetTypeMember) 868_currentMember = (CodeTypeMember)en.Current; 879CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 932if (en.Current is CodeMemberMethod 933&& !(en.Current is CodeTypeConstructor) 934&& !(en.Current is CodeConstructor)) 936_currentMember = (CodeTypeMember)en.Current; 947CodeMemberMethod imp = (CodeMemberMethod)en.Current; 949if (en.Current is CodeEntryPointMethod) 951GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 971if (en.Current is CodeTypeDeclaration) 977CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 1021CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 1033if (en.Current is CodeMemberProperty) 1035_currentMember = (CodeTypeMember)en.Current; 1046CodeMemberProperty imp = (CodeMemberProperty)en.Current; 1166((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, _output.InnerWriter, _options); 1192CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 1460((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, _output.InnerWriter, _options); 1544CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (6)
166CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 183CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 509ValidateStatement((CodeStatement)en.Current); 563CodeCatchClause current = (CodeCatchClause)en.Current; 643CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 657ValidateExpression((CodeExpression)en.Current);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (33)
914if (en.Current is CodeMemberEvent) 916_currentMember = (CodeTypeMember)en.Current; 927CodeMemberEvent imp = (CodeMemberEvent)en.Current; 945if (en.Current is CodeMemberField) 947_currentMember = (CodeTypeMember)en.Current; 958CodeMemberField imp = (CodeMemberField)en.Current; 1242((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, _output.InnerWriter, _options); 1257CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 1683CodeCatchClause current = (CodeCatchClause)en.Current; 2063if (en.Current is CodeMemberMethod 2064&& !(en.Current is CodeTypeConstructor) 2065&& !(en.Current is CodeConstructor)) 2067_currentMember = (CodeTypeMember)en.Current; 2078CodeMemberMethod imp = (CodeMemberMethod)en.Current; 2080if (en.Current is CodeEntryPointMethod) 2082GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 2169if (en.Current is CodeMemberProperty) 2171_currentMember = (CodeTypeMember)en.Current; 2182CodeMemberProperty imp = (CodeMemberProperty)en.Current; 2503if (en.Current is CodeConstructor) 2505_currentMember = (CodeTypeMember)en.Current; 2516CodeConstructor imp = (CodeConstructor)en.Current; 2857if (en.Current is CodeTypeConstructor) 2859_currentMember = (CodeTypeMember)en.Current; 2870CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 2888if (en.Current is CodeSnippetTypeMember) 2891_currentMember = (CodeTypeMember)en.Current; 2902CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 2937if (en.Current is CodeTypeDeclaration) 2943CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 3031((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, _output.InnerWriter, _options); 3052CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 3517CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (2)
283Object cur = enumerator.Current; 295cur = enumerator.Current;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectCollection.cs (2)
212get { return (XmlSchemaObject)_enumerator.Current; } 233get { return _enumerator.Current; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
924typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping.TypeDesc;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
1339WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true);
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (5)
115Match m = (Match)en.Current; 125Match m = (Match)en.Current; 221Match m = (Match)en.Current; 255Match m = (Match)en.Current; 273Match m = (Match)en.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
322XmlNode currentNode = (XmlNode)nodes.Current;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
195get { return ((IEnumerator)_inner).Current; }
Microsoft.Analyzers.Local.Tests (4)
Json\JsonArrayTest.cs (4)
138Assert.Equal(obj[i], genericEnumerator.Current); 139Assert.Equal(obj[i], legacyEnumerator.Current); 140Assert.Equal(genericEnumerator.Current, legacyEnumerator.Current);
Microsoft.Arcade.Test.Common (2)
AssertEx.cs (2)
105if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.AspNetCore.Components.Server.Tests (2)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestHubMessageEqualityComparer.cs (2)
127if (!Equals(leftEnumerator.Current, rightEnumerator.Current))
Microsoft.AspNetCore.DataProtection (2)
XmlEncryption\EncryptedXmlDecryptor.cs (2)
113if (!(keyInfoEnum.Current is KeyInfoX509Data kiX509Data)) 139if (!(certEnum.Current is X509Certificate2 certInfo))
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
123var model = _enumerator.Current;
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
96var model = _enumerator.Current;
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\TestHubMessageEqualityComparer.cs (2)
127if (!Equals(leftEnumerator.Current, rightEnumerator.Current))
Microsoft.Build (1)
Collections\ItemDictionary.cs (1)
445object IEnumerator.Current => _itemEnumerator != null ? _itemEnumerator.Current : ((IEnumerator)_listEnumerator).Current;
Microsoft.Build.BuildCheck.UnitTests (2)
EditorConfig_Tests.cs (2)
100if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.Build.Engine.UnitTests (1)
Collections\OMcollections_tests.cs (1)
119object o = ((IEnumerator)enumerator).Current;
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1+Enumerator.cs (1)
25object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Collections.Package (2)
ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (3)
51AssertEx.Fail("Unmatched expected: " + expectedEnumerator.Current); 56AssertEx.Fail("Unmatched actual: " + expectedEnumerator.Current); 60var expectedToken = (TokenDescription)expectedEnumerator.Current;
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertEx.cs (2)
110if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.CodeAnalysis.UnitTests (39)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (2)
512Assert.Equal(valuesListEnum.Current, valuesEnum.Current);
Collections\ImmutableDictionaryBuilderTestBase.cs (7)
199Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 204Assert.Equal(enumerator.Entry, enumerator.Current); 210Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 217Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 222Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 223Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value); 227Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current);
Collections\ImmutableDictionaryTestBase.cs (7)
187Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 192Assert.Equal(enumerator.Entry, enumerator.Current); 198Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 205Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 210Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 211Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value); 215Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
278list.Add((T)enumerator.Current);
Collections\ImmutableSetTest.cs (1)
242list.Add((T)enumerator.Current);
Collections\List\CollectionAsserts.cs (6)
33if (e.Current == null) 35Assert.Null(a.Current); 39Assert.IsType(e.Current.GetType(), a.Current); 40Assert.Equal(e.Current, a.Current);
Collections\List\IEnumerable.NonGeneric.Tests.cs (11)
273current = enumerator.Current; 283object current = enumerator.Current; 284Assert.Equal(current, enumerator.Current); 285Assert.Equal(current, enumerator.Current); 286Assert.Equal(current, enumerator.Current); 316Assert.Throws<InvalidOperationException>(() => enumerator.Current); 318current = enumerator.Current; 330Assert.Throws<InvalidOperationException>(() => enumerator.Current); 332current = enumerator.Current; 347Assert.Throws<InvalidOperationException>(() => enumerator.Current); 349current = enumerator.Current;
Collections\List\IList.NonGeneric.Tests.cs (4)
1097Assert.Throws<InvalidOperationException>(() => enumerator.Current); // Enumerator.Current should fail 1101_ = enumerator.Current; // Enumerator.Current should not fail 1112Assert.Throws<InvalidOperationException>(() => enumerator.Current); // Enumerator.Current should fail 1116_ = enumerator.Current; // Enumerator.Current should not fail
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Enumerator.cs (1)
28readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
src\Dependencies\Collections\ImmutableSegmentedList`1+Enumerator.cs (1)
25readonly object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;
Microsoft.DotNet.NuGetRepack.Tests (2)
TestHelpers\AssertEx.cs (2)
105if (!Equals(enumeratorX.Current, enumeratorY.Current))
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Logging\LoggerMessageStateTests.cs (1)
167var current = (KeyValuePair<string, object?>)m.Current!;
Microsoft.Maui.Controls (5)
BindableLayout\BindableLayout.cs (1)
381 var item = enumerator.Current;
Handlers\Items\iOS\ObservableGroupedSource.cs (2)
352 return enumerator.Current; 369 if (Equals(enumerator.Current, item))
ListProxy.cs (1)
359 _items.Add(_enumeratorIndex, _enumerator.Current);
RadioButton\RadioButtonGroup.cs (1)
80 var rb = itor.Current as RadioButton;
Microsoft.Maui.Controls.Compatibility (2)
iOS\CollectionView\ObservableGroupedSource.cs (2)
303 return enumerator.Current; 320 if (enumerator.Current == item)
Microsoft.ML.Parquet (4)
ParquetLoader.cs (4)
763if (enu.Current is IList && enu.Current.GetType().IsGenericType) 765sb.Append("[" + ConvertListToString((IList)enu.Current) + "],"); 769sb.Append(enu.Current?.ToString() + ",");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Helpers\ForEachEnum.vb (1)
97Public ReadOnly Property Current() As Object Implements IEnumerator.Current
PresentationCore (4)
System\Windows\Input\Command\CommandBindingCollection.cs (1)
190if (collectionEnum.Current is CommandBinding cmdBinding)
System\Windows\Input\Command\InputBindingCollection.cs (1)
254InputBinding inputBinding = collectionEnum.Current as InputBinding;
System\Windows\Input\Command\InputGestureCollection.cs (1)
285InputGesture inputGesture = collectionEnum.Current as InputGesture;
System\Windows\Input\MouseDevice.cs (1)
418IMouseInputProvider provider = inputProviders.Current as IMouseInputProvider;
PresentationFramework (56)
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
232return _items.Current;
MS\Internal\Data\CollectionViewGroupInternal.cs (1)
804_current = _subEnum.Current;
MS\Internal\Data\CompositeCollectionView.cs (1)
1509_current = _containerEnumerator.Current;
MS\Internal\Data\EnumerableCollectionView.cs (1)
539_snapshot.Add(ie.Current);
MS\Internal\Data\IndexedEnumerable.cs (6)
106if (object.Equals(_enumerator.Current, item)) 117CacheCurrentItem(index, _enumerator.Current); 247CacheCurrentItem(index, _enumerator.Current); 390current = _enumerator.Current; 742while ((returnValue = _enumerator.MoveNext()) && !_filterCallback(_enumerator.Current)); 752return _enumerator.Current;
MS\Internal\DataStreams.cs (1)
352WalkLogicalTree(e.Current, operation);
MS\Internal\Documents\ContentElementCollection.cs (1)
356/// <see cref="IEnumerator.Current"/>
MS\Internal\Documents\TableTextElementCollectionInternal.cs (3)
330if (objectSearchFor == enumChildren.Current) 335if (enumChildren.Current is TElementType || enumChildren.Current is DummyProxy)
MS\Internal\IO\Packaging\PackageFilter.cs (1)
365PackagePart currentPart = (PackagePart)_partIterator.Current;
MS\Internal\ListOfObject.cs (2)
122get { return _ie.Current; } 140get { return _ie.Current; }
MS\Internal\Navigation\JournalEntryStack.cs (1)
218get { return _ienum.Current; }
System\Windows\Controls\ColumnDefinition.cs (1)
787/// <see cref="IEnumerator.Current"/>
System\Windows\Controls\ListBox.cs (1)
883SelectionChange.Select(NewItemInfo(enumerator.Current, null, index), true /* assumeInItemsCollection */);
System\Windows\Controls\RadioButton.cs (1)
173RadioButton rb = itor.Current as RadioButton;
System\Windows\Controls\RowDefinition.cs (1)
782/// <see cref="IEnumerator.Current"/>
System\Windows\Data\CollectionView.cs (5)
121currentItem = e.Current; 1558object item = ie.Current; 1643(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1684(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1694: _baseEnumerator.Current;
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
221string prefix = (string) enumerator.Current;
System\Windows\DescendentsWalker.cs (2)
197DependencyObject child = logicalChildren.Current as DependencyObject; 256object current = logicalChildren.Current;
System\Windows\Documents\FixedPage.cs (2)
915element = (DependencyObject)itor.Current; 1032if (itor.Current == e)
System\Windows\Documents\FixedTextBuilder.cs (9)
943namedNode = elements.Current as IFrameworkInputElement; 947elements.Current as UIElement, 952if (_IsImage(elements.Current) || 953(elements.Current is Glyphs && (elements.Current as Glyphs).MeasurementGlyphRun != null)) 960else if (constructLines && elements.Current is Path) 962pageStructure.PageConstructor.ProcessPath(elements.Current as Path, transform); 964else if (elements.Current is Canvas) 971Canvas canvas = elements.Current as Canvas;
System\Windows\Documents\Table.cs (2)
445currentChild = _columns.Current; 451currentChild = _rowGroups.Current;
System\Windows\Documents\TextElement.cs (1)
1096TextElement child = children.Current as TextElement;
System\Windows\Documents\TextElementCollection.cs (1)
330TextElementType element = enumerator.Current as TextElementType;
System\Windows\FrameworkContentElement.cs (1)
1997DependencyObject child =enumerator.Current as DependencyObject;
System\Windows\FrameworkElement.cs (1)
3079DependencyObject child = enumerator.Current as DependencyObject;
System\Windows\LogicalTreeHelper.cs (1)
95childNode = childEnumerator.Current as DependencyObject;
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
46get => (DictionaryEntry)_enumerator.Current;
System\Windows\Navigation\NavigationService.cs (2)
359ScrollViewer sv = children.Current as ScrollViewer; 4434object child = children.Current;
System\Windows\ResourceDictionary.cs (4)
2154object key = _keysEnumerator.Current; 2164return _keysEnumerator.Current; 2172return _owner[_keysEnumerator.Current]; 2203return _owner[_keysEnumerator.Current];
ReachFramework (7)
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (1)
185object pageContent = enumerator.Current;
Serialization\Manager\NGCSerializerAsync.cs (1)
1281object documentReference = enumerator.Current;
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (1)
186object uiElement = enumerator.Current;
Serialization\Manager\ReachDocumentReferenceCollectionSerializerAsync.cs (1)
145object documentReference = enumerator.Current;
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (1)
183object pageContent = enumerator.Current;
Serialization\Manager\ReachSerializableProperties.cs (1)
75return _queueEnumerator.Current;
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (1)
187object uiElement = 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)
2157if (cacheEnum.Current != memberEnum.Current) 2202if (primaryEnum.Current != mergeEnum.Current) 2215if (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)
1279Entry entry = (Entry)_itemsEnumerator.Current;
System.Data.Common (7)
System\Data\ConstraintEnumerator.cs (3)
37_constraints = ((DataTable)_tables.Current).Constraints.GetEnumerator(); 46Debug.Assert(_constraints.Current is Constraint, "ConstraintEnumerator, contains object which is not constraint"); 47candidate = (Constraint)_constraints.Current;
System\Data\DataColumn.cs (1)
1236UniqueConstraint? o = (e.Current as UniqueConstraint);
System\Data\DataViewSettingCollection.cs (3)
116ar.SetValue(Enumerator.Current, index++); 125ar.SetValue(Enumerator.Current, index++); 181public object Current => _dataViewSettings![(DataTable)_tableEnumerator.Current];
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\ActivityTagsCollection.cs (1)
290object IEnumerator.Current => ((IEnumerator)_enumerator).Current;
System\Diagnostics\DsesFilterAndTransform.cs (2)
889object? currentValue = en.Current; 905currentValue = en.Current;
System.Linq (6)
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.SpeedOpt.cs (2)
96if (e.Current is TResult last) 102if (e.Current is TResult castCurrent)
System.Linq.Parallel (2)
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (2)
71get { return _wrappedEnumerator.Current; } 76get { return _wrappedEnumerator.Current; }
System.Net.Http (2)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (2)
59Debug.Assert(Equals(e1.Current, e2.Current), $"{pi.Name}. Cloned enumerator's values don't match.");
System.Net.HttpListener (2)
System\Net\HttpListenerPrefixCollection.cs (2)
18public string Current => (string)_enumerator.Current; 26object IEnumerator.Current => _enumerator.Current;
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
911_list.Insert(index++, en.Current); 1017_list[index++] = en.Current; 1128return _en.Current;
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (2)
273e1 = (SecurityElement?)lhs.Current; 274e2 = (SecurityElement?)rhs.Current;
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (3)
77object current = enumerator.Current; 94object current = enumerator.Current; 114object current = enumerator.Current;
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (2)
65object current = enumerator.Current; 76object current = enumerator.Current;
System.Private.Xml (11)
System\Xml\Schema\XmlSchemaDataType.cs (2)
183object cur = enumerator.Current!; 195cur = enumerator.Current!;
System\Xml\Schema\XmlSchemaObjectCollection.cs (2)
122get { return (XmlSchemaObject)_enumerator.Current!; } 137get { return _enumerator.Current!; }
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
174object ai = e.Current; 787object ai = e.Current;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
824typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping!.TypeDesc!;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1304WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true);
System\Xml\XmlConvert.cs (3)
195Match m = (Match)en.Current!; 228Match m = (Match)en.Current!; 243Match m = (Match)en.Current!;
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
23get { return (X509Certificate2)_enumerator.Current!; }
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
23get { return (X509Certificate)_enumerator.Current!; }
System\Security\Cryptography\XmlKeyHelper.cs (2)
225string? curName = Functions.GetLocalName(_enumerator.Current); 230return Functions.GetValue(_enumerator.Current);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\EncryptedXml.cs (7)
327kiName = keyInfoEnum.Current as KeyInfoName; 354kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 362kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey; 419kiName = keyInfoEnum.Current as KeyInfoName; 441kiX509Data = keyInfoEnum.Current as KeyInfoX509Data; 462kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 488kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey;
System\Security\Cryptography\Xml\KeyInfo.cs (1)
143tempObj = tempEnum.Current!;
System\Security\Cryptography\Xml\SignedXml.cs (1)
499switch (_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)
947yield return children.Current;
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2220object 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 (6)
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\ListViewSubItemCollectionEditor.cs (1)
96values[index++] = enumerator.Current;
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (1)
53descriptors.Add((MaskDescriptor)enumerator.Current);
System.Windows.Forms.Tests (147)
System\Resources\ResXResourceWriterTests.cs (7)
138var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 159var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 180var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 201var currentEntry = (DictionaryEntry)enumerator.Current; 222var currentEntry = (DictionaryEntry)enumerator.Current; 243var currentEntry = (DictionaryEntry)enumerator.Current; 265var currentEntry = (DictionaryEntry)enumerator.Current;
System\Windows\Forms\AutoCompleteStringCollectionTests.cs (14)
279Assert.Throws<InvalidOperationException>(() => enumerator.Current); 282Assert.Throws<InvalidOperationException>(() => enumerator.Current); 286Assert.Throws<InvalidOperationException>(() => enumerator.Current); 301Assert.Throws<InvalidOperationException>(() => enumerator.Current); 304Assert.Equal("2", enumerator.Current); 307Assert.Throws<InvalidOperationException>(() => enumerator.Current); 311Assert.Throws<InvalidOperationException>(() => enumerator.Current); 326Assert.Throws<InvalidOperationException>(() => enumerator.Current); 329Assert.Throws<InvalidOperationException>(() => enumerator.Current); 333Assert.Throws<InvalidOperationException>(() => enumerator.Current); 349Assert.Throws<InvalidOperationException>(() => enumerator.Current); 352Assert.Equal("2", enumerator.Current); 355Assert.Throws<InvalidOperationException>(() => enumerator.Current); 359Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\BaseCollectionTests.cs (1)
50Assert.Equal(1, enumerator.Current);
System\Windows\Forms\BindingContextTests.cs (2)
230Assert.IsType<DictionaryEntry>(enumerator.Current); 232Assert.IsType<DictionaryEntry>(enumerator.Current);
System\Windows\Forms\CheckedListBox.CheckedIndexCollectionTests.cs (1)
137enumerator.Current.Should().Be(expectedIndex);
System\Windows\Forms\CheckedListBox.CheckedItemCollectionTests.cs (1)
114result.Add(enumerator.Current);
System\Windows\Forms\Combobox.ObjectCollectionTests.cs (7)
1394Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1397Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1401Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1429Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1432Assert.Equal(2, enumerator.Current); 1435Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1439Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ControlTests.ControlCollection.cs (25)
1593Assert.Null(enumerator.Current); 1596Assert.Null(enumerator.Current); 1600Assert.Null(enumerator.Current); 1623Assert.Null(enumerator.Current); 1626Assert.Same(child1, enumerator.Current); 1629Assert.Same(child2, enumerator.Current); 1632Assert.Same(child3, enumerator.Current); 1635Assert.Same(child3, enumerator.Current); 1639Assert.Same(child3, enumerator.Current); 1655Assert.Null(enumerator.Current); 1658Assert.Null(enumerator.Current); 1662Assert.Null(enumerator.Current); 1685Assert.Null(enumerator.Current); 1688Assert.Same(child2, enumerator.Current); 1691Assert.Same(child3, enumerator.Current); 1694Assert.Same(child3, enumerator.Current); 1698Assert.Same(child3, enumerator.Current); 1716Assert.Null(enumerator.Current); 1719Assert.Same(child1, enumerator.Current); 1722Assert.Same(child2, enumerator.Current); 1725Assert.Same(child3, enumerator.Current); 1728Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1731Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1735Assert.Throws<ArgumentOutOfRangeException>("index", () => enumerator.Current); 1738Assert.Same(child1, enumerator.Current);
System\Windows\Forms\DataGridViewComboBoxCell.ObjectCollectionTests.cs (3)
251enumerator.Current.Should().Be("Item1"); 253enumerator.Current.Should().Be("Item2"); 255enumerator.Current.Should().Be("Item3");
System\Windows\Forms\DataGridViewSelectedCellCollectionTests.cs (8)
388Assert.Throws<InvalidOperationException>(() => enumerator.Current); 391Assert.Throws<InvalidOperationException>(() => enumerator.Current); 394Assert.Throws<InvalidOperationException>(() => enumerator.Current); 416Assert.Throws<InvalidOperationException>(() => enumerator.Current); 419Assert.Same(control.Rows[2].Cells[0], enumerator.Current); 422Assert.Same(control.Rows[0].Cells[0], enumerator.Current); 425Assert.Throws<InvalidOperationException>(() => enumerator.Current); 428Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (8)
428Assert.Throws<InvalidOperationException>(() => enumerator.Current); 431Assert.Throws<InvalidOperationException>(() => enumerator.Current); 434Assert.Throws<InvalidOperationException>(() => enumerator.Current); 460Assert.Throws<InvalidOperationException>(() => enumerator.Current); 463Assert.Same(control.Columns[2], enumerator.Current); 466Assert.Same(control.Columns[0], enumerator.Current); 469Assert.Throws<InvalidOperationException>(() => enumerator.Current); 472Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (8)
378Assert.Throws<InvalidOperationException>(() => enumerator.Current); 381Assert.Throws<InvalidOperationException>(() => enumerator.Current); 384Assert.Throws<InvalidOperationException>(() => enumerator.Current); 405Assert.Throws<InvalidOperationException>(() => enumerator.Current); 408Assert.Same(control.Rows[2], enumerator.Current); 411Assert.Same(control.Rows[0], enumerator.Current); 414Assert.Throws<InvalidOperationException>(() => enumerator.Current); 417Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ImageList.ImageCollectionTests.cs (12)
1122Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1125Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1142Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1145Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1167Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1170Bitmap result1 = Assert.IsType<Bitmap>(enumerator.Current); 1176Bitmap result2 = Assert.IsType<Bitmap>(enumerator.Current); 1182Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1205Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1208Bitmap result1 = Assert.IsType<Bitmap>(enumerator.Current); 1214Bitmap result2 = Assert.IsType<Bitmap>(enumerator.Current); 1220Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ListBox.IntegerCollectionTests.cs (7)
2242Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2245Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2249Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2268Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2271Assert.Equal(2, enumerator.Current); 2274Assert.Throws<InvalidOperationException>(() => enumerator.Current); 2278Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (14)
4033Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4036Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4040Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4059Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4062Assert.Equal(2, enumerator.Current); 4065Assert.Throws<InvalidOperationException>(() => enumerator.Current); 4069Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9355Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9358Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9362Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9381Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9384Assert.Equal(2, enumerator.Current); 9387Assert.Throws<InvalidOperationException>(() => enumerator.Current); 9391Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (29)
1666Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1669Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1673Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1696Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1699Assert.Same(child1, enumerator.Current); 1702Assert.Same(child2, enumerator.Current); 1705Assert.Same(child3, enumerator.Current); 1708Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1712Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1728Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1731Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1735Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1758Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1761Assert.Same(child1, enumerator.Current); 1764Assert.Same(child2, enumerator.Current); 1767Assert.Same(child3, enumerator.Current); 1770Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1774Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1792Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1795Assert.Same(child1, enumerator.Current); 1798Assert.Same(child2, enumerator.Current); 1801Assert.Same(child3, enumerator.Current); 1804Assert.Same(child3, enumerator.Current); 1807Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1811Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1814Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1825Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1828Assert.Throws<InvalidOperationException>(() => enumerator.Current); 1832Assert.Throws<InvalidOperationException>(() => enumerator.Current);
System.Xaml (2)
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
359result.Add(enumerator.Current); 757yield return (DictionaryEntry)enumerator.Current;
System.Xaml.Tests (2)
System\Xaml\Schema\XamlTypeInvokerTests.cs (2)
504Assert.Equal(1, items.Current); 514Assert.Equal(1, items.Current);
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
427if (!AttributeValuesAreEqual(e1.Current, e2.Current))
WindowsBase.Tests (26)
System\Windows\DependencyObjectTests.cs (12)
1269Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1274Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1279Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1284Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1302Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1310entry = Assert.IsType<LocalValueEntry>(((IEnumerator)enumerator).Current); 1317Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1322Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1345Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1353entry = Assert.IsType<LocalValueEntry>(((IEnumerator)enumerator).Current); 1360Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 1365Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current);
System\Windows\LocalValueEnumeratorTests.cs (6)
84Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 93Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 102Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 113Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 126Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current); 138Assert.Throws<InvalidOperationException>(() => ((IEnumerator)enumerator).Current);
System\Windows\NameScopeTests.cs (8)
791Assert.Throws<InvalidOperationException>(() => enumerator.Current); 795Assert.Equal("name", ((KeyValuePair<string, object>)enumerator.Current).Key); 796Assert.Same(scopedElement, ((KeyValuePair<string, object>)enumerator.Current).Value); 800Assert.Throws<InvalidOperationException>(() => enumerator.Current); 804Assert.Throws<InvalidOperationException>(() => enumerator.Current); 820Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current); 824Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current); 828Assert.Equal(default(KeyValuePair<string, object>), enumerator.Current);
xunit.assert (5)
Sdk\ArgumentFormatter.cs (1)
417 var current = enumerator.Current;
Sdk\CollectionTracker.cs (4)
170 if (!itemComparer.Equals(expectedEnumerator.Current, actualEnumerator.Current)) 283 var xCurrent = enumeratorX.Current; 284 var yCurrent = enumeratorY.Current;