803 implementations of Current
ClientSample (1)
CodeGenerator (1)
dotnet-dev-certs (1)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-sql-cache (1)
dotnet-svcutil-lib (16)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (23)
GetDocument.Insider (1)
illink (2)
ILLink.RoslynAnalyzer (2)
InMemory.FunctionalTests (1)
Metrics (23)
Metrics.Legacy (23)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Http (7)
Microsoft.AspNetCore.Http.Abstractions (3)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.Core (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Microsoft.AspNetCore.Owin (2)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Shared.Tests (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.Build (9)
Microsoft.Build.Engine.UnitTests (1)
Microsoft.Build.Framework (9)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (32)
Microsoft.CodeAnalysis.Analyzers (23)
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
Microsoft.CodeAnalysis.BannedApiAnalyzers (23)
Microsoft.CodeAnalysis.CodeStyle (20)
Microsoft.CodeAnalysis.Collections.Package (13)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.Extensions.Package (13)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
Microsoft.CodeAnalysis.InteractiveHost (13)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (23)
Microsoft.CodeAnalysis.PublicApiAnalyzers (23)
Microsoft.CodeAnalysis.ResxSourceGenerator (23)
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
Microsoft.CodeAnalysis.Threading.Package (13)
Microsoft.CodeAnalysis.Workspaces (20)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
Microsoft.DotNet.XUnitAssert.Tests (1)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (2)
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.AI.Ollama (1)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Primitives (2)
Microsoft.Extensions.Telemetry (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Maui.Controls (3)
Microsoft.VisualBasic.Core (1)
PresentationCore (36)
PresentationFramework (29)
ReachFramework (1)
Serialization\Manager\ReachSerializableProperties.cs (1)
70Current
Roslyn.Diagnostics.Analyzers (23)
Shared (1)
Swaggatherer (1)
System.Collections (13)
System.Collections.Concurrent (6)
System.Collections.Immutable (14)
System.Collections.NonGeneric (3)
System.Collections.Specialized (4)
System.ComponentModel.TypeConverter (2)
System.Configuration.ConfigurationManager (2)
System.Data.Common (3)
System.Diagnostics.DiagnosticSource (3)
System.IO.IsolatedStorage (1)
System.IO.Packaging (1)
System.Linq (2)
System.Linq.Expressions (1)
System.Linq.Parallel (5)
System.Management (4)
System.Net.Http (3)
System.Net.HttpListener (1)
System.Net.Primitives (1)
System.Numerics.Tensors (5)
System.Private.CoreLib (33)
System.Private.DataContractSerialization (2)
System.Private.Xml (12)
System.Reflection.Metadata (30)
System.Resources.Extensions (1)
System.Security.AccessControl (1)
System.Security.Cryptography (7)
System.Security.Cryptography.Pkcs (4)
System.Security.Permissions (2)
System.Text.Json (2)
System.Text.RegularExpressions (5)
System.Windows.Forms (10)
System.Windows.Forms.Design (4)
System.Xaml (3)
Templates.Blazor.Tests (1)
Templates.Blazor.WebAssembly.Auth.Tests (1)
Templates.Blazor.WebAssembly.Tests (1)
Templates.Mvc.Tests (1)
Templates.Tests (1)
Test.Utilities (23)
Text.Analyzers (23)
Wasm.Performance.ConsoleHost (1)
xunit.assert (1)
550 references to Current
dotnet-svcutil-lib (84)
GenerateDocumentationAndConfigFiles (2)
Metrics (2)
Metrics.Legacy (2)
Microsoft.Analyzers.Local.Tests (4)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.Build (1)
Microsoft.Build.BuildCheck.UnitTests (2)
Microsoft.Build.Engine.UnitTests (1)
Microsoft.Build.Framework (1)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.Extensions.Package (2)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.Threading.Package (2)
Microsoft.CodeAnalysis.UnitTests (39)
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);
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.DotNet.NuGetRepack.Tests (2)
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Microsoft.Maui.Controls (3)
Microsoft.ML.Parquet (4)
Microsoft.VisualBasic.Core (1)
PresentationCore (4)
PresentationFramework (56)
ReachFramework (7)
Roslyn.Diagnostics.Analyzers (2)
Shared.Tests (1)
System.Collections.NonGeneric (2)
System.Collections.Specialized (13)
System.ComponentModel.TypeConverter (6)
System.Configuration.ConfigurationManager (2)
System.Data.Common (7)
System.Diagnostics.DiagnosticSource (3)
System.Linq (8)
System.Linq.Parallel (2)
System.Net.Http (2)
System.Net.HttpListener (2)
System.Private.CoreLib (5)
System.Private.DataContractSerialization (5)
System.Private.Xml (11)
System.Security.Cryptography (4)
System.Security.Cryptography.Xml (9)
System.ServiceModel.Primitives.Tests (2)
System.Text.Json (2)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (4)
System.Windows.Forms.Design (8)
System.Windows.Forms.Design.Tests (2)
System.Windows.Forms.Tests (147)
System.Xaml (2)
System.Xaml.Tests (2)
Test.Utilities (2)
Text.Analyzers (2)
UIAutomationClientSideProviders (2)
WindowsBase.Tests (26)
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)