173 interfaces inheriting from IDisposable
aspire (2)
Aspire.Dashboard (1)
Aspire.Hosting (1)
Aspire.Hosting.Browsers (1)
Aspire.Hosting.Browsers.Tests (1)
Aspire.Hosting.Testing (1)
csc (1)
dotnet-openapi (2)
dotnet-svcutil-lib (3)
GenerateDocumentationAndConfigFiles (3)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Hosting.Abstractions (1)
Microsoft.AspNetCore.Hosting.Server.Abstractions (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.Build (1)
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BuildClient.Package (1)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (2)
Microsoft.DotNet.Configurer (1)
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Microsoft.DotNet.InternalAbstractions (1)
Microsoft.Extensions.AI.Abstractions (7)
Microsoft.Extensions.Caching.Abstractions (2)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.DotNetDeltaApplier (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Identity.Core (2)
Microsoft.Extensions.Logging.Abstractions (2)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.JSInterop (2)
Microsoft.Maui (1)
Microsoft.Maui.Graphics (2)
Microsoft.ML.AutoML (2)
Microsoft.ML.Core (4)
Microsoft.ML.CpuMath (1)
Microsoft.ML.Data (3)
Microsoft.ML.GenAI.Core (1)
Microsoft.TemplateEngine.Abstractions (4)
Microsoft.TestPlatform.CommunicationUtilities (4)
Microsoft.TestPlatform.CoreUtilities (1)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
Microsoft.TestPlatform.PlatformAbstractions (1)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
Microsoft.VisualStudio.TestPlatform.Client (2)
Microsoft.VisualStudio.TestPlatform.Common (2)
Microsoft.VisualStudio.TestPlatform.ObjectModel (4)
Mono.Cecil (3)
NuGet.Packaging (8)
NuGet.Protocol (9)
PresentationCore (2)
Roslyn.Diagnostics.Analyzers (3)
System.ComponentModel.Primitives (2)
System.ComponentModel.TypeConverter (1)
System.Data.Common (4)
System.Diagnostics.DiagnosticSource (1)
System.Private.CoreLib (4)
System.Resources.Writer (1)
System.Security.Cryptography (9)
System.ServiceModel.Primitives (3)
System.Text.Json (1)
System.Windows.Forms.Design (1)
vbc (1)
VBCSCompiler (2)
vstest.console (2)
vstest.console.arm64 (2)
2009 implementations of IDisposable
aspire (24)
aspire-managed (2)
Aspire.Acquisition.Tests (2)
Aspire.Cli.EndToEnd.Tests (2)
Aspire.Cli.Tests (31)
Aspire.Dashboard (44)
Aspire.Dashboard.Components.Tests (4)
Aspire.Dashboard.Tests (13)
Aspire.Deployment.EndToEnd.Tests (1)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (27)
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.Sandboxes (1)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Blazor.Tests (3)
Aspire.Hosting.Browsers (5)
Aspire.Hosting.Browsers.Tests (5)
Aspire.Hosting.CodeGeneration.Java.Tests (2)
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Dotnet (7)
Aspire.Hosting.EntityFrameworkCore (1)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
Aspire.Hosting.Java.Tests (2)
Aspire.Hosting.Radius.Tests (4)
Aspire.Hosting.RemoteHost (4)
Aspire.Hosting.RemoteHost.Tests (5)
Aspire.Hosting.Rust.Tests (1)
Aspire.Hosting.Sdk.Tests (1)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (6)
Aspire.Hosting.TestUtilities (4)
Aspire.Managed.Tests (1)
Aspire.Playground.Tests (2)
Aspire.RabbitMQ.Client (1)
Aspire.StackExchange.Redis (3)
Aspire.Templates.Tests (1)
Aspire.TerminalHost (1)
Aspire.TerminalHost.Tests (1)
Client.ClientBase.IntegrationTests (1)
CreateLayout (1)
csc (1)
dotnet-aot (7)
dotnet-format (2)
dotnet-svcutil-lib (34)
dotnet-svcutil-lib.Tests (2)
dotnet-watch (2)
GenerateDocumentationAndConfigFiles (38)
ILCompiler.Compiler (6)
ILCompiler.DependencyAnalysisFramework (2)
ILCompiler.ReadyToRun (3)
ILCompiler.TypeSystem (1)
illink (5)
ILLink.RoslynAnalyzer (1)
Infrastructure.Tests (39)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authorization.Policy (2)
Microsoft.AspNetCore.Components (18)
Microsoft.AspNetCore.Components.AI (11)
Microsoft.AspNetCore.Components.Authorization (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\CascadingAuthenticationState_razor.g.cs (1)
18IDisposable
Microsoft.AspNetCore.Components.Endpoints (7)
Microsoft.AspNetCore.Components.Forms (3)
Microsoft.AspNetCore.Components.QuickGrid (2)
Microsoft.AspNetCore.Components.Server (9)
Microsoft.AspNetCore.Components.Web (10)
Microsoft.AspNetCore.Components.WebAssembly (4)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.DataProtection (7)
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.InternalTesting (7)
Microsoft.AspNetCore.Mvc (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
Microsoft.AspNetCore.OutputCaching (3)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.AspNetCore.RateLimiting (2)
Microsoft.AspNetCore.Razor.Utilities.Shared (9)
Microsoft.AspNetCore.Routing (8)
Microsoft.AspNetCore.Server.HttpSys (10)
Microsoft.AspNetCore.Server.IIS (7)
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Microsoft.AspNetCore.SignalR.Client.Core (4)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.Testing.Tests (1)
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.Build (26)
Microsoft.Build.Framework (4)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (7)
Microsoft.Build.Tasks.Git (4)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (25)
Microsoft.CodeAnalysis.Analyzers (39)
Microsoft.CodeAnalysis.AnalyzerUtilities (41)
Microsoft.CodeAnalysis.BuildClient.Package (1)
Microsoft.CodeAnalysis.CodeStyle (37)
src\roslyn\src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (1)
22TAnalyzer> : IDisposable
src\roslyn\src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
31TAnalyzer>, IDisposable
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (5)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Extensions.Package (4)
Microsoft.CodeAnalysis.Features (25)
src\roslyn\src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (1)
22TAnalyzer> : IDisposable
src\roslyn\src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
31TAnalyzer>, IDisposable
Microsoft.CodeAnalysis.NetAnalyzers (11)
Microsoft.CodeAnalysis.Razor.Compiler (16)
Microsoft.CodeAnalysis.ResxSourceGenerator (37)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (59)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (1)
Microsoft.Data.Analysis.Tests (2)
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Microsoft.Diagnostics.NETCore.Client (5)
Microsoft.DiaSymReader (1)
Microsoft.DotNet.Build.Tasks.Installers (5)
Microsoft.DotNet.Cli.Utils (2)
Microsoft.DotNet.HotReload.Utils.Generator (1)
Microsoft.DotNet.HotReload.Watch (21)
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Microsoft.DotNet.ProjectTools (1)
Microsoft.Extensions.AI.Integration.Tests (6)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Caching.StackExchangeRedis (1)
Microsoft.Extensions.Configuration (6)
Microsoft.Extensions.Configuration.FileExtensions (1)
Microsoft.Extensions.Configuration.KeyPerFile (1)
Microsoft.Extensions.DataIngestion (1)
Microsoft.Extensions.DataIngestion.Abstractions (1)
Microsoft.Extensions.DataIngestion.Tests (2)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Extensions.Diagnostics (4)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.DotNetDeltaApplier (3)
Microsoft.Extensions.FileProviders.Abstractions (1)
Microsoft.Extensions.FileProviders.Physical (4)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Hosting.Systemd (1)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Http.Resilience (2)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.Identity.Core (3)
Microsoft.Extensions.Logging (3)
Microsoft.Extensions.Logging.Abstractions (3)
Microsoft.Extensions.Logging.Console (8)
Microsoft.Extensions.Logging.Debug (1)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Logging.MSBuild (1)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ML (4)
Microsoft.Extensions.ML.Tests (1)
Microsoft.Extensions.ObjectPool (2)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (2)
Microsoft.Extensions.Options (2)
Microsoft.Extensions.Primitives (3)
Microsoft.Extensions.ServiceDiscovery.Dns (5)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (3)
Microsoft.Extensions.Telemetry (5)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
Microsoft.Extensions.VectorData.Abstractions (2)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Gen.Metrics.Generated.Tests (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.JSInterop (4)
Microsoft.Maui (5)
Microsoft.Maui.Controls (6)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Graphics (6)
Microsoft.Maui.Graphics.Skia (2)
Microsoft.Maui.Resizetizer (3)
Microsoft.ML.Core (11)
Microsoft.ML.Data (19)
Microsoft.ML.DataView (1)
Microsoft.ML.FastTree (1)
Microsoft.ML.ImageAnalytics (1)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.LightGbm (2)
Microsoft.ML.Mkl.Components (2)
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.Parquet (1)
Microsoft.ML.Recommender (1)
Microsoft.ML.Sweeper (2)
Microsoft.ML.TensorFlow (4)
Microsoft.ML.TensorFlow.Tests (1)
Microsoft.ML.TestFramework (1)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.TorchSharp (6)
Microsoft.ML.Transforms (5)
Microsoft.ML.Vision (2)
Microsoft.NET.Build.Containers (2)
Microsoft.NET.Build.Extensions.Tasks (1)
Microsoft.NET.Build.Tasks (3)
Microsoft.NET.HostModel (2)
Microsoft.NET.Sdk.Publish.Tasks (1)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.NET.StringTools (4)
Microsoft.Private.Windows.Core (8)
Microsoft.TemplateEngine.Cli (1)
Microsoft.TemplateEngine.Edge (6)
Microsoft.TemplateEngine.IDE (1)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (2)
Microsoft.TemplateEngine.Utils (1)
Microsoft.TestPlatform.CommunicationUtilities (1)
Microsoft.TestPlatform.CoreUtilities (1)
Microsoft.TestPlatform.CrossPlatEngine (4)
Microsoft.TestPlatform.PlatformAbstractions (1)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
Microsoft.VisualBasic.Forms (3)
Microsoft.VisualStudio.TestPlatform.Common (5)
Microsoft.VisualStudio.TestPlatform.ObjectModel (5)
Microsoft.Web.XmlTransform (3)
Microsoft.Win32.Registry (1)
Mono.Cecil (5)
Mono.Cecil.Mdb (1)
Mono.Cecil.Pdb (1)
MSBuild (3)
MSBuild.Coordinator (3)
NuGet.Build.Tasks (4)
NuGet.Build.Tasks.Console (4)
NuGet.CommandLine.XPlat (4)
NuGet.Commands (4)
NuGet.Common (4)
NuGet.Configuration (4)
NuGet.Credentials (1)
NuGet.DependencyResolver.Core (4)
NuGet.Frameworks (3)
NuGet.LibraryModel (3)
NuGet.PackageManagement (4)
NuGet.Packaging (12)
NuGet.ProjectModel (4)
NuGet.Protocol (20)
NuGet.Resolver (3)
NuGet.Versioning (3)
PresentationBuildTasks (1)
PresentationCore (38)
PresentationFramework (54)
PresentationUI (6)
ReachFramework (13)
Serialization\Manager\MetroSerializationManager.cs (1)
34IDisposable
Roslyn.Diagnostics.Analyzers (40)
Roslyn.Diagnostics.CSharp.Analyzers (1)
rzc (3)
ScenarioTests.Common.Tests (1)
Shared (1)
Stress.ApiService (1)
System.CodeDom (1)
System.Collections.Concurrent (3)
System.Collections.Immutable (4)
System.CommandLine (1)
System.ComponentModel.Composition (23)
System.ComponentModel.Composition.Registration (3)
System.ComponentModel.Primitives (1)
System.ComponentModel.TypeConverter (4)
System.Composition.Hosting (3)
System.Composition.Runtime (1)
System.Configuration.ConfigurationManager (4)
System.Data.Common (3)
System.Data.OleDb (6)
System.Diagnostics.DiagnosticSource (12)
System.Diagnostics.EventLog (8)
System.Diagnostics.PerformanceCounter (5)
System.Diagnostics.Process (6)
System.Diagnostics.StackTrace (1)
System.Diagnostics.TraceSource (1)
System.DirectoryServices (13)
System.DirectoryServices.AccountManagement (9)
System.DirectoryServices.Protocols (1)
System.Formats.Asn1 (2)
System.Formats.Tar (3)
System.IO.Compression (14)
System.IO.Compression.Brotli (2)
System.IO.FileSystem.AccessControl (1)
System.IO.IsolatedStorage (2)
System.IO.MemoryMappedFiles (2)
System.IO.Packaging (2)
System.Linq.Parallel (2)
System.Management (4)
System.Memory (1)
System.Net.Http (19)
System.Net.Http.WinHttpHandler (1)
System.Net.HttpListener (3)
System.Net.Mail (8)
System.Net.NameResolution (3)
System.Net.Quic (5)
System.Net.Requests (3)
System.Net.Security (10)
System.Net.ServerSentEvents (2)
System.Net.Sockets (6)
System.Net.WebSockets (3)
System.Numerics.Tensors (1)
System.ObjectModel (1)
System.Private.CoreLib (51)
System.Private.Windows.Core (8)
System.Private.Windows.Core.TestUtilities (4)
System.Private.Xml (5)
System.Reflection.Metadata (6)
System.Reflection.MetadataLoadContext (1)
System.Runtime.Caching (6)
System.Runtime.InteropServices.JavaScript (2)
System.Runtime.Numerics (1)
System.Security.AccessControl (1)
System.Security.Cryptography (61)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (5)
System.Security.Permissions (1)
System.Security.Principal.Windows (2)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.Primitives (26)
System.Speech (22)
System.Text.Json (7)
System.Text.RegularExpressions (1)
System.Text.RegularExpressions.Generator (1)
System.Threading (3)
System.Threading.RateLimiting (8)
System.Threading.Tasks.Dataflow (3)
System.Threading.Tasks.Parallel (2)
System.Transactions.Local (4)
System.Windows.Forms (33)
System.Windows.Forms.Design (20)
System.Windows.Forms.Primitives (8)
System.Xaml (2)
TestingAppHost1.AppHost (4)
TestProject.AppHost (1)
UIAutomationClient (1)
UIAutomationClientSideProviders (1)
vbc (1)
VBCSCompiler (1)
vstest.console (1)
vstest.console.arm64 (1)
WindowsFormsIntegration (2)
1870 references to IDisposable
aspire (21)
Aspire.Cli.Tests (25)
Aspire.Dashboard (24)
Aspire.Dashboard.Components.Tests (6)
Aspire.Dashboard.Tests (14)
Aspire.Hosting (22)
Aspire.Hosting.Docker (2)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
Aspire.Hosting.Kubernetes (2)
Aspire.Hosting.Radius.Tests (2)
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.RemoteHost.Tests (2)
Aspire.Hosting.Testing (4)
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (33)
Dcp\DcpExecutorTests.cs (14)
2162using var subscription = resourceLoggerService.Subscribe(dcpResourceName, batch =>
2231using var subscription = resourceLoggerService.Subscribe(container.Metadata.Name, batch =>
2315using var subscription = resourceLoggerService.Subscribe(dcpResourceName, batch =>
2408using var subscription = resourceLoggerService.Subscribe(blockingDcpResourceName, _ => { });
2486using var subscription = resourceLoggerService.Subscribe(container.Metadata.Name, batch =>
2566using var subscription = resourceLoggerService.Subscribe(container.Metadata.Name, batch =>
2650using var subscription = resourceLoggerService.Subscribe(container.Metadata.Name, batch =>
2772IDisposable? firstSubscription = resourceLoggerService.Subscribe(dcpResourceName, AddLogLines);
2773IDisposable? secondSubscription = null;
2928IDisposable? firstSubscription = resourceLoggerService.Subscribe(dcpResourceName, AddLogLines);
2929IDisposable? secondSubscription = null;
3367using var subscription = resourceLoggerService.Subscribe(dcpResourceName, batch =>
3548using var subscription = resourceLoggerService.Subscribe(dcpResourceName, _ => { });
3633using var subscription = resourceLoggerService.Subscribe(dcpResourceName, _ => { });
Aspire.Hosting.TestUtilities (3)
Aspire.Playground.Tests (3)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
Aspire.StackExchange.Redis (4)
Client.ClientBase.IntegrationTests (3)
csc (1)
dotnet-aot (1)
dotnet-format (1)
dotnet-svcutil-lib (40)
dotnet-watch (1)
GenerateDocumentationAndConfigFiles (61)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
15where T : IDisposable
GetDocument.Insider (2)
ilc (2)
ILCompiler.Compiler (2)
ILCompiler.DependencyAnalysisFramework (1)
ILCompiler.ReadyToRun (2)
illink (2)
ILLink.RoslynAnalyzer (1)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Authentication.Negotiate (2)
Microsoft.AspNetCore.Authorization.Policy (1)
Microsoft.AspNetCore.Components (8)
Microsoft.AspNetCore.Components.AI (8)
Microsoft.AspNetCore.Components.Authorization (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\CascadingAuthenticationState_razor.g.cs (1)
103void IDisposable.Dispose()
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Forms (3)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Web (11)
Microsoft.AspNetCore.Components.WebAssembly (6)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.InternalTesting (15)
AssemblyTestLog.cs (7)
59public IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, [CallerMemberName] string testName = null) =>
63public IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, LogLevel minLogLevel, [CallerMemberName] string testName = null) =>
66internal IDisposable StartTestLog(ITestOutputHelper output, string className, out ILoggerFactory loggerFactory, LogLevel minLogLevel, out string resolvedTestName, out string logOutputDirectory, [CallerMemberName] string testName = null)
76var scope = logger.BeginScope("Test: {testName}", testName);
88(serviceProvider as IDisposable)?.Dispose();
299void IDisposable.Dispose()
301(_serviceProvider as IDisposable)?.Dispose();
Microsoft.AspNetCore.JsonPatch.SystemTextJson (4)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Core (15)
Microsoft.AspNetCore.Mvc.RazorPages (6)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.Testing (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Microsoft.AspNetCore.Routing (10)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.SignalR.Client.Core (48)
HubConnection.cs (4)
385public virtual IDisposable On(string methodName, Type[] parameterTypes, Func<object?[], object, Task<object?>> handler, object state)
418public virtual IDisposable On(string methodName, Type[] parameterTypes, Func<object?[], object, Task> handler, object state)
929(_serviceProvider as IDisposable)?.Dispose();
2606using var _ = CancellationTokenUtils.CreateLinkedToken(cancellationToken, connectionToken, out var linkedToken);
HubConnectionExtensions.cs (20)
15private static IDisposable On(this HubConnection hubConnection, string methodName, Type[] parameterTypes, Action<object?[]> handler)
32public static IDisposable On(this HubConnection hubConnection, string methodName, Action handler)
47public static IDisposable On<T1>(this HubConnection hubConnection, string methodName, Action<T1> handler)
65public static IDisposable On<T1, T2>(this HubConnection hubConnection, string methodName, Action<T1, T2> handler)
84public static IDisposable On<T1, T2, T3>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3> handler)
104public static IDisposable On<T1, T2, T3, T4>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3, T4> handler)
125public static IDisposable On<T1, T2, T3, T4, T5>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3, T4, T5> handler)
147public static IDisposable On<T1, T2, T3, T4, T5, T6>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6> handler)
170public static IDisposable On<T1, T2, T3, T4, T5, T6, T7>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6, T7> handler)
194public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8>(this HubConnection hubConnection, string methodName, Action<T1, T2, T3, T4, T5, T6, T7, T8> handler)
211public static IDisposable On(this HubConnection hubConnection, string methodName, Type[] parameterTypes, Func<object?[], Task> handler)
227public static IDisposable On(this HubConnection hubConnection, string methodName, Func<Task> handler)
242public static IDisposable On<T1>(this HubConnection hubConnection, string methodName, Func<T1, Task> handler)
260public static IDisposable On<T1, T2>(this HubConnection hubConnection, string methodName, Func<T1, T2, Task> handler)
279public static IDisposable On<T1, T2, T3>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, Task> handler)
299public static IDisposable On<T1, T2, T3, T4>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, Task> handler)
320public static IDisposable On<T1, T2, T3, T4, T5>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task> handler)
342public static IDisposable On<T1, T2, T3, T4, T5, T6>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task> handler)
365public static IDisposable On<T1, T2, T3, T4, T5, T6, T7>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, Task> handler)
389public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, Task> handler)
HubConnectionExtensions.OnResult.cs (20)
18private static IDisposable On<TResult>(this HubConnection hubConnection, string methodName, Type[] parameterTypes, Func<object?[], TResult> handler)
37public static IDisposable On<TResult>(this HubConnection hubConnection, string methodName, Type[] parameterTypes, Func<object?[], Task<TResult>> handler)
55public static IDisposable On<TResult>(this HubConnection hubConnection, string methodName, Func<Task<TResult>> handler)
71public static IDisposable On<TResult>(this HubConnection hubConnection, string methodName, Func<TResult> handler)
88public static IDisposable On<T1, TResult>(this HubConnection hubConnection, string methodName, Func<T1, TResult> handler)
108public static IDisposable On<T1, T2, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, TResult> handler)
129public static IDisposable On<T1, T2, T3, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, TResult> handler)
151public static IDisposable On<T1, T2, T3, T4, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, TResult> handler)
174public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, TResult> handler)
198public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, TResult> handler)
223public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, TResult> handler)
249public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> handler)
268public static IDisposable On<T1, TResult>(this HubConnection hubConnection, string methodName, Func<T1, Task<TResult>> handler)
288public static IDisposable On<T1, T2, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, Task<TResult>> handler)
309public static IDisposable On<T1, T2, T3, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, Task<TResult>> handler)
331public static IDisposable On<T1, T2, T3, T4, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, Task<TResult>> handler)
354public static IDisposable On<T1, T2, T3, T4, T5, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, Task<TResult>> handler)
378public static IDisposable On<T1, T2, T3, T4, T5, T6, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, Task<TResult>> handler)
403public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>> handler)
429public static IDisposable On<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this HubConnection hubConnection, string methodName, Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>> handler)
Microsoft.AspNetCore.SignalR.Core (10)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.TestHost (2)
Microsoft.Build (33)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.pooledobjects\5.0.0-1.25277.114\contentFiles\cs\netstandard2.0\PooledDisposer.cs (1)
17void IDisposable.Dispose()
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (15)
Microsoft.CodeAnalysis.Analyzers (61)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
15where T : IDisposable
Microsoft.CodeAnalysis.AnalyzerUtilities (50)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
Microsoft.CodeAnalysis.CodeStyle (41)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
Microsoft.CodeAnalysis.CodeStyle.Fixes (14)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
15where T : IDisposable
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Extensions.Package (3)
Microsoft.CodeAnalysis.Features (28)
Microsoft.CodeAnalysis.NetAnalyzers (10)
Microsoft.CodeAnalysis.Razor.Compiler (2)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (49)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
Microsoft.CodeAnalysis.Scripting (4)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (69)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
15where T : IDisposable
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.Data.Analysis.Tests (1)
Microsoft.Diagnostics.NETCore.Client (1)
Microsoft.DotNet.Cli.Utils (3)
Microsoft.DotNet.HotReload.Watch (4)
Microsoft.Extensions.AI.Abstractions (2)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.OpenAI (6)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.AI.Tests (3)
Microsoft.Extensions.AsyncState.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
Microsoft.Extensions.Caching.Memory (5)
Microsoft.Extensions.Configuration (10)
Microsoft.Extensions.Configuration.EnvironmentVariables (1)
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.Configuration.KeyPerFile (1)
Microsoft.Extensions.DataIngestion.Tests (2)
Microsoft.Extensions.DependencyInjection (9)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Diagnostics (2)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (2)
Microsoft.Extensions.FileProviders.Abstractions (1)
Microsoft.Extensions.FileProviders.Physical (4)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Http (3)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
Microsoft.Extensions.Http.Polly (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Logging (11)
Microsoft.Extensions.Logging.Abstractions (17)
LoggerMessage.cs (7)
21public static Func<ILogger, IDisposable?> DefineScope(string formatString)
36public static Func<ILogger, T1, IDisposable?> DefineScope<T1>(string formatString)
50public static Func<ILogger, T1, T2, IDisposable?> DefineScope<T1, T2>(string formatString)
65public static Func<ILogger, T1, T2, T3, IDisposable?> DefineScope<T1, T2, T3>(string formatString)
81public static Func<ILogger, T1, T2, T3, T4, IDisposable?> DefineScope<T1, T2, T3, T4>(string formatString)
98public static Func<ILogger, T1, T2, T3, T4, T5, IDisposable?> DefineScope<T1, T2, T3, T4, T5>(string formatString)
116public static Func<ILogger, T1, T2, T3, T4, T5, T6, IDisposable?> DefineScope<T1, T2, T3, T4, T5, T6>(string formatString)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.Logging.Console (8)
Microsoft.Extensions.Logging.Debug (2)
Microsoft.Extensions.Logging.EventLog (2)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Logging.MSBuild (2)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ML (5)
Microsoft.Extensions.ML.Tests (4)
Microsoft.Extensions.ObjectPool (2)
Microsoft.Extensions.Options (9)
Microsoft.Extensions.Primitives (22)
ChangeToken.cs (13)
20/// <returns>An <see cref="IDisposable"/> that, when disposed, unregisters the consumer.</returns>
25public static IDisposable OnChange(Func<IChangeToken?> changeTokenProducer, Action changeTokenConsumer)
39/// <returns>An <see cref="IDisposable"/> that, when disposed, unregisters the consumer.</returns>
44public static IDisposable OnChange<TState>(Func<IChangeToken?> changeTokenProducer, Action<TState> changeTokenConsumer, TState state)
57/// <returns>An <see cref="IDisposable"/> that, when disposed, unregisters the consumer.</returns>
63public static IDisposable OnChange(Func<IChangeToken?> changeTokenProducer, Func<Task> changeTokenConsumer)
77/// <returns>An <see cref="IDisposable"/> that, when disposed, unregisters the consumer.</returns>
83public static IDisposable OnChange<TState>(Func<IChangeToken?> changeTokenProducer, Func<TState, Task> changeTokenConsumer, TState state)
93private IDisposable? _disposable;
118IDisposable? registration = token.RegisterChangeCallback(static s => ((ChangeTokenRegistration<TState>?)s)!.OnChangeTokenFired(), this);
127private void SetDisposable(IDisposable? disposable)
132IDisposable? current = Volatile.Read(ref _disposable);
142IDisposable? previous = Interlocked.CompareExchange(ref _disposable, disposable, current);
Microsoft.Extensions.ServiceDiscovery (3)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.Telemetry (13)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
Microsoft.Extensions.Telemetry.Tests (13)
Microsoft.Gen.Logging.Generated.Tests (3)
Microsoft.Maui (10)
Microsoft.Maui.Controls (10)
Microsoft.Maui.Graphics (1)
Microsoft.ML.Core (3)
Microsoft.ML.Data (12)
Microsoft.ML.DataView (2)
Microsoft.ML.FastTree (1)
Microsoft.ML.GenAI.Core (2)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.OnnxTransformerTest (18)
Microsoft.ML.Sweeper (4)
Microsoft.ML.TensorFlow.Tests (23)
Microsoft.ML.TestFramework (3)
Microsoft.ML.Tests (7)
Microsoft.ML.Transforms (5)
Microsoft.NET.StringTools (1)
Microsoft.Private.Windows.Core (3)
Microsoft.TemplateEngine.Abstractions (1)
Microsoft.TemplateEngine.Cli (2)
Microsoft.TemplateEngine.Edge (11)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Microsoft.TemplateEngine.Utils (4)
Microsoft.VisualBasic.Forms (3)
Microsoft.VisualStudio.TestPlatform.Common (2)
Mono.Cecil (3)
MSBuild (2)
mscorlib (1)
netstandard (1)
NuGet.Build.Tasks (1)
NuGet.Common (5)
NuGet.Configuration (1)
NuGet.Packaging (1)
NuGet.ProjectModel (1)
NuGet.Protocol (13)
PresentationBuildTasks (2)
PresentationCore (37)
PresentationFramework (86)
PresentationUI (8)
ReachFramework (11)
Roslyn.Diagnostics.Analyzers (61)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (8)
44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (10)
40public static IDisposable SetCurrent(RoslynTelemetry telemetry)
56public IDisposable AddEventSink(IEventSink sink)
265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace)
325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
15where T : IDisposable
System.CodeDom (1)
System.Collections (3)
System.Collections.Concurrent (1)
System.Collections.Immutable (6)
System.CommandLine (1)
System.ComponentModel.Composition (49)
System.ComponentModel.Composition.Registration (1)
System.ComponentModel.TypeConverter (4)
System.Composition.Convention (1)
System.Composition.Hosting (5)
System.Composition.TypedParts (3)
System.Configuration.ConfigurationManager (8)
System.Data.Common (8)
System.Data.Odbc (5)
System.Data.OleDb (1)
System.Diagnostics.DiagnosticSource (14)
System.Diagnostics.Process (1)
System.Diagnostics.StackTrace (1)
System.DirectoryServices.AccountManagement (14)
System.IO.Packaging (3)
System.Linq (7)
System.Linq.Expressions (3)
System.Linq.Parallel (3)
System.Net.HttpListener (3)
System.Net.NameResolution (1)
System.Net.Quic (2)
System.Net.Security (3)
System.Net.WebSockets (1)
System.Numerics.Tensors (5)
System.ObjectModel (1)
System.Private.CoreLib (18)
System.Private.DataContractSerialization (1)
System.Private.Windows.Core (3)
System.Private.Xml (4)
System.Reflection.Metadata (34)
System.Reflection.MetadataLoadContext (5)
System.Resources.Extensions (1)
System.Runtime (1)
System.Runtime.Caching (1)
System.Security.Cryptography (18)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (9)
System.ServiceModel.NetFramingBase (7)
System.ServiceModel.Primitives (38)
System.ServiceModel.Syndication (1)
System.Speech (6)
System.Text.Json (2)
System.Text.RegularExpressions (5)
System.Threading.Tasks.Dataflow (36)
Internal\ActionOnDispose.cs (6)
22internal static readonly IDisposable Nop = new NopDisposable();
31internal static IDisposable Create<T1, T2>(Action<T1, T2> action, T1 arg1, T2 arg2)
46internal static IDisposable Create<T1, T2, T3>(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3)
56void IDisposable.Dispose() { }
86void IDisposable.Dispose()
128void IDisposable.Dispose()
System.Threading.Tasks.Parallel (4)
System.Transactions.Local (2)
System.Windows.Forms (18)
System.Windows.Forms.Design (12)
System.Windows.Forms.Primitives (8)
System.Xaml (11)
TestingAppHost1.AppHost (2)
UIAutomationClient (1)
vbc (1)
VBCSCompiler (4)
WindowsFormsIntegration (2)