339 types derived from Exception
aspire (12)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (1)
Aspire.Hosting.Azure.Kusto.Tests (1)
Aspire.Hosting.RemoteHost (1)
Aspire.Templates.Tests (1)
crossgen2 (1)
Crossgen2Tasks (1)
dotnet (7)
dotnet-dev-certs (2)
dotnet-suggest (1)
dotnet-svcutil-lib (24)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (1)
ilc (1)
ILCompiler.Compiler (2)
ILCompiler.ReadyToRun (4)
ILCompiler.RyuJit (1)
ILCompiler.TypeSystem (2)
illink (2)
Infrastructure.Tests (1)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Components (4)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.Build (1)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (9)
Microsoft.CodeAnalysis (9)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CSharp (4)
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Microsoft.Diagnostics.NETCore.Client (1)
Microsoft.DiaSymReader (1)
Microsoft.DotNet.ApiCompat.Task (1)
Microsoft.DotNet.Cli.CoreUtils (1)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.Configurer (1)
Microsoft.DotNet.HotReload.Utils.Generator (1)
Microsoft.DotNet.HotReload.Watch (1)
Microsoft.DotNet.NativeWrapper (1)
Microsoft.DotNet.TemplateLocator (2)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Options (1)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (2)
Microsoft.JSInterop (2)
Microsoft.Maui (2)
Microsoft.Maui.Controls (4)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.FastTree (1)
Microsoft.ML.StandardTrainers (1)
Microsoft.NET.Build.Containers (9)
Microsoft.NET.Build.Tasks (3)
Microsoft.NET.HostModel (6)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.NET.Sdk.WorkloadManifestReader (2)
Microsoft.Private.Windows.Core (1)
Microsoft.TemplateEngine.Cli (1)
Microsoft.TemplateEngine.Edge (6)
Microsoft.TemplateEngine.Utils (3)
Microsoft.TestPlatform.AdapterUtilities (1)
Microsoft.TestPlatform.CommunicationUtilities (2)
Microsoft.TestPlatform.PlatformAbstractions (1)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
Microsoft.TestUtilities (1)
Microsoft.VisualBasic.Core (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (5)
Microsoft.Web.XmlTransform (1)
Mono.Cecil (1)
Mono.Cecil.Mdb (1)
MSBuild (2)
NuGet.Commands (4)
NuGet.Common (1)
NuGet.Configuration (1)
NuGet.Credentials (2)
NuGet.Frameworks (1)
NuGet.PackageManagement (1)
NuGet.Packaging (2)
NuGet.ProjectModel (1)
NuGet.Protocol (3)
NuGet.Resolver (1)
PresentationBuildTasks (2)
PresentationFramework (4)
PresentationUI (1)
ReachFramework (1)
RepoTasks (1)
Roslyn.Diagnostics.Analyzers (1)
rzc (1)
SuperFileCheck (1)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (4)
System.Composition.Runtime (1)
System.Configuration.ConfigurationManager (4)
System.Diagnostics.EventLog (1)
System.DirectoryServices (4)
System.DirectoryServices.Protocols (1)
System.Formats.Asn1 (1)
System.Formats.Cbor (1)
System.IO.IsolatedStorage (1)
System.Linq (1)
System.Linq.Expressions (1)
System.Net.Http (7)
System.Net.Mail (1)
System.Net.NameResolution (1)
System.Net.Requests (1)
System.Net.Security (3)
System.Net.Sockets (1)
System.Private.CoreLib (13)
System.Private.TypeLoader (1)
System.Private.Windows.Core (1)
System.Private.Xml (2)
System.Reflection.Metadata (2)
System.Runtime.InteropServices.JavaScript (1)
System.Runtime.Serialization.Primitives (1)
System.ServiceModel.Primitives (7)
System.Speech (1)
System.Text.Json (1)
System.Threading (1)
System.Windows.Forms (1)
System.Windows.Forms.Design (1)
System.Xaml (2)
testhost (1)
testhost.arm64 (1)
testhost.x86 (1)
tlens (1)
UIAutomationTypes (2)
vstest.console (2)
vstest.console.arm64 (2)
612 instantiations of Exception
Client.ExpectedExceptions.IntegrationTests (1)
Contract.Fault.IntegrationTests (1)
crossgen2 (6)
csc (1)
dotnet (14)
Commands\Workload\Install\FileBasedInstaller.cs (4)
123throw new Exception(string.Format(CliCommandStrings.FailedToInstallWorkloadSet, workloadSetVersion, ex.Message), ex);
181throw new Exception(string.Format(CliCommandStrings.CacheMissingPackage, packInfo.ResolvedPackageId, packInfo.Version, offlineCache));
300throw new Exception(string.Format(CliCommandStrings.FailedToInstallWorkloadManifest, manifestUpdate.ManifestId, manifestUpdate.NewVersion, e.Message), e);
323throw new Exception(string.Format(CliCommandStrings.CacheMissingPackage, packageId, packageVersion, offlineCache));
dotnet-format (4)
dotnet-svcutil-lib (23)
dotnet-watch (1)
GenerateDocumentationAndConfigFiles (1)
ilc (7)
ILCompiler.Compiler (10)
ILCompiler.Diagnostics (3)
ILCompiler.ReadyToRun (40)
ILCompiler.RyuJit (3)
Infrastructure.Common (3)
Microsoft.Arcade.Common (1)
Microsoft.Build (2)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.Rebuild (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild (8)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.Data.Analysis (13)
Microsoft.Data.Analysis.Tests (13)
Microsoft.Diagnostics.NETCore.Client (1)
Microsoft.DotNet.ApiCompat.Task (2)
Microsoft.DotNet.Build.Tasks.Workloads (5)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.HotReload.Utils.Generator (3)
Microsoft.DotNet.HotReload.Utils.Generator.Tasks (1)
Microsoft.DotNet.MacOsPkg.Core (17)
Microsoft.DotNet.TemplateLocator (4)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Maui (6)
Microsoft.Maui.Controls (14)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.SourceGen (3)
Microsoft.Maui.Controls.Xaml (1)
Microsoft.Maui.Graphics (2)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
Microsoft.ML.AutoML (5)
Microsoft.ML.CodeGenerator (16)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.Fairlearn (2)
Microsoft.ML.FastTree (1)
Microsoft.ML.GenAI.Core (3)
Microsoft.ML.PerformanceTests (7)
Microsoft.ML.Sweeper (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (1)
Microsoft.NET.Build.Tasks (4)
Microsoft.NET.Sdk.Publish.Tasks (5)
Microsoft.NET.Sdk.WorkloadManifestReader (4)
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
Microsoft.TemplateEngine.Cli (10)
Microsoft.TemplateEngine.Core (12)
Microsoft.TemplateEngine.Edge (4)
Microsoft.TemplateSearch.Common (8)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
Microsoft.VisualBasic.Core (10)
Microsoft\VisualBasic\CompilerServices\IncompleteInitialization.vb (1)
10MyBase.New()
Microsoft.VisualStudio.TestPlatform.Common (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (6)
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Mono.Cecil (2)
Mono.Cecil.Pdb (2)
NuGet.CommandLine.XPlat (2)
NuGet.Commands (2)
NuGet.Packaging (6)
NuGet.ProjectModel (2)
PresentationBuildTasks (2)
PresentationCore (8)
PresentationFramework (112)
Roslyn.Diagnostics.Analyzers (1)
rzc (2)
ScenarioTests.Common.Tests (2)
sdk-tasks (4)
Security.TransportSecurity.IntegrationTests (4)
Shared.Tests (2)
System.ComponentModel.Composition (56)
System.ComponentModel.Composition.Registration (4)
System.Composition.Convention (4)
System.Composition.Hosting (4)
System.Formats.Cbor (6)
System.IO.Ports (1)
System.Linq.Queryable (1)
System.Net.Http.WinHttpHandler (1)
System.Private.CoreLib (3)
System.Private.CoreLib.Generators (1)
System.Private.DataContractSerialization (4)
System.Private.Xml (3)
System.Reflection.MetadataLoadContext (1)
System.Runtime.Serialization.Schema (1)
System.ServiceModel.Federation (1)
System.ServiceModel.NetFramingBase (2)
System.ServiceModel.Primitives.Tests (1)
System.Text.Json (2)
System.Text.Json.SourceGeneration (1)
System.Threading.Channels (1)
System.Threading.Tasks.Parallel (1)
UIAutomationTypes (1)
vbc (1)
VBCSCompiler (5)
17987 references to Exception
aspire (192)
Diagnostics\FileLoggerProvider.cs (3)
174internal void WriteLog(DateTimeOffset timestamp, LogLevel level, string category, string message, Exception? exception = null)
236public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Azure.Data.Tables.Tests (1)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Messaging.EventHubs.Tests (5)
Aspire.Azure.Messaging.ServiceBus.Tests (2)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
Aspire.Azure.Search.Documents (1)
Aspire.Azure.Security.KeyVault.Tests (3)
Aspire.Azure.Storage.Blobs.Tests (1)
Aspire.Azure.Storage.Files.DataLake (2)
Aspire.Azure.Storage.Queues.Tests (1)
Aspire.Cli.EndToEnd.Tests (2)
Aspire.Cli.Tests (43)
Aspire.Components.Common.TestUtilities (2)
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\OpenTelemetryConsumeResultExtensions.cs (1)
132catch (Exception ex)
Aspire.Dashboard (54)
Aspire.Dashboard.Components.Tests (10)
Aspire.Dashboard.Tests (12)
Aspire.Deployment.EndToEnd.Tests (55)
Aspire.EndToEnd.Tests (3)
Aspire.Hosting (112)
ApplicationModel\ResourceExtensions.cs (8)
297Action<object?, string?, Exception?, bool> processValue,
312catch (Exception ex)
336Action<object?, string?, Exception?, bool> processValue,
393Action<string, object?, string?, Exception?> processValue,
408catch (Exception ex)
428Action<string, object?, string?, Exception?> processValue,
554Action<string?, Exception?> processValue,
587catch (Exception ex)
ApplicationModel\ResourceLoggerService.cs (4)
119public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
592public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.Hosting.Azure (21)
Aspire.Hosting.Azure.ContainerRegistry (1)
Aspire.Hosting.Azure.Kusto (4)
Aspire.Hosting.Azure.Tests (18)
Aspire.Hosting.DevTunnels (6)
Aspire.Hosting.Docker (2)
Aspire.Hosting.Foundry (3)
Aspire.Hosting.GitHub.Models (3)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.Maui (6)
Aspire.Hosting.MySql (1)
Aspire.Hosting.Nats (1)
Aspire.Hosting.OpenAI (4)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.Python.Tests (1)
Aspire.Hosting.Qdrant (1)
Aspire.Hosting.RemoteHost (19)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.Tasks (1)
Aspire.Hosting.Testing (13)
Aspire.Hosting.Testing.Tests (14)
Aspire.Hosting.Tests (27)
Aspire.Hosting.Yarp (1)
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
Aspire.Milvus.Client (1)
Aspire.MongoDB.EntityFrameworkCore.Tests (2)
Aspire.NATS.Net (1)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
Aspire.Oracle.EntityFrameworkCore.Tests (2)
Aspire.Playground.Tests (10)
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
Aspire.Qdrant.Client (1)
Aspire.RabbitMQ.Client (6)
Aspire.RabbitMQ.Client.Tests (8)
AspireRabbitMQLoggingTests.cs (8)
120Exception testException;
125catch (Exception ex)
165Exception testException;
171catch (Exception ex)
224private static void LogError(string message, Exception ex)
229s_log.GetType().GetMethod("Error", [typeof(string), typeof(Exception)])!.Invoke(s_log, new object[] { message, ex });
250public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Aspire.RabbitMQ.Client.v6.Tests (7)
Aspire.Templates.Tests (4)
aspire-managed (5)
AzureKusto.AppHost (1)
AzureKusto.Worker (1)
AzureSearch.ApiService (1)
Binding.Tcp.IntegrationTests (2)
Client.ClientBase.IntegrationTests (9)
SessionTests.cs (8)
200catch (Exception e)
311ResultsVerificationHelper<Exception>(canMakeServiceCall: true, cbClosedCalled: false, cbClosingCalled: false, cbFaultedCalled: false);
333ResultsVerificationHelper<Exception>(canMakeServiceCall: true, cbClosedCalled: false, cbClosingCalled: false, cbFaultedCalled: false);
406ResultsVerificationHelper<Exception>(canMakeServiceCall: true, cbClosedCalled: false, cbClosingCalled: false, cbFaultedCalled: false);
429ResultsVerificationHelper<Exception>(canMakeServiceCall: true, cbClosedCalled: false, cbClosingCalled: false, cbFaultedCalled: false);
472catch (Exception e)
537where ExpectedException : Exception
553catch (Exception e)
Client.ExpectedExceptions.IntegrationTests (9)
CodeStyleConfigFileGenerator (20)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Contract.Service.IntegrationTests (12)
Contract.XmlSerializer.IntegrationTests (10)
Crossgen2Tasks (5)
csc (18)
CSharpSyntaxGenerator (1)
csi (1)
DatabaseMigration.MigrationService (1)
datacollector (1)
datacollector.arm64 (1)
dotnet (131)
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.9.0-1.26307.102\contentFiles\cs\net11.0\RuntimeHostInfo.cs (1)
56catch (Exception ex)
dotnet-dev-certs (30)
dotnet-format (3)
dotnet-Microsoft.XmlSerializer.Generator (5)
dotnet-sourcelink (2)
dotnet-suggest (1)
dotnet-svcutil.xmlserializer (20)
dotnet-svcutil.xmlserializer.IntegrationTests (10)
dotnet-svcutil-lib (949)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (9)
2700internal void DtdParserProxy_Throw(Exception e)
2767private void Throw(string res, string arg, Exception innerException)
2772private void Throw(string res, string[] args, Exception innerException)
2777private void Throw(Exception e)
2788private void ReThrow(Exception e, int lineNo, int linePos)
2790Throw(new XmlException(e.Message, (Exception)null, lineNo, linePos, _ps.baseUriStr));
2803private void ThrowWithoutLineInfo(string res, string[] args, Exception innerException)
8049catch (Exception)
8065catch (Exception e)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (74)
550Exception exception = TryParseValue(s, nameTable, nsmgr, out typedValue);
568Exception exception = TryParseValue(s, nameTable, nsmgr, out typedValue);
581internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, out object typedValue)
583Exception exception = null;
1047internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, out object typedValue)
1049Exception exception;
1125internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1127Exception exception;
1267internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1269Exception exception;
1303internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1305Exception exception;
1402internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1483internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1485Exception exception;
1557internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1559Exception exception;
1642internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1644Exception exception;
1731internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1733Exception exception;
1825internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1827Exception exception;
1916internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1918Exception exception;
1947internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1949Exception exception;
1985internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
1987Exception exception;
2077internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2079Exception exception;
2462internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2464Exception exception;
2563internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2565Exception exception;
2670internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2672Exception exception;
2756internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2758Exception exception;
2956internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
2958Exception exception;
3092internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3094Exception exception;
3172internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3174Exception exception;
3290internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3292Exception exception;
3346internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3348Exception exception;
3403internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3405Exception exception;
3459internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3461Exception exception;
3547internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3549Exception exception;
3603internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3605Exception exception;
3659internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3661Exception exception;
3714internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3716Exception exception;
3771catch (Exception e)
3792catch (Exception e)
3830catch (Exception e)
3873catch (Exception e)
3879internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3881Exception exception;
3902Exception exception;
3917catch (Exception e)
3925internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3927Exception exception;
3974catch (Exception e)
3980internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
3982Exception exception;
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (43)
368catch (Exception e)
669Exception ex = datatype.TryParseValue(facet.Value, nameTable, nsmgr, out typedValue);
781internal virtual Exception CheckLexicalFacets(ref string parseString, XmlSchemaDatatype datatype)
786internal virtual Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
790internal virtual Exception CheckValueFacets(decimal value, XmlSchemaDatatype datatype)
794internal virtual Exception CheckValueFacets(Int64 value, XmlSchemaDatatype datatype)
798internal virtual Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype)
802internal virtual Exception CheckValueFacets(Int16 value, XmlSchemaDatatype datatype)
806internal virtual Exception CheckValueFacets(byte value, XmlSchemaDatatype datatype)
810internal virtual Exception CheckValueFacets(DateTime value, XmlSchemaDatatype datatype)
814internal virtual Exception CheckValueFacets(double value, XmlSchemaDatatype datatype)
818internal virtual Exception CheckValueFacets(float value, XmlSchemaDatatype datatype)
822internal virtual Exception CheckValueFacets(string value, XmlSchemaDatatype datatype)
826internal virtual Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
830internal virtual Exception CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype)
834internal virtual Exception CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype)
876internal Exception CheckPatternFacets(RestrictionFacets restriction, string value)
1005internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1011internal override Exception CheckValueFacets(decimal value, XmlSchemaDatatype datatype)
1068internal override Exception CheckValueFacets(Int64 value, XmlSchemaDatatype datatype)
1074internal override Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype)
1079internal override Exception CheckValueFacets(Int16 value, XmlSchemaDatatype datatype)
1084internal override Exception CheckValueFacets(byte value, XmlSchemaDatatype datatype)
1105internal Exception CheckTotalAndFractionDigits(decimal value, int totalDigits, int fractionDigits, bool checkTotal, bool checkFraction)
1134internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1140internal override Exception CheckValueFacets(double value, XmlSchemaDatatype datatype)
1186internal override Exception CheckValueFacets(float value, XmlSchemaDatatype datatype)
1210internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1216internal override Exception CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype)
1281internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1287internal override Exception CheckValueFacets(DateTime value, XmlSchemaDatatype datatype)
1368internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1374internal override Exception CheckValueFacets(string value, XmlSchemaDatatype datatype)
1379internal Exception CheckValueFacets(string value, XmlSchemaDatatype datatype, bool verifyUri)
1385Exception exception;
1454private Exception CheckBuiltInFacets(string s, XmlTypeCode typeCode, bool verifyUri)
1456Exception exception = null;
1510internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1516internal override Exception CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype)
1579internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1585internal override Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
1644internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
1705internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\XmlSchemaInferenceException.cs (3)
23public XmlSchemaInferenceException(String message) : base(message, ((Exception)null), 0, 0)
27public XmlSchemaInferenceException(String message, Exception innerException) : base(message, innerException, 0, 0)
32public XmlSchemaInferenceException(String message, Exception innerException, int lineNumber, int linePosition) :
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (4)
38public XmlSchemaException(String message) : this(message, ((Exception)null), 0, 0)
46public XmlSchemaException(String message, Exception innerException) : this(message, innerException, 0, 0)
51public XmlSchemaException(String message, Exception innerException, int lineNumber, int linePosition) :
88internal XmlSchemaException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source) :
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidationException.cs (4)
26public XmlSchemaValidationException(String message) : base(message, ((Exception)null), 0, 0)
31public XmlSchemaValidationException(String message, Exception innerException) : base(message, innerException, 0, 0)
36public XmlSchemaValidationException(String message, Exception innerException, int lineNumber, int linePosition) :
64internal XmlSchemaValidationException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition) :
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (9)
1304Exception exception = s_dtStringArray.TryParseValue(xsiSchemaLocation, _nameTable, _nsResolver, out typedValue);
1455Exception exception = currentElementDecl.Datatype.TryParseValue(currentElementDecl.DefaultValueRaw, _nameTable, _nsResolver, out typedVal);
1497Exception exception = dtype.TryParseValue(parsedValue, _nameTable, _nsResolver, out typedValue);
1664Exception exception = s_dtQName.TryParseValue(xsiType, _nameTable, _nsResolver, out typedVal);
1880catch (Exception e)
1961Exception exception = null;
1998Exception exception = dtype.TryParseValue(stringValue, _nameTable, _nsResolver, out typedValue);
2832private void SendValidationEvent(string code, string[] args, Exception innerException, XmlSeverityType severity)
2840private void SendValidationEvent(string code, string[] args, Exception innerException)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (13)
1053catch (Exception e)
1122catch (Exception e)
1363protected Exception CreateUnknownTypeException(XmlQualifiedName type)
1369protected Exception CreateReadOnlyCollectionException(string name)
1375protected Exception CreateAbstractTypeException(string name, string ns)
1381protected Exception CreateInaccessibleConstructorException(string typeName)
1387protected Exception CreateCtorHasSecurityException(string typeName)
1393protected Exception CreateUnknownNodeException()
1399protected Exception CreateUnknownConstantException(string value, Type enumType)
1405protected Exception CreateInvalidCastException(Type type, object value)
1411protected Exception CreateInvalidCastException(Type type, object value, string id)
1422protected Exception CreateBadDerivationException(string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase)
1428protected Exception CreateMissingIXmlSerializableType(string name, string ns, string clrType)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (44)
377internal static Exception TryVerifyName(string name)
446internal static Exception TryVerifyNCName(string name)
475internal static Exception TryVerifyTOKEN(string token)
518internal static Exception TryVerifyNMTOKEN(string name)
542internal static Exception TryVerifyNormalizedString(string str)
905internal static Exception TryToBoolean(string s, out Boolean result)
939internal static Exception TryToChar(string s, out Char result)
957internal static Exception TryToDecimal(string s, out Decimal result)
971internal static Exception TryToInteger(string s, out Decimal result)
989internal static Exception TryToSByte(string s, out SByte result)
1007internal static Exception TryToInt16(string s, out Int16 result)
1025internal static Exception TryToInt32(string s, out Int32 result)
1043internal static Exception TryToInt64(string s, out Int64 result)
1061internal static Exception TryToByte(string s, out Byte result)
1080internal static Exception TryToUInt16(string s, out UInt16 result)
1100internal static Exception TryToUInt32(string s, out UInt32 result)
1119internal static Exception TryToUInt64(string s, out UInt64 result)
1145internal static Exception TryToSingle(string s, out Single result)
1186internal static Exception TryToDouble(string s, out double result)
1288catch (Exception)
1299internal static Exception TryToTimeSpan(string s, out TimeSpan result)
1302Exception exception;
1464internal static Exception TryToGuid(string s, out Guid result)
1466Exception exception = null;
1535internal static Exception TryToUri(string s, out Uri result)
1758internal static Exception CreateException(string res, ExceptionType exceptionType)
1763internal static Exception CreateException(string res, ExceptionType exceptionType, int lineNo, int linePos)
1775internal static Exception CreateException(string res, string arg, ExceptionType exceptionType)
1780internal static Exception CreateException(string res, string arg, ExceptionType exceptionType, int lineNo, int linePos)
1792internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType)
1797internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType, int lineNo, int linePos)
1809internal static Exception CreateInvalidSurrogatePairException(char low, char hi)
1814internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType)
1819internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType, int lineNo, int linePos)
1828internal static Exception CreateInvalidHighSurrogateCharException(char hi)
1833internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType)
1838internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType, int lineNo, int linePos)
1843internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos)
1848internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos, ExceptionType exceptionType)
1853internal static Exception CreateInvalidCharException(string data, int invCharPos)
1858internal static Exception CreateInvalidCharException(string data, int invCharPos, ExceptionType exceptionType)
1863internal static Exception CreateInvalidCharException(char invChar, char nextChar)
1868internal static Exception CreateInvalidCharException(char invChar, char nextChar, ExceptionType exceptionType)
1873internal static Exception CreateInvalidNameCharException(string name, int index, ExceptionType exceptionType)
FrameworkFork\Microsoft.Xml\Xml\XmlException.cs (8)
38public XmlException(String message) : this(message, ((Exception)null), 0, 0)
46public XmlException(String message, Exception innerException) : this(message, innerException, 0, 0)
51public XmlException(String message, Exception innerException, int lineNumber, int linePosition) :
56internal XmlException(String message, Exception innerException, int lineNumber, int linePosition, string sourceUri) :
87internal XmlException(string res, String arg, Exception innerException, IXmlLineInfo lineInfo) :
124internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition) :
128internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition, string sourceUri) :
265internal static bool IsCatchableException(Exception e)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
508catch (Exception ex)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DictionaryGlobals.cs (1)
131catch (Exception ex)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
64catch (Exception ex)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
170public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception)
175public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception, bool getServiceReference)
242internal static string ExceptionToTraceString(Exception exception, int maxTraceStringLength)
265private static void WriteExceptionToTraceString(XmlWriter xml, Exception exception, int remainingLength, int remainingAllowedRecursionDepth)
320private static string GetInnerException(Exception exception, int remainingLength, int remainingAllowedRecursionDepth)
354private static string GetExceptionData(Exception exception)
FrameworkFork\System.ServiceModel\Internals\TraceCore.Designer.cs (10)
75internal static void HandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
111internal static void ThrowingException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
134internal static void UnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
262internal static void HandledExceptionWarning(EtwDiagnosticTrace trace, string param0, System.Exception exception)
370internal static void HandledExceptionError(EtwDiagnosticTrace trace, string param0, System.Exception exception)
393internal static void HandledExceptionVerbose(EtwDiagnosticTrace trace, string param0, System.Exception exception)
416internal static void EtwUnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
440internal static void ThrowingEtwException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
464internal static void ThrowingEtwExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
488internal static void ThrowingExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelRequirements.cs (5)
224public static Exception CantCreateListenerException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
229Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
242public static Exception CantCreateChannelException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
247Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
259public static Exception BindingContractMismatchException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
217catch (Exception e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FaultConverter.cs (10)
16protected abstract bool OnTryCreateException(Message message, MessageFault fault, out Exception exception);
17protected abstract bool OnTryCreateFaultMessage(Exception exception, out Message message);
19public bool TryCreateException(Message message, MessageFault fault, out Exception exception)
37Exception error = new InvalidOperationException(text);
46Exception error = new InvalidOperationException(text, exception);
54public bool TryCreateFaultMessage(Exception exception, out Message message)
63Exception error = new InvalidOperationException(text);
72Exception error = new InvalidOperationException(text);
89protected override bool OnTryCreateException(Message message, MessageFault fault, out Exception exception)
197protected override bool OnTryCreateFaultMessage(Exception exception, out Message message)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (13)
32protected Exception _asyncReadException;
38protected Exception _asyncWriteException;
170protected Exception ConvertSendException(SocketException socketException, TimeSpan remainingTime)
176protected Exception ConvertReceiveException(SocketException socketException, TimeSpan remainingTime)
182internal static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException)
188protected Exception ConvertObjectDisposedException(ObjectDisposedException originalException, TransferOperation transferOperation)
204private static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException,
259private static Exception ConvertTimeoutErrorException(Exception originalException,
435public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
474catch (Exception e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (23)
305catch (Exception e)
498private void ProvideFault(Exception e, ref ErrorHandlerFaultInfo faultInfo)
511internal bool HandleError(Exception e)
517private bool HandleError(Exception e, ref ErrorHandlerFaultInfo faultInfo)
538private bool HandleError(Exception e, RequestContext request, ServiceChannel channel)
554private bool HandleErrorContinuation(Exception e, RequestContext request, ServiceChannel channel, ref ErrorHandlerFaultInfo faultInfo, bool replied)
562catch (Exception e1)
586catch (Exception e2)
598catch (Exception e3)
621catch (Exception e4)
769Exception exception = null;
774catch (Exception e)
876private void ProvideFaultAndReplyFailure(RequestContext request, Exception exception, ref ErrorHandlerFaultInfo faultInfo, out bool replied, out bool replySentAsync)
886catch (Exception e)
947catch (Exception e)
983catch (Exception e)
1032catch (Exception e)
1046catch (Exception e)
1060catch (Exception e)
1085catch (Exception e)
1167catch (Exception e)
1202catch (Exception e)
1293public Exception Exception;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
197catch (Exception e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
40catch (Exception e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
89catch (Exception e)
DotnetTool.AppHost (1)
dotnet-user-jwts (2)
dotnet-user-secrets (2)
dotnet-watch (5)
GenerateDocumentationAndConfigFiles (58)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
50catch (Exception)
ilasm (2)
ILAssembler (1)
ILCompiler.Compiler (5)
ILCompiler.Diagnostics (7)
ILCompiler.ReadyToRun (187)
ILCompiler.RyuJit (182)
illink (10)
ILLink.Tasks (1)
Infrastructure.Common (5)
Infrastructure.IntegrationTests (1)
Infrastructure.Tests (2)
libmscordaccore_universal (5)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local (1)
Microsoft.Analyzers.Local.Tests (2)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.Antiforgery (20)
_generated\0\LoggerMessage.g.cs (11)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ValidationFailedCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ValidatedAntiforgeryTokenCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __MissingCookieTokenCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __MissingRequestTokenCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NewCookieTokenCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReusedCookieTokenCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TokenDeserializeExceptionCallback =
113public static partial void TokenDeserializeException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseCacheHeadersOverridenToNoCacheCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToDeserialzeTokensCallback =
145public static partial void FailedToDeserialzeTokens(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Microsoft.AspNetCore.AsyncState (2)
Microsoft.AspNetCore.Authentication (23)
_generated\0\LoggerMessage.g.cs (14)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemoteAuthenticationErrorCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SignInHandledCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SignInSkippedCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __AuthenticationSchemeNotAuthenticatedWithFailureCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AuthenticationSchemeAuthenticatedCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AuthenticationSchemeNotAuthenticatedCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AuthenticationSchemeChallengedCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AuthenticationSchemeForbiddenCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CorrelationPropertyNotFoundCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CorrelationCookieNotFoundCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __UnexpectedCorrelationCookieValueCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AccessDeniedErrorCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AccessDeniedContextHandledCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AccessDeniedContextSkippedCallback =
Microsoft.AspNetCore.Authentication.Abstractions (4)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Cookies (2)
Microsoft.AspNetCore.Authentication.Core (21)
AuthenticationMetrics.cs (11)
53public void AuthenticatedRequestCompleted(string? scheme, AuthenticateResult? result, Exception? exception, long startTimestamp, long currentTimestamp)
62private void AuthenticatedRequestCompletedCore(string? scheme, AuthenticateResult? result, Exception? exception, long startTimestamp, long currentTimestamp)
91public void ChallengeCompleted(string? scheme, Exception? exception)
100private void ChallengeCompletedCore(string? scheme, Exception? exception)
117public void ForbidCompleted(string? scheme, Exception? exception)
126private void ForbidCompletedCore(string? scheme, Exception? exception)
143public void SignInCompleted(string? scheme, Exception? exception)
152private void SignInCompletedCore(string? scheme, Exception? exception)
169public void SignOutCompleted(string? scheme, Exception? exception)
178private void SignOutCompletedCore(string? scheme, Exception? exception)
200private static void AddErrorTag(ref TagList tags, Exception exception)
Microsoft.AspNetCore.Authentication.OAuth (6)
Microsoft.AspNetCore.Authorization (6)
Microsoft.AspNetCore.Components (82)
_generated\0\LoggerMessage.g.cs (17)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, string, global::System.Exception?> __PersistingValueToStateCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, string, global::System.Exception?> __SkippedPersistingNullValueCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __RestoringValueFromStateCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __NoValueToRestoreFromStateCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, string, global::System.Exception?> __RestoredValueFromPersistentStateCallback =
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, string, global::System.Exception?> __ValueNotFoundInPersistentStateCallback =
116private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Type, int, global::System.Type, global::System.Exception?> __InitializingChildComponentCallback =
129private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Type, global::System.Exception?> __InitializingRootComponentCallback =
142private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Type, global::System.Exception?> __RenderingComponentCallback =
155private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Type, global::System.Exception?> __DisposingComponentCallback =
168private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, ulong, string, global::System.Exception?> __HandlingEventCallback =
206public static readonly global::System.Func<__SkippingEventOnDisposedComponentStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
258private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __DisplayingNotFoundCallback =
274private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, string, global::System.Exception?> __NavigatingToComponentCallback =
290private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __NavigatingToExternalUriCallback =
306private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DisplayingNotFound1Callback =
331private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestMatchedRouteCallback =
Microsoft.AspNetCore.Components.Endpoints (87)
_generated\0\LoggerMessage.g.cs (60)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieNotFoundCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieLoadFailureCallback =
35public static partial void TempDataCookieLoadFailure(global::Microsoft.Extensions.Logging.ILogger logger, string cookieName, global::System.Exception exception)
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieSaveSuccessCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieLoadSuccessCallback =
84private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotResolveConverterCallback =
92public static partial void CannotResolveConverter(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type type, global::System.Exception? ex)
109private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __StartResolveMetadataGraphCallback =
125private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __EndResolveMetadataGraphCallback =
141private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataFoundCallback =
157private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoMetadataFoundCallback =
173private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __RecursiveTypeFoundCallback =
189private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __PrimitiveTypeCallback =
205private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __DictionaryTypeCallback =
221private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CollectionTypeCallback =
237private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __ObjectTypeCallback =
253private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __ConstructorFoundCallback =
294public static readonly global::System.Func<__ConstructorParameterStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
340private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __CandidatePropertyCallback =
378public static readonly global::System.Func<__MatchingConstructorParameterFoundStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
445public static readonly global::System.Func<__CustomParameterNameMetadataStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
490private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __IgnoredPropertyCallback =
506private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NonPublicSetterCallback =
522private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PropertyRequiredCallback =
538private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataComputedCallback =
554private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __GenericTypeDefinitionNotSupportedCallback =
570private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MultiplePublicConstructorsFoundCallback =
586private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __InterfacesNotSupportedCallback =
602private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __AbstractClassesNotSupportedCallback =
618private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoPublicConstructorFoundCallback =
634private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __ConstructorParameterTypeNotSupportedCallback =
650private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __PropertyTypeNotSupportedCallback =
675private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __OpaqueUrlUnprotectionFailedCallback =
683public static partial void OpaqueUrlUnprotectionFailed(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Endpoints.OpaqueRedirection> logger, global::System.Exception exception)
700private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __BeginRenderRootComponentCallback =
716private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MiddlewareAntiforgeryValidationFailedCallback =
732private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MiddlewareAntiforgeryValidationSucceededCallback =
748private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndpointAntiforgeryValidationDisabledCallback =
764private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndpointAntiforgeryValidationFailedCallback =
780private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndpointAntiforgeryValidationSucceededCallback =
796private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InteractivityDisabledForErrorHandlingCallback =
821private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionPersistFailCallback =
829public static partial void SessionPersistFail(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
837private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionDeserializeFailCallback =
845public static partial void SessionDeserializeFail(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
862private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataSessionNotFoundCallback =
878private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataSessionLoadFailureCallback =
886public static partial void TempDataSessionLoadFailure(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
894private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataSessionSaveSuccessCallback =
910private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataSessionLoadSuccessCallback =
935private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataPersistFailCallback =
943public static partial void TempDataPersistFail(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
951private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TempDataDeserializeFailCallback =
959public static partial void TempDataDeserializeFail(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
976private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __EventHandlerSkippedCallback =
992private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ElementReferenceCaptureSkippedCallback =
1008private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentReferenceCaptureSkippedCallback =
1024private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentRenderModeSkippedCallback =
1040private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __NamedEventSkippedCallback =
1056private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __GenericRenderFragmentSkippedCallback =
DependencyInjection\DefaultRazorComponentsServiceOptionsConfiguration.cs (1)
64catch (Exception)
Microsoft.AspNetCore.Components.Forms (2)
Microsoft.AspNetCore.Components.Server (318)
_generated\0\LoggerMessage.g.cs (184)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __EventHandlerSkippedCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ElementReferenceCaptureSkippedCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentReferenceCaptureSkippedCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ComponentRenderModeSkippedCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __NamedEventSkippedCallback =
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __GenericRenderFragmentSkippedCallback =
116private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitTerminatingGracefullyCallback =
132private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitTerminatedGracefullyCallback =
148private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidCircuitIdCallback =
173private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __CreatedCircuitCallback =
198private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InitializationStartedCallback =
214private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InitializationSucceededCallback =
230private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InitializationFailedCallback =
238public static partial void InitializationFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
246private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __DisposeStartedCallback =
262private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __DisposeSucceededCallback =
278private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __DisposeFailedCallback =
286public static partial void DisposeFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
294private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitOpenedCallback =
310private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __ConnectionUpCallback =
326private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __ConnectionDownCallback =
342private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitClosedCallback =
358private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, string, global::System.Exception?> __CircuitHandlerFailedCallback =
366private static partial void CircuitHandlerFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type handlerType, string handlerMethod, string message, global::System.Exception exception)
374private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UpdateRootComponentsStartedCallback =
390private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UpdateRootComponentsSucceededCallback =
406private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UpdateRootComponentsFailedCallback =
414public static partial void UpdateRootComponentsFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
422private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitUnhandledExceptionCallback =
430public static partial void CircuitUnhandledException(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
438private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitTransmittingClientErrorCallback =
454private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitTransmittedClientErrorSuccessCallback =
470private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitTransmitErrorFailedCallback =
478public static partial void CircuitTransmitErrorFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
486private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __UnhandledExceptionClientDisconnectedCallback =
494public static partial void UnhandledExceptionClientDisconnected(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
502private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidComponentTypeForUpdateCallback =
518private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DispatchEventFailedToParseEventDataCallback =
526public static partial void DispatchEventFailedToParseEventData(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
534private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DispatchEventFailedToDispatchEventCallback =
542public static partial void DispatchEventFailedToDispatchEvent(global::Microsoft.Extensions.Logging.ILogger logger, string eventHandlerId, global::System.Exception ex)
550private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __BeginInvokeDotNetCallback =
566private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __BeginInvokeDotNetFailedCallback =
574private static partial void BeginInvokeDotNetFailed(global::Microsoft.Extensions.Logging.ILogger logger, string methodIdentifier, long dotNetObjectId, string callId, global::System.Exception exception)
582private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndInvokeDispatchExceptionCallback =
590public static partial void EndInvokeDispatchException(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
598private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, string, global::System.Exception?> __EndInvokeJSFailedCallback =
614private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __EndInvokeJSSucceededCallback =
630private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __LocationChangeCallback =
646private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __LocationChangeSucceededCallback =
662private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __LocationChangeFailedCallback =
670public static partial void LocationChangeFailed(global::Microsoft.Extensions.Logging.ILogger logger, string uri, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
678private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __LocationChangingCallback =
694private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __OnRenderCompletedFailedCallback =
702public static partial void OnRenderCompletedFailed(global::Microsoft.Extensions.Logging.ILogger logger, long renderId, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception e)
710private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceiveByteArraySuccessCallback =
726private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceiveByteArrayExceptionCallback =
734public static partial void ReceiveByteArrayException(global::Microsoft.Extensions.Logging.ILogger logger, long id, global::System.Exception ex)
742private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceiveJSDataChunkExceptionCallback =
750public static partial void ReceiveJSDataChunkException(global::Microsoft.Extensions.Logging.ILogger logger, long streamId, global::System.Exception ex)
758private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __SendDotNetStreamExceptionCallback =
766public static partial void SendDotNetStreamException(global::Microsoft.Extensions.Logging.ILogger logger, long id, global::System.Exception ex)
774private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __BeginInvokeDotNetStaticCallback =
790private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __BeginInvokeDotNetStaticFailedCallback =
798private static partial void BeginInvokeDotNetStaticFailed(global::Microsoft.Extensions.Logging.ILogger logger, string methodIdentifier, string assembly, string callId, global::System.Exception exception)
806private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __LocationChangeFailedInCircuitCallback =
814public static partial void LocationChangeFailedInCircuit(global::Microsoft.Extensions.Logging.ILogger logger, string uri, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
822private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __FailedToSaveStateToClientCallback =
830public static partial void FailedToSaveStateToClient(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
838private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ServerPauseRequestedCallback =
854private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ServerPauseAcceptedCallback =
870private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ServerPauseRejectedCallback =
886private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ServerPauseFailedCallback =
894public static partial void ServerPauseFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
911private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnhandledExceptionDisposingCircuitHostCallback =
919private static partial void UnhandledExceptionDisposingCircuitHost(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
927private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ExceptionDisposingTokenSourceCallback =
935private static partial void ExceptionDisposingTokenSource(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
943private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitConnectStartedCallback =
959private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __FailedToFindCircuitCallback =
975private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __ConnectingToActiveCircuitCallback =
991private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __ConnectingToDisconnectedCircuitCallback =
1007private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __FailedToReconnectToCircuitCallback =
1015public static partial void FailedToReconnectToCircuit(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1023private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __CircuitDisconnectStartedCallback =
1039private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitNotActiveCallback =
1055private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __CircuitConnectedToDifferentConnectionCallback =
1071private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitMarkedDisconnectedCallback =
1087private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::Microsoft.Extensions.Caching.Memory.EvictionReason, global::System.Exception?> __CircuitEvictedCallback =
1103private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitDisconnectedPermanentlyCallback =
1119private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitExceptionHandlerFailedCallback =
1127public static partial void CircuitExceptionHandlerFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1135private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ReconnectionSucceededCallback =
1170public static readonly global::System.Func<__PersistedCircuitStateDiscardedStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1214private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __CircuitPauseStartedCallback =
1230private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __CircuitPauseFailedCallback =
1255private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::Microsoft.Extensions.Caching.Memory.EvictionReason, global::System.Exception?> __CircuitStateEvictedCallback =
1271private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitResumeStartedCallback =
1287private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __FailedToFindCircuitStateCallback =
1303private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitStateFoundCallback =
1319private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ExceptionDisposingTokenSourceCallback =
1327public static partial void ExceptionDisposingTokenSource(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
1335private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitPauseStartedCallback =
1360private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, global::System.Exception?> __CircuitStateEvictedCallback =
1376private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitResumeStartedCallback =
1392private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __FailedToFindCircuitStateCallback =
1408private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitStateFoundCallback =
1424private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ExceptionDisposingTokenSourceCallback =
1432public static partial void ExceptionDisposingTokenSource(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
1440private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitPauseStartedCallback =
1456private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ExceptionPersistingCircuitCallback =
1464public static partial void ExceptionPersistingCircuit(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1472private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ExceptionRestoringCircuitCallback =
1480public static partial void ExceptionRestoringCircuit(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1488private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ExceptionDuringExpirationCallback =
1496public static partial void ExceptionDuringExpiration(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1504private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __ExceptionRemovingExpiredCircuitCallback =
1512public static partial void ExceptionRemovingExpiredCircuit(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId circuitId, global::System.Exception exception)
1529private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ExceptionCaughtByErrorBoundaryCallback =
1537public static partial void ExceptionCaughtByErrorBoundary(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
1554private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, string, global::System.Exception?> __BeginInvokeJSCallback =
1570private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string?, global::System.Exception?> __InvokeStaticDotNetMethodExceptionCallback =
1578private static partial void InvokeStaticDotNetMethodException(global::Microsoft.Extensions.Logging.ILogger logger, string assemblyName, string methodIdentifier, string? callbackId, global::System.Exception exception)
1586private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string?, global::System.Exception?> __InvokeInstanceDotNetMethodExceptionCallback =
1594private static partial void InvokeInstanceDotNetMethodException(global::Microsoft.Extensions.Logging.ILogger logger, string methodIdentifier, long dotNetObjectReference, string? callbackId, global::System.Exception exception)
1602private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string?, global::System.Exception?> __InvokeStaticDotNetMethodSuccessCallback =
1618private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string?, global::System.Exception?> __InvokeInstanceDotNetMethodSuccessCallback =
1643private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, bool, bool, global::System.Exception?> __RequestingNavigationCallback =
1659private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, bool, global::System.Exception?> __ReceivedLocationChangedNotificationCallback =
1675private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationCanceledCallback =
1691private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationFailedCallback =
1699public static partial void NavigationFailed(global::Microsoft.Extensions.Logging.ILogger logger, string uri, global::System.Exception exception)
1707private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RefreshFailedCallback =
1715public static partial void RefreshFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
1723private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestingNotFoundCallback =
1739private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationCompletedCallback =
1755private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NavigationStoppedSessionEndedCallback =
1780private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnhandledExceptionRenderingComponentCallback =
1788private static partial void UnhandledExceptionRenderingComponent(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
1796private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, int, string, global::System.Exception?> __BeginUpdateDisplayAsyncCallback =
1812private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __BufferingRenderDisconnectedClientCallback =
1828private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __SendBatchDataFailedCallback =
1836private static partial void SendBatchDataFailed(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
1844private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, string, double, global::System.Exception?> __CompletingBatchWithErrorCallback =
1860private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, double, global::System.Exception?> __CompletingBatchWithoutErrorCallback =
1876private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedDuplicateBatchAckCallback =
1892private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FullUnacknowledgedRenderBatchesQueueCallback =
1917private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedConfirmationForBatchCallback =
1933private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, global::System.Exception?> __CircuitAlreadyInitializedCallback =
1949private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CircuitHostNotInitializedCallback =
1965private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CircuitHostShutdownCallback =
1981private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidInputDataCallback =
1997private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CircuitInitializationFailedCallback =
2005public static partial void CircuitInitializationFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
2013private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.Server.Circuits.CircuitId, string, string, global::System.Exception?> __CreatedCircuitCoreCallback =
2029private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidCircuitIdCoreCallback =
2045private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ResumeInvalidCircuitIdCoreCallback =
2070private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ParameterValuesInvalidFormatCallback =
2086private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __IncompleteParameterDefinitionCallback =
2102private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __InvalidParameterTypeCallback =
2118private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __InvalidParameterValueCallback =
2126internal static partial void InvalidParameterValue(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Server.ComponentParameterDeserializer> logger, string name, string typeName, string assembly, global::System.Exception e)
2134private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToParseParameterDefinitionsCallback =
2142internal static partial void FailedToParseParameterDefinitions(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Server.ComponentParameterDeserializer> logger, global::System.Exception e)
2150private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToParseParameterValuesCallback =
2158internal static partial void FailedToParseParameterValues(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Server.ComponentParameterDeserializer> logger, global::System.Exception e)
2166private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, int, global::System.Exception?> __MismatchedParameterAndDefinitionsCallback =
2182private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MissingParameterDefinitionNameCallback =
2207private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToDeserializeDescriptorCallback =
2215public static partial void FailedToDeserializeDescriptor(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer> logger, global::System.Exception e)
2223private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FailedToFindComponentCallback =
2239private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToUnprotectDescriptorCallback =
2247public static partial void FailedToUnprotectDescriptor(global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Components.Server.ServerComponentDeserializer> logger, global::System.Exception e)
2255private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidMarkerTypeCallback =
2271private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MissingMarkerDescriptorCallback =
2287private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __MismatchedInvocationIdCallback =
2303private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, int, global::System.Exception?> __OutOfSequenceDescriptorCallback =
2319private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __DescriptorSequenceMustStartAtZeroCallback =
2335private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ExpiredInvocationIdCallback =
2351private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __ReusedDescriptorSequenceCallback =
2367private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Components.RootComponentOperationType, string, global::System.Exception?> __InvalidRootComponentOperationCallback =
2383private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToProcessRootComponentOperationsCallback =
2391public static partial void FailedToProcessRootComponentOperations(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
2399private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InvalidRootComponentKeyCallback =
Circuits\CircuitHost.cs (54)
181catch (Exception ex)
243catch (Exception ex)
259List<Exception> exceptions = null;
268catch (Exception ex)
271exceptions ??= new List<Exception>();
291List<Exception> exceptions = null;
300catch (Exception ex)
303exceptions ??= new List<Exception>();
327List<Exception> exceptions = null;
336catch (Exception ex)
339exceptions ??= new List<Exception>();
355List<Exception> exceptions = null;
364catch (Exception ex)
367exceptions ??= new List<Exception>();
390catch (Exception e)
416catch (Exception ex)
450catch (Exception ex)
475catch (Exception ex)
499catch (Exception ex)
519catch (Exception ex)
549catch (Exception ex)
594catch (Exception ex)
619catch (Exception ex)
703private async void ReportAndInvoke_UnhandledException(object sender, Exception e)
713await ReportUnhandledException((Exception)e.ExceptionObject);
717private async Task ReportUnhandledException(Exception exception)
724private string GetClientErrorMessage(Exception exception, string additionalInformation = null)
740private async Task TryNotifyClientErrorAsync(IClientProxy client, string error, Exception exception = null)
757catch (Exception ex)
849catch (Exception ex)
1003catch (Exception ex)
1023catch (Exception ex)
1042public static partial void InitializationFailed(ILogger logger, Exception exception);
1051public static partial void DisposeFailed(ILogger logger, CircuitId circuitId, Exception exception);
1066private static partial void CircuitHandlerFailed(ILogger logger, Type handlerType, string handlerMethod, string message, Exception exception);
1075public static partial void UpdateRootComponentsFailed(ILogger logger, Exception exception);
1077public static void CircuitHandlerFailed(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception)
1088public static partial void CircuitUnhandledException(ILogger logger, CircuitId circuitId, Exception exception);
1097public static partial void CircuitTransmitErrorFailed(ILogger logger, CircuitId circuitId, Exception exception);
1100public static partial void UnhandledExceptionClientDisconnected(ILogger logger, CircuitId circuitId, Exception exception);
1106public static partial void DispatchEventFailedToParseEventData(ILogger logger, Exception ex);
1109public static partial void DispatchEventFailedToDispatchEvent(ILogger logger, string eventHandlerId, Exception ex);
1115private static partial void BeginInvokeDotNetFailed(ILogger logger, string methodIdentifier, long dotNetObjectId, string callId, Exception exception);
1118public static partial void EndInvokeDispatchException(ILogger logger, Exception ex);
1133public static partial void LocationChangeFailed(ILogger logger, string uri, CircuitId circuitId, Exception exception);
1139public static partial void OnRenderCompletedFailed(ILogger logger, long renderId, CircuitId circuitId, Exception e);
1145public static partial void ReceiveByteArrayException(ILogger logger, long id, Exception ex);
1148public static partial void ReceiveJSDataChunkException(ILogger logger, long streamId, Exception ex);
1151public static partial void SendDotNetStreamException(ILogger logger, long id, Exception ex);
1169private static partial void BeginInvokeDotNetStaticFailed(ILogger logger, string methodIdentifier, string assembly, string callId, Exception exception);
1171public static void BeginInvokeDotNetFailed(ILogger logger, string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, Exception exception)
1184public static partial void LocationChangeFailedInCircuit(ILogger logger, string uri, CircuitId circuitId, Exception exception);
1187public static partial void FailedToSaveStateToClient(ILogger logger, CircuitId circuitId, Exception exception);
1199public static partial void ServerPauseFailed(ILogger logger, CircuitId circuitId, Exception exception);
Circuits\CircuitRegistry.cs (11)
221catch (Exception ex)
302catch (Exception ex)
333catch (Exception)
373catch (Exception ex)
416catch (Exception ex)
438private static partial void UnhandledExceptionDisposingCircuitHost(ILogger logger, string message, Exception exception);
440public static void UnhandledExceptionDisposingCircuitHost(ILogger logger, Exception exception)
444private static partial void ExceptionDisposingTokenSource(ILogger logger, string message, Exception exception);
446public static void ExceptionDisposingTokenSource(ILogger logger, Exception exception)
462public static partial void FailedToReconnectToCircuit(ILogger logger, CircuitId circuitId, Exception exception = null);
483public static partial void CircuitExceptionHandlerFailed(ILogger logger, CircuitId circuitId, Exception exception);
Circuits\RemoteJSRuntime.cs (5)
38public event EventHandler<Exception>? UnhandledException;
60internal void RaiseUnhandledException(Exception ex)
247private static partial void InvokeStaticDotNetMethodException(ILogger logger, string assemblyName, string methodIdentifier, string? callbackId, Exception exception);
250private static partial void InvokeInstanceDotNetMethodException(ILogger logger, string methodIdentifier, long dotNetObjectReference, string? callbackId, Exception exception);
258internal static void InvokeDotNetMethodException(ILogger logger, in DotNetInvocationInfo invocationInfo, Exception exception)
Microsoft.AspNetCore.Components.Web (18)
_generated\0\LoggerMessage.g.cs (6)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __BeginLoadCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CacheHitCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamStartCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LoadSuccessCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LoadFailedCallback =
83public static partial void LoadFailed(global::Microsoft.Extensions.Logging.ILogger logger, string cacheKey, global::System.Exception exception)
Microsoft.AspNetCore.Components.WebView.Maui (7)
Microsoft.AspNetCore.Components.WebView.WindowsForms (8)
Microsoft.AspNetCore.Components.WebView.Wpf (6)
Microsoft.AspNetCore.Connections.Abstractions (7)
Microsoft.AspNetCore.CookiePolicy (9)
_generated\0\LoggerMessage.g.cs (9)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, bool, global::System.Exception?> __NeedsConsentCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, bool, global::System.Exception?> __HasConsentCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConsentGrantedCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConsentWithdrawnCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CookieSuppressedCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DeleteCookieSuppressedCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CookieUpgradedToSecureCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __CookieSameSiteUpgradedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CookieUpgradedToHttpOnlyCallback =
Microsoft.AspNetCore.Cors (14)
_generated\0\LoggerMessage.g.cs (12)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __IsPreflightRequestCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestHasOriginHeaderCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestDoesNotHaveOriginHeaderCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __PolicySuccessCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __PolicyFailureCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __OriginNotAllowedCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AccessControlMethodNotAllowedCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestHeaderNotAllowedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToSetCorsHeadersCallback =
145public static partial void FailedToSetCorsHeaders(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception)
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoCorsPolicyFoundCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __IsNotPreflightRequestCallback =
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.DataProtection (145)
_generated\0\LoggerMessage.g.cs (94)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.DateTimeOffset, global::System.Exception?> __UsingFallbackKeyWithExpirationAsDefaultKeyCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __UsingKeyAsDefaultKeyCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __OpeningCNGAlgorithmFromProviderWithHMACCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __OpeningCNGAlgorithmFromProviderWithChainingModeCBCCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, string, global::System.Exception?> __PerformingUnprotectOperationToKeyWithPurposesCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyWasNotFoundInTheKeyRingUnprotectOperationCannotProceedCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyWasRevokedCallerRequestedUnprotectOperationProceedRegardlessCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyWasRevokedUnprotectOperationCannotProceedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __OpeningCNGAlgorithmFromProviderWithChainingModeGCMCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingManagedKeyedHashAlgorithmCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingManagedSymmetricAlgorithmCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, string, global::System.Exception?> __KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailedCallback =
193public static partial void KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Guid keyId, string methodName, global::System.Exception exception)
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.DateTimeOffset, global::System.Exception?> __ConsideringKeyWithExpirationDateAsDefaultKeyCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyIsNoLongerUnderConsiderationAsDefaultCallback =
233private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Xml.Linq.XName, global::System.Exception?> __UnknownElementWithNameFoundInKeyringSkippingCallback =
249private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __MarkedKeyAsRevokedInTheKeyringCallback =
265private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __TriedToProcessRevocationOfKeyButNoSuchKeyWasFoundCallback =
281private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __FoundKeyCallback =
297private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.Exception?> __FoundRevocationOfAllKeysCreatedPriorToCallback =
313private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __FoundRevocationOfKeyCallback =
329private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Xml.Linq.XElement, global::System.Exception?> __ExceptionWhileProcessingRevocationElementCallback =
337public static partial void ExceptionWhileProcessingRevocationElement(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Xml.Linq.XElement revocationElement, global::System.Exception exception)
345private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, string?, global::System.Exception?> __RevokingAllKeysAsOfForReasonCallback =
361private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __KeyCacheExpirationTokenTriggeredByOperationCallback =
377private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Xml.Linq.XElement, global::System.Exception?> __ExceptionWhileProcessingKeyElementCallback =
385public static partial void ExceptionWhileProcessingKeyElement(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Xml.Linq.XElement element, global::System.Exception exception)
393private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Xml.Linq.XElement, global::System.Exception?> __AnExceptionOccurredWhileProcessingElementDebugCallback =
401public static partial void AnExceptionOccurredWhileProcessingElementDebug(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Xml.Linq.XElement element, global::System.Exception exception)
409private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __EncryptingToWindowsDPAPIForCurrentUserAccountCallback =
425private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AnErrorOccurredWhileEncryptingToX509CertificateWithThumbprintCallback =
433public static partial void AnErrorOccurredWhileEncryptingToX509CertificateWithThumbprint(this global::Microsoft.Extensions.Logging.ILogger logger, string thumbprint, global::System.Exception exception)
441private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __EncryptingToX509CertificateWithThumbprintCallback =
457private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ExceptionWhileTryingToResolveCertificateWithThumbprintCallback =
465public static partial void ExceptionWhileTryingToResolveCertificateWithThumbprint(this global::Microsoft.Extensions.Logging.ILogger logger, string thumbprint, global::System.Exception exception)
473private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, string, global::System.Exception?> __PerformingProtectOperationToKeyWithPurposesCallback =
489private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, string, global::System.Exception?> __DescriptorDeserializerTypeForKeyIsCallback =
505private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyEscrowSinkFoundWritingKeyToEscrowCallback =
521private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __NoKeyEscrowSinkFoundNotWritingKeyToEscrowCallback =
537private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedFormCallback =
553private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.DateTimeOffset, string?, global::System.Exception?> __RevokingKeyForReasonCallback =
569private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ReadingDataFromFileCallback =
585private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __NameIsNotSafeFileNameCallback =
601private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WritingDataToFileCallback =
617private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Win32.RegistryKey, string, global::System.Exception?> __ReadingDataFromRegistryKeyValueCallback =
633private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __NameIsNotSafeRegistryValueNameCallback =
649private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __DecryptingSecretElementUsingWindowsDPAPINGCallback =
665private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __EncryptingToWindowsDPAPINGUsingProtectionDescriptorRuleCallback =
681private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ExceptionOccurredTryingToDecryptElementCallback =
689public static partial void ExceptionOccurredTryingToDecryptElement(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
697private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EncryptingUsingNullEncryptorCallback =
713private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UsingEphemeralDataProtectionProviderCallback =
729private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ExistingCachedKeyRingIsExpiredCallback =
745private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorOccurredWhileRefreshingKeyRingCallback =
753public static partial void ErrorOccurredWhileRefreshingKeyRing(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
761private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorOccurredWhileReadingKeyRingCallback =
769public static partial void ErrorOccurredWhileReadingKeyRing(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
777private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __KeyRingDoesNotContainValidDefaultKeyCallback =
793private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UsingInmemoryRepositoryCallback =
809private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DecryptingSecretElementUsingWindowsDPAPICallback =
825private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DefaultKeyExpirationImminentAndRepositoryCallback =
841private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RepositoryContainsNoViableDefaultKeyCallback =
857private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorOccurredWhileEncryptingToWindowsDPAPICallback =
865public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPI(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
873private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EncryptingToWindowsDPAPIForLocalMachineAccountCallback =
889private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorOccurredWhileEncryptingToWindowsDPAPINGCallback =
897public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPING(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
905private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __PolicyResolutionStatesThatANewKeyShouldBeAddedToTheKeyRingCallback =
921private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.Exception?> __CreatingKeyCallback =
937private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UsingEphemeralKeyRepositoryCallback =
953private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingRegistryAsKeyRepositoryWithDPAPICallback =
969private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingProfileAsKeyRepositoryCallback =
985private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingProfileAsKeyRepositoryWithDPAPICallback =
1001private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingAzureAsKeyRepositoryCallback =
1017private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyRingWasLoadedOnStartupCallback =
1033private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __KeyRingFailedToLoadOnStartupCallback =
1041public static partial void KeyRingFailedToLoadOnStartup(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception innerException)
1049private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingEphemeralFileSystemLocationInContainerCallback =
1065private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __IgnoringReadOnlyConfigurationForNonDefaultOptionsCallback =
1081private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UsingReadOnlyKeyConfigurationCallback =
1097private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotUsingReadOnlyKeyConfigurationBecauseOfRepositoryCallback =
1113private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotUsingReadOnlyKeyConfigurationBecauseOfEncryptorCallback =
1129private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyRingDefaultKeyIsRevokedCallback =
1145private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, string, global::System.Exception?> __RetryingMethodOfKeyAfterFailureCallback =
1153public static partial void RetryingMethodOfKeyAfterFailure(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Guid keyId, string methodName, global::System.Exception exception)
1161private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DeletingFileCallback =
1177private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToDeleteFileCallback =
1185public static partial void FailedToDeleteFile(this global::Microsoft.Extensions.Logging.ILogger logger, string fileName, global::System.Exception exception)
1193private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Win32.RegistryKey, string, global::System.Exception?> __RemovingDataFromRegistryKeyValueCallback =
1209private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Win32.RegistryKey, string, global::System.Exception?> __FailedToRemoveDataFromRegistryKeyValueCallback =
1217public static partial void FailedToRemoveDataFromRegistryKeyValue(this global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.Win32.RegistryKey registryKeyName, string valueName, global::System.Exception exception)
1225private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __KeyRevokedMultipleTimesCallback =
1241private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.Exception?> __DateBasedRevocationSupersededCallback =
1257private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Guid, global::System.Exception?> __DeletingKeyCallback =
LoggingExtensions.cs (15)
77public static partial void KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed(this ILogger logger, Guid keyId, string methodName, Exception exception);
104public static partial void ExceptionWhileProcessingRevocationElement(this ILogger logger, XElement revocationElement, Exception exception);
113public static partial void ExceptionWhileProcessingKeyElement(this ILogger logger, XElement element, Exception exception);
116public static partial void AnExceptionOccurredWhileProcessingElementDebug(this ILogger logger, XElement element, Exception exception);
122public static partial void AnErrorOccurredWhileEncryptingToX509CertificateWithThumbprint(this ILogger logger, string thumbprint, Exception exception);
128public static partial void ExceptionWhileTryingToResolveCertificateWithThumbprint(this ILogger logger, string thumbprint, Exception exception);
170public static partial void ExceptionOccurredTryingToDecryptElement(this ILogger logger, Exception exception);
182public static partial void ErrorOccurredWhileRefreshingKeyRing(this ILogger logger, Exception exception);
185public static partial void ErrorOccurredWhileReadingKeyRing(this ILogger logger, Exception exception);
203public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPI(this ILogger logger, Exception exception);
209public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPING(this ILogger logger, Exception exception);
236public static partial void KeyRingFailedToLoadOnStartup(this ILogger logger, Exception innerException);
257public static partial void RetryingMethodOfKeyAfterFailure(this ILogger logger, Guid keyId, string methodName, Exception exception);
263public static partial void FailedToDeleteFile(this ILogger logger, string fileName, Exception exception);
269public static partial void FailedToRemoveDataFromRegistryKeyValue(this ILogger logger, RegistryKey registryKeyName, string valueName, Exception exception);
Microsoft.AspNetCore.DataProtection.Abstractions (5)
Microsoft.AspNetCore.DataProtection.Extensions (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (28)
Microsoft.AspNetCore.Diagnostics (43)
_generated\0\LoggerMessage.g.cs (11)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseStartedErrorPageMiddlewareCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DisplayErrorPageExceptionCallback =
33public static partial void DisplayErrorPageException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
47private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnhandledExceptionCallback =
55public static partial void UnhandledException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
63private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestAbortedExceptionCallback =
79private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseStartedErrorHandlerCallback =
95private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorHandlerExceptionCallback =
103public static partial void ErrorHandlerException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
117private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToReadStackTraceInfoCallback =
125public static partial void FailedToReadStackTraceInfo(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Microsoft.AspNetCore.Diagnostics.Abstractions (3)
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Microsoft.AspNetCore.HeaderParsing (2)
Microsoft.AspNetCore.HostFiltering (8)
_generated\0\LoggerMessage.g.cs (8)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WildcardDetectedCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AllowedHostsCallback =
38private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AllHostsAllowedCallback =
54private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestRejectedMissingHostCallback =
70private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestAllowedMissingHostCallback =
86private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AllowedHostMatchedCallback =
102private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoAllowedHostMatchedCallback =
118private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __MiddlewareConfigurationStartedCallback =
Microsoft.AspNetCore.Hosting (63)
_generated\0\LoggerMessage.g.cs (10)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ListeningOnAddressCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StartupAssemblyLoadedCallback =
49private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartingCallback =
65private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartedCallback =
81private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ShutdownCallback =
97private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ServerShutdownExceptionCallback =
105public static partial void ServerShutdownException(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
113private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StartupAssemblyLoadedCallback =
133private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToReadStackTraceInfoCallback =
141public static partial void FailedToReadStackTraceInfo(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Internal\HostingApplicationDiagnostics.cs (6)
155public void RequestEnd(HttpContext httpContext, Exception? exception, HostingApplication.Context context)
340private void RecordUnhandledExceptionDiagnostics(HttpContext httpContext, long currentTimestamp, Exception exception)
377internal UnhandledExceptionData(HttpContext httpContext, long timestamp, Exception exception)
387public Exception exception { get; }
504private void StopActivity(HttpContext httpContext, Activity activity, Exception? exception, bool hasDiagnosticListener)
521private static void SetActivityEndTags(HttpContext httpContext, Activity activity, Exception? exception)
Internal\HostingMetrics.cs (1)
45public void RequestEnd(string protocol, string scheme, string method, string? route, int statusCode, bool unhandledRequest, Exception? exception, List<KeyValuePair<string, object?>>? customTags, long startTimestamp, long currentTimestamp, bool disableHttpRequestDurationMetric)
Microsoft.AspNetCore.Hosting.Server.Abstractions (1)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Abstractions (3)
Microsoft.AspNetCore.Http.Connections (89)
_generated\0\LoggerMessage.g.cs (68)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DisposingConnectionCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WaitingForApplicationCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ApplicationCompleteCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __WaitingForTransportCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __TransportCompleteCallback =
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __ShuttingDownTransportAndApplicationCallback =
107private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __WaitingForTransportAndApplicationCallback =
123private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __TransportAndApplicationCompleteCallback =
139private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, string, global::System.Exception?> __TransportSendTimeoutCallback =
164private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionDisposedCallback =
180private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ConnectionAlreadyActiveCallback =
196private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __PollCanceledCallback =
212private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EstablishedConnectionCallback =
228private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResumingConnectionCallback =
244private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedBytesCallback =
260private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __TransportNotSupportedCallback =
276private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __CannotChangeTransportCallback =
292private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __PostNotAllowedForWebSocketsCallback =
308private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NegotiationRequestCallback =
324private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __ReceivedDeleteRequestForUnsupportedTransportCallback =
340private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TerminatingConnectionCallback =
356private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionDisposedWhileWriteInProgressCallback =
364public static partial void ConnectionDisposedWhileWriteInProgress(global::Microsoft.Extensions.Logging.ILogger logger, string transportConnectionId, global::System.Exception ex)
372private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToReadHttpRequestBodyCallback =
380public static partial void FailedToReadHttpRequestBody(global::Microsoft.Extensions.Logging.ILogger logger, string transportConnectionId, global::System.Exception ex)
388private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __NegotiateProtocolVersionMismatchCallback =
404private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidNegotiateProtocolVersionCallback =
420private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __UserNameChangedInternalCallback =
436private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotifyOnReconnectErrorCallback =
444public static partial void NotifyOnReconnectError(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
461private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreatedNewConnectionCallback =
477private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedConnectionCallback =
493private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedDisposeCallback =
501public static partial void FailedDispose(global::Microsoft.Extensions.Logging.ILogger logger, string transportConnectionId, global::System.Exception exception)
509private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionTimedOutCallback =
525private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionResetCallback =
533public static partial void ConnectionReset(global::Microsoft.Extensions.Logging.ILogger logger, string transportConnectionId, global::System.Exception exception)
541private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ScanningConnectionsFailedCallback =
549public static partial void ScanningConnectionsFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
557private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HeartBeatStartedCallback =
573private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HeartBeatEndedCallback =
589private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AuthenticationExpiredCallback =
614private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __LongPolling204Callback =
630private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __PollTimedOutCallback =
646private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __LongPollingWritingMessageCallback =
662private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __LongPollingDisconnectedCallback =
678private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __LongPollingTerminatedCallback =
686public static partial void LongPollingTerminated(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
703private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __SSEWritingMessageCallback =
728private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __SocketOpenedCallback =
744private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SocketClosedCallback =
760private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.WebSockets.WebSocketCloseStatus?, string, global::System.Exception?> __ClientClosedCallback =
776private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WaitingForSendCallback =
792private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedSendingCallback =
808private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FinishedSendingCallback =
824private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WaitingForCloseCallback =
840private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CloseTimedOutCallback =
856private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.WebSockets.WebSocketMessageType, int, bool, global::System.Exception?> __MessageReceivedCallback =
872private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __MessageToApplicationCallback =
888private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __SendPayloadCallback =
904private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorWritingFrameCallback =
912public static partial void ErrorWritingFrame(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
920private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ClosedPrematurelyCallback =
928public static partial void ClosedPrematurely(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
936private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ClosingWebSocketFailedCallback =
944public static partial void ClosingWebSocketFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
952private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendErroredCallback =
960public static partial void SendErrored(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Microsoft.AspNetCore.Http.Connections.Common (1)
Microsoft.AspNetCore.Http.Extensions (58)
_generated\0\LoggerMessage.g.cs (42)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotResolveConverterCallback =
19public static partial void CannotResolveConverter(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type type, global::System.Exception? ex)
36private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __StartResolveMetadataGraphCallback =
52private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __EndResolveMetadataGraphCallback =
68private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataFoundCallback =
84private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoMetadataFoundCallback =
100private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __RecursiveTypeFoundCallback =
116private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __PrimitiveTypeCallback =
132private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __DictionaryTypeCallback =
148private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CollectionTypeCallback =
164private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __ObjectTypeCallback =
180private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __ConstructorFoundCallback =
221public static readonly global::System.Func<__ConstructorParameterStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
267private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __CandidatePropertyCallback =
305public static readonly global::System.Func<__MatchingConstructorParameterFoundStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
372public static readonly global::System.Func<__CustomParameterNameMetadataStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
417private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __IgnoredPropertyCallback =
433private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NonPublicSetterCallback =
449private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PropertyRequiredCallback =
465private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MetadataComputedCallback =
481private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __GenericTypeDefinitionNotSupportedCallback =
497private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __MultiplePublicConstructorsFoundCallback =
513private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __InterfacesNotSupportedCallback =
529private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __AbstractClassesNotSupportedCallback =
545private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NoPublicConstructorFoundCallback =
561private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __ConstructorParameterTypeNotSupportedCallback =
577private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Type, global::System.Exception?> __PropertyTypeNotSupportedCallback =
602private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestBodyIOExceptionCallback =
618private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidJsonRequestBodyCallback =
626private static partial void InvalidJsonRequestBody(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
634private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __ParameterBindingFailedCallback =
650private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __RequiredParameterNotProvidedCallback =
666private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ImplicitBodyNotProvidedCallback =
682private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedJsonContentTypeCallback =
698private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedNonFormContentTypeCallback =
714private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidFormRequestBodyCallback =
722private static partial void InvalidFormRequestBody(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
730private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __InvalidAntiforgeryTokenCallback =
738private static partial void InvalidAntiforgeryToken(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
746private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FormDataMappingFailedCallback =
754private static partial void FormDataMappingFailed(global::Microsoft.Extensions.Logging.ILogger logger, string parameterType, string parameterName, global::System.Exception exception)
762private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __UnexpectedRequestWithoutBodyCallback =
RequestDelegateFactory.cs (7)
2733public static void InvalidJsonRequestBody(HttpContext httpContext, string parameterTypeName, string parameterName, Exception exception, bool shouldThrow)
2745private static partial void InvalidJsonRequestBody(ILogger logger, string parameterType, string parameterName, Exception exception);
2817public static void InvalidFormRequestBody(HttpContext httpContext, string parameterTypeName, string parameterName, Exception exception, bool shouldThrow)
2829private static partial void InvalidFormRequestBody(ILogger logger, string parameterType, string parameterName, Exception exception);
2831public static void InvalidAntiforgeryToken(HttpContext httpContext, string parameterTypeName, string parameterName, Exception exception, bool shouldThrow)
2843private static partial void InvalidAntiforgeryToken(ILogger logger, string parameterType, string parameterName, Exception exception);
2857private static partial void FormDataMappingFailed(ILogger logger, string parameterType, string parameterName, Exception exception);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
243catch (Exception ex)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CompiledComplexTypeConverter.cs (1)
23catch (Exception ex)
Microsoft.AspNetCore.Http.Features (3)
Microsoft.AspNetCore.Http.Results (16)
_generated\0\LoggerMessage.g.cs (16)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __ChallengeResultExecutingCallback =
33private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __ForbidResultExecutingCallback =
55private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RedirectResultExecutingCallback =
80private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __RedirectToRouteResultExecutingCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Security.Claims.ClaimsPrincipal, global::System.Exception?> __SignInResultExecutingCallback =
130private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __SignOutResultExecutingCallback =
152private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __WritingResultAsStatusCodeCallback =
168private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WritingResultAsContentCallback =
184private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WritingResultAsJsonCallback =
200private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WritingResultAsFileCallback =
225private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
241private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __IfMatchPreconditionFailedCallback =
257private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset?, global::System.DateTimeOffset?, global::System.Exception?> __IfUnmodifiedSincePreconditionFailedCallback =
273private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset?, global::System.DateTimeOffset?, global::System.Exception?> __IfRangeLastModifiedPreconditionFailedCallback =
289private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __IfRangeETagPreconditionFailedCallback =
305private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotEnabledForRangeProcessingCallback =
Microsoft.AspNetCore.HttpLogging (20)
_generated\0\LoggerMessage.g.cs (12)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WriteMessagesFailedCallback =
19public static partial void WriteMessagesFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreateDirectoryFailedCallback =
35public static partial void CreateDirectoryFailed(global::Microsoft.Extensions.Logging.ILogger logger, string path, global::System.Exception ex)
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MaxFilesReachedCallback =
66private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyCallback =
82private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ResponseBodyCallback =
98private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DecodeFailureCallback =
106public static partial void DecodeFailure(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
114private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnrecognizedMediaTypeCallback =
130private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoMediaTypeCallback =
146private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, double, global::System.Exception?> __DurationCallback =
Microsoft.AspNetCore.HttpOverrides (4)
Microsoft.AspNetCore.HttpsPolicy (7)
_generated\0\LoggerMessage.g.cs (7)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SkippingInsecureCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __SkippingExcludedHostCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AddingHstsHeaderCallback =
63private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RedirectingToHttpsCallback =
79private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __PortLoadedFromConfigCallback =
95private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToDeterminePortCallback =
111private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __PortFromServerCallback =
Microsoft.AspNetCore.Identity (48)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (10)
1559private static readonly Action<ILogger, Exception?> _requestBodyIOException =
1562public void InvalidJsonRequestBody(string parameterTypeName, string parameterName, Exception exception)
1576private static readonly Action<ILogger, string, string, Exception?> _invalidJsonRequestBody =
1593private static readonly Action<ILogger, string, string, string, Exception?> _parameterBindingFailed =
1610private static readonly Action<ILogger, string, string, string, Exception?> _requiredParameterNotProvided =
1627private static readonly Action<ILogger, string, Exception?> _implicitBodyNotProvided =
1644private static readonly Action<ILogger, string, Exception?> _unexpectedJsonContentType =
1661private static readonly Action<ILogger, string, Exception?> _unexpectedNonFormContentType =
1664public void InvalidFormRequestBody(string parameterTypeName, string parameterName, Exception exception)
1678private static readonly Action<ILogger, string, string, Exception?> _invalidFormRequestBody =
SignInManagerMetrics.cs (7)
66internal void CheckPasswordSignIn(string userType, SignInResult? result, Exception? exception = null)
83internal void AuthenticateSignIn(string userType, string authenticationScheme, SignInResult? result, SignInType signInType, bool? isPersistent, long startTimestamp, Exception? exception = null)
104internal void SignInUserPrincipal(string userType, string authenticationScheme, bool? isPersistent, Exception? exception = null)
122internal void SignOutUserPrincipal(string userType, string authenticationScheme, Exception? exception = null)
139internal void RememberTwoFactorClient(string userType, string authenticationScheme, Exception? exception = null)
156internal void ForgetTwoFactorClient(string userType, string authenticationScheme, Exception? exception = null)
194private static void AddErrorTag(ref TagList tags, Exception? exception)
Microsoft.AspNetCore.Localization (2)
Microsoft.AspNetCore.Mvc.Abstractions (39)
ModelBinding\ModelStateDictionary.cs (10)
97/// <see cref="AddModelError(string, Exception, ModelMetadata)"/> or
98/// <see cref="TryAddModelError(string, Exception, ModelMetadata)"/>.
199/// Where <see cref="ModelMetadata"/> is available, use <see cref="AddModelError(string, Exception, ModelMetadata)"/> instead.
202/// <param name="exception">The <see cref="Exception"/> to add.</param>
207public bool TryAddModelException(string key, Exception exception)
236/// <param name="exception">The <see cref="Exception"/> to add. Some exception types will be replaced with
239public void AddModelError(string key, Exception exception, ModelMetadata metadata)
255/// <param name="exception">The <see cref="Exception"/> to add. Some exception types will be replaced with
262public bool TryAddModelError(string key, Exception exception, ModelMetadata metadata)
677private void AddModelErrorCore(string key, Exception exception)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.Core (165)
_generated\0\LoggerMessage.g.cs (117)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __IfMatchPreconditionFailedCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset?, global::System.DateTimeOffset?, global::System.Exception?> __IfUnmodifiedSincePreconditionFailedCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset?, global::System.DateTimeOffset?, global::System.Exception?> __IfRangeLastModifiedPreconditionFailedCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __IfRangeETagPreconditionFailedCallback =
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotEnabledForRangeProcessingCallback =
116private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __ChallengeResultExecutingCallback =
138private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FeatureNotFoundCallback =
154private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FeatureIsReadOnlyCallback =
170private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestBodySizeLimitDisabledCallback =
186private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Type, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
211private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Type, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
236private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CannotApplyRequestFormLimitsCallback =
252private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AppliedRequestFormLimitsCallback =
268private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Type, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
293private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FeatureNotFoundCallback =
309private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FeatureIsReadOnlyCallback =
325private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __MaxRequestBodySizeSetCallback =
341private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Type, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
366private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Type, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
391private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __ForbidResultExecutingCallback =
413private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnsupportedFormatFilterContentTypeCallback =
429private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection, global::System.Exception?> __ActionDoesNotSupportFormatFilterContentTypeCallback =
445private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CannotApplyFormatFilterContentTypeCallback =
461private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ActionDoesNotExplicitlySpecifyContentTypesCallback =
486private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __JsonInputExceptionCallback =
502private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __JsonInputSuccessCallback =
527private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AmbiguousActionsCallback =
543private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string, global::Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint, global::System.Exception?> __ConstraintMismatchCallback =
593public static readonly global::System.Func<__TransformingClientErrorStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
648private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ContentResultExecutingCallback =
673private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ExecutingControllerFactoryCallback =
686private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ExecutedControllerFactoryCallback =
699private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState, global::System.Exception?> __ActionMethodExecutingCallback =
712private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?[], global::System.Exception?> __ActionMethodExecutingWithArgumentsCallback =
725private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, double, global::System.Exception?> __ActionMethodExecutedCallback =
747private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoActionDescriptorsCallback =
772private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter, string?, global::System.Exception?> __FormatterSelectedCallback =
785private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoAcceptForNegotiationCallback =
801private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IList<global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality>, global::System.Exception?> __NoFormatterFromNegotiationCallback =
817private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality>, global::System.Exception?> __SelectingOutputFormatterUsingAcceptHeaderCallback =
833private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality>, global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection, global::System.Exception?> __SelectingOutputFormatterUsingAcceptHeaderAndExplicitContentTypesCallback =
849private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SelectingOutputFormatterWithoutUsingContentTypesCallback =
865private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection, global::System.Exception?> __SelectingOutputFormatterUsingContentTypesCallback =
881private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SelectFirstCanWriteFormatterCallback =
897private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter>, global::System.Exception?> __RegisteredOutputFormattersCallback =
922private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutingFileResultWithNoFileNameCallback =
935private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
960private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutingFileResultWithNoFileNameCallback =
973private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
998private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LocalRedirectResultExecutingCallback =
1023private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ModelStateInvalidFilterExecutingCallback =
1048private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ObjectResultExecutingCallback =
1061private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.List<string?>, global::System.Exception?> __NoFormatterCallback =
1083private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __ExecutingFileResultCallback =
1096private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
1121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RedirectResultExecutingCallback =
1146private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RedirectToActionResultExecutingCallback =
1171private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __RedirectToPageResultExecutingCallback =
1196private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __RedirectToRouteResultExecutingCallback =
1221private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ActionExecutingCallback =
1234private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Reflection.MethodInfo, string, string?, global::System.Exception?> __ControllerActionExecutingCallback =
1247private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __PageExecutingCallback =
1260private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __AuthorizationFailureCallback =
1276private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __ResourceFilterShortCircuitedCallback =
1292private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __BeforeExecutingActionResultCallback =
1308private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __AfterExecutingActionResultCallback =
1324private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, double, global::System.Exception?> __PageExecutedCallback =
1337private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, double, global::System.Exception?> __ActionExecutedCallback =
1359private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __JsonResultExecutingCallback =
1381private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __ExecutingFileResultCallback =
1394private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WritingRangeToBodyCallback =
1419private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter, string?, global::System.Exception?> __InputFormatterSelectedCallback =
1432private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter, string?, global::System.Exception?> __InputFormatterRejectedCallback =
1445private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __NoInputFormatterSelectedCallback =
1458private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __RemoveFromBodyAttributeCallback =
1499public static readonly global::System.Func<__AttemptingToBindCollectionUsingIndicesStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1559public static readonly global::System.Func<__AttemptingToBindCollectionOfKeyValuePairStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1619public static readonly global::System.Func<__NoNonIndexBasedFormatFoundForCollectionStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1672private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __NoPublicSettableItemsCallback =
1688private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotBindToComplexTypeCallback =
1713private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __NoPublicSettablePropertiesCallback =
1729private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotBindToComplexTypeCallback =
1773public static readonly global::System.Func<__NoKeyValueFormatForDictionaryModelBinderStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1826private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoFilesFoundInRequestCallback =
1851private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __CannotCreateHeaderModelBinderCallback =
1876private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider[], global::System.Exception?> __RegisteredModelBinderProvidersCallback =
1901private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, global::System.Exception?> __AttemptingToBindParameterCallback =
1914private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, global::System.Exception?> __AttemptingToBindPropertyCallback =
1927private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToBindParameterCallback =
1940private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToBindPropertyCallback =
1953private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, global::System.Exception?> __AttemptingToValidateParameterCallback =
1966private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, global::System.Exception?> __AttemptingToValidatePropertyCallback =
1979private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToValidateParameterCallback =
1995private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToValidatePropertyCallback =
2011private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Exception?> __ParameterBinderRequestPredicateShortCircuitOfPropertyCallback =
2024private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ParameterBinderRequestPredicateShortCircuitOfParameterCallback =
2044private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __BeforeExecutingMethodOnFilterCallback =
2060private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __AfterExecutingMethodOnFilterCallback =
2076private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[]?, global::System.Exception?> __NoActionsMatchedCallback =
2089private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __ResultFilterShortCircuitedCallback =
2105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __ExceptionFilterShortCircuitedCallback =
2121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __ActionFilterShortCircuitedCallback =
2137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type?, string?, global::System.Type, global::System.Exception?> __FoundNoValueForPropertyInRequestCallback =
2150private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Type, global::System.Exception?> __FoundNoValueForParameterInRequestCallback =
2163private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __FoundNoValueInRequestCallback =
2176private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __CannotBindToFilesCollectionDueToUnsupportedContentTypeCallback =
2192private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, string, global::System.Exception?> __AttemptingToBindParameterModelCallback =
2205private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, string, global::System.Exception?> __AttemptingToBindPropertyModelCallback =
2218private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __AttemptingToBindModelCallback =
2231private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type?, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToBindPropertyModelCallback =
2247private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, string, global::System.Exception?> __DoneAttemptingToBindModelCallback =
2260private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Type, global::System.Exception?> __DoneAttemptingToBindParameterModelCallback =
2273private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string[], global::System.Exception?> __LogFilterExecutionPlanCallback =
2294private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Security.Claims.ClaimsPrincipal, global::System.Exception?> __SignInResultExecutingCallback =
2319private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string[], global::System.Exception?> __SignOutResultExecutingCallback =
2341private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __HttpStatusCodeResultExecutingCallback =
Microsoft.AspNetCore.Mvc.Cors (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (12)
Microsoft.AspNetCore.Mvc.Razor (8)
_generated\0\LoggerMessage.g.cs (8)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ViewCompilerLocatedCompiledViewCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ViewCompilerNoCompiledViewsFoundCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ViewCompilerLocatedCompiledViewForPathCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ViewCompilerCouldNotFindFileAtPathCallback =
84private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ViewLookupCacheMissCallback =
100private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ViewLookupCacheHitCallback =
125private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TagHelperComponentInitializedCallback =
138private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TagHelperComponentProcessedCallback =
Microsoft.AspNetCore.Mvc.RazorPages (19)
_generated\0\LoggerMessage.g.cs (14)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnsupportedAreaPathCallback =
34private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutingPageModelFactoryCallback =
47private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutedPageModelFactoryCallback =
60private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutingPageFactoryCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ExecutedPageFactoryCallback =
86private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState, global::System.Exception?> __ExecutingHandlerMethodCallback =
99private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string[], global::System.Exception?> __ExecutingHandlerMethodWithArgumentsCallback =
112private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState, global::System.Exception?> __ExecutingImplicitHandlerMethodCallback =
125private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ExecutedHandlerMethodCallback =
141private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ExecutedImplicitHandlerMethodCallback =
154private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __BeforeExecutingMethodOnFilterCallback =
170private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __AfterExecutingMethodOnFilterCallback =
186private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, global::System.Exception?> __PageFilterShortCircuitedCallback =
202private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
Microsoft.AspNetCore.Mvc.TagHelpers (5)
Microsoft.AspNetCore.Mvc.ViewFeatures (29)
_generated\0\LoggerMessage.g.cs (20)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AntiforgeryTokenInvalidCallback =
19public static partial void AntiforgeryTokenInvalid(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
36private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string[], global::System.Exception?> __ViewComponentExecutingCallback =
49private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, double, string?, global::System.Exception?> __ViewComponentExecutedCallback =
71private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieNotFoundCallback =
87private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieLoadSuccessCallback =
103private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TempDataCookieLoadFailureCallback =
111public static partial void TempDataCookieLoadFailure(global::Microsoft.Extensions.Logging.ILogger logger, string cookieName, global::System.Exception exception)
128private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AntiforgeryTokenInvalidCallback =
136public static partial void AntiforgeryTokenInvalid(global::Microsoft.Extensions.Logging.ILogger logger, string message, global::System.Exception exception)
144private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PartialViewResultExecutingCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, double, global::System.Exception?> __PartialViewFoundCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Collections.Generic.IEnumerable<string>, global::System.Exception?> __PartialViewNotFoundCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, double, global::System.Exception?> __PartialViewResultExecutedCallback =
242private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ViewComponentResultExecutingCallback =
267private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ViewResultExecutingCallback =
283private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, double, global::System.Exception?> __ViewFoundCallback =
299private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Collections.Generic.IEnumerable<string>, global::System.Exception?> __ViewNotFoundCallback =
315private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, double, global::System.Exception?> __ViewResultExecutedCallback =
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.OutputCaching (20)
_generated\0\LoggerMessage.g.cs (14)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotModifiedIfNoneMatchStarCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __NotModifiedIfNoneMatchMatchedCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.Exception?> __NotModifiedIfModifiedSinceSatisfiedCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotModifiedServedCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CachedResponseServedCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __GatewayTimeoutServedCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoResponseServedCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseCachedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseNotCachedCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseContentLengthMismatchNotCachedCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnableToQueryOutputCacheCallback =
177internal static partial void UnableToQueryOutputCache(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnableToWriteToOutputCacheCallback =
193internal static partial void UnableToWriteToOutputCache(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Microsoft.AspNetCore.RateLimiting (10)
Microsoft.AspNetCore.RequestDecompression (4)
Microsoft.AspNetCore.ResponseCaching (30)
_generated\0\LoggerMessage.g.cs (30)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestMethodNotCacheableCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestWithAuthorizationNotCacheableCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestWithNoCacheNotCacheableCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestWithPragmaNoCacheNotCacheableCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.Exception?> __ExpirationMinFreshAddedCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __ExpirationSharedMaxAgeExceededCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __ExpirationMustRevalidateCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __ExpirationMaxStaleSatisfiedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __ExpirationMaxAgeExceededCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.Exception?> __ExpirationExpiresExceededCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithoutPublicNotCacheableCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithNoStoreNotCacheableCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithNoCacheNotCacheableCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithSetCookieNotCacheableCallback =
233private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithVaryStarNotCacheableCallback =
249private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseWithPrivateNotCacheableCallback =
265private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __ResponseWithUnsuccessfulStatusCodeNotCacheableCallback =
281private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotModifiedIfNoneMatchStarCallback =
297private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Net.Http.Headers.EntityTagHeaderValue, global::System.Exception?> __NotModifiedIfNoneMatchMatchedCallback =
313private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.DateTimeOffset, global::System.Exception?> __NotModifiedIfModifiedSinceSatisfiedCallback =
329private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotModifiedServedCallback =
345private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CachedResponseServedCallback =
361private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __GatewayTimeoutServedCallback =
377private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoResponseServedCallback =
393private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __VaryByRulesUpdatedCallback =
409private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseCachedCallback =
425private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __LogResponseNotCachedCallback =
441private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ResponseContentLengthMismatchNotCachedCallback =
457private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __ExpirationInfiniteMaxStaleSatisfiedCallback =
473private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestContainsInvalidCacheSymbolsCallback =
Microsoft.AspNetCore.ResponseCompression (8)
_generated\0\LoggerMessage.g.cs (8)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoAcceptEncodingCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoCompressionForHttpsCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestAcceptsCompressionCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoCompressionDueToHeaderCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoCompressionForContentTypeCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ShouldCompressResponseCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoCompressionProviderCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CompressingWithCallback =
Microsoft.AspNetCore.Rewrite (15)
_generated\0\LoggerMessage.g.cs (14)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RewriteMiddlewareRequestContinueResultsCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __RewriteMiddlewareRequestResponseCompleteCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RewriteMiddlewareRequestStopRulesCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __UrlRewriteNotMatchedRuleCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __UrlRewriteMatchedRuleCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ModRewriteNotMatchedRuleCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ModRewriteMatchedRuleCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RedirectedToHttpsCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RedirectedToWwwCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RedirectedToNonWwwCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RedirectedRequestCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RewrittenRequestCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AbortedRequestCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CustomResponseCallback =
Microsoft.AspNetCore.Routing (41)
_generated\0\LoggerMessage.g.cs (36)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestNotMatchedCallback =
36private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<string?>, object?, global::System.Exception?> __EndpointsFoundCallback =
49private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, object?, global::System.Exception?> __EndpointsNotFoundCallback =
65private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, string?, string?, global::System.Exception?> __TemplateSucceededCallback =
81private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, string, string, string, global::System.Exception?> __TemplateFailedRequiredValuesCallback =
94private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::Microsoft.AspNetCore.Routing.IRouteConstraint?, string?, string, global::System.Exception?> __TemplateFailedConstraintCallback =
107private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, string, global::System.Exception?> __TemplateFailedExpansionCallback =
120private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<string?>, string, global::System.Exception?> __LinkGenerationSucceededCallback =
133private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<string?>, global::System.Exception?> __LinkGenerationFailedCallback =
155private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<string?>, object?, global::System.Exception?> __EndpointsFoundCallback =
168private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, object?, global::System.Exception?> __EndpointsNotFoundCallback =
184private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __PathParsingSucceededCallback =
197private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Collections.Generic.IEnumerable<string?>, string?, global::System.Exception?> __PathParsingFailedCallback =
219private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __ExecutingEndpointCallback =
235private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __ExecutedEndpointCallback =
260private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __MatchSuccessCallback =
276private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MatchFailureCallback =
292private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __MatchingSkippedCallback =
308private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __ExecutingEndpointCallback =
324private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __ExecutedEndpointCallback =
340private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __ShortCircuitedEndpointCallback =
356private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Endpoint, global::System.Exception?> __FallbackMatchCallback =
372private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestSizeLimitMetadataNotFoundCallback =
388private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestSizeFeatureNotFoundCallback =
404private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __RequestSizeFeatureIsReadOnlyCallback =
420private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __MaxRequestBodySizeSetCallback =
436private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __MaxRequestBodySizeDisabledCallback =
461private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CandidatesNotFoundCallback =
474private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __CandidatesFoundCallback =
487private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string, string, string, global::System.Exception?> __CandidateRejectedByComplexSegmentCallback =
500private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string, string, string?, object?, string, global::System.Exception?> __CandidateRejectedByConstraintCallback =
513private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string, string, global::System.Exception?> __CandidateNotValidCallback =
526private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string, string, global::System.Exception?> __CandidateValidCallback =
548private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __RequestMatchedRouteCallback =
573private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, object, string, global::Microsoft.AspNetCore.Routing.IRouteConstraint, global::System.Exception?> __ConstraintNotMatchedCallback =
598private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestMatchedRouteCallback =
Microsoft.AspNetCore.Server.IISIntegration (1)
Microsoft.AspNetCore.Server.Kestrel.Core (270)
_generated\0\LoggerMessage.g.cs (104)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __DirectoryDoesNotExistCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownFileCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownObserverCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreatedDirectoryWatcherCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreatedFileWatcherCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedDirectoryWatcherCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedFileWatcherCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LastModifiedTimeErrorCallback =
129public static partial void LastModifiedTimeError(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path, global::System.Exception e)
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UntrackedFileEventCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ReusedObserverCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AddedObserverCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedObserverCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __ObserverCountCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __FileCountCallback =
255public static readonly global::System.Func<__FlaggedObserversStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
300private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __EventWithoutFileCallback =
324private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ConnectionBadRequestCallback =
340private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestProcessingErrorCallback =
348public static partial void RequestProcessingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
356private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, double, global::System.Exception?> __RequestBodyMinimumDataRateNotSatisfiedCallback =
372private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ResponseMinimumDataRateNotSatisfiedCallback =
388private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __PossibleInvalidHttpVersionDetectedCallback =
410private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionStartCallback =
426private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionStopCallback =
442private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionPauseCallback =
458private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionResumeCallback =
474private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionKeepAliveCallback =
490private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionDisconnectCallback =
506private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotAllConnectionsClosedGracefullyCallback =
522private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotAllConnectionsAbortedCallback =
538private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionRejectedCallback =
554private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ApplicationAbortedConnectionCallback =
570private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionAcceptedCallback =
595private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ApplicationErrorCallback =
603public static partial void ApplicationError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier, global::System.Exception ex)
611private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __ConnectionHeadResponseBodyWriteCallback =
627private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __HeartbeatSlowCallback =
643private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ApplicationNeverCompletedCallback =
659private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyStartCallback =
672private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDoneCallback =
685private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyNotEntirelyReadCallback =
701private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDrainTimedOutCallback =
717private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InvalidResponseHeaderRemovedCallback =
733private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.EndPoint, global::System.Exception?> __Http2DisabledWithHttp1AndNoTlsCallback =
749private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.EndPoint, global::System.Exception?> __Http3DisabledWithHttp1AndNoTlsCallback =
765private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestAbortedExceptionCallback =
781private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDrainBodyReaderInvalidStateCallback =
789public static partial void RequestBodyDrainBodyReaderInvalidState(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier, global::System.Exception ex)
806private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionErrorCallback =
822private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2StreamErrorCallback =
838private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __HPackDecodingErrorCallback =
846public static partial void HPackDecodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int streamId, global::System.Exception ex)
854private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ErrorCode, global::System.Exception?> __Http2StreamResetAbortCallback =
870private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionClosingCallback =
886private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameReceivedCallback =
899private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __HPackEncodingErrorCallback =
907public static partial void HPackEncodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int streamId, global::System.Exception ex)
915private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2MaxConcurrentStreamsReachedCallback =
931private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2ConnectionClosedCallback =
947private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameSendingCallback =
960private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2QueueOperationsExceededCallback =
976private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __Http2UnexpectedDataRemainingCallback =
992private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionQueueProcessingCompletedCallback =
1008private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2UnexpectedConnectionQueueErrorCallback =
1016public static partial void Http2UnexpectedConnectionQueueError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
1024private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2TooManyEnhanceYourCalmsCallback =
1040private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2FlowControlQueueOperationsExceededCallback =
1081public static readonly global::System.Func<__Http2FlowControlQueueMaximumTooLowStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
1136private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3ConnectionErrorCallback =
1152private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3ConnectionClosingCallback =
1168private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long?, global::System.Exception?> __Http3ConnectionClosedCallback =
1184private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __Http3StreamAbortCallback =
1197private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, long, long, global::System.Exception?> __Http3FrameReceivedCallback =
1210private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, long, long, global::System.Exception?> __Http3FrameSendingCallback =
1223private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3OutboundControlStreamErrorCallback =
1231public static partial void Http3OutboundControlStreamError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
1239private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __QPackDecodingErrorCallback =
1247public static partial void QPackDecodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long streamId, global::System.Exception ex)
1255private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __QPackEncodingErrorCallback =
1263public static partial void QPackEncodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long streamId, global::System.Exception ex)
1271private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __Http3GoAwayStreamIdCallback =
1294private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __LocatedDevelopmentCertificateCallback =
1310private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnableToLocateDevelopmentCertificateCallback =
1326private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLocateDevelopmentCertificateFileCallback =
1342private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadDevelopmentCertificateCallback =
1358private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __BadDeveloperCertificateStateCallback =
1374private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DeveloperCertificateFirstRunCallback =
1390private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadCertificateCallback =
1406private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadCertificateKeyCallback =
1422private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DeveloperCertificateNotTrustedCallback =
1438private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DeveloperCertificatePartiallyTrustedCallback =
1460private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AuthenticationFailedCallback =
1468public static partial void AuthenticationFailed(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, global::System.Exception exception)
1476private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AuthenticationTimedOutCallback =
1492private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Security.Authentication.SslProtocols, global::System.Exception?> __HttpsConnectionEstablishedCallback =
1508private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __Http2DefaultCiphersInsufficientCallback =
1524private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LocatingCertWithPrivateKeyCallback =
1540private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __FoundCertWithPrivateKeyCallback =
1556private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToFindCertificateInStoreCallback =
1564public static partial void FailedToFindCertificateInStore(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, global::System.Exception exception)
1572private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __FailedToOpenStoreCallback =
1580public static partial void FailedToOpenStore(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string? storeName, global::System.Exception exception)
1588private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoSubjectAlternativeNameCallback =
Internal\Infrastructure\KestrelMetrics.cs (4)
100public void ConnectionStop(ConnectionMetricsContext metricsContext, Exception? exception, List<KeyValuePair<string, object?>>? customTags, long startTimestamp, long currentTimestamp)
109private void ConnectionStopCore(ConnectionMetricsContext metricsContext, Exception? exception, List<KeyValuePair<string, object?>>? customTags, long startTimestamp, long currentTimestamp)
282public void TlsHandshakeStop(ConnectionMetricsContext metricsContext, long startTimestamp, long currentTimestamp, SslProtocols? protocol = null, Exception? exception = null)
291private void TlsHandshakeStopCore(ConnectionMetricsContext metricsContext, long startTimestamp, long currentTimestamp, SslProtocols? protocol = null, Exception? exception = null)
Internal\Infrastructure\KestrelTrace.General.cs (4)
11public void ApplicationError(string connectionId, string traceIdentifier, Exception ex)
72public void RequestBodyDrainBodyReaderInvalidState(string connectionId, string traceIdentifier, Exception ex)
80public static partial void ApplicationError(ILogger logger, string connectionId, string traceIdentifier, Exception ex);
116public static partial void RequestBodyDrainBodyReaderInvalidState(ILogger logger, string connectionId, string traceIdentifier, Exception ex);
Internal\Infrastructure\KestrelTrace.Http2.cs (6)
22public void HPackDecodingError(string connectionId, int streamId, Exception ex)
45public void HPackEncodingError(string connectionId, int streamId, Exception ex)
83public void Http2UnexpectedConnectionQueueError(string connectionId, Exception ex)
112public static partial void HPackDecodingError(ILogger logger, string connectionId, int streamId, Exception ex);
124public static partial void HPackEncodingError(ILogger logger, string connectionId, int streamId, Exception ex);
145public static partial void Http2UnexpectedConnectionQueueError(ILogger logger, string connectionId, Exception ex);
Internal\Infrastructure\KestrelTrace.Http3.cs (6)
52public void Http3OutboundControlStreamError(string connectionId, Exception ex)
57public void QPackDecodingError(string connectionId, long streamId, Exception ex)
62public void QPackEncodingError(string connectionId, long streamId, Exception ex)
93public static partial void Http3OutboundControlStreamError(ILogger logger, string connectionId, Exception ex);
96public static partial void QPackDecodingError(ILogger logger, string connectionId, long streamId, Exception ex);
99public static partial void QPackEncodingError(ILogger logger, string connectionId, long streamId, Exception ex);
Middleware\HttpsConnectionMiddleware.cs (6)
269static void RecordHandshakeFailed(KestrelMetrics metrics, long startTimestamp, long currentTimestamp, ConnectionMetricsContext metricsContext, IConnectionMetricsTagsFeature? metricsTagsFeature, Exception ex)
295catch (Exception exception) when (exception is CryptographicException || exception is SecurityException)
614public static partial void AuthenticationFailed(this ILogger<HttpsConnectionMiddleware> logger, Exception exception);
641public static partial void FailedToFindCertificateInStore(this ILogger<HttpsConnectionMiddleware> logger, Exception exception);
644public static partial void FailedToOpenStore(this ILogger<HttpsConnectionMiddleware> logger, string? storeName, Exception exception);
649public static void FailedToOpenStore(this ILogger<HttpsConnectionMiddleware> logger, StoreLocation storeLocation, Exception exception)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (77)
_generated\0\LoggerMessage.g.cs (29)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AcceptedConnectionCoreCallback =
22private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal.QuicLog.StreamType, global::System.Exception?> __AcceptedStreamCoreCallback =
35private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal.QuicLog.StreamType, global::System.Exception?> __ConnectedStreamCoreCallback =
48private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionErrorCoreCallback =
56private static partial void ConnectionErrorCore(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
61private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __ConnectionAbortedCoreCallback =
69private static partial void ConnectionAbortedCore(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long errorCode, global::System.Exception ex)
74private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __ConnectionAbortCoreCallback =
87private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamErrorCoreCallback =
95private static partial void StreamErrorCore(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
100private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamPauseCoreCallback =
113private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamResumeCoreCallback =
126private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __StreamShutdownWriteCoreCallback =
139private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __StreamAbortedReadCoreCallback =
152private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __StreamAbortedWriteCoreCallback =
165private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __StreamAbortCoreCallback =
178private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __StreamAbortReadCoreCallback =
191private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, string, global::System.Exception?> __StreamAbortWriteCoreCallback =
204private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamPooledCoreCallback =
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamReusedCoreCallback =
230private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectionListenerCertificateNotSpecifiedCallback =
246private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectionListenerApplicationProtocolsNotSpecifiedCallback =
262private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.IPEndPoint, global::System.Exception?> __ConnectionListenerStartingCallback =
278private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectionListenerAbortedCallback =
286public static partial void ConnectionListenerAborted(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
294private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamTimeoutReadCoreCallback =
307private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StreamTimeoutWriteCoreCallback =
320private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectionListenerAcceptConnectionFailedCallback =
328public static partial void ConnectionListenerAcceptConnectionFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
Internal\QuicLog.cs (8)
47private static partial void ConnectionErrorCore(ILogger logger, string connectionId, Exception ex);
49public static void ConnectionError(ILogger logger, BaseConnectionContext connection, Exception ex)
58private static partial void ConnectionAbortedCore(ILogger logger, string connectionId, long errorCode, Exception ex);
60public static void ConnectionAborted(ILogger logger, BaseConnectionContext connection, long errorCode, Exception ex)
80private static partial void StreamErrorCore(ILogger logger, string connectionId, Exception ex);
82public static void StreamError(ILogger logger, QuicStreamContext streamContext, Exception ex)
211public static partial void ConnectionListenerAborted(ILogger logger, Exception exception);
236public static partial void ConnectionListenerAcceptConnectionFailed(ILogger logger, Exception exception);
Microsoft.AspNetCore.Session (23)
_generated\0\LoggerMessage.g.cs (16)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorClosingTheSessionCallback =
17public static partial void ErrorClosingTheSession(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AccessingExpiredSessionCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __SessionStartedCallback =
54private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, int, global::System.Exception?> __SessionLoadedCallback =
67private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, int, global::System.Exception?> __SessionStoredCallback =
83private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __SessionCacheReadExceptionCallback =
91public static partial void SessionCacheReadException(this global::Microsoft.Extensions.Logging.ILogger logger, string sessionKey, global::System.Exception exception)
96private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorUnprotectingSessionCookieCallback =
104public static partial void ErrorUnprotectingSessionCookie(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
112private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionLoadingTimeoutCallback =
128private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionCommitTimeoutCallback =
144private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionCommitCanceledCallback =
160private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionRefreshTimeoutCallback =
176private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionRefreshCanceledCallback =
192private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SessionNotAvailableCallback =
Microsoft.AspNetCore.SignalR.Common (6)
Microsoft.AspNetCore.SignalR.Core (108)
_generated\0\LoggerMessage.g.cs (55)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __HandshakeCompleteCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HandshakeCanceledCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SentPingCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportBufferFullCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HandshakeFailedCallback =
83public static partial void HandshakeFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception)
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedWritingMessageCallback =
99public static partial void FailedWritingMessage(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
129public static readonly global::System.Func<__ProtocolVersionFailedStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
174private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AbortFailedCallback =
182public static partial void AbortFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
190private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.Exception?> __ClientTimeoutCallback =
206private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __HandshakeSizeLimitExceededCallback =
222private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __DisablingReconnectCallback =
245private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ErrorDispatchingHubEventCallback =
253public static partial void ErrorDispatchingHubEvent(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
261private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorProcessingRequestCallback =
269public static partial void ErrorProcessingRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
277private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AbortFailedCallback =
285public static partial void AbortFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
293private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorSendingCloseCallback =
301public static partial void ErrorSendingClose(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
309private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectedStartingCallback =
325private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectedEndingCallback =
347private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage, global::System.Exception?> __ReceivedHubInvocationCallback =
363private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnsupportedMessageReceivedCallback =
379private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownHubMethodCallback =
395private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __HubMethodNotAuthorizedCallback =
411private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __StreamingResultCallback =
424private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __SendingResultCallback =
437private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedInvokingHubMethodCallback =
445public static partial void FailedInvokingHubMethod(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
453private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __HubMethodBoundCallback =
469private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CancelStreamCallback =
485private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnexpectedCancelCallback =
501private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage, global::System.Exception?> __ReceivedStreamHubInvocationCallback =
517private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage, global::System.Exception?> __StreamingMethodCalledWithInvokeCallback =
533private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage, global::System.Exception?> __NonStreamingMethodCalledWithStreamCallback =
549private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidReturnValueFromStreamingMethodCallback =
565private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ReceivedStreamItemCallback =
581private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StartingParameterStreamCallback =
597private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __CompletingStreamCallback =
613private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __ClosingStreamWithBindingErrorCallback =
629private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnexpectedStreamItemCallback =
645private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidHubParametersCallback =
653public static partial void InvalidHubParameters(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
661private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvocationIdInUseCallback =
677private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedCompletionCallback =
693private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FailedStreamingCallback =
701public static partial void FailedStreaming(global::Microsoft.Extensions.Logging.ILogger logger, string invocationId, string hubMethod, global::System.Exception exception)
709private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __DroppingMessageCallback =
725private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedAckMessageCallback =
741private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedSequenceMessageCallback =
765private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __RegisteredSignalRProtocolCallback =
781private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FoundImplementationForProtocolCallback =
Microsoft.AspNetCore.SignalR.Protocols.Json (8)
Microsoft.AspNetCore.StaticAssets (18)
_generated\0\LoggerMessage.g.cs (17)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StaticAssetNotFoundInManifestCallback =
34private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestMethodNotSupportedCallback =
50private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FileServedCoreCallback =
66private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndpointMatchedCallback =
82private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PathMismatchCallback =
98private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileTypeNotSupportedCallback =
114private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileNotFoundCallback =
130private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileNotModifiedCallback =
146private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PreconditionFailedCallback =
162private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __HandledCallback =
178private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RangeNotSatisfiableCallback =
194private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Primitives.StringValues, string, global::System.Exception?> __SendingFileRangeCallback =
210private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Primitives.StringValues, string, global::System.Exception?> __CopyingFileRangeCallback =
226private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WriteCancelledCallback =
234public static partial void WriteCancelled(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
242private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WebRootPathNotFoundCallback =
258private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EnsureStaticWebAssetsEnabledCallback =
Microsoft.AspNetCore.StaticFiles (16)
_generated\0\LoggerMessage.g.cs (15)
9private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestMethodNotSupportedCallback =
25private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FileServedCoreCallback =
41private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EndpointMatchedCallback =
57private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PathMismatchCallback =
73private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileTypeNotSupportedCallback =
89private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileNotFoundCallback =
105private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FileNotModifiedCallback =
121private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __PreconditionFailedCallback =
137private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __HandledCallback =
153private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RangeNotSatisfiableCallback =
169private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Primitives.StringValues, string, global::System.Exception?> __SendingFileRangeCallback =
185private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Primitives.StringValues, string, global::System.Exception?> __CopyingFileRangeCallback =
201private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WriteCancelledCallback =
209public static partial void WriteCancelled(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex)
217private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __WebRootPathNotFoundCallback =
Microsoft.AspNetCore.Testing (2)
Microsoft.AspNetCore.Testing.Tests (8)
Microsoft.AspNetCore.Watch.BrowserRefresh (5)
Microsoft.AspNetCore.WebSockets (2)
Microsoft.Build (328)
BackEnd\Components\Logging\ILoggingService.cs (5)
24internal delegate void LoggingExceptionDelegate(Exception e);
442void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file);
451void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string taskName);
461void LogFatalError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string messageResourceName, params object[] messageArgs);
472void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string taskName);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (4)
195public void LogFatalBuildError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file)
209public void LogFatalTaskError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string taskName)
226public void LogFatalError(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string messageResourceName, params object[] messageArgs)
260public void LogTaskWarningFromException(BuildEventContext buildEventContext, Exception exception, BuildEventFileInfo file, string taskName)
src\msbuild\src\Shared\ErrorUtilities.cs (7)
168internal static void ThrowArgument(Exception? innerException, string resourceName, params object?[]? args)
220internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName)
232internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0)
245internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
258internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
271internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
349throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
src\msbuild\src\Shared\TaskLoggingHelper.cs (14)
527public static string GetInnerExceptionMessageString(Exception e)
530Exception excep = e;
898public void LogErrorFromException(Exception exception)
910public void LogErrorFromException(Exception exception, bool showStackTrace)
925public void LogErrorFromException(Exception exception, bool showStackTrace, bool showDetail, string file)
934foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
1236public void LogWarningFromException(Exception exception)
1248public void LogWarningFromException(Exception exception, bool showStackTrace)
1537Exception exception,
1554foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
1588Exception exception,
1608Exception exception,
1621private static string GetFormattedExceptionDetails(Exception exception, bool showStackTrace, bool showDetail)
1637Exception currentException = exception;
Microsoft.Build.Framework (104)
BuildException\BuildExceptionSerializationHelper.cs (9)
14public TypeConstructionTuple(Type type, Func<string, Exception?, BuildExceptionBase> factory)
21public Func<string, Exception?, BuildExceptionBase> Factory { get; }
24private static Dictionary<string, Func<string, Exception?, BuildExceptionBase>>? s_exceptionFactories;
26private static readonly Func<string, Exception?, BuildExceptionBase> s_defaultFactory =
33type.IsSubclassOf(typeof(Exception)) &&
49var exceptionFactories = new Dictionary<string, Func<string, Exception?, BuildExceptionBase>>();
54Func<string, Exception?, BuildExceptionBase> exceptionFactory = typeConstructionTuple.Factory;
73internal static Func<string, Exception?, BuildExceptionBase> CreateExceptionFactory(string serializationType)
77return s_exceptionFactories.TryGetValue(serializationType, out Func<string, Exception?, BuildExceptionBase>? factory)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.Build.NuGetSdkResolver (5)
Microsoft.Build.Tasks.CodeAnalysis (51)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.Build.Tasks.Core (167)
src\msbuild\src\Shared\ErrorUtilities.cs (7)
168internal static void ThrowArgument(Exception? innerException, string resourceName, params object?[]? args)
220internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName)
232internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0)
245internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
258internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
271internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
349throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
Microsoft.Build.Tasks.Git (10)
Microsoft.Build.Utilities.Core (54)
src\msbuild\src\Shared\ErrorUtilities.cs (7)
168internal static void ThrowArgument(Exception? innerException, string resourceName, params object?[]? args)
220internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName)
232internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0)
245internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
258internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
271internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
349throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
src\msbuild\src\Shared\TaskLoggingHelper.cs (14)
527public static string GetInnerExceptionMessageString(Exception e)
530Exception excep = e;
898public void LogErrorFromException(Exception exception)
910public void LogErrorFromException(Exception exception, bool showStackTrace)
925public void LogErrorFromException(Exception exception, bool showStackTrace, bool showDetail, string file)
934foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
1236public void LogWarningFromException(Exception exception)
1248public void LogWarningFromException(Exception exception, bool showStackTrace)
1537Exception exception,
1554foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
1588Exception exception,
1608Exception exception,
1621private static string GetFormattedExceptionDetails(Exception exception, bool showStackTrace, bool showDetail)
1637Exception currentException = exception;
Microsoft.CodeAnalysis (227)
DiagnosticAnalyzer\AnalyzerDriver.cs (9)
495var newOnAnalyzerException = (Exception ex, DiagnosticAnalyzer analyzer, Diagnostic diagnostic, CancellationToken cancellationToken) =>
730var innerException = faultedTask.Exception?.InnerException;
834Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException =
837Func<Exception, bool>? nullFilter = null;
847Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException,
848Func<Exception, bool>? analyzerExceptionFilter,
1584catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
1643catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
2783catch (Exception ex) when (ex is InsufficientExecutionStackException)
DiagnosticAnalyzer\AnalyzerExecutor.cs (18)
38private readonly Func<Exception, bool>? _analyzerExceptionFilter;
117Action<Exception, DiagnosticAnalyzer, Diagnostic, CancellationToken> onAnalyzerException,
118Func<Exception, bool>? analyzerExceptionFilter,
151Action<Exception, DiagnosticAnalyzer, Diagnostic, CancellationToken> onAnalyzerException,
152Func<Exception, bool>? analyzerExceptionFilter,
227internal Action<Exception, DiagnosticAnalyzer, Diagnostic, CancellationToken> OnAnalyzerException { get; }
1376catch (Exception ex) when (HandleAnalyzerException(analyzer, ex, info) &&
1382private bool HandleAnalyzerException(DiagnosticAnalyzer analyzer, Exception ex, in AnalysisContextInfo? info)
1395Exception exception,
1398Action<Exception, DiagnosticAnalyzer, Diagnostic, CancellationToken> onAnalyzerException,
1399Func<Exception, bool>? analyzerExceptionFilter,
1413catch (Exception)
1420static bool exceptionFilter(Exception ex, Func<Exception, bool>? analyzerExceptionFilter, CancellationToken cancellationToken)
1436internal static Diagnostic CreateAnalyzerExceptionDiagnostic(DiagnosticAnalyzer analyzer, Exception e, AnalysisContextInfo? info = null)
1447private static string CreateDiagnosticDescription(AnalysisContextInfo? info, Exception e)
1472catch (Exception ex)
1485internal static Diagnostic CreateDriverExceptionDiagnostic(Exception e)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (6)
809catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
1223Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException = null)
1234Action<Exception, DiagnosticAnalyzer, Diagnostic, CancellationToken> wrappedOnAnalyzerException =
1243catch (Exception ex) when (AnalyzerExecutor.HandleAnalyzerException(ex, analyzer, info: null, wrappedOnAnalyzerException, analyzerExceptionFilter: null, CancellationToken.None))
1255catch (Exception ex) when (AnalyzerExecutor.HandleAnalyzerException(ex, suppressor, info: null, wrappedOnAnalyzerException, analyzerExceptionFilter: null, CancellationToken.None))
1289catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
DiagnosticAnalyzer\CompilationWithAnalyzersOptions.cs (12)
15private readonly Action<Exception, DiagnosticAnalyzer, Diagnostic>? _onAnalyzerException;
16private readonly Func<Exception, bool>? _analyzerExceptionFilter;
29public Action<Exception, DiagnosticAnalyzer, Diagnostic>? OnAnalyzerException => _onAnalyzerException;
34public Func<Exception, bool>? AnalyzerExceptionFilter => _analyzerExceptionFilter;
67Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException,
84Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException,
103Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException,
107Func<Exception, bool>? analyzerExceptionFilter)
112/// <inheritdoc cref="CompilationWithAnalyzersOptions.CompilationWithAnalyzersOptions(AnalyzerOptions?, Action{Exception, DiagnosticAnalyzer, Diagnostic}?, bool, bool, bool, Func{Exception, bool}?)"/>
119Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException,
123Func<Exception, bool>? analyzerExceptionFilter,
SourceGeneration\GeneratorDriver.cs (5)
273Exception? ex = null;
278catch (Exception e) when (handleGeneratorException(compilation, MessageProvider, sourceGenerator, e, isInit: true))
448static bool handleGeneratorException(Compilation compilation, CommonMessageProvider messageProvider, ISourceGenerator sourceGenerator, Exception e, bool isInit)
578private static GeneratorState SetGeneratorException(Compilation compilation, CommonMessageProvider provider, GeneratorState generatorState, ISourceGenerator generator, Exception e, DiagnosticBag? diagnosticBag, GeneratorRunPhase phase, TimeSpan? runTime, CancellationToken cancellationToken)
603private static Diagnostic CreateGeneratorExceptionDiagnostic(CommonMessageProvider provider, ISourceGenerator generator, Exception e, bool isInit)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (11)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.CodeAnalysis.Analyzers (62)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
50catch (Exception)
Microsoft.CodeAnalysis.AnalyzerUtilities (58)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (1)
399catch (Exception)
Microsoft.CodeAnalysis.CodeStyle (56)
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
67catch (Exception ex)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
50catch (Exception)
Microsoft.CodeAnalysis.CSharp (10)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (20)
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Extensions.Package (30)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Microsoft.CodeAnalysis.Features (107)
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
67catch (Exception ex)
Microsoft.CodeAnalysis.ResxSourceGenerator (56)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.CodeAnalysis.Scripting (37)
Script.cs (10)
194public Task<ScriptState> RunAsync(object globals = null, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
197internal abstract Task<ScriptState> CommonRunAsync(object globals, Func<Exception, bool> catchException, CancellationToken cancellationToken);
222public Task<ScriptState> RunFromAsync(ScriptState previousState, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
225internal abstract Task<ScriptState> CommonRunFromAsync(ScriptState previousState, Func<Exception, bool> catchException, CancellationToken cancellationToken);
380internal override Task<ScriptState> CommonRunAsync(object globals, Func<Exception, bool> catchException, CancellationToken cancellationToken)
383internal override Task<ScriptState> CommonRunFromAsync(ScriptState previousState, Func<Exception, bool> catchException, CancellationToken cancellationToken)
487public new Task<ScriptState<T>> RunAsync(object globals = null, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
547public new Task<ScriptState<T>> RunFromAsync(ScriptState previousState, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
579Func<Exception, bool> catchExceptionOpt,
582var exceptionOpt = (catchExceptionOpt != null) ? new StrongBox<Exception>() : null;
ScriptState.cs (5)
35public Exception Exception { get; }
42internal ScriptState(ScriptExecutionState executionState, Script script, Exception exceptionOpt)
156public Task<ScriptState<object>> ContinueWithAsync(string code, ScriptOptions options = null, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
180public Task<ScriptState<TResult>> ContinueWithAsync<TResult>(string code, ScriptOptions options = null, Func<Exception, bool> catchException = null, CancellationToken cancellationToken = default(CancellationToken))
275internal ScriptState(ScriptExecutionState executionState, Script script, T value, Exception exceptionOpt)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (138)
FindSymbols\TopLevelSyntaxTree\NavigateToSearchIndex.NavigateToSearchInfo.cs (1)
860catch (Exception)
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.DeclarationInfo.cs (1)
28catch (Exception)
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.ExtensionMethodInfo.cs (1)
71catch (Exception)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
243catch (Exception ex)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
50catch (Exception)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (6)
271catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
354catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
399catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
469catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
999catch (Exception e) when (FatalError.ReportWithDumpAndCatch(e, ErrorSeverity.Critical))
1020public CompilationTrackerValidationException(string message, Exception inner) : base(message, inner) { }
Microsoft.CodeAnalysis.Workspaces.MSBuild (10)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (16)
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (20)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
Microsoft.CSharp (30)
Microsoft.Data.Analysis (3)
Microsoft.Data.Analysis.Tests (4)
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Microsoft.Diagnostics.DataContractReader.Legacy (972)
Microsoft.Diagnostics.NETCore.Client (36)
Microsoft.DiaSymReader (308)
Microsoft.DotNet.ApiCompat.Task (5)
Microsoft.DotNet.Arcade.Sdk (4)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Tasks.Feed (3)
Microsoft.DotNet.Build.Tasks.Installers (5)
Microsoft.DotNet.Build.Tasks.Packaging (13)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (4)
Microsoft.DotNet.Build.Tasks.Workloads (3)
Microsoft.DotNet.Cli.CoreUtils (3)
Microsoft.DotNet.Cli.Definitions (1)
Microsoft.DotNet.Cli.Utils (8)
Microsoft.DotNet.CMake.Sdk (3)
Microsoft.DotNet.Configurer (2)
Microsoft.DotNet.GenFacades (4)
Microsoft.DotNet.HotReload.Utils.Generator (1)
Microsoft.DotNet.HotReload.Watch (43)
Microsoft.DotNet.HotReload.WebAssembly.Browser (15)
Microsoft.DotNet.MacOsPkg.Core (3)
Microsoft.DotNet.NuGetRepack.Tasks (8)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.ProjectTools (2)
Microsoft.DotNet.SharedFramework.Sdk (2)
Microsoft.DotNet.StrongName (6)
Microsoft.DotNet.TemplateLocator (5)
Microsoft.DotNet.VersionTools.Cli (2)
Microsoft.Extensions.AI (40)
Microsoft.Extensions.AI.Abstractions (8)
Microsoft.Extensions.AI.Abstractions.Tests (5)
Microsoft.Extensions.AI.Evaluation (3)
Microsoft.Extensions.AI.Evaluation.Console (29)
Microsoft.Extensions.AI.Evaluation.NLP (2)
Microsoft.Extensions.AI.Evaluation.Quality (2)
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Microsoft.Extensions.AI.Evaluation.Safety (2)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.AI.Tests (4)
Microsoft.Extensions.AmbientMetadata.Application (2)
Microsoft.Extensions.AmbientMetadata.Build (2)
Microsoft.Extensions.AsyncState (2)
Microsoft.Extensions.AsyncState.Tests (4)
Microsoft.Extensions.Caching.Hybrid (19)
Microsoft.Extensions.Caching.Hybrid.Tests (5)
LogCollector.cs (4)
12private readonly List<(string categoryName, LogLevel logLevel, EventId eventId, Exception? exception, string message)> _items = [];
14public (string categoryName, LogLevel logLevel, EventId eventId, Exception? exception, string message)[] ToArray()
116void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Compliance.Abstractions (2)
Microsoft.Extensions.Compliance.Redaction (2)
Microsoft.Extensions.Compliance.Redaction.Tests (1)
Microsoft.Extensions.Compliance.Testing (2)
Microsoft.Extensions.Configuration.Binder (9)
ConfigurationBinder.cs (9)
360if (isConfigurationExist && TryConvertValue(type, configValue, section?.Path, out object? convertedValue, out Exception? error))
616catch (Exception ex)
799catch (Exception ex)
838catch (Exception ex)
894catch (Exception ex)
965catch (Exception ex)
981string? value, string? path, out object? result, out Exception? error)
1010catch (Exception ex)
1041TryConvertValue(type, value, path, out object? result, out Exception? error);
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.DataIngestion (11)
Microsoft.Extensions.DataIngestion.Abstractions (2)
Microsoft.Extensions.DataIngestion.Markdig (2)
Microsoft.Extensions.DataIngestion.MarkItDown (2)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.Extensions.DependencyInjection (14)
Microsoft.Extensions.DependencyInjection.AutoActivation (2)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (10)
Microsoft.Extensions.Diagnostics.HealthChecks (29)
_generated\0\LoggerMessage.g.cs (18)
11private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HealthCheckProcessingBeginCallback =
27private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus, double, global::System.Exception?> __HealthCheckProcessingEndCallback =
43private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __HealthCheckBeginCallback =
59private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus, double, string?, global::System.Exception?> __HealthCheckEndHealthyCallback =
75private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus, double, string?, global::System.Exception?> __HealthCheckEndDegradedCallback =
83private static partial void HealthCheckEndDegraded(global::Microsoft.Extensions.Logging.ILogger logger, string HealthCheckName, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, global::System.Exception? exception)
91private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus, double, string?, global::System.Exception?> __HealthCheckEndUnhealthyCallback =
99private static partial void HealthCheckEndUnhealthy(global::Microsoft.Extensions.Logging.ILogger logger, string HealthCheckName, global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, global::System.Exception? exception)
107private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, double, global::System.Exception?> __HealthCheckErrorCallback =
115private static partial void HealthCheckError(global::Microsoft.Extensions.Logging.ILogger logger, string HealthCheckName, double ElapsedMilliseconds, global::System.Exception exception)
132private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HealthCheckPublisherProcessingBeginCallback =
148private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, double, global::System.Exception?> __HealthCheckPublisherProcessingEndCallback =
156private static partial void HealthCheckPublisherProcessingEnd(global::Microsoft.Extensions.Logging.ILogger logger, double ElapsedMilliseconds, global::System.Exception? exception)
164private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher, global::System.Exception?> __HealthCheckPublisherBeginCallback =
180private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher, double, global::System.Exception?> __HealthCheckPublisherEndCallback =
196private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher, double, global::System.Exception?> __HealthCheckPublisherErrorCallback =
204private static partial void HealthCheckPublisherError(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher HealthCheckPublisher, double ElapsedMilliseconds, global::System.Exception exception)
212private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheckPublisher, double, global::System.Exception?> __HealthCheckPublisherTimeoutCallback =
DefaultHealthCheckService.cs (5)
136catch (Exception ex) when (ex as OperationCanceledException == null)
224private static partial void HealthCheckEndDegraded(ILogger logger, string HealthCheckName, HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, Exception? exception);
227private static partial void HealthCheckEndUnhealthy(ILogger logger, string HealthCheckName, HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, Exception? exception);
248private static partial void HealthCheckError(ILogger logger, string HealthCheckName, double ElapsedMilliseconds, Exception exception);
250public static void HealthCheckError(ILogger logger, HealthCheckRegistration registration, Exception exception, TimeSpan duration) =>
HealthCheckPublisherHostedService.cs (6)
167catch (Exception ex)
225catch (Exception ex)
255public static void HealthCheckPublisherProcessingEnd(ILogger logger, TimeSpan duration, Exception? exception = null) =>
259private static partial void HealthCheckPublisherProcessingEnd(ILogger logger, double ElapsedMilliseconds, Exception? exception = null);
270public static void HealthCheckPublisherError(ILogger logger, IHealthCheckPublisher publisher, TimeSpan duration, Exception exception) =>
274private static partial void HealthCheckPublisherError(ILogger logger, IHealthCheckPublisher HealthCheckPublisher, double ElapsedMilliseconds, Exception exception);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (2)
Microsoft.Extensions.Diagnostics.Probes (3)
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (13)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (8)
Microsoft.Extensions.Diagnostics.Testing (7)
Microsoft.Extensions.DotNetDeltaApplier (15)
Microsoft.Extensions.FileProviders.Physical (7)
Microsoft.Extensions.Hosting (23)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Hosting.Testing (2)
Microsoft.Extensions.Hosting.Testing.Tests (10)
Microsoft.Extensions.Hosting.WindowsServices (2)
Microsoft.Extensions.Http (16)
DefaultHttpClientFactory.cs (6)
289catch (Exception ex)
326private static readonly Action<ILogger, int, Exception?> _cleanupCycleStart = LoggerMessage.Define<int>(
331private static readonly Action<ILogger, double, int, int, Exception?> _cleanupCycleEnd = LoggerMessage.Define<double, int, int>(
336private static readonly Action<ILogger, string, Exception> _cleanupItemFailed = LoggerMessage.Define<string>(
341private static readonly Action<ILogger, double, string, Exception?> _handlerExpired = LoggerMessage.Define<double, string>(
363public static void CleanupItemFailed(Lazy<ILogger> loggerLazy, string clientName, Exception exception)
Logging\LogHelper.cs (6)
35private static readonly Action<ILogger, HttpMethod, string?, Exception?> _requestStart = LoggerMessage.Define<HttpMethod, string?>(
41private static readonly Action<ILogger, double, int, Exception?> _requestEnd = LoggerMessage.Define<double, int>(
46private static readonly Action<ILogger, double, Exception?> _requestFailed = LoggerMessage.Define<double>(
53private static readonly Action<ILogger, HttpMethod, string?, Exception?> _requestPipelineStart = LoggerMessage.Define<HttpMethod, string?>(
58private static readonly Action<ILogger, double, int, Exception?> _requestPipelineEnd = LoggerMessage.Define<double, int>(
63private static readonly Action<ILogger, double, Exception?> _requestPipelineFailed = LoggerMessage.Define<double>(
Microsoft.Extensions.Http.Diagnostics (19)
Logging\Internal\Log.cs (8)
40private static readonly Func<LoggerMessageState, Exception?, string> _originalFormatValueFmtFunc = OriginalFormatValueFmt;
47public static void OutgoingRequestError(ILogger logger, LogRecord record, Exception exception)
55Exception exception,
63Exception exception,
71Exception? exception,
79Exception exception,
87ILogger logger, LogLevel level, int eventId, string eventName, LogRecord record, Exception? exception = null)
161private static string OriginalFormatValueFmt(LoggerMessageState request, Exception? _)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (4)
Microsoft.Extensions.Http.Diagnostics.Tests (14)
Logging\HttpClientLoggerTest.cs (11)
153var exception = await Record.ExceptionAsync(act);
705enricher1.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
706enricher2.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
748enricher1.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
749enricher2.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
758.Setup(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()))
791enricher1.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
792enricher2.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
801.Setup(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()))
837enricher1.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
838enricher2.Verify(e => e.Enrich(It.IsAny<IEnrichmentTagCollector>(), It.IsAny<HttpRequestMessage>(), It.IsAny<HttpResponseMessage>(), It.IsAny<Exception>()), Times.Exactly(1));
Microsoft.Extensions.Http.Resilience (5)
Microsoft.Extensions.Http.Resilience.Tests (7)
Microsoft.Extensions.Identity.Core (46)
UserManagerMetrics.cs (7)
72internal void CreateUser(string userType, IdentityResult? result, long startTimestamp, Exception? exception = null)
90internal void UpdateUser(string userType, IdentityResult? result, UserUpdateType updateType, long startTimestamp, Exception? exception = null)
109internal void DeleteUser(string userType, IdentityResult? result, long startTimestamp, Exception? exception = null)
127internal void CheckPassword(string userType, bool? userMissing, PasswordVerificationResult? result, Exception? exception = null)
147internal void VerifyToken(string userType, bool? result, string purpose, Exception? exception = null)
168internal void GenerateToken(string userType, string purpose, Exception? exception = null)
228private static void AddErrorTag(ref TagList tags, Exception? exception, IdentityResult? result = null)
Microsoft.Extensions.Localization (1)
Microsoft.Extensions.Logging (16)
Logger.cs (16)
27public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
35List<Exception>? exceptions = null;
52static void LoggerLog(LogLevel logLevel, EventId eventId, ILogger logger, Exception? exception, Func<TState, Exception?, string> formatter, ref List<Exception>? exceptions, in TState state)
58catch (Exception ex)
60exceptions ??= new List<Exception>();
74List<Exception>? exceptions = null;
97static bool LoggerIsEnabled(LogLevel logLevel, ILogger logger, ref List<Exception>? exceptions)
106catch (Exception ex)
108exceptions ??= new List<Exception>();
131List<Exception>? exceptions = null;
140catch (Exception ex)
142exceptions ??= new List<Exception>();
155private static void ThrowLoggingError(List<Exception> exceptions)
Microsoft.Extensions.Logging.Abstractions (56)
LoggerExtensions.cs (16)
13private static readonly Func<FormattedLogValues, Exception?, string> _messageFormatter = MessageFormatter;
30public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
64public static void LogDebug(this ILogger logger, Exception? exception, string? message, params object?[] args)
100public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
134public static void LogTrace(this ILogger logger, Exception? exception, string? message, params object?[] args)
170public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
204public static void LogInformation(this ILogger logger, Exception? exception, string? message, params object?[] args)
240public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
274public static void LogWarning(this ILogger logger, Exception? exception, string? message, params object?[] args)
310public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
344public static void LogError(this ILogger logger, Exception? exception, string? message, params object?[] args)
380public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
414public static void LogCritical(this ILogger logger, Exception? exception, string? message, params object?[] args)
468public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string? message, params object?[] args)
482public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string? message, params object?[] args)
515private static string MessageFormatter(FormattedLogValues state, Exception? error)
LoggerMessage.cs (28)
130public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString)
141public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
145void Log(ILogger logger, Exception? exception)
172public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString)
184public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
188void Log(ILogger logger, T1 arg1, Exception? exception)
216public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString)
229public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
233void Log(ILogger logger, T1 arg1, T2 arg2, Exception? exception)
262public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString)
276public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
280void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, Exception? exception)
310public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString)
325public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
329void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Exception? exception)
360public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString)
376public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
380void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Exception? exception)
412public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString)
429public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
433void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Exception? exception)
468public static readonly Func<LogValues, Exception?, string> Callback = (state, exception) => state.ToString();
506public static readonly Func<LogValues<T0>, Exception?, string> Callback = (state, exception) => state.ToString();
554public static readonly Func<LogValues<T0, T1>, Exception?, string> Callback = (state, exception) => state.ToString();
605public static readonly Func<LogValues<T0, T1, T2>, Exception?, string> Callback = (state, exception) => state.ToString();
660public static readonly Func<LogValues<T0, T1, T2, T3>, Exception?, string> Callback = (state, exception) => state.ToString();
721public static readonly Func<LogValues<T0, T1, T2, T3, T4>, Exception?, string> Callback = (state, exception) => state.ToString();
786public static readonly Func<LogValues<T0, T1, T2, T3, T4, T5>, Exception?, string> Callback = (state, exception) => state.ToString();
Microsoft.Extensions.Logging.Configuration (1)
Microsoft.Extensions.Logging.Console (8)
Microsoft.Extensions.Logging.Debug (2)
Microsoft.Extensions.Logging.EventLog (4)
Microsoft.Extensions.Logging.EventSource (4)
Microsoft.Extensions.Logging.MSBuild (4)
MSBuildLogger.cs (4)
61public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
89private static MSBuildMessageParameters FormatMessage<TState>(string category, TState state, Exception? exception, Func<TState, Exception?, string> formatter, IExternalScopeProvider? scopeProvider)
Microsoft.Extensions.Logging.TraceSource (2)
Microsoft.Extensions.ML (14)
ModelLoaders\FileModelLoader.cs (6)
89catch (Exception ex)
159private static readonly Action<ILogger, string, Exception> _fileLoadBegin = LoggerMessage.Define<string>(
164private static readonly Action<ILogger, string, double, Exception> _fileLoadEnd = LoggerMessage.Define<string, double>(
169private static readonly Action<ILogger, string, double, Exception> _fileReloadError = LoggerMessage.Define<string, double>(
174private static readonly Action<ILogger, string, double, Exception> _fileReLoad = LoggerMessage.Define<string, double>(
189public static void FileReloadError(ILogger logger, string filePath, TimeSpan duration, Exception exception)
ModelLoaders\UriModelLoader.cs (8)
95catch (Exception ex)
157catch (Exception ex)
193private static readonly Action<ILogger, Uri, Exception> _uriReloadBegin = LoggerMessage.Define<Uri>(
198private static readonly Action<ILogger, Uri, double, Exception> _uriReloadEnd = LoggerMessage.Define<Uri, double>(
203private static readonly Action<ILogger, Uri, double, Exception> _uriReloadError = LoggerMessage.Define<Uri, double>(
208private static readonly Action<ILogger, Uri, Exception> _uriLoadError = LoggerMessage.Define<Uri>(
223public static void UriReloadError(ILogger logger, Uri uri, TimeSpan duration, Exception exception)
228public static void UriLoadError(ILogger logger, Uri uri, Exception exception)
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.Contextual (5)
Microsoft.Extensions.Primitives (2)
Microsoft.Extensions.Resilience (3)
Microsoft.Extensions.Resilience.Tests (1)
Microsoft.Extensions.ServiceDiscovery (9)
Microsoft.Extensions.ServiceDiscovery.Abstractions (2)
Microsoft.Extensions.ServiceDiscovery.Dns (5)
Resolver\DnsResolver.Log.cs (2)
34public static partial void NetworkError(ILogger logger, QueryType queryType, string queryName, IPEndPoint server, int attempt, Exception exception);
37public static partial void QueryError(ILogger logger, QueryType queryType, string queryName, IPEndPoint server, int attempt, Exception exception);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (6)
Microsoft.Extensions.ServiceDiscovery.Yarp (2)
Microsoft.Extensions.Telemetry (33)
Logging\ExtendedLogger.cs (26)
52public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
59ModernPath(logLevel, eventId, msgState, exception, (Func<LoggerMessageState, Exception?, string>)(object)formatter);
82List<Exception>? exceptions = null;
89catch (Exception ex)
105List<Exception>? exceptions = null;
119catch (Exception ex)
132private static void HandleExceptions(IEnumerable<Exception>? exceptions)
140private static void RecordException(Exception exception, EnrichmentTagCollector tags, LoggerConfig config)
155private static string GetExceptionStackTrace(Exception exception, LoggerConfig config)
173void HandleException(Exception exception, int indent)
204foreach (var ex in aggregateException.InnerExceptions)
216private void ModernPath(LogLevel logLevel, EventId eventId, LoggerMessageState msgState, Exception? exception, Func<LoggerMessageState, Exception?, string> formatter)
250List<Exception>? exceptions = null;
259catch (Exception ex)
291Func<LoggerMessageState, Exception?, string> fmt = s.Formatter!;
337Func<LoggerMessageState, Exception?, string>? fmt = s.Formatter!;
341catch (Exception ex)
362private void LegacyPath<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
372List<Exception>? exceptions = null;
381catch (Exception ex)
431var fmt = (Func<TState, Exception?, string>)s.Formatter!;
477var fmt = (Func<TState, Exception?, string>)s.Formatter!;
481catch (Exception ex)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Extensions.Telemetry.PerformanceTests (6)
Microsoft.Extensions.Telemetry.Tests (15)
Logging\ExtendedLoggerFactoryTests.cs (5)
115.Throws<Exception>();
569public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
607public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Logging\ExtendedLoggerTests.cs (8)
449Exception ex;
452List<Exception> exceptions = [];
455throw new ArgumentNullException("EM1", (Exception?)null);
464throw new ArgumentOutOfRangeException("EM2", (Exception?)null);
1092Exception? exception,
1093Func<TState, Exception?, string> formatter)
1156public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter) => _provider.State = state?.ToString();
Microsoft.Extensions.TimeProvider.Testing (2)
Microsoft.Extensions.Validation (2)
Microsoft.Gen.Logging.Generated.Tests (10)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.JSInterop (11)
Microsoft.Maui (24)
Microsoft.Maui.Controls (26)
Microsoft.Maui.Controls.Build.Tasks (12)
Microsoft.Maui.Controls.Compatibility (1)
Microsoft.Maui.Controls.Foldable (1)
Microsoft.Maui.Controls.SourceGen (5)
Microsoft.Maui.Controls.Xaml (36)
ApplyPropertiesVisitor.cs (20)
134 Exception xpe = null;
176 catch (Exception e)
198 Exception xpe = null;
279 catch (Exception e)
358 if (TrySetPropertyValue(xamlelement, propertyName, xKey, value, rootElement, lineInfo, serviceProvider, out var xpe))
368 public static bool TrySetPropertyValue(object element, XmlName propertyName, string xKey, object value, object rootElement, IXmlLineInfo lineInfo, IServiceProvider serviceProvider, out Exception xpe)
431 public static object GetPropertyValue(object xamlElement, XmlName propertyName, object rootElement, IXmlLineInfo lineInfo, out Exception xpe, out object targetProperty)
455 static bool TryConnectEvent(object element, string localName, bool attached, object value, object rootElement, IXmlLineInfo lineInfo, out Exception exception)
521 static bool TrySetDynamicResource(object element, BindableProperty property, object value, IXmlLineInfo lineInfo, out Exception exception)
542 static bool TrySetBinding(object element, BindableProperty property, string localName, object value, IXmlLineInfo lineInfo, out BindingBase binding, out Exception exception)
574 static bool TrySetValue(object element, BindableProperty property, bool attached, object value, IXmlLineInfo lineInfo, IServiceProvider serviceProvider, out Exception exception)
619 catch (Exception e)
637 static bool TryGetValue(object element, BindableProperty property, bool attached, out object value, IXmlLineInfo lineInfo, out Exception exception, out object targetProperty)
655 static bool TrySetProperty(object element, string localName, object value, IXmlLineInfo lineInfo, IServiceProvider serviceProvider, object rootElement, out Exception exception)
680 catch (Exception e)
687 static bool TryGetProperty(object element, string localName, out object value, IXmlLineInfo lineInfo, object rootElement, out Exception exception, out object targetProperty)
732 static bool TryAddToProperty(object element, XmlName propertyName, object value, string xKey, IXmlLineInfo lineInfo, IServiceProvider serviceProvider, object rootElement, out Exception exception)
755 catch (Exception e)
762 static bool TryAddToResourceDictionary(ResourceDictionary resourceDictionary, object value, string xKey, IXmlLineInfo lineInfo, out Exception exception)
802 static bool TryAddValue(BindableObject bindable, BindableProperty property, object value, IServiceProvider serviceProvider, out Exception exception)
Microsoft.Maui.Essentials (6)
Microsoft.Maui.Graphics (4)
Microsoft.Maui.Graphics.Skia (4)
Microsoft.Maui.Graphics.Text.Markdig (1)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
Microsoft.Maui.Maps (6)
Microsoft.Maui.Resizetizer (11)
Microsoft.McpServer.ProjectTemplates.Tests (1)
Microsoft.ML.AutoML (33)
Microsoft.ML.AutoML.Interactive (1)
Microsoft.ML.AutoML.Samples (1)
Microsoft.ML.AutoML.Tests (5)
Microsoft.ML.CodeGenerator (2)
Microsoft.ML.Core (131)
Utilities\Contracts.cs (98)
39where TException : Exception;
89where TException : Exception
99/// <see cref="Exception.Data"/> to 1.
102where TException : Exception
112public static bool IsMarked(this Exception ex)
125where TException : Exception
147public static MessageSensitivity Sensitivity(this Exception ex)
189public TException Process<TException>(TException ex) where TException : Exception
255public static Exception Except()
257public static Exception Except(this IExceptionContext ctx)
259public static Exception Except(string msg)
261public static Exception Except(this IExceptionContext ctx, string msg)
263public static Exception Except(string msg, params object[] args)
265public static Exception Except(this IExceptionContext ctx, string msg, params object[] args)
267public static Exception Except(Exception inner, string msg)
269public static Exception Except(this IExceptionContext ctx, Exception inner, string msg)
271public static Exception Except(Exception inner, string msg, params object[] args)
273public static Exception Except(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
281public static Exception ExceptUserArg(string name)
283public static Exception ExceptUserArg(this IExceptionContext ctx, string name)
285public static Exception ExceptUserArg(string name, string msg)
287public static Exception ExceptUserArg(this IExceptionContext ctx, string name, string msg)
289public static Exception ExceptUserArg(string name, string msg, params object[] args)
291public static Exception ExceptUserArg(this IExceptionContext ctx, string name, string msg, params object[] args)
297public static Exception ExceptParam(string paramName)
299public static Exception ExceptParam(this IExceptionContext ctx, string paramName)
301public static Exception ExceptParam(string paramName, string msg)
303public static Exception ExceptParam(this IExceptionContext ctx, string paramName, string msg)
305public static Exception ExceptParam(string paramName, string msg, params object[] args)
307public static Exception ExceptParam(this IExceptionContext ctx, string paramName, string msg, params object[] args)
309public static Exception ExceptParamValue<T>(T value, string paramName, string msg)
311public static Exception ExceptParamValue<T>(this IExceptionContext ctx, T value, string paramName, string msg)
313public static Exception ExceptParamValue<T>(T value, string paramName, string msg, params object[] args)
315public static Exception ExceptParamValue<T>(this IExceptionContext ctx, T value, string paramName, string msg, params object[] args)
321public static Exception ExceptValue(string paramName)
323public static Exception ExceptValue(this IExceptionContext ctx, string paramName)
325public static Exception ExceptValue(string paramName, string msg)
327public static Exception ExceptValue(this IExceptionContext ctx, string paramName, string msg)
329public static Exception ExceptValue(string paramName, string msg, params object[] args)
331public static Exception ExceptValue(this IExceptionContext ctx, string paramName, string msg, params object[] args)
339public static Exception ExceptEmpty(string paramName)
341public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName)
343public static Exception ExceptEmpty(string paramName, string msg)
345public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName, string msg)
347public static Exception ExceptEmpty(string paramName, string msg, params object[] args)
349public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName, string msg, params object[] args)
355public static Exception ExceptWhiteSpace(string paramName)
357public static Exception ExceptWhiteSpace(this IExceptionContext ctx, string paramName)
359public static Exception ExceptWhiteSpace(string paramName, string msg)
361public static Exception ExceptWhiteSpace(this IExceptionContext ctx, string paramName, string msg)
369public static Exception ExceptDecode()
371public static Exception ExceptDecode(this IExceptionContext ctx)
373public static Exception ExceptDecode(string msg)
375public static Exception ExceptDecode(this IExceptionContext ctx, string msg)
377public static Exception ExceptDecode(string msg, params object[] args)
379public static Exception ExceptDecode(this IExceptionContext ctx, string msg, params object[] args)
381public static Exception ExceptDecode(Exception inner, string msg)
383public static Exception ExceptDecode(this IExceptionContext ctx, Exception inner, string msg)
385public static Exception ExceptDecode(Exception inner, string msg, params object[] args)
387public static Exception ExceptDecode(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
393public static Exception ExceptIO()
395public static Exception ExceptIO(this IExceptionContext ctx)
397public static Exception ExceptIO(string msg)
399public static Exception ExceptIO(this IExceptionContext ctx, string msg)
401public static Exception ExceptIO(string msg, params object[] args)
403public static Exception ExceptIO(this IExceptionContext ctx, string msg, params object[] args)
405public static Exception ExceptIO(Exception inner, string msg)
407public static Exception ExceptIO(this IExceptionContext ctx, Exception inner, string msg)
409public static Exception ExceptIO(Exception inner, string msg, params object[] args)
411public static Exception ExceptIO(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
417public static Exception ExceptNotImpl()
419public static Exception ExceptNotImpl(this IExceptionContext ctx)
421public static Exception ExceptNotImpl(string msg)
423public static Exception ExceptNotImpl(this IExceptionContext ctx, string msg)
425public static Exception ExceptNotImpl(string msg, params object[] args)
427public static Exception ExceptNotImpl(this IExceptionContext ctx, string msg, params object[] args)
433public static Exception ExceptNotSupp()
435public static Exception ExceptNotSupp(this IExceptionContext ctx)
437public static Exception ExceptNotSupp(string msg)
439public static Exception ExceptNotSupp(this IExceptionContext ctx, string msg)
441public static Exception ExceptNotSupp(string msg, params object[] args)
443public static Exception ExceptNotSupp(this IExceptionContext ctx, string msg, params object[] args)
449public static Exception ExceptSchemaMismatch(string paramName, string columnRole, string columnName)
451public static Exception ExceptSchemaMismatch(this IExceptionContext ctx, string paramName, string columnRole, string columnName)
453public static Exception ExceptSchemaMismatch(string paramName, string columnRole, string columnName, string expectedType, string actualType)
455public static Exception ExceptSchemaMismatch(this IExceptionContext ctx, string paramName, string columnRole, string columnName, string expectedType, string actualType)
Microsoft.ML.Core.Tests (13)
Microsoft.ML.CpuMath (97)
src\Microsoft.ML.Core\Utilities\Contracts.cs (97)
39where TException : Exception;
89where TException : Exception
99/// <see cref="Exception.Data"/> to 1.
102where TException : Exception
112public static bool IsMarked(this Exception ex)
125where TException : Exception
147public static MessageSensitivity Sensitivity(this Exception ex)
255public static Exception Except()
257public static Exception Except(this IExceptionContext ctx)
259public static Exception Except(string msg)
261public static Exception Except(this IExceptionContext ctx, string msg)
263public static Exception Except(string msg, params object[] args)
265public static Exception Except(this IExceptionContext ctx, string msg, params object[] args)
267public static Exception Except(Exception inner, string msg)
269public static Exception Except(this IExceptionContext ctx, Exception inner, string msg)
271public static Exception Except(Exception inner, string msg, params object[] args)
273public static Exception Except(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
281public static Exception ExceptUserArg(string name)
283public static Exception ExceptUserArg(this IExceptionContext ctx, string name)
285public static Exception ExceptUserArg(string name, string msg)
287public static Exception ExceptUserArg(this IExceptionContext ctx, string name, string msg)
289public static Exception ExceptUserArg(string name, string msg, params object[] args)
291public static Exception ExceptUserArg(this IExceptionContext ctx, string name, string msg, params object[] args)
297public static Exception ExceptParam(string paramName)
299public static Exception ExceptParam(this IExceptionContext ctx, string paramName)
301public static Exception ExceptParam(string paramName, string msg)
303public static Exception ExceptParam(this IExceptionContext ctx, string paramName, string msg)
305public static Exception ExceptParam(string paramName, string msg, params object[] args)
307public static Exception ExceptParam(this IExceptionContext ctx, string paramName, string msg, params object[] args)
309public static Exception ExceptParamValue<T>(T value, string paramName, string msg)
311public static Exception ExceptParamValue<T>(this IExceptionContext ctx, T value, string paramName, string msg)
313public static Exception ExceptParamValue<T>(T value, string paramName, string msg, params object[] args)
315public static Exception ExceptParamValue<T>(this IExceptionContext ctx, T value, string paramName, string msg, params object[] args)
321public static Exception ExceptValue(string paramName)
323public static Exception ExceptValue(this IExceptionContext ctx, string paramName)
325public static Exception ExceptValue(string paramName, string msg)
327public static Exception ExceptValue(this IExceptionContext ctx, string paramName, string msg)
329public static Exception ExceptValue(string paramName, string msg, params object[] args)
331public static Exception ExceptValue(this IExceptionContext ctx, string paramName, string msg, params object[] args)
339public static Exception ExceptEmpty(string paramName)
341public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName)
343public static Exception ExceptEmpty(string paramName, string msg)
345public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName, string msg)
347public static Exception ExceptEmpty(string paramName, string msg, params object[] args)
349public static Exception ExceptEmpty(this IExceptionContext ctx, string paramName, string msg, params object[] args)
355public static Exception ExceptWhiteSpace(string paramName)
357public static Exception ExceptWhiteSpace(this IExceptionContext ctx, string paramName)
359public static Exception ExceptWhiteSpace(string paramName, string msg)
361public static Exception ExceptWhiteSpace(this IExceptionContext ctx, string paramName, string msg)
369public static Exception ExceptDecode()
371public static Exception ExceptDecode(this IExceptionContext ctx)
373public static Exception ExceptDecode(string msg)
375public static Exception ExceptDecode(this IExceptionContext ctx, string msg)
377public static Exception ExceptDecode(string msg, params object[] args)
379public static Exception ExceptDecode(this IExceptionContext ctx, string msg, params object[] args)
381public static Exception ExceptDecode(Exception inner, string msg)
383public static Exception ExceptDecode(this IExceptionContext ctx, Exception inner, string msg)
385public static Exception ExceptDecode(Exception inner, string msg, params object[] args)
387public static Exception ExceptDecode(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
393public static Exception ExceptIO()
395public static Exception ExceptIO(this IExceptionContext ctx)
397public static Exception ExceptIO(string msg)
399public static Exception ExceptIO(this IExceptionContext ctx, string msg)
401public static Exception ExceptIO(string msg, params object[] args)
403public static Exception ExceptIO(this IExceptionContext ctx, string msg, params object[] args)
405public static Exception ExceptIO(Exception inner, string msg)
407public static Exception ExceptIO(this IExceptionContext ctx, Exception inner, string msg)
409public static Exception ExceptIO(Exception inner, string msg, params object[] args)
411public static Exception ExceptIO(this IExceptionContext ctx, Exception inner, string msg, params object[] args)
417public static Exception ExceptNotImpl()
419public static Exception ExceptNotImpl(this IExceptionContext ctx)
421public static Exception ExceptNotImpl(string msg)
423public static Exception ExceptNotImpl(this IExceptionContext ctx, string msg)
425public static Exception ExceptNotImpl(string msg, params object[] args)
427public static Exception ExceptNotImpl(this IExceptionContext ctx, string msg, params object[] args)
433public static Exception ExceptNotSupp()
435public static Exception ExceptNotSupp(this IExceptionContext ctx)
437public static Exception ExceptNotSupp(string msg)
439public static Exception ExceptNotSupp(this IExceptionContext ctx, string msg)
441public static Exception ExceptNotSupp(string msg, params object[] args)
443public static Exception ExceptNotSupp(this IExceptionContext ctx, string msg, params object[] args)
449public static Exception ExceptSchemaMismatch(string paramName, string columnRole, string columnName)
451public static Exception ExceptSchemaMismatch(this IExceptionContext ctx, string paramName, string columnRole, string columnName)
453public static Exception ExceptSchemaMismatch(string paramName, string columnRole, string columnName, string expectedType, string actualType)
455public static Exception ExceptSchemaMismatch(this IExceptionContext ctx, string paramName, string columnRole, string columnName, string expectedType, string actualType)
Microsoft.ML.Data (28)
Microsoft.ML.DataView (5)
Microsoft.ML.Ensemble (1)
Microsoft.ML.FastTree (1)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.Maml (12)
Microsoft.ML.Parquet (4)
Microsoft.ML.Predictor.Tests (2)
Microsoft.ML.ResultProcessor (1)
Microsoft.ML.Samples (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.Sweeper (6)
Microsoft.ML.TensorFlow (7)
Microsoft.ML.TestFramework (3)
Microsoft.ML.Tests (15)
Microsoft.ML.Tokenizers (5)
Microsoft.ML.Tokenizers.Data.Tests (9)
src\Common\tests\RetryHelper.cs (8)
16private static readonly Predicate<Exception> _defaultRetryWhenFunc = p => true;
24public static void Execute(Action test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
39var exceptions = new List<Exception>();
42Exception lastException;
48catch (Exception e) when (retryWhen(e))
74public static async Task ExecuteAsync(Func<Task> test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
89var exceptions = new List<Exception>();
97catch (Exception e) when (retryWhen(e))
Microsoft.ML.Tokenizers.Tests (17)
src\Common\tests\RetryHelper.cs (8)
16private static readonly Predicate<Exception> _defaultRetryWhenFunc = p => true;
24public static void Execute(Action test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
39var exceptions = new List<Exception>();
42Exception lastException;
48catch (Exception e) when (retryWhen(e))
74public static async Task ExecuteAsync(Func<Task> test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
89var exceptions = new List<Exception>();
97catch (Exception e) when (retryWhen(e))
Microsoft.ML.Transforms (1)
Microsoft.ML.Vision (3)
Microsoft.NET.Build.Containers (15)
Microsoft.NET.Build.Tasks (12)
Microsoft.NET.HostModel (5)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
Microsoft.NET.Sdk.BlazorWebAssembly.Tool (1)
Microsoft.NET.Sdk.Publish.Tasks (28)
Microsoft.NET.Sdk.Razor.Tasks (9)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (14)
Microsoft.NET.Sdk.StaticWebAssets.Tool (1)
Microsoft.NET.Sdk.WorkloadManifestReader (5)
Microsoft.Private.Windows.Core (19)
Microsoft.SourceLink.Common (1)
Microsoft.Svcutil.NamedPipeMetadataImporter (3)
Microsoft.TemplateEngine.Cli (16)
Microsoft.TemplateEngine.Core (2)
Microsoft.TemplateEngine.Edge (41)
Microsoft.TemplateEngine.Utils (7)
Microsoft.TemplateSearch.Common (9)
Microsoft.TestPlatform.CommunicationUtilities (29)
Microsoft.TestPlatform.CoreUtilities (7)
Microsoft.TestPlatform.CrossPlatEngine (55)
Microsoft.TestPlatform.Extensions.BlameDataCollector (17)
Microsoft.TestPlatform.PlatformAbstractions (9)
Microsoft.TestPlatform.TestHostRuntimeProvider (3)
Microsoft.TestPlatform.Utilities (4)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (15)
Microsoft.VisualBasic.Core (126)
Microsoft.VisualStudio.TestPlatform.Client (11)
Microsoft.VisualStudio.TestPlatform.Common (40)
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (8)
Microsoft.VisualStudio.TestPlatform.ObjectModel (21)
Microsoft.Web.XmlTransform (26)
Microsoft.Win32.Msi (1)
Microsoft.Win32.Registry (3)
Microsoft.Win32.SystemEvents (4)
Mono.Cecil (11)
Mono.Cecil.Mdb (2)
MSBuild (66)
src\msbuild\src\Shared\ErrorUtilities.cs (7)
168internal static void ThrowArgument(Exception? innerException, string resourceName, params object?[]? args)
220internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName)
232internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0)
245internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
258internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
271internal static void VerifyThrowArgument([DoesNotReturnIf(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
349throw new ArgumentNullException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword(resourceName, parameterName), (Exception?)null);
mscorlib (1)
netstandard (1)
NuGet.Build.Tasks (6)
NuGet.Build.Tasks.Console (14)
NuGet.Build.Tasks.Pack (1)
NuGet.CommandLine.XPlat (7)
NuGet.Commands (17)
NuGet.Common (15)
NuGet.Configuration (4)
NuGet.Credentials (6)
NuGet.PackageManagement (35)
NuGet.Packaging (24)
NuGet.ProjectModel (13)
NuGet.Protocol (108)
Pipelines.AppHost (1)
PresentationBuildTasks (39)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (1)
1052catch (Exception e)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParseException.cs (5)
62public XamlParseException(string message, Exception innerException)
104public XamlParseException(string message, int lineNumber, int linePosition, Exception innerException)
111internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException)
409Exception innerException,
517Exception innerException,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
187catch (Exception e)
PresentationCore (121)
PresentationFramework (368)
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (16)
64Exception ex = GetExceptionForHR(hr, useGlobalErrorState: true, out bool restoredExceptionFromGlobalState);
75public static Exception GetExceptionForHR(int hr) => GetExceptionForHR(hr, false, out _);
77private static Exception GetExceptionForHR(int hr, bool useGlobalErrorState, out bool restoredExceptionFromGlobalState)
87Exception ex;
114ex = ComWrappersSupport.FindObject<Exception>(languageException.ThisPtr);
164public static unsafe void SetErrorInfo(Exception ex)
203public static void ReportUnhandledError(Exception ex)
214public static int GetHRForException(Exception ex)
256this Exception ex,
280this Exception ex,
298public static Exception AttachRestrictedErrorInfo(Exception e)
353public static void SetHResult(this Exception ex, int value)
358internal static Exception GetExceptionForHR(this Exception innerException, int hresult, string messageResource)
360Exception e;
System\Windows\Documents\ITextView.cs (4)
594public BringPositionIntoViewCompletedEventArgs(ITextPointer position, bool succeeded, Exception error, bool cancelled, object userState)
622public BringPointIntoViewCompletedEventArgs(Point point, ITextPointer position, bool succeeded, Exception error, bool cancelled, object userState)
691public BringLineIntoViewCompletedEventArgs(ITextPointer position, double suggestedX, int count, ITextPointer newPosition, double newSuggestedX, int linesMoved, bool succeeded, Exception error, bool cancelled, object userState)
807public BringPageIntoViewCompletedEventArgs(ITextPointer position, Point suggestedOffset, int count, ITextPointer newPosition, Point newSuggestedOffset, int pagesMoved, bool succeeded, Exception error, bool cancelled, object userState)
System\Windows\Markup\XamlParseException.cs (6)
62public XamlParseException(string message, Exception innerException)
104public XamlParseException(string message, int lineNumber, int linePosition, Exception innerException)
111internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException)
409Exception innerException,
501internal static void ThrowException(ParserContext parserContext, int lineNumber, int linePosition, string message, Exception innerException)
517Exception innerException,
PresentationUI (11)
ReachFramework (36)
RepoTasks (30)
Roslyn.Diagnostics.Analyzers (62)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (14)
24public OperationCanceledIgnoringCallerTokenException(Exception innerException)
32public delegate void ErrorReporterHandler(Exception exception, ErrorSeverity severity, bool forceDump);
38private static Exception? s_reportedException;
46/// cref="ReportNonFatalError(Exception, ErrorSeverity, bool)"/></param>
102public static bool ReportAndPropagate(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
114public static bool ReportAndPropagateUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
143public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
164public static bool ReportAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
176public static bool ReportWithDumpAndCatch(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
189public static bool ReportAndCatchUnlessCanceled(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized)
219public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken, ErrorSeverity severity = ErrorSeverity.Uncategorized)
259private static void Report(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
270public static void ReportNonFatalError(Exception exception, ErrorSeverity severity = ErrorSeverity.Uncategorized, bool forceDump = false)
275private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
50catch (Exception)
Roslyn.Diagnostics.CSharp.Analyzers (1)
rzc (21)
ScenarioTests.Common.Tests (5)
sdk-tasks (9)
Security.TransportSecurity.IntegrationTests (12)
Shared (3)
Shared.Tests (104)
Throw\DoubleTests.cs (17)
30var exception = Record.Exception(() => Throw.IfLessThan(0.0, 0.0, "paramName"));
49var exception = Record.Exception(() => Throw.IfGreaterThan(0.0, 0.0, "paramName"));
69var exception = Record.Exception(() => Throw.IfLessThanOrEqual(1.5, 0.0, "paramName"));
89var exception = Record.Exception(() => Throw.IfGreaterThanOrEqual(0.0, 1.3, "paramName"));
110var exception = Record.Exception(() => Throw.IfZero(notZero, "paramName"));
138var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1));
139var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1, nameof(Zero)));
149var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1));
150var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1, nameof(Zero)));
160var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1));
161var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1, nameof(Zero)));
171var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1));
172var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1, nameof(Zero)));
182var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero));
183var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero, nameof(Zero)));
193var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2));
194var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2, nameof(Zero)));
Throw\IntegerTests.cs (34)
26var exception = Record.Exception(() => Throw.IfLessThan(0, 0, "paramName"));
41var exception = Record.Exception(() => Throw.IfGreaterThan(0, 0, "paramName"));
56var exception = Record.Exception(() => Throw.IfLessThanOrEqual(1, 0, "paramName"));
71var exception = Record.Exception(() => Throw.IfGreaterThanOrEqual(0, 1, "paramName"));
86var exception = Record.Exception(() => Throw.IfZero(1, "paramName"));
110var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1));
111var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1, nameof(Zero)));
121var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1));
122var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1, nameof(Zero)));
132var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1));
133var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1, nameof(Zero)));
143var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1));
144var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1, nameof(Zero)));
154var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero));
155var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero, nameof(Zero)));
165var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2));
166var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2, nameof(Zero)));
186var exception = Record.Exception(() => Throw.IfLessThan(0U, 0U, "paramName"));
201var exception = Record.Exception(() => Throw.IfGreaterThan(0U, 0U, "paramName"));
216var exception = Record.Exception(() => Throw.IfLessThanOrEqual(1U, 0U, "paramName"));
231var exception = Record.Exception(() => Throw.IfGreaterThanOrEqual(0U, 1U, "paramName"));
246var exception = Record.Exception(() => Throw.IfZero(1U, "paramName"));
270var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(One, 0U));
271var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(One, 0U, nameof(One)));
281var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(One, 0U));
282var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(One, 0U, nameof(One)));
292var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1U));
293var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1U, nameof(Zero)));
303var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1U));
304var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1U, nameof(Zero)));
314var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero));
315var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero, nameof(Zero)));
325var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1U, 2U));
326var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1U, 2U, nameof(Zero)));
Throw\LongTests.cs (34)
26var exception = Record.Exception(() => Throw.IfLessThan(0L, 0L, "paramName"));
41var exception = Record.Exception(() => Throw.IfGreaterThan(0L, 0L, "paramName"));
56var exception = Record.Exception(() => Throw.IfLessThanOrEqual(1L, 0L, "paramName"));
71var exception = Record.Exception(() => Throw.IfGreaterThanOrEqual(0L, 1L, "paramName"));
86var exception = Record.Exception(() => Throw.IfZero(1L, "paramName"));
110var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1));
111var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(Zero, -1, nameof(Zero)));
121var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1));
122var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(Zero, -1, nameof(Zero)));
132var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1));
133var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1, nameof(Zero)));
143var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1));
144var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1, nameof(Zero)));
154var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero));
155var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero, nameof(Zero)));
165var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2));
166var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1, 2, nameof(Zero)));
186var exception = Record.Exception(() => Throw.IfLessThan(0UL, 0UL, "paramName"));
201var exception = Record.Exception(() => Throw.IfGreaterThan(0UL, 0UL, "paramName"));
216var exception = Record.Exception(() => Throw.IfLessThanOrEqual(1UL, 0UL, "paramName"));
231var exception = Record.Exception(() => Throw.IfGreaterThanOrEqual(0UL, 1UL, "paramName"));
246var exception = Record.Exception(() => Throw.IfZero(1UL, "paramName"));
270var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(One, 0UL));
271var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThan(One, 0UL, nameof(One)));
281var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(One, 0UL));
282var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfGreaterThanOrEqual(One, 0UL, nameof(One)));
292var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1UL));
293var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1UL, nameof(Zero)));
303var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1UL));
304var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThanOrEqual(Zero, 1UL, nameof(Zero)));
314var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero));
315var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfZero(Zero, nameof(Zero)));
325var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1UL, 2UL));
326var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange(Zero, 1UL, 2UL, nameof(Zero)));
Throw\ThrowTest.cs (19)
29var innerException = new Exception();
52var innerException = new Exception();
146var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNull(somethingThatIsNull));
147var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfNull(somethingThatIsNull, nameof(somethingThatIsNull)));
159var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrMemberNull(somethingThatIsNull, somethingNestedThatIsNull));
160var exceptionExplicitArgumentName = Record.Exception(
173var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrMemberNull(red, somethingNestedThatIsNull));
174var exceptionExplicitArgumentName = Record.Exception(
208var exception = Record.Exception(() => Throw.IfNullOrMemberNull(red, blue));
239var exception = Record.Exception(() => Throw.IfNullOrWhitespace("param", "paramName"));
261var exception = Record.Exception(() => Throw.IfNullOrEmpty("param", "paramName"));
270var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrWhitespace(somethingThatIsNull));
271var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfNullOrWhitespace(somethingThatIsNull, nameof(somethingThatIsNull)));
281var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrEmpty(somethingThatIsNull));
282var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfNullOrEmpty(somethingThatIsNull, nameof(somethingThatIsNull)));
302var exception = Record.Exception(() => Throw.IfBufferTooSmall(23, 23, "paramName"));
380var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfNullOrEmpty(listButActuallyNull!));
417var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange((Color)colorButNull!));
418var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfOutOfRange((Color)colorButNull!, nameof(colorButNull)));
SuperFileCheck (3)
System.CodeDom (1)
System.CommandLine (4)
System.ComponentModel.Annotations (3)
System.ComponentModel.Composition (84)
System\ComponentModel\Composition\CompositionError.cs (11)
18private readonly Exception? _exception;
32: this(CompositionErrorId.Unknown, message, (ICompositionElement?)null, (Exception?)null)
53: this(CompositionErrorId.Unknown, message, element, (Exception?)null)
72public CompositionError(string? message, Exception? exception)
98public CompositionError(string? message, ICompositionElement? element, Exception? exception)
103internal CompositionError(CompositionErrorId id, string? description, ICompositionElement? element, Exception? exception)
142public Exception? Exception
152internal Exception? InnerException
170return Create(id, (ICompositionElement?)null, (Exception?)null, format, parameters);
175return Create(id, element, (Exception?)null, format, parameters);
178internal static CompositionError Create(CompositionErrorId id, ICompositionElement? element, Exception? exception, string format, params object?[] parameters)
System\ComponentModel\Composition\CompositionException.cs (13)
30: this((string?)null, (Exception?)null, (IEnumerable<CompositionError>?)null)
41/// the <see cref="Exception.Message"/> property to its default value.
44: this(message, (Exception?)null, (IEnumerable<CompositionError>?)null)
56/// the <see cref="Exception.Message"/> property to its default value.
59/// The <see cref="Exception"/> that is the underlying cause of the
61/// the <see cref="Exception.InnerException"/> property to <see langword="null"/>.
63public CompositionException(string? message, Exception? innerException)
87: this((string?)null, (Exception?)null, errors)
91internal CompositionException(string? message, Exception? innerException, IEnumerable<CompositionError>? errors)
134public ReadOnlyCollection<Exception> RootCauses
138var errors = new List<Exception>();
156return errors.ToReadOnlyCollection<Exception>();
310private static void VisitException(Exception exception, VisitContext context)
System.ComponentModel.EventBasedAsync (5)
System.ComponentModel.Primitives (2)
System.ComponentModel.TypeConverter (14)
System.Composition.Runtime (1)
System.Configuration.ConfigurationManager (56)
System\Configuration\ConfigurationErrorsException.cs (5)
35public ConfigurationErrorsException(string message, Exception inner, string filename, int line)
50public ConfigurationErrorsException(string message, Exception inner) :
62public ConfigurationErrorsException(string message, Exception inner, XmlNode node) :
70public ConfigurationErrorsException(string message, Exception inner, XmlReader reader) :
78internal ConfigurationErrorsException(string message, Exception inner, IConfigErrorInfo errorInfo) :
System\Configuration\ConfigurationException.cs (3)
44public ConfigurationException(string message, Exception inner) : this(message, inner, null, 0) { }
52public ConfigurationException(string message, Exception inner, XmlNode node)
60public ConfigurationException(string message, Exception inner, string filename, int line) : base(message, inner)
System.Console (8)
System.Data.Common (515)
System\Data\Common\AdapterUtil.Common.cs (29)
25static partial void TraceException(string trace, Exception e)
34internal static void TraceExceptionForCapture(Exception e)
278internal static Exception WrongType(Type got, Type expected)
286internal static Exception CollectionUniqueValue(Type itemType, string propertyName, string? propertyValue)
354internal static Exception InvalidSourceColumn(string parameter)
358internal static Exception ColumnsAddNullAttempt(string parameter)
362internal static Exception ColumnsDataSetColumn(string cacheColumn)
366internal static Exception ColumnsIndexInt32(int index, IColumnMappingCollection collection)
370internal static Exception ColumnsIndexSource(string srcColumn)
374internal static Exception ColumnsIsNotParent(ICollection collection)
378internal static Exception ColumnsIsParent(ICollection collection)
382internal static Exception ColumnsUniqueSourceColumn(string? srcColumn)
386internal static Exception NotADataColumnMapping(object value)
394internal static Exception InvalidSourceTable(string parameter)
398internal static Exception TablesAddNullAttempt(string parameter)
402internal static Exception TablesDataSetTable(string cacheTable)
406internal static Exception TablesIndexInt32(int index, ITableMappingCollection collection)
410internal static Exception TablesIsNotParent(ICollection collection)
414internal static Exception TablesIsParent(ICollection collection)
418internal static Exception TablesSourceIndex(string srcTable)
422internal static Exception TablesUniqueSourceTable(string? srcTable)
426internal static Exception NotADataTableMapping(object value)
519internal static Exception FillSchemaRequiresSourceTableName(string parameter)
527internal static Exception InvalidMaxRecords(string parameter, int max)
531internal static Exception InvalidStartRecord(string parameter, int start)
535internal static Exception FillRequires(string parameter)
539internal static Exception FillRequiresSourceTableName(string parameter)
543internal static Exception FillChapterAutoIncrement()
575internal static Exception UpdateConcurrencyViolation(StatementType statementType, int affected, int expected, DataRow[] dataRows)
System\Data\DataException.cs (304)
31public DataException(string? s, Exception? innerException) : base(s ?? SR.DataSet_DefaultDataException, innerException) { }
54public ConstraintException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultConstraintException, innerException)
86public DeletedRowInaccessibleException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultDeletedRowInaccessibleException, innerException)
112public DuplicateNameException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultDuplicateNameException, innerException)
138public InRowChangingEventException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultInRowChangingEventException, innerException)
164public InvalidConstraintException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultInvalidConstraintException, innerException)
190public MissingPrimaryKeyException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultMissingPrimaryKeyException, innerException)
216public NoNullAllowedException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultNoNullAllowedException, innerException)
242public ReadOnlyException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultReadOnlyException, innerException)
268public RowNotInTableException(string? message, Exception? innerException) : base(message ?? SR.DataSet_DefaultRowNotInTableException, innerException)
294public VersionNotFoundException(string? message, Exception? innerException) : base(message ?? (SR.DataSet_DefaultVersionNotFoundException), innerException)
311private static void TraceException(string trace, Exception e)
320internal static Exception TraceExceptionAsReturnValue(Exception e)
326internal static Exception TraceExceptionForCapture(Exception e)
332internal static Exception TraceExceptionWithoutRethrow(Exception e)
338internal static Exception _Argument(string error) => TraceExceptionAsReturnValue(new ArgumentException(error));
339internal static Exception _Argument(string error, Exception? innerException) => TraceExceptionAsReturnValue(new ArgumentException(error, innerException));
340private static Exception _ArgumentNull(string paramName, string msg) => TraceExceptionAsReturnValue(new ArgumentNullException(paramName, msg));
341internal static Exception _ArgumentOutOfRange(string paramName, string msg) => TraceExceptionAsReturnValue(new ArgumentOutOfRangeException(paramName, msg));
342private static Exception _IndexOutOfRange(string error) => TraceExceptionAsReturnValue(new IndexOutOfRangeException(error));
343private static Exception _InvalidOperation(string error) => TraceExceptionAsReturnValue(new InvalidOperationException(error));
344private static Exception _InvalidEnumArgumentException(string error) => TraceExceptionAsReturnValue(new InvalidEnumArgumentException(error));
345private static Exception _InvalidEnumArgumentException<T>(T value) where T : Enum
352private static void ThrowDataException(string error, Exception? innerException)
357private static Exception _Data(string error) => TraceExceptionAsReturnValue(new DataException(error));
358private static Exception _Constraint(string error) => TraceExceptionAsReturnValue(new ConstraintException(error));
359private static Exception _InvalidConstraint(string error) => TraceExceptionAsReturnValue(new InvalidConstraintException(error));
360private static Exception _DeletedRowInaccessible(string error) => TraceExceptionAsReturnValue(new DeletedRowInaccessibleException(error));
361private static Exception _DuplicateName(string error) => TraceExceptionAsReturnValue(new DuplicateNameException(error));
362private static Exception _InRowChangingEvent(string error) => TraceExceptionAsReturnValue(new InRowChangingEventException(error));
363private static Exception _MissingPrimaryKey(string error) => TraceExceptionAsReturnValue(new MissingPrimaryKeyException(error));
364private static Exception _NoNullAllowed(string error) => TraceExceptionAsReturnValue(new NoNullAllowedException(error));
366private static Exception _ReadOnly(string error) => TraceExceptionAsReturnValue(new ReadOnlyException(error));
367private static Exception _RowNotInTable(string error) => TraceExceptionAsReturnValue(new RowNotInTableException(error));
368private static Exception _VersionNotFound(string error) => TraceExceptionAsReturnValue(new VersionNotFoundException(error));
370public static Exception ArgumentNull(string paramName) => _ArgumentNull(paramName, SR.Format(SR.Data_ArgumentNull, paramName));
371public static Exception ArgumentOutOfRange(string paramName) => _ArgumentOutOfRange(paramName, SR.Format(SR.Data_ArgumentOutOfRange, paramName));
372public static Exception BadObjectPropertyAccess(string error) => _InvalidOperation(SR.Format(SR.DataConstraint_BadObjectPropertyAccess, error));
373public static Exception ArgumentContainsNull(string paramName) => TraceExceptionAsReturnValue(new ArgumentException(SR.Data_ArgumentContainsNull, paramName));
374public static Exception TypeNotAllowed(Type type) => _InvalidOperation(SR.Format(SR.Data_TypeNotAllowed, type.AssemblyQualifiedName));
380public static Exception NotSupportedOnDataSourceBatch() => Common.ADP.NotSupported(SR.Batch_NotSupportedOnDataSourceBatch);
386public static Exception NotSupportedOnDataSourceCommand() => Common.ADP.NotSupported(SR.Command_NotSupportedOnDataSourceCommand);
392public static Exception CannotModifyCollection() => _Argument(SR.Data_CannotModifyCollection);
393public static Exception CaseInsensitiveNameConflict(string? name) => _Argument(SR.Format(SR.Data_CaseInsensitiveNameConflict, name));
394public static Exception NamespaceNameConflict(string? name) => _Argument(SR.Format(SR.Data_NamespaceNameConflict, name));
395public static Exception InvalidOffsetLength() => _Argument(SR.Data_InvalidOffsetLength);
401public static Exception ColumnNotInTheTable(string column, string table) => _Argument(SR.Format(SR.DataColumn_NotInTheTable, column, table));
402public static Exception ColumnNotInAnyTable() => _Argument(SR.DataColumn_NotInAnyTable);
403public static Exception ColumnOutOfRange(int index) => _IndexOutOfRange(SR.Format(SR.DataColumns_OutOfRange, (index).ToString(CultureInfo.InvariantCulture)));
404public static Exception ColumnOutOfRange(string column) => _IndexOutOfRange(SR.Format(SR.DataColumns_OutOfRange, column));
405public static Exception CannotAddColumn1(string column) => _Argument(SR.Format(SR.DataColumns_Add1, column));
406public static Exception CannotAddColumn2(string column) => _Argument(SR.Format(SR.DataColumns_Add2, column));
407public static Exception CannotAddColumn3() => _Argument(SR.DataColumns_Add3);
408public static Exception CannotAddColumn4(string column) => _Argument(SR.Format(SR.DataColumns_Add4, column));
409public static Exception CannotAddDuplicate(string column) => _DuplicateName(SR.Format(SR.DataColumns_AddDuplicate, column));
410public static Exception CannotAddDuplicate2(string table) => _DuplicateName(SR.Format(SR.DataColumns_AddDuplicate2, table));
411public static Exception CannotAddDuplicate3(string table) => _DuplicateName(SR.Format(SR.DataColumns_AddDuplicate3, table));
412public static Exception CannotRemoveColumn() => _Argument(SR.DataColumns_Remove);
413public static Exception CannotRemovePrimaryKey() => _Argument(SR.DataColumns_RemovePrimaryKey);
414public static Exception CannotRemoveChildKey(string relation) => _Argument(SR.Format(SR.DataColumns_RemoveChildKey, relation));
415public static Exception CannotRemoveConstraint(string constraint, string table) => _Argument(SR.Format(SR.DataColumns_RemoveConstraint, constraint, table));
416public static Exception CannotRemoveExpression(string column, string expression) => _Argument(SR.Format(SR.DataColumns_RemoveExpression, column, expression));
417public static Exception ColumnNotInTheUnderlyingTable(string column, string table) => _Argument(SR.Format(SR.DataColumn_NotInTheUnderlyingTable, column, table));
418public static Exception InvalidOrdinal(string name, int ordinal) => _ArgumentOutOfRange(name, SR.Format(SR.DataColumn_OrdinalExceedMaximum, (ordinal).ToString(CultureInfo.InvariantCulture)));
424public static Exception AddPrimaryKeyConstraint() => _Argument(SR.DataConstraint_AddPrimaryKeyConstraint);
425public static Exception NoConstraintName() => _Argument(SR.DataConstraint_NoName);
426public static Exception ConstraintViolation(string constraint) => _Constraint(SR.Format(SR.DataConstraint_Violation, constraint));
427public static Exception ConstraintNotInTheTable(string constraint) => _Argument(SR.Format(SR.DataConstraint_NotInTheTable, constraint));
456public static Exception ConstraintViolation(DataColumn[] columns, object[] values) => _Constraint(UniqueConstraintViolationText(columns, values));
457public static Exception ConstraintOutOfRange(int index) => _IndexOutOfRange(SR.Format(SR.DataConstraint_OutOfRange, (index).ToString(CultureInfo.InvariantCulture)));
458public static Exception DuplicateConstraint(string constraint) => _Data(SR.Format(SR.DataConstraint_Duplicate, constraint));
459public static Exception DuplicateConstraintName(string constraint) => _DuplicateName(SR.Format(SR.DataConstraint_DuplicateName, constraint));
460public static Exception NeededForForeignKeyConstraint(UniqueConstraint key, ForeignKeyConstraint fk) => _Argument(SR.Format(SR.DataConstraint_NeededForForeignKeyConstraint, key.ConstraintName, fk.ConstraintName));
461public static Exception UniqueConstraintViolation() => _Argument(SR.DataConstraint_UniqueViolation);
462public static Exception ConstraintForeignTable() => _Argument(SR.DataConstraint_ForeignTable);
463public static Exception ConstraintParentValues() => _Argument(SR.DataConstraint_ParentValues);
464public static Exception ConstraintAddFailed(DataTable table) => _InvalidConstraint(SR.Format(SR.DataConstraint_AddFailed, table.TableName));
465public static Exception ConstraintRemoveFailed() => _Argument(SR.DataConstraint_RemoveFailed);
466public static Exception FailedCascadeDelete(string constraint) => _InvalidConstraint(SR.Format(SR.DataConstraint_CascadeDelete, constraint));
467public static Exception FailedCascadeUpdate(string constraint) => _InvalidConstraint(SR.Format(SR.DataConstraint_CascadeUpdate, constraint));
468public static Exception FailedClearParentTable(string table, string constraint, string childTable) => _InvalidConstraint(SR.Format(SR.DataConstraint_ClearParentTable, table, constraint, childTable));
469public static Exception ForeignKeyViolation(string constraint, object[] keys) => _InvalidConstraint(SR.Format(SR.DataConstraint_ForeignKeyViolation, constraint, KeysToString(keys)));
470public static Exception RemoveParentRow(ForeignKeyConstraint constraint) => _InvalidConstraint(SR.Format(SR.DataConstraint_RemoveParentRow, constraint.ConstraintName));
473public static Exception CantAddConstraintToMultipleNestedTable(string tableName) => _Argument(SR.Format(SR.DataConstraint_CantAddConstraintToMultipleNestedTable, tableName));
479public static Exception AutoIncrementAndExpression() => _Argument(SR.DataColumn_AutoIncrementAndExpression);
480public static Exception AutoIncrementAndDefaultValue() => _Argument(SR.DataColumn_AutoIncrementAndDefaultValue);
481public static Exception AutoIncrementSeed() => _Argument(SR.DataColumn_AutoIncrementSeed);
482public static Exception CantChangeDataType() => _Argument(SR.DataColumn_ChangeDataType);
483public static Exception NullDataType() => _Argument(SR.DataColumn_NullDataType);
484public static Exception ColumnNameRequired() => _Argument(SR.DataColumn_NameRequired);
485public static Exception DefaultValueAndAutoIncrement() => _Argument(SR.DataColumn_DefaultValueAndAutoIncrement);
486public static Exception DefaultValueDataType(string column, Type defaultType, Type columnType, Exception inner) =>
491public static Exception DefaultValueColumnDataType(string column, Type defaultType, Type columnType, Exception inner) => _Argument(SR.Format(SR.DataColumn_DefaultValueColumnDataType, column, defaultType.FullName, columnType.FullName), inner);
492public static Exception ExpressionAndUnique() => _Argument(SR.DataColumn_ExpressionAndUnique);
493public static Exception ExpressionAndReadOnly() => _Argument(SR.DataColumn_ExpressionAndReadOnly);
494public static Exception ExpressionAndConstraint(DataColumn column, Constraint constraint) => _Argument(SR.Format(SR.DataColumn_ExpressionAndConstraint, column.ColumnName, constraint.ConstraintName));
495public static Exception ExpressionInConstraint(DataColumn column) => _Argument(SR.Format(SR.DataColumn_ExpressionInConstraint, column.ColumnName));
496public static Exception ExpressionCircular() => _Argument(SR.DataColumn_ExpressionCircular);
497public static Exception NonUniqueValues(string column) => _InvalidConstraint(SR.Format(SR.DataColumn_NonUniqueValues, column));
498public static Exception NullKeyValues(string column) => _Data(SR.Format(SR.DataColumn_NullKeyValues, column));
499public static Exception NullValues(string column) => _NoNullAllowed(SR.Format(SR.DataColumn_NullValues, column));
500public static Exception ReadOnlyAndExpression() => _ReadOnly(SR.DataColumn_ReadOnlyAndExpression);
501public static Exception ReadOnly(string column) => _ReadOnly(SR.Format(SR.DataColumn_ReadOnly, column));
502public static Exception UniqueAndExpression() => _Argument(SR.DataColumn_UniqueAndExpression);
503public static Exception SetFailed(object? value, DataColumn column, Type type, Exception innerException) => _Argument(innerException.Message + SR.Format(SR.DataColumn_SetFailed, value?.ToString(), column.ColumnName, type.Name), innerException);
504public static Exception CannotSetToNull(DataColumn column) => _Argument(SR.Format(SR.DataColumn_CannotSetToNull, column.ColumnName));
505public static Exception LongerThanMaxLength(DataColumn column) => _Argument(SR.Format(SR.DataColumn_LongerThanMaxLength, column.ColumnName));
506public static Exception CannotSetMaxLength(DataColumn column, int value) => _Argument(SR.Format(SR.DataColumn_CannotSetMaxLength, column.ColumnName, value.ToString(CultureInfo.InvariantCulture)));
507public static Exception CannotSetMaxLength2(DataColumn column) => _Argument(SR.Format(SR.DataColumn_CannotSetMaxLength2, column.ColumnName));
508public static Exception CannotSetSimpleContentType(string columnName, Type type) => _Argument(SR.Format(SR.DataColumn_CannotSimpleContentType, columnName, type));
509public static Exception CannotSetSimpleContent(string columnName, Type type) => _Argument(SR.Format(SR.DataColumn_CannotSimpleContent, columnName, type));
510public static Exception CannotChangeNamespace(string columnName) => _Argument(SR.Format(SR.DataColumn_CannotChangeNamespace, columnName));
511public static Exception HasToBeStringType(DataColumn column) => _Argument(SR.Format(SR.DataColumn_HasToBeStringType, column.ColumnName));
512public static Exception AutoIncrementCannotSetIfHasData(string typeName) => _Argument(SR.Format(SR.DataColumn_AutoIncrementCannotSetIfHasData, typeName));
513public static Exception INullableUDTwithoutStaticNull(string typeName) => _Argument(SR.Format(SR.DataColumn_INullableUDTwithoutStaticNull, typeName));
514public static Exception IComparableNotImplemented(string typeName) => _Data(SR.Format(SR.DataStorage_IComparableNotDefined, typeName));
515public static Exception UDTImplementsIChangeTrackingButnotIRevertible(string typeName) => _InvalidOperation(SR.Format(SR.DataColumn_UDTImplementsIChangeTrackingButnotIRevertible, typeName));
516public static Exception SetAddedAndModifiedCalledOnnonUnchanged() => _InvalidOperation(SR.DataColumn_SetAddedAndModifiedCalledOnNonUnchanged);
517public static Exception InvalidDataColumnMapping(Type type) => _Argument(SR.Format(SR.DataColumn_InvalidDataColumnMapping, type.AssemblyQualifiedName));
518public static Exception CannotSetDateTimeModeForNonDateTimeColumns() => _InvalidOperation(SR.DataColumn_CannotSetDateTimeModeForNonDateTimeColumns);
519public static Exception InvalidDateTimeMode(DataSetDateTime mode) => _InvalidEnumArgumentException(mode);
520public static Exception CantChangeDateTimeMode(DataSetDateTime oldValue, DataSetDateTime newValue) => _InvalidOperation(SR.Format(SR.DataColumn_DateTimeMode, oldValue.ToString(), newValue.ToString()));
521public static Exception ColumnTypeNotSupported() => Common.ADP.NotSupported(SR.DataColumn_NullableTypesNotSupported);
527public static Exception SetFailed(string name) => _Data(SR.Format(SR.DataView_SetFailed, name));
528public static Exception SetDataSetFailed() => _Data(SR.DataView_SetDataSetFailed);
529public static Exception SetRowStateFilter() => _Data(SR.DataView_SetRowStateFilter);
530public static Exception CanNotSetDataSet() => _Data(SR.DataView_CanNotSetDataSet);
531public static Exception CanNotUseDataViewManager() => _Data(SR.DataView_CanNotUseDataViewManager);
532public static Exception CanNotSetTable() => _Data(SR.DataView_CanNotSetTable);
533public static Exception CanNotUse() => _Data(SR.DataView_CanNotUse);
534public static Exception CanNotBindTable() => _Data(SR.DataView_CanNotBindTable);
535public static Exception SetTable() => _Data(SR.DataView_SetTable);
536public static Exception SetIListObject() => _Argument(SR.DataView_SetIListObject);
537public static Exception AddNewNotAllowNull() => _Data(SR.DataView_AddNewNotAllowNull);
538public static Exception NotOpen() => _Data(SR.DataView_NotOpen);
539public static Exception CreateChildView() => _Argument(SR.DataView_CreateChildView);
540public static Exception CanNotDelete() => _Data(SR.DataView_CanNotDelete);
541public static Exception CanNotEdit() => _Data(SR.DataView_CanNotEdit);
542public static Exception GetElementIndex(int index) => _IndexOutOfRange(SR.Format(SR.DataView_GetElementIndex, (index).ToString(CultureInfo.InvariantCulture)));
543public static Exception AddExternalObject() => _Argument(SR.DataView_AddExternalObject);
544public static Exception CanNotClear() => _Argument(SR.DataView_CanNotClear);
545public static Exception InsertExternalObject() => _Argument(SR.DataView_InsertExternalObject);
546public static Exception RemoveExternalObject() => _Argument(SR.DataView_RemoveExternalObject);
547public static Exception PropertyNotFound(string property, string table) => _Argument(SR.Format(SR.DataROWView_PropertyNotFound, property, table));
548public static Exception ColumnToSortIsOutOfRange(string column) => _Argument(SR.Format(SR.DataColumns_OutOfRange, column));
554public static Exception KeyTableMismatch() => _InvalidConstraint(SR.DataKey_TableMismatch);
555public static Exception KeyNoColumns() => _InvalidConstraint(SR.DataKey_NoColumns);
556public static Exception KeyTooManyColumns(int cols) => _InvalidConstraint(SR.Format(SR.DataKey_TooManyColumns, (cols).ToString(CultureInfo.InvariantCulture)));
557public static Exception KeyDuplicateColumns(string columnName) => _InvalidConstraint(SR.Format(SR.DataKey_DuplicateColumns, columnName));
563public static Exception RelationDataSetMismatch() => _InvalidConstraint(SR.DataRelation_DataSetMismatch);
564public static Exception NoRelationName() => _Argument(SR.DataRelation_NoName);
565public static Exception ColumnsTypeMismatch() => _InvalidConstraint(SR.DataRelation_ColumnsTypeMismatch);
566public static Exception KeyLengthMismatch() => _Argument(SR.DataRelation_KeyLengthMismatch);
567public static Exception KeyLengthZero() => _Argument(SR.DataRelation_KeyZeroLength);
568public static Exception ForeignRelation() => _Argument(SR.DataRelation_ForeignDataSet);
569public static Exception KeyColumnsIdentical() => _InvalidConstraint(SR.DataRelation_KeyColumnsIdentical);
570public static Exception RelationForeignTable(string t1, string t2) => _InvalidConstraint(SR.Format(SR.DataRelation_ForeignTable, t1, t2));
571public static Exception GetParentRowTableMismatch(string t1, string t2) => _InvalidConstraint(SR.Format(SR.DataRelation_GetParentRowTableMismatch, t1, t2));
572public static Exception SetParentRowTableMismatch(string t1, string t2) => _InvalidConstraint(SR.Format(SR.DataRelation_SetParentRowTableMismatch, t1, t2));
573public static Exception RelationForeignRow() => _Argument(SR.DataRelation_ForeignRow);
574public static Exception RelationNestedReadOnly() => _Argument(SR.DataRelation_RelationNestedReadOnly);
575public static Exception TableCantBeNestedInTwoTables(string tableName) => _Argument(SR.Format(SR.DataRelation_TableCantBeNestedInTwoTables, tableName));
576public static Exception LoopInNestedRelations(string tableName) => _Argument(SR.Format(SR.DataRelation_LoopInNestedRelations, tableName));
577public static Exception RelationDoesNotExist() => _Argument(SR.DataRelation_DoesNotExist);
578public static Exception ParentRowNotInTheDataSet() => _Argument(SR.DataRow_ParentRowNotInTheDataSet);
579public static Exception ParentOrChildColumnsDoNotHaveDataSet() => _InvalidConstraint(SR.DataRelation_ParentOrChildColumnsDoNotHaveDataSet);
580public static Exception InValidNestedRelation(string childTableName) => _InvalidOperation(SR.Format(SR.DataRelation_InValidNestedRelation, childTableName));
581public static Exception InvalidParentNamespaceinNestedRelation(string childTableName) => _InvalidOperation(SR.Format(SR.DataRelation_InValidNamespaceInNestedRelation, childTableName));
587public static Exception RowNotInTheDataSet() => _Argument(SR.DataRow_NotInTheDataSet);
588public static Exception RowNotInTheTable() => _RowNotInTable(SR.DataRow_NotInTheTable);
589public static Exception EditInRowChanging() => _InRowChangingEvent(SR.DataRow_EditInRowChanging);
590public static Exception EndEditInRowChanging() => _InRowChangingEvent(SR.DataRow_EndEditInRowChanging);
591public static Exception BeginEditInRowChanging() => _InRowChangingEvent(SR.DataRow_BeginEditInRowChanging);
592public static Exception CancelEditInRowChanging() => _InRowChangingEvent(SR.DataRow_CancelEditInRowChanging);
593public static Exception DeleteInRowDeleting() => _InRowChangingEvent(SR.DataRow_DeleteInRowDeleting);
594public static Exception ValueArrayLength() => _Argument(SR.DataRow_ValuesArrayLength);
595public static Exception NoCurrentData() => _VersionNotFound(SR.DataRow_NoCurrentData);
596public static Exception NoOriginalData() => _VersionNotFound(SR.DataRow_NoOriginalData);
597public static Exception NoProposedData() => _VersionNotFound(SR.DataRow_NoProposedData);
598public static Exception RowRemovedFromTheTable() => _RowNotInTable(SR.DataRow_RemovedFromTheTable);
599public static Exception DeletedRowInaccessible() => _DeletedRowInaccessible(SR.DataRow_DeletedRowInaccessible);
600public static Exception RowAlreadyDeleted() => _DeletedRowInaccessible(SR.DataRow_AlreadyDeleted);
601public static Exception RowEmpty() => _Argument(SR.DataRow_Empty);
602public static Exception InvalidRowVersion() => _Data(SR.DataRow_InvalidVersion);
603public static Exception RowOutOfRange() => _IndexOutOfRange(SR.DataRow_RowOutOfRange);
604public static Exception RowOutOfRange(int index) => _IndexOutOfRange(SR.Format(SR.DataRow_OutOfRange, (index).ToString(CultureInfo.InvariantCulture)));
605public static Exception RowInsertOutOfRange(int index) => _IndexOutOfRange(SR.Format(SR.DataRow_RowInsertOutOfRange, (index).ToString(CultureInfo.InvariantCulture)));
606public static Exception RowInsertTwice(int index, string tableName) => _IndexOutOfRange(SR.Format(SR.DataRow_RowInsertTwice, (index).ToString(CultureInfo.InvariantCulture), tableName));
607public static Exception RowInsertMissing(string tableName) => _IndexOutOfRange(SR.Format(SR.DataRow_RowInsertMissing, tableName));
608public static Exception RowAlreadyRemoved() => _Data(SR.DataRow_AlreadyRemoved);
609public static Exception MultipleParents() => _Data(SR.DataRow_MultipleParents);
610public static Exception InvalidRowState(DataRowState state) => _InvalidEnumArgumentException<DataRowState>(state);
611public static Exception InvalidRowBitPattern() => _Argument(SR.DataRow_InvalidRowBitPattern);
617internal static Exception SetDataSetNameToEmpty() => _Argument(SR.DataSet_SetNameToEmpty);
618internal static Exception SetDataSetNameConflicting(string name) => _Argument(SR.Format(SR.DataSet_SetDataSetNameConflicting, name));
619public static Exception DataSetUnsupportedSchema(string ns) => _Argument(SR.Format(SR.DataSet_UnsupportedSchema, ns));
620public static Exception MergeMissingDefinition(string obj) => _Argument(SR.Format(SR.DataMerge_MissingDefinition, obj));
621public static Exception TablesInDifferentSets() => _Argument(SR.DataRelation_TablesInDifferentSets);
622public static Exception RelationAlreadyExists() => _Argument(SR.DataRelation_AlreadyExists);
623public static Exception RowAlreadyInOtherCollection() => _Argument(SR.DataRow_AlreadyInOtherCollection);
624public static Exception RowAlreadyInTheCollection() => _Argument(SR.DataRow_AlreadyInTheCollection);
625public static Exception TableMissingPrimaryKey() => _MissingPrimaryKey(SR.DataTable_MissingPrimaryKey);
626public static Exception RecordStateRange() => _Argument(SR.DataIndex_RecordStateRange);
627public static Exception IndexKeyLength(int length, int keyLength) => length == 0 ?
630public static Exception RemovePrimaryKey(DataTable table) => table.TableName.Length == 0 ?
633public static Exception RelationAlreadyInOtherDataSet() => _Argument(SR.DataRelation_AlreadyInOtherDataSet);
634public static Exception RelationAlreadyInTheDataSet() => _Argument(SR.DataRelation_AlreadyInTheDataSet);
635public static Exception RelationNotInTheDataSet(string relation) => _Argument(SR.Format(SR.DataRelation_NotInTheDataSet, relation));
636public static Exception RelationOutOfRange(object index) => _IndexOutOfRange(SR.Format(SR.DataRelation_OutOfRange, Convert.ToString(index, null)));
637public static Exception DuplicateRelation(string relation) => _DuplicateName(SR.Format(SR.DataRelation_DuplicateName, relation));
638public static Exception RelationTableNull() => _Argument(SR.DataRelation_TableNull);
639public static Exception RelationDataSetNull() => _Argument(SR.DataRelation_TableNull);
640public static Exception RelationTableWasRemoved() => _Argument(SR.DataRelation_TableWasRemoved);
641public static Exception ParentTableMismatch() => _Argument(SR.DataRelation_ParentTableMismatch);
642public static Exception ChildTableMismatch() => _Argument(SR.DataRelation_ChildTableMismatch);
643public static Exception EnforceConstraint() => _Constraint(SR.Data_EnforceConstraints);
644public static Exception CaseLocaleMismatch() => _Argument(SR.DataRelation_CaseLocaleMismatch);
645public static Exception CannotChangeCaseLocale() => CannotChangeCaseLocale(null);
646public static Exception CannotChangeCaseLocale(Exception? innerException) => _Argument(SR.DataSet_CannotChangeCaseLocale, innerException);
647public static Exception CannotChangeSchemaSerializationMode() => _InvalidOperation(SR.DataSet_CannotChangeSchemaSerializationMode);
648public static Exception InvalidSchemaSerializationMode(Type enumType, string mode) => _InvalidEnumArgumentException(SR.Format(SR.ADP_InvalidEnumerationValue, enumType.Name, mode));
649public static Exception InvalidRemotingFormat(SerializationFormat mode) => _InvalidEnumArgumentException(mode);
650public static Exception SerializationFormatBinaryNotSupported() => _InvalidEnumArgumentException(SerializationFormat.Binary);
655public static Exception TableForeignPrimaryKey() => _Argument(SR.DataTable_ForeignPrimaryKey);
656public static Exception TableCannotAddToSimpleContent() => _Argument(SR.DataTable_CannotAddToSimpleContent);
657public static Exception NoTableName() => _Argument(SR.DataTable_NoName);
658public static Exception MultipleTextOnlyColumns() => _Argument(SR.DataTable_MultipleSimpleContentColumns);
659public static Exception InvalidSortString(string sort) => _Argument(SR.Format(SR.DataTable_InvalidSortString, sort));
660public static Exception DuplicateTableName(string table) => _DuplicateName(SR.Format(SR.DataTable_DuplicateName, table));
661public static Exception DuplicateTableName2(string table, string ns) => _DuplicateName(SR.Format(SR.DataTable_DuplicateName2, table, ns));
662public static Exception SelfnestedDatasetConflictingName(string table) => _DuplicateName(SR.Format(SR.DataTable_SelfnestedDatasetConflictingName, table));
663public static Exception DatasetConflictingName(string table) => _DuplicateName(SR.Format(SR.DataTable_DatasetConflictingName, table));
664public static Exception TableAlreadyInOtherDataSet() => _Argument(SR.DataTable_AlreadyInOtherDataSet);
665public static Exception TableAlreadyInTheDataSet() => _Argument(SR.DataTable_AlreadyInTheDataSet);
666public static Exception TableOutOfRange(int index) => _IndexOutOfRange(SR.Format(SR.DataTable_OutOfRange, (index).ToString(CultureInfo.InvariantCulture)));
667public static Exception TableNotInTheDataSet(string table) => _Argument(SR.Format(SR.DataTable_NotInTheDataSet, table));
668public static Exception TableInRelation() => _Argument(SR.DataTable_InRelation);
669public static Exception TableInConstraint(DataTable table, Constraint constraint) => _Argument(SR.Format(SR.DataTable_InConstraint, table.TableName, constraint.ConstraintName));
670public static Exception CanNotSerializeDataTableHierarchy() => _InvalidOperation(SR.DataTable_CanNotSerializeDataTableHierarchy);
671public static Exception CanNotRemoteDataTable() => _InvalidOperation(SR.DataTable_CanNotRemoteDataTable);
672public static Exception CanNotSetRemotingFormat() => _Argument(SR.DataTable_CanNotSetRemotingFormat);
673public static Exception CanNotSerializeDataTableWithEmptyName() => _InvalidOperation(SR.DataTable_CanNotSerializeDataTableWithEmptyName);
674public static Exception TableNotFound(string tableName) => _Argument(SR.Format(SR.DataTable_TableNotFound, tableName));
680public static Exception AggregateException(AggregateType aggregateType, Type type) => _Data(SR.Format(SR.DataStorage_AggregateException, aggregateType, type.Name));
681public static Exception InvalidStorageType(TypeCode typecode) => _Data(SR.Format(SR.DataStorage_InvalidStorageType, typecode.ToString()));
682public static Exception RangeArgument(int min, int max) => _Argument(SR.Format(SR.Range_Argument, (min).ToString(CultureInfo.InvariantCulture), (max).ToString(CultureInfo.InvariantCulture)));
683public static Exception NullRange() => _Data(SR.Range_NullRange);
684public static Exception NegativeMinimumCapacity() => _Argument(SR.RecordManager_MinimumCapacity);
685public static Exception ProblematicChars(char charValue) => _Argument(SR.Format(SR.DataStorage_ProblematicChars, $"0x{(ushort)charValue:X}"));
686public static Exception StorageSetFailed() => _Argument(SR.DataStorage_SetInvalidDataType);
692public static Exception SimpleTypeNotSupported() => _Data(SR.Xml_SimpleTypeNotSupported);
693public static Exception MissingAttribute(string attribute) => MissingAttribute(string.Empty, attribute);
694public static Exception MissingAttribute(string element, string attribute) => _Data(SR.Format(SR.Xml_MissingAttribute, element, attribute));
695public static Exception InvalidAttributeValue(string name, string value) => _Data(SR.Format(SR.Xml_ValueOutOfRange, name, value));
696public static Exception AttributeValues(string name, string value1, string value2) => _Data(SR.Format(SR.Xml_AttributeValues, name, value1, value2));
697public static Exception ElementTypeNotFound(string name) => _Data(SR.Format(SR.Xml_ElementTypeNotFound, name));
698public static Exception RelationParentNameMissing(string rel) => _Data(SR.Format(SR.Xml_RelationParentNameMissing, rel));
699public static Exception RelationChildNameMissing(string rel) => _Data(SR.Format(SR.Xml_RelationChildNameMissing, rel));
700public static Exception RelationTableKeyMissing(string rel) => _Data(SR.Format(SR.Xml_RelationTableKeyMissing, rel));
701public static Exception RelationChildKeyMissing(string rel) => _Data(SR.Format(SR.Xml_RelationChildKeyMissing, rel));
702public static Exception UndefinedDatatype(string name) => _Data(SR.Format(SR.Xml_UndefinedDatatype, name));
703public static Exception DatatypeNotDefined() => _Data(SR.Xml_DatatypeNotDefined);
704public static Exception MismatchKeyLength() => _Data(SR.Xml_MismatchKeyLength);
705public static Exception InvalidField(string name) => _Data(SR.Format(SR.Xml_InvalidField, name));
706public static Exception InvalidSelector(string name) => _Data(SR.Format(SR.Xml_InvalidSelector, name));
707public static Exception CircularComplexType(string name) => _Data(SR.Format(SR.Xml_CircularComplexType, name));
708public static Exception CannotInstantiateAbstract(string name) => _Data(SR.Format(SR.Xml_CannotInstantiateAbstract, name));
709public static Exception InvalidKey(string name) => _Data(SR.Format(SR.Xml_InvalidKey, name));
710public static Exception DiffgramMissingSQL() => _Data(SR.Xml_MissingSQL);
711public static Exception DuplicateConstraintRead(string str) => _Data(SR.Format(SR.Xml_DuplicateConstraint, str));
712public static Exception ColumnTypeConflict(string name) => _Data(SR.Format(SR.Xml_ColumnConflict, name));
713public static Exception CannotConvert(string name, string? type) => _Data(SR.Format(SR.Xml_CannotConvert, name, type));
714public static Exception MissingRefer(string name) => _Data(SR.Format(SR.Xml_MissingRefer, Keywords.REFER, Keywords.XSD_KEYREF, name));
715public static Exception InvalidPrefix(string name) => _Data(SR.Format(SR.Xml_InvalidPrefix_SpecialCharacters, name));
716public static Exception CanNotDeserializeObjectType() => _InvalidOperation(SR.Xml_CanNotDeserializeObjectType);
717public static Exception IsDataSetAttributeMissingInSchema() => _Data(SR.Xml_IsDataSetAttributeMissingInSchema);
718public static Exception TooManyIsDataSetAttributesInSchema() => _Data(SR.Xml_TooManyIsDataSetAttributesInSchema);
721public static Exception NestedCircular(string name) => _Data(SR.Format(SR.Xml_NestedCircular, name));
722public static Exception MultipleParentRows(string tableQName) => _Data(SR.Format(SR.Xml_MultipleParentRows, tableQName));
723public static Exception PolymorphismNotSupported(string typeName) => _InvalidOperation(SR.Format(SR.Xml_PolymorphismNotSupported, typeName));
724public static Exception DataTableInferenceNotSupported() => _InvalidOperation(SR.Xml_DataTableInferenceNotSupported);
727internal static void ThrowMultipleTargetConverter(Exception? innerException)
734public static Exception DuplicateDeclaration(string name) => _Data(SR.Format(SR.Xml_MergeDuplicateDeclaration, name));
737public static Exception FoundEntity() => _Data(SR.Xml_FoundEntity);
738public static Exception MergeFailed(string name) => _Data(name);
741public static Exception ConvertFailed(Type type1, Type type2) => _Data(SR.Format(SR.SqlConvert_ConvertFailed, type1.FullName, type2.FullName));
744public static Exception InvalidDataTableReader(string tableName) => _InvalidOperation(SR.Format(SR.DataTableReader_InvalidDataTableReader, tableName));
745public static Exception DataTableReaderSchemaIsInvalid(string tableName) => _InvalidOperation(SR.Format(SR.DataTableReader_SchemaInvalidDataTableReader, tableName));
746public static Exception CannotCreateDataReaderOnEmptyDataSet() => _Argument(SR.DataTableReader_CannotCreateDataReaderOnEmptyDataSet);
747public static Exception DataTableReaderArgumentIsEmpty() => _Argument(SR.DataTableReader_DataTableReaderArgumentIsEmpty);
748public static Exception ArgumentContainsNullValue() => _Argument(SR.DataTableReader_ArgumentContainsNullValue);
749public static Exception InvalidCurrentRowInDataTableReader() => _DeletedRowInaccessible(SR.DataTableReader_InvalidRowInDataTableReader);
750public static Exception EmptyDataTableReader(string tableName) => _DeletedRowInaccessible(SR.Format(SR.DataTableReader_DataTableCleared, tableName));
751internal static Exception InvalidDuplicateNamedSimpleTypeDelaration(string stName, string errorStr) => _Argument(SR.Format(SR.NamedSimpleType_InvalidDuplicateNamedSimpleTypeDelaration, stName, errorStr));
754internal static Exception InternalRBTreeError(RBTreeError internalError) => _InvalidOperation(SR.Format(SR.RbTree_InvalidState, (int)internalError));
755public static Exception EnumeratorModified() => _InvalidOperation(SR.RbTree_EnumerationBroken);
System\Data\Filter\FilterException.cs (50)
25public InvalidExpressionException(string? message, Exception? innerException) : base(message, innerException) { }
42public EvaluateException(string? message, Exception? innerException) : base(message, innerException) { }
59public SyntaxErrorException(string? message, Exception? innerException) : base(message, innerException) { }
89public static Exception InvokeArgument()
94public static Exception NYI(string moreinfo)
101public static Exception MissingOperand(OperatorInfo before)
106public static Exception MissingOperator(string token)
111public static Exception TypeMismatch(string expr)
116public static Exception FunctionArgumentOutOfRange(string arg, string func)
121public static Exception ExpressionTooComplex()
126public static Exception UnboundName(string name)
131public static Exception InvalidString(string str)
136public static Exception UndefinedFunction(string name)
141public static Exception SyntaxError()
146public static Exception FunctionArgumentCount(string name)
151public static Exception MissingRightParen()
156public static Exception UnknownToken(string token, int position)
161public static Exception UnknownToken(Tokens tokExpected, Tokens tokCurr, int position)
166public static Exception DatatypeConversion(Type type1, Type type2)
171public static Exception DatavalueConversion(object value, Type type)
176public static Exception InvalidName(string name)
181public static Exception InvalidDate(string date)
186public static Exception NonConstantArgument()
191public static Exception InvalidPattern(string pat)
196public static Exception InWithoutParentheses()
201public static Exception InWithoutList()
206public static Exception InvalidIsSyntax()
211public static Exception Overflow(Type type)
216public static Exception ArgumentType(string function, int arg, Type type)
221public static Exception ArgumentTypeInteger(string function, int arg)
226public static Exception TypeMismatchInBinop(int op, Type type1, Type type2)
231public static Exception AmbiguousBinop(int op, Type type1, Type type2)
236public static Exception UnsupportedOperator(int op)
241public static Exception InvalidNameBracketing(string name)
246public static Exception MissingOperandBefore(string op)
251public static Exception TooManyRightParentheses()
256public static Exception UnresolvedRelation(string name, string expr)
266public static Exception AggregateArgument()
271public static Exception AggregateUnbound(string expr)
276public static Exception EvalNoContext()
281public static Exception ExpressionUnbound(string expr)
286public static Exception ComputeNotAggregate(string expr)
291public static Exception FilterConversion(string expr)
296public static Exception LookupArgument()
301public static Exception InvalidType(string typeName)
306public static Exception InvalidHoursArgument()
311public static Exception InvalidMinutesArgument()
316public static Exception InvalidTimeZoneRange()
321public static Exception MismatchKindandTimeSpan()
326public static Exception UnsupportedDataType(Type type)
System\Data\SQLTypes\SQLUtility.cs (5)
40public SqlTypeException(string? message, Exception? e) : base(message, e)
78public SqlNullValueException(string? message, Exception? e) : base(message, e)
116public SqlTruncateException(string? message, Exception? e) : base(message, e)
154public SqlNotFilledException(string? message, Exception? e) : base(message, e)
179public SqlAlreadyFilledException(string? message, Exception? e) : base(message, e)
System.Data.Odbc (99)
Common\System\Data\Common\AdapterUtil.Odbc.cs (54)
41internal static Exception ExceptionWithStackTrace(Exception e)
47catch (Exception caught)
62internal static InvalidOperationException InvalidOperation(string error, Exception? inner)
213internal static Exception MethodNotImplemented([CallerMemberName] string methodName = "")
222internal static Exception OdbcNoTypesFromProvider()
230internal static Exception PooledOpenTimeout()
235internal static Exception NonPooledOpenTimeout()
255internal static Exception CommandTextRequired(string method)
270internal static Exception OpenReaderExists()
275internal static Exception OpenReaderExists(Exception? e)
283internal static Exception NonSeqByteAccess(long badIndex, long currIndex, string method)
288internal static Exception NumericToDecimalOverflow()
296internal static Exception InvalidCommandTimeout(int value)
300internal static Exception DeriveParametersNotSupported(IDbCommand value)
304internal static Exception UninitializedParameterSize(int index, Type dataType)
316internal static Exception ConnectionIsDisabled(Exception? InnerException)
320internal static Exception ClosedConnectionError()
324internal static Exception ConnectionAlreadyOpen(ConnectionState state)
328internal static Exception OpenConnectionPropertySet(string property, ConnectionState state)
332internal static Exception EmptyDatabaseName()
336internal static Exception DatabaseNameTooLong()
348internal static Exception InternalConnectionError(ConnectionError internalError)
356internal static Exception DataReaderNoData()
389internal static Exception ParameterConversionFailed(object value, Type destType, Exception inner)
394Exception e;
423internal static Exception ParametersMappingIndex(int index, IDataParameterCollection collection)
427internal static Exception ParametersSourceIndex(string parameterName, IDataParameterCollection collection, Type parameterType)
431internal static Exception ParameterNull(string parameter, IDataParameterCollection collection, Type parameterType)
435internal static Exception InvalidParameterType(IDataParameterCollection collection, Type parameterType, object invalidValue)
443internal static Exception ParallelTransactionsNotSupported(IDbConnection obj)
447internal static Exception TransactionZombied(IDbTransaction obj)
451internal static Exception OffsetOutOfRangeException()
460internal static Exception AmbiguousCollectionName(string collectionName)
465internal static Exception CollectionNameIsNotUnique(string collectionName)
470internal static Exception DataTableDoesNotExist(string collectionName)
475internal static Exception IncorrectNumberOfDataSourceInformationRows()
485internal static Exception InvalidXml()
490internal static Exception InvalidXmlMissingColumn(string collectionName, string columnName)
495internal static Exception InvalidXmlInvalidValue(string collectionName, string columnName)
500internal static Exception MissingDataSourceInformationColumn()
505internal static Exception MissingRestrictionColumn()
510internal static Exception MissingRestrictionRow()
515internal static Exception NoColumns()
520internal static Exception QueryFailed(string collectionName, Exception e)
525internal static Exception TooManyRestrictions(string collectionName)
530internal static Exception UnableToBuildCollection(string collectionName)
535internal static Exception UndefinedCollection(string collectionName)
540internal static Exception UndefinedPopulationMechanism(string populationMechanism)
545internal static Exception UnsupportedVersion(string collectionName)
System.Data.OleDb (148)
OleDb_Util.cs (18)
83internal static Exception CommandParameterStatus(string value, Exception inner)
89internal static Exception UninitializedParameters(int index, OleDbType dbtype)
93internal static Exception BadStatus_ParamAcc(int index, DBBindStatus status)
97internal static Exception NoProviderSupportForParameters(string provider, Exception? inner)
101internal static Exception NoProviderSupportForSProcResetParameters(string provider)
167internal static Exception PropsetSetFailure(string value, Exception inner)
179internal static OleDbException NoErrorInformation(string? provider, OleDbHResult hr, Exception? inner)
193internal static InvalidOperationException MDACNotAvailable(Exception? inner)
201internal static InvalidOperationException CommandTextNotSupported(string provider, Exception? inner)
209internal static InvalidOperationException ProviderUnavailable(string provider, Exception? inner)
214internal static InvalidOperationException TransactionsNotSupported(string provider, Exception? inner)
248internal static Exception InvalidOleDbType(OleDbType value)
300internal static InvalidOperationException ThreadApartmentState(Exception innerException)
310internal static ArgumentException Fill_EmptyRecordSet(string parameter, Exception innerException)
314internal static ArgumentException Fill_EmptyRecord(string parameter, Exception innerException)
OleDbException.cs (4)
18internal OleDbException(string? message, OleDbHResult errorCode, Exception? inner) : base(message, inner)
24internal OleDbException(OleDbException previous, Exception? inner) : base(previous.Message, inner)
30private OleDbException(string? message, Exception? inner, string? source, OleDbHResult errorCode, OleDbErrorCollection errors) : base(message, inner)
68internal static OleDbException CreateException(UnsafeNativeMethods.IErrorInfo errorInfo, OleDbHResult errorCode, Exception? inner)
System\Data\Common\AdapterUtil.cs (79)
25internal static Exception ExceptionWithStackTrace(Exception e)
31catch (Exception caught)
37private static void TraceException(string trace, Exception e)
46internal static void TraceExceptionAsReturnValue(Exception e)
50internal static void TraceExceptionForCapture(Exception e)
55internal static void TraceExceptionWithoutRethrow(Exception e)
70internal static ArgumentException Argument(string error, Exception? inner)
82internal static ArgumentException Argument(string error, string parameter, Exception inner)
122internal static InvalidCastException InvalidCast(string error, Exception? inner)
140internal static InvalidOperationException InvalidOperation(string error, Exception? inner)
162internal static InvalidOperationException DataAdapter(string error, Exception? inner)
220internal static bool IsCatchableExceptionType(Exception e)
234internal static bool IsCatchableOrSecurityExceptionType(Exception e)
358internal static ArgumentException UdlFileError(Exception inner)
378internal static ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException)
424internal static Exception InvalidConnectionOptionValue(string key)
428internal static Exception InvalidConnectionOptionValue(string key, Exception? inner)
436internal static Exception PooledOpenTimeout()
441internal static Exception NonPooledOpenTimeout()
490internal static Exception CommandTextRequired(string method)
504internal static Exception NoStoredProcedureExists(string sproc)
508internal static Exception OpenReaderExists()
513internal static Exception OpenReaderExists(Exception? e)
518internal static Exception TransactionCompleted()
526internal static Exception NonSeqByteAccess(long badIndex, long currIndex, string method)
531internal static Exception NumericToDecimalOverflow()
539internal static Exception FillRequiresSourceTableName(string parameter)
547internal static Exception InvalidCommandTimeout(int value)
551internal static Exception DeriveParametersNotSupported(IDbCommand value)
555internal static Exception UninitializedParameterSize(int index, Type dataType)
559internal static Exception PrepareParameterType(IDbCommand cmd)
563internal static Exception PrepareParameterSize(IDbCommand cmd)
567internal static Exception PrepareParameterScale(IDbCommand cmd, string type)
576internal static Exception ClosedConnectionError()
580internal static Exception ConnectionAlreadyOpen(ConnectionState state)
584internal static Exception TransactionPresent()
588internal static Exception LocalTransactionPresent()
592internal static Exception OpenConnectionPropertySet(string property, ConnectionState state)
596internal static Exception EmptyDatabaseName()
608internal static Exception InternalConnectionError(ConnectionError internalError)
652internal static Exception InternalError(InternalErrorCode internalError)
656internal static Exception InternalError(InternalErrorCode internalError, Exception innerException)
660internal static Exception InvalidConnectTimeoutValue()
668internal static Exception DataReaderNoData()
672internal static Exception DataReaderClosed(string method)
684internal static Exception InvalidDataLength(long length)
712internal static Exception ParameterConversionFailed(object value, Type destType, Exception inner)
717Exception e;
746internal static Exception ParametersMappingIndex(int index, IDataParameterCollection collection)
750internal static Exception ParametersSourceIndex(string parameterName, IDataParameterCollection collection, Type parameterType)
754internal static Exception ParameterNull(string parameter, IDataParameterCollection collection, Type parameterType)
758internal static Exception InvalidParameterType(IDataParameterCollection collection, Type parameterType, object invalidValue)
766internal static Exception ParallelTransactionsNotSupported(IDbConnection obj)
770internal static Exception TransactionZombied(IDbTransaction obj)
779internal static Exception AmbiguousCollectionName(string collectionName)
784internal static Exception CollectionNameIsNotUnique(string collectionName)
789internal static Exception DataTableDoesNotExist(string collectionName)
794internal static Exception IncorrectNumberOfDataSourceInformationRows()
804internal static Exception InvalidXml()
809internal static Exception InvalidXmlMissingColumn(string collectionName, string columnName)
814internal static Exception InvalidXmlInvalidValue(string collectionName, string columnName)
819internal static Exception MissingDataSourceInformationColumn()
824internal static Exception MissingRestrictionColumn()
829internal static Exception MissingRestrictionRow()
834internal static Exception NoColumns()
839internal static Exception QueryFailed(string collectionName, Exception e)
844internal static Exception TooManyRestrictions(string collectionName)
849internal static Exception UnableToBuildCollection(string collectionName)
854internal static Exception UndefinedCollection(string collectionName)
859internal static Exception UndefinedPopulationMechanism(string populationMechanism)
864internal static Exception UnsupportedVersion(string collectionName)
1080catch (Exception e)
1157catch (Exception e)
System.Diagnostics.DiagnosticSource (19)
System.Diagnostics.EventLog (10)
System\Diagnostics\Reader\EventLogException.cs (5)
53public EventLogException(string? message, Exception? innerException) : base(message, innerException) { }
100public EventLogNotFoundException(string? message, Exception? innerException) : base(message, innerException) { }
119public EventLogReadingException(string? message, Exception? innerException) : base(message, innerException) { }
138public EventLogProviderDisabledException(string? message, Exception? innerException) : base(message, innerException) { }
155public EventLogInvalidDataException(string? message, Exception? innerException) : base(message, innerException) { }
System.Diagnostics.Process (18)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
65catch (Exception e)
System.Diagnostics.StackTrace (1)
System.Diagnostics.TextWriterTraceListener (2)
System.Diagnostics.TraceSource (2)
System.DirectoryServices (28)
System\DirectoryServices\ActiveDirectory\Exception.cs (16)
44public ActiveDirectoryObjectNotFoundException(string? message, Exception? inner) : base(message, inner) { }
90public ActiveDirectoryOperationException(string? message, Exception? inner, int errorCode) : base(message ?? SR.DSUnknownFailure, inner)
100public ActiveDirectoryOperationException(string? message, Exception? inner) : base(message ?? SR.DSUnknownFailure, inner) { }
130public ActiveDirectoryServerDownException(string? message, Exception? inner, int errorCode, string? name) : base(message, inner)
142public ActiveDirectoryServerDownException(string? message, Exception? inner) : base(message, inner) { }
187public ActiveDirectoryObjectExistsException(string? message, Exception? inner) : base(message, inner) { }
208public SyncFromAllServersOperationException(string? message, Exception? inner, SyncFromAllServersErrorInformation[]? errors) : base(message ?? SR.DSSyncAllFailure, inner)
213public SyncFromAllServersOperationException(string? message, Exception? inner) : base(message ?? SR.DSSyncAllFailure, inner) { }
256public ForestTrustCollisionException(string? message, Exception? inner, ForestTrustRelationshipCollisionCollection? collisions) : base(message ?? SR.ForestTrustCollision, inner)
261public ForestTrustCollisionException(string? message, Exception? inner) : base(message ?? SR.ForestTrustCollision, inner) { }
294internal static Exception GetExceptionFromCOMException(COMException e)
299internal static Exception GetExceptionFromCOMException(DirectoryContext? context, COMException e)
301Exception exception;
376internal static Exception GetExceptionFromErrorCode(int errorCode)
381internal static Exception GetExceptionFromErrorCode(int errorCode, string? targetName)
478internal static Exception CreateForestTrustCollisionException(IntPtr collisionInfo)
System.DirectoryServices.AccountManagement (19)
System\DirectoryServices\AccountManagement\exceptions.cs (14)
22internal PrincipalException(string message, Exception innerException) :
44public MultipleMatchesException(string message, Exception innerException) :
66public NoMatchingPrincipalException(string message, Exception innerException) :
88public PasswordException(string message, Exception innerException) :
110public PrincipalExistsException(string message, Exception innerException) :
135public PrincipalServerDownException(string message, Exception innerException) :
143public PrincipalServerDownException(string message, Exception innerException, int errorCode) : base(message, innerException)
147public PrincipalServerDownException(string message, Exception innerException, int errorCode, string serverName) : base(message, innerException)
186public PrincipalOperationException(string message, Exception innerException) :
194public PrincipalOperationException(string message, Exception innerException, int errorCode) : base(message, innerException)
254internal static Exception GetExceptionFromCOMException(COMException e)
256Exception exception;
327internal static Exception GetExceptionFromErrorCode(int errorCode)
332internal static Exception GetExceptionFromErrorCode(int errorCode, string targetName)
System.DirectoryServices.Protocols (13)
System\DirectoryServices\Protocols\ldap\LdapException.cs (4)
106public LdapException(string message, Exception inner) : base(message, inner) { }
125public LdapException(int errorCode, string message, Exception inner) : base(message, inner)
158public TlsOperationException(string message, Exception inner) : base(message, inner) { }
168public TlsOperationException(DirectoryResponse response, string message, Exception inner) : base(response, message, inner)
System.Drawing.Common (16)
System.Drawing.Primitives (2)
System.Formats.Asn1 (3)
System.Formats.Cbor (1)
System.Formats.Tar (4)
System.IO.Compression (10)
System.IO.FileSystem.AccessControl (8)
System.IO.FileSystem.DriveInfo (7)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
65catch (Exception e)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.cs (1)
33catch (Exception e)
System.IO.FileSystem.Watcher (17)
System.IO.IsolatedStorage (11)
System.IO.MemoryMappedFiles (4)
System.IO.Packaging (12)
System.IO.Pipelines (32)
System.IO.Pipes (13)
System.IO.Ports (7)
System.Linq.Expressions (25)
System.Linq.Parallel (49)
System.Linq.Queryable (6)
System.Management (13)
System.Memory (2)
System.Net.Http (172)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (12)
53private volatile Dictionary<HttpAuthority, Exception?>? _altSvcBlocklist;
76if (!TryGetHttp3Authority(request, out HttpAuthority? authority, out Exception? reasonException))
93catch (Exception ex)
256Exception? connectionException = null;
264if (TryGetHttp3Authority(queueItem.Request, out authority, out Exception? reasonException))
283catch (Exception e)
328private void HandleHttp3ConnectionFailure(HttpConnectionWaiter<Http3Connection?> requestWaiter, Exception? e)
610private bool TryGetHttp3Authority(HttpRequestMessage request, [NotNullWhen(true)] out HttpAuthority? authority, out Exception? reasonException)
782private bool IsAltSvcBlocked(HttpAuthority authority, out Exception? reasonException)
808internal void BlocklistAuthority(HttpAuthority badAuthority, Exception? exception = null)
812Dictionary<HttpAuthority, Exception?>? altSvcBlocklist = _altSvcBlocklist;
827altSvcBlocklist = new Dictionary<HttpAuthority, Exception?>();
System.Net.Http.WinHttpHandler (11)
System.Net.HttpListener (17)
System.Net.Mail (15)
System\Net\Mail\SmtpClient.cs (9)
394(Exception? ex, bool _) = SendAsyncInternal<SyncReadWriteAdapter>(message, false, null).GetAwaiter().GetResult();
410private async Task<(Exception? ex, bool synchronous)> SendAsyncInternal<TIOAdapter>(MailMessage message, bool invokeSendCompleted, object? userToken, bool forceWrapExceptions = false, CancellationToken cancellationToken = default)
445Exception? exception = null;
537catch (Exception e)
542Exception ProcessException(Exception e, ref bool canceled, bool forceWrapExceptions, bool timedOut)
593Task<(Exception? ex, bool _)> task = SendAsyncInternal<AsyncReadWriteAdapter>(message, true, userToken, true);
663Task<(Exception?, bool)> task = SendAsyncInternal<AsyncReadWriteAdapter>(message, false, null, true, cancellationToken);
684static async Task WaitAndRethrowIfNeeded(Task<(Exception? ex, bool _)> task)
System.Net.NameResolution (12)
System\Net\Dns.cs (8)
28catch (Exception ex) when (LogFailure(string.Empty, activity, ex))
133Exception? ex = t.Exception?.InnerException;
549catch (Exception ex) when (LogFailure(hostName, activity, ex))
606catch (Exception ex) when (LogFailure(address, activity, ex))
641catch (Exception ex) when (LogFailure(name, activity, ex))
797Exception? exception = null;
836catch (Exception ex)
900private static bool LogFailure(object hostNameOrAddress, in NameResolutionActivity activity, Exception exception)
System.Net.NetworkInformation (15)
System.Net.Ping (7)
System.Net.Primitives (5)
System.Net.Quic (41)
System.Net.Requests (58)
System.Net.Security (50)
System.Net.Sockets (43)
System.Net.WebClient (47)
System\Net\WebClient.cs (46)
308catch (Exception e) when (!(e is OutOfMemoryException))
338catch (Exception e) when (!(e is OutOfMemoryException))
373catch (Exception e) when (!(e is OutOfMemoryException))
411catch (Exception e) when (!(e is OutOfMemoryException))
463catch (Exception e) when (!(e is OutOfMemoryException))
576catch (Exception e)
643catch (Exception e) when (!(e is OutOfMemoryException))
708catch (Exception exception) when (!(exception is OutOfMemoryException)) { }
858catch (Exception e) when (!(e is OutOfMemoryException))
869AsyncOperation asyncOp, Action<byte[]?, Exception?, AsyncOperation> completionDelegate)
874Exception? exception = null;
928catch (Exception e) when (!(e is OutOfMemoryException))
996catch (Exception e) when (!(e is OutOfMemoryException))
1007AsyncOperation asyncOp, Action<byte[]?, Exception?, AsyncOperation> completionDelegate)
1013Exception? exception = null;
1071catch (Exception e) when (!(e is OutOfMemoryException))
1100catch (Exception e) when (e is NotImplementedException || e is NotSupportedException) // some types do this
1204Exception? exception = null;
1210catch (Exception e) when (!(e is OutOfMemoryException))
1218catch (Exception e) when (!(e is OutOfMemoryException))
1245Exception? exception = null;
1251catch (Exception e) when (!(e is OutOfMemoryException))
1259catch (Exception e) when (!(e is OutOfMemoryException))
1266private void DownloadStringAsyncCallback(byte[]? returnBytes, Exception? exception, object state)
1277catch (Exception e) when (!(e is OutOfMemoryException))
1300catch (Exception e) when (!(e is OutOfMemoryException))
1306private void DownloadDataAsyncCallback(byte[]? returnBytes, Exception? exception, object state)
1326catch (Exception e) when (!(e is OutOfMemoryException))
1332private void DownloadFileAsyncCallback(byte[]? returnBytes, Exception? exception, object state)
1355catch (Exception e) when (!(e is OutOfMemoryException))
1394catch (Exception e) when (!(e is OutOfMemoryException))
1404catch (Exception e) when (!(e is OutOfMemoryException))
1443catch (Exception e) when (!(e is OutOfMemoryException))
1479catch (Exception e) when (!(e is OutOfMemoryException))
1519catch (Exception e) when (!(e is OutOfMemoryException))
1526private static Exception GetExceptionToPropagate(Exception e) =>
1914internal OpenReadCompletedEventArgs(Stream? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
1933internal OpenWriteCompletedEventArgs(Stream? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
1952internal DownloadStringCompletedEventArgs(string? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
1972internal DownloadDataCompletedEventArgs(byte[]? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
1991internal UploadStringCompletedEventArgs(string? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
2010internal UploadDataCompletedEventArgs(byte[]? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
2029internal UploadFileCompletedEventArgs(byte[]? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
2048internal UploadValuesCompletedEventArgs(byte[]? result, Exception? exception, bool cancelled, object? userToken) : base(exception, cancelled, userToken)
2104public Exception? Error { get { return null; } }
System.Net.WebSockets (34)
System\Net\WebSockets\WebSocketException.cs (6)
32public WebSocketException(WebSocketError error, Exception? innerException)
37public WebSocketException(WebSocketError error, string? message, Exception? innerException)
57public WebSocketException(int nativeError, Exception? innerException)
76public WebSocketException(WebSocketError error, int nativeError, Exception? innerException)
81public WebSocketException(WebSocketError error, int nativeError, string? message, Exception? innerException)
93public WebSocketException(string? message, Exception? innerException)
System.Net.WebSockets.Client (3)
System.Private.CoreLib (565)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (14)
121public void SetException(Exception ex)
127Unsafe.As<byte, Exception>(ref Unsafe.Add(ref data, (DataOffset - PointerSize) + index * PointerSize)) = ex;
809catch (Exception ex)
901catch (Exception ex)
1016catch (Exception ex)
1078private static unsafe Continuation? UnwindToPossibleHandler(Continuation? continuation, Exception ex, ref uint unwindedFrames)
1088System.Exception.AppendExceptionStackFrame(ex, ip, 0);
1137catch (Exception ex)
1239private static Task<T?> TaskFromException<T>(Exception ex)
1250private static Task TaskFromException(Exception ex)
1262private static ValueTask ValueTaskFromException(Exception ex)
1269private static ValueTask<T?> ValueTaskFromException<T>(Exception ex)
1586public static void UnwindRuntimeAsyncMethodUnhandledException(ref AsyncDispatcherInfo info, AsyncInstrumentation.Flags flags, Exception ex, Continuation curContinuation, uint unwindedFrames)
1716public static void AsyncMethodUnhandledException(Task? task, Exception ex, Continuation curContinuation)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeAsyncTaskContinuation.cs (1)
83catch (Exception ex)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
65catch (Exception e)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.MountPoints.cs (1)
33catch (Exception e)
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (6)
111Func<Interop.ErrorInfo, Interop.Sys.OpenFlags, string, Exception?>? createOpenException)
129if (createOpenException?.Invoke(error, flags, path) is Exception ex)
236Func<Interop.ErrorInfo, Interop.Sys.OpenFlags, string, Exception?>? createOpenException = null)
242Func<Interop.ErrorInfo, Interop.Sys.OpenFlags, string, Exception?>? createOpenException = null)
249Func<Interop.ErrorInfo, Interop.Sys.OpenFlags, string, Exception?>? createOpenException = null)
280catch (Exception)
src\runtime\src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (32)
26private readonly Exception[] _innerExceptions; // Complete set of exceptions.
27private ReadOnlyCollection<Exception>? _rocView; // separate from _innerExceptions to enable trimming if InnerExceptions isn't used
56public AggregateException(string? message, Exception innerException)
73public AggregateException(IEnumerable<Exception> innerExceptions) :
87public AggregateException(params Exception[] innerExceptions) :
102public AggregateException(string? message, IEnumerable<Exception> innerExceptions)
103: this(message, new List<Exception>(innerExceptions ?? throw new ArgumentNullException(nameof(innerExceptions))).ToArray(), cloneExceptions: false)
117public AggregateException(string? message, params Exception[] innerExceptions) :
122private AggregateException(string? message, Exception[] innerExceptions, bool cloneExceptions) :
125_innerExceptions = cloneExceptions ? new Exception[innerExceptions.Length] : innerExceptions;
170_innerExceptions = new Exception[innerExceptionInfos.Count];
193_innerExceptions = info.GetValue("InnerExceptions", typeof(Exception[])) as Exception[] ?? // Do not rename (binary serialization);
212info.AddValue("InnerExceptions", _innerExceptions, typeof(Exception[])); // Do not rename (binary serialization)
216/// Returns the <see cref="Exception"/> that is the root cause of this exception.
222public override Exception GetBaseException()
226Exception? back = this;
237/// Gets a read-only collection of the <see cref="Exception"/> instances that caused the
240public ReadOnlyCollection<Exception> InnerExceptions => _rocView ??= new ReadOnlyCollection<Exception>(_innerExceptions);
244/// Invokes a handler on each <see cref="Exception"/> contained by this <see
248/// argument the <see cref="Exception"/> to be processed and returns a Boolean to indicate
252/// <see cref="Exception"/> was handled. After all invocations, if any exceptions went
262public void Handle(Func<Exception, bool> predicate)
266List<Exception>? unhandledExceptions = null;
273unhandledExceptions ??= new List<Exception>();
287/// Flattens the inner instances of <see cref="AggregateException"/> by expanding its contained <see cref="Exception"/> instances
301List<Exception> flattenedExceptions = new List<Exception>();
311ReadOnlyCollection<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions;
315Exception currentInnerException = currentInnerExceptions[i];
397internal Exception[] InternalInnerExceptions => _innerExceptions;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\IncrementingPollingCounter.cs (1)
58catch (Exception ex)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\PollingCounter.cs (1)
54catch (Exception ex)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Icu.cs (1)
462catch (Exception e)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
330catch (Exception ex)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (14)
638/// Converts an HRESULT value to a corresponding CLR <see cref="Exception"/>.
642/// An <see cref="Exception"/> that represents the supplied HRESULT, or
645public static Exception? GetExceptionForHR(int errorCode) => GetExceptionForHR(errorCode, IntPtr.Zero);
648/// Converts an HRESULT value and optional error information into a CLR <see cref="Exception"/>.
653/// An <see cref="Exception"/> that represents the supplied HRESULT and error information, or
656public static Exception? GetExceptionForHR(int errorCode, IntPtr errorInfo)
667/// Converts an HRESULT value that is associated with a COM interface call into a CLR <see cref="Exception"/>, using extended COM error information if the provided COM object supports it.
673/// An <see cref="Exception"/> that represents the supplied HRESULT and COM context, or
676public static Exception? GetExceptionForHR(int errorCode, in Guid iid, IntPtr pUnk)
686private static unsafe Exception? GetExceptionForHRInternal(int errorCode, in Guid iid, IntPtr pUnk)
735private static Exception? GetExceptionForHRInternal(int errorCode, IntPtr errorInfo)
932/// <exception cref="Exception">An exception corresponding to <paramref name="errorCode"/> when it is a failure (negative HRESULT).</exception>
946/// <exception cref="Exception">An exception corresponding to <paramref name="errorCode"/> when it is a failure (negative HRESULT).</exception>
961/// <exception cref="Exception">An exception corresponding to <paramref name="errorCode"/> when it is a failure (negative HRESULT).</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
171catch (Exception e)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
271catch (Exception e)
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (5)
497Exception? e;
539private static TimeZoneInfoResult TryFindSystemTimeZoneById(string id, out TimeZoneInfo? timeZone, out Exception? e)
1158private static TimeZoneInfoResult TryGetTimeZone(string id, bool dstDisabled, out TimeZoneInfo? value, out Exception? e, CachedData cachedData, bool alwaysFallbackToLocalMachine = false)
1213private static TimeZoneInfoResult TryGetTimeZoneUsingId(string id, bool dstDisabled, out TimeZoneInfo? value, out Exception? e, CachedData cachedData, bool alwaysFallbackToLocalMachine)
1278private static TimeZoneInfoResult TryGetTimeZoneFromLocalMachine(string id, bool dstDisabled, out TimeZoneInfo? value, out Exception? e, CachedData cachedData)
System\InvokeUtils.cs (5)
85Exception exception = ConvertOrWidenPrimitivesEnumsAndPointersIfPossible(srcObject, dstEEType, semantics, out dstObject);
102private static Exception ConvertOrWidenPrimitivesEnumsAndPointersIfPossible(object srcObject, MethodTable* dstEEType, CheckArgumentSemantics semantics, out object? dstObject)
114Exception exception = ConvertPointerIfPossible(srcObject, dstEEType, semantics, out object dstPtr);
375private static Exception ConvertPointerIfPossible(object srcObject, MethodTable* dstEEType, CheckArgumentSemantics semantics, out object dstPtr)
396private static Exception CreateChangeTypeException(MethodTable* srcEEType, MethodTable* dstEEType, CheckArgumentSemantics semantics)
System.Private.DataContractSerialization (33)
System.Private.Reflection.Execution (5)
System.Private.TypeLoader (7)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericsRegistration.cs (1)
117catch (Exception e)
System.Private.Uri (1)
System.Private.Windows.Core (228)
System.Private.Xml (294)
System\Xml\Core\XmlTextReaderImpl.cs (9)
2628internal void DtdParserProxy_Throw(Exception e)
2704private void Throw(string res, string? arg, Exception innerException)
2710private void Throw(string res, string?[] args, Exception innerException)
2716private void Throw(Exception e)
2730private void ReThrow(Exception e, int lineNo, int linePos)
2732Throw(new XmlException(e.Message, (Exception?)null, lineNo, linePos, _ps.baseUriStr));
2748private void ThrowWithoutLineInfo(string res, string?[] args, Exception? innerException)
7922catch (Exception)
7939catch (Exception e)
System\Xml\Schema\DataTypeImplementation.cs (74)
532Exception? exception = TryParseValue(s, nameTable, nsmgr, out typedValue);
553Exception? exception = TryParseValue(s, nameTable, nsmgr, out typedValue);
568internal override Exception? TryParseValue(object value, XmlNameTable? nameTable, IXmlNamespaceResolver? namespaceResolver, out object? typedValue)
572Exception? exception;
1014internal override Exception? TryParseValue(object value, XmlNameTable? nameTable, IXmlNamespaceResolver? namespaceResolver, out object? typedValue)
1018Exception? exception;
1090internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1092Exception? exception;
1238internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1240Exception? exception;
1277internal override Exception? TryParseValue(object value, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1281Exception? exception;
1375internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1456internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1458Exception? exception;
1527internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1529Exception? exception;
1609internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1611Exception? exception;
1695internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1697Exception? exception;
1787internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1789Exception? exception;
1875internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1877Exception? exception;
1906internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1908Exception? exception;
1944internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
1946Exception? exception;
2030internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2032Exception? exception;
2412internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2414Exception? exception;
2510internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2512Exception? exception;
2614internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2616Exception? exception;
2699internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2701Exception? exception;
2899internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
2901Exception? exception;
3032internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3034Exception? exception;
3112internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3114Exception? exception;
3228internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3230Exception? exception;
3282internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3284Exception? exception;
3337internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3339Exception? exception;
3391internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3393Exception? exception;
3477internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3479Exception? exception;
3531internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3533Exception? exception;
3585internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3587Exception? exception;
3638internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3640Exception? exception;
3695catch (Exception e)
3717catch (Exception e)
3751catch (Exception e)
3791catch (Exception e)
3797internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3799Exception? exception;
3820Exception? exception;
3834catch (Exception e)
3842internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3844Exception? exception;
3887catch (Exception e)
3893internal override Exception? TryParseValue(string s, XmlNameTable? nameTable, IXmlNamespaceResolver? nsmgr, out object? typedValue)
3895Exception? exception;
System\Xml\Schema\FacetChecker.cs (41)
369catch (Exception e)
666Exception? ex = datatype.TryParseValue(facet.Value!, nameTable, nsmgr, out typedValue);
777internal virtual Exception? CheckLexicalFacets(ref string parseString, XmlSchemaDatatype datatype)
782internal virtual Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
786internal virtual Exception? CheckValueFacets(decimal value, XmlSchemaDatatype datatype)
790internal virtual Exception? CheckValueFacets(long value, XmlSchemaDatatype datatype)
794internal virtual Exception? CheckValueFacets(int value, XmlSchemaDatatype datatype)
798internal virtual Exception? CheckValueFacets(short value, XmlSchemaDatatype datatype)
802internal virtual Exception? CheckValueFacets(DateTime value, XmlSchemaDatatype datatype)
806internal virtual Exception? CheckValueFacets(double value, XmlSchemaDatatype datatype)
810internal virtual Exception? CheckValueFacets(float value, XmlSchemaDatatype datatype)
814internal virtual Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype)
818internal virtual Exception? CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
822internal virtual Exception? CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype)
826internal virtual Exception? CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype)
868internal static Exception? CheckPatternFacets(RestrictionFacets? restriction, string value)
997internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1003internal override Exception? CheckValueFacets(decimal value, XmlSchemaDatatype datatype)
1061internal override Exception? CheckValueFacets(long value, XmlSchemaDatatype datatype)
1067internal override Exception? CheckValueFacets(int value, XmlSchemaDatatype datatype)
1072internal override Exception? CheckValueFacets(short value, XmlSchemaDatatype datatype)
1093internal static Exception? CheckTotalAndFractionDigits(decimal value, int totalDigits, int fractionDigits, bool checkTotal, bool checkFraction)
1122internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1128internal override Exception? CheckValueFacets(double value, XmlSchemaDatatype datatype)
1174internal override Exception? CheckValueFacets(float value, XmlSchemaDatatype datatype)
1198internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1204internal override Exception? CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype)
1269internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1275internal override Exception? CheckValueFacets(DateTime value, XmlSchemaDatatype datatype)
1347internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1353internal override Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype)
1358internal static Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype, bool verifyUri)
1364Exception? exception;
1433private static Exception? CheckBuiltInFacets(string s, XmlTypeCode typeCode, bool verifyUri)
1435Exception? exception = null;
1488internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1494internal override Exception? CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype)
1560internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1566internal override Exception? CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
1625internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
1701internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype)
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (3)
36public XmlSchemaInferenceException(string message) : base(message, ((Exception?)null), 0, 0)
40public XmlSchemaInferenceException(string message, Exception? innerException) : base(message, innerException, 0, 0)
44public XmlSchemaInferenceException(string message, Exception? innerException, int lineNumber, int linePosition) :
System\Xml\Schema\XmlSchemaException.cs (4)
80public XmlSchemaException(string? message) : this(message, ((Exception?)null), 0, 0)
87public XmlSchemaException(string? message, Exception? innerException) : this(message, innerException, 0, 0)
91public XmlSchemaException(string? message, Exception? innerException, int lineNumber, int linePosition) :
128internal XmlSchemaException(string? res, string?[]? args, Exception? innerException, string? sourceUri, int lineNumber, int linePosition, XmlSchemaObject? source) :
System\Xml\Schema\XmlSchemaValidationException.cs (4)
37public XmlSchemaValidationException(string? message) : base(message, ((Exception?)null), 0, 0)
41public XmlSchemaValidationException(string? message, Exception? innerException) : base(message, innerException, 0, 0)
45public XmlSchemaValidationException(string? message, Exception? innerException, int lineNumber, int linePosition) :
60internal XmlSchemaValidationException(string? res, string?[]? args, Exception? innerException, string? sourceUri, int lineNumber, int linePosition) :
System\Xml\Schema\XmlSchemaValidator.cs (9)
1273Exception? exception = s_dtStringArray.TryParseValue(xsiSchemaLocation, _nameTable, _nsResolver, out typedValue);
1428Exception? exception = currentElementDecl.Datatype.TryParseValue(currentElementDecl.DefaultValueRaw, _nameTable, _nsResolver, out typedVal);
1472Exception? exception = dtype.TryParseValue(parsedValue, _nameTable, _nsResolver, out typedValue);
1652Exception? exception = s_dtQName.TryParseValue(xsiType, _nameTable, _nsResolver, out typedVal);
1864catch (Exception e)
1941Exception? exception;
1980Exception? exception = dtype.TryParseValue(stringValue, _nameTable, _nsResolver, out typedValue);
2824private void SendValidationEvent(string? code, string?[]? args, Exception? innerException, XmlSeverityType severity)
2832private void SendValidationEvent(string? code, string?[]? args, Exception? innerException)
System\Xml\Serialization\XmlSerializationReader.cs (12)
1085catch (Exception e)
1315protected Exception CreateUnknownTypeException(XmlQualifiedName type)
1320protected Exception CreateReadOnlyCollectionException(string name)
1325protected Exception CreateAbstractTypeException(string name, string? ns)
1330protected Exception CreateInaccessibleConstructorException(string typeName)
1335protected Exception CreateCtorHasSecurityException(string typeName)
1340protected Exception CreateUnknownNodeException()
1345protected Exception CreateUnknownConstantException(string? value, Type enumType)
1350protected Exception CreateInvalidCastException(Type type, object? value)
1355protected Exception CreateInvalidCastException(Type type, object? value, string? id)
1365protected Exception CreateBadDerivationException(string? xsdDerived, string? nsDerived, string? xsdBase, string? nsBase, string? clrDerived, string? clrBase)
1370protected Exception CreateMissingIXmlSerializableType(string? name, string? ns, string? clrType)
System\Xml\XmlConvert.cs (42)
329internal static Exception? TryVerifyName(string name)
385internal static Exception? TryVerifyNCName(string name)
419internal static Exception? TryVerifyTOKEN(string token)
465internal static Exception? TryVerifyNMTOKEN(string name)
481internal static Exception? TryVerifyNormalizedString(string str)
760internal static Exception? TryToBoolean(string s, out bool result)
790internal static Exception? TryToChar(string s, out char result)
805internal static Exception? TryToDecimal(string s, out decimal result)
820internal static Exception? TryToInteger(string s, out decimal result)
836internal static Exception? TryToSByte(string s, out sbyte result)
851internal static Exception? TryToInt16(string s, out short result)
866internal static Exception? TryToInt32(string s, out int result)
881internal static Exception? TryToInt64(string s, out long result)
896internal static Exception? TryToByte(string s, out byte result)
912internal static Exception? TryToUInt16(string s, out ushort result)
928internal static Exception? TryToUInt32(string s, out uint result)
944internal static Exception? TryToUInt64(string s, out ulong result)
976internal static Exception? TryToSingle(string s, out float result)
1023internal static Exception? TryToDouble(string s, out double result)
1118catch (Exception)
1129internal static Exception? TryToTimeSpan(string s, out TimeSpan result)
1132Exception? exception;
1266internal static Exception? TryToGuid(string s, out Guid result)
1268Exception? exception = null;
1327internal static Exception? TryToUri(string s, out Uri? result)
1529internal static Exception CreateException(string res, ExceptionType exceptionType, int lineNo, int linePos)
1541internal static Exception CreateException(string res, string arg, ExceptionType exceptionType)
1546internal static Exception CreateException(string res, string arg, ExceptionType exceptionType, int lineNo, int linePos)
1558internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType)
1563internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType, int lineNo, int linePos)
1575internal static Exception CreateInvalidSurrogatePairException(char low, char hi)
1580internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType)
1585internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType, int lineNo, int linePos)
1594internal static Exception CreateInvalidHighSurrogateCharException(char hi)
1599internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType)
1604internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType, int lineNo, int linePos)
1609internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos, ExceptionType exceptionType)
1614internal static Exception CreateInvalidCharException(string data, int invCharPos)
1619internal static Exception CreateInvalidCharException(string data, int invCharPos, ExceptionType exceptionType)
1624internal static Exception CreateInvalidCharException(char invChar, char nextChar)
1629internal static Exception CreateInvalidCharException(char invChar, char nextChar, ExceptionType exceptionType)
1634internal static Exception CreateInvalidNameCharException(string name, int index, ExceptionType exceptionType)
System\Xml\XmlException.cs (8)
90public XmlException(string? message) : this(message, ((Exception?)null), 0, 0)
96public XmlException(string? message, Exception? innerException) : this(message, innerException, 0, 0)
101public XmlException(string? message, Exception? innerException, int lineNumber, int linePosition) :
106internal XmlException(string? message, Exception? innerException, int lineNumber, int linePosition, string? sourceUri) :
133internal XmlException(string res, string? arg, Exception? innerException, IXmlLineInfo? lineInfo) :
162internal XmlException(string res, string?[]? args, Exception? innerException, int lineNumber, int linePosition) :
166internal XmlException(string res, string?[]? args, Exception? innerException, int lineNumber, int linePosition, string? sourceUri) :
292internal static bool IsCatchableException(Exception e)
System\Xml\Xslt\XsltException.cs (7)
72public XsltException() : this(string.Empty, (Exception?)null) { }
74public XsltException(string message) : this(message, (Exception?)null) { }
76public XsltException(string message, Exception? innerException) :
86internal static XsltException Create(string res, string?[] args, Exception inner)
91internal XsltException(string res, string?[] args, string? sourceUri, int lineNumber, int linePosition, Exception? inner)
174public XsltCompileException(string message, Exception innerException) : base(message, innerException) { }
176public XsltCompileException(Exception inner, string sourceUri, int lineNumber, int linePosition) :
System.Reflection.Metadata (15)
System.Reflection.MetadataLoadContext (33)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (6)
66RoDefinitionType? type = module.GetEcmaAssembly().GetTypeCore(ns, name, ignoreCase: false, out Exception? e);
79RoDefinitionType? type = assembly.GetTypeCore(ns, name, ignoreCase: false, out Exception? e);
94RoDefinitionType? type = module.GetTypeCore(ns, name, ignoreCase: false, out Exception? e);
107RoDefinitionType? type = targetModule.GetTypeCore(ns, name, ignoreCase: false, out Exception? e);
150RoAssembly? assembly = handle.TryResolveAssembly(module, out Exception? e);
156public static RoAssembly? TryResolveAssembly(this AssemblyReferenceHandle handle, EcmaModule module, out Exception? e)
System.Resources.Extensions (3)
System.Runtime (1)
System.Runtime.Caching (1)
System.Runtime.InteropServices (10)
System.Runtime.InteropServices.JavaScript (23)
System.Runtime.Serialization.Formatters (2)
System.Runtime.Serialization.Primitives (1)
System.Runtime.Serialization.Schema (12)
System.Security.AccessControl (6)
System.Security.Cryptography (28)
src\runtime\src\libraries\Common\src\System\IO\MemoryMappedFiles\MemoryMappedFileMemoryManager.cs (1)
54catch (Exception)
System.Security.Cryptography.Cose (7)
System.Security.Cryptography.Pkcs (31)
System.Security.Cryptography.Xml (4)
System.Security.Permissions (3)
System.Security.Principal.Windows (2)
System.ServiceModel.Federation (16)
System.ServiceModel.Federation.Tests (2)
System.ServiceModel.Http (45)
System.ServiceModel.NetFramingBase (37)
System.ServiceModel.NetNamedPipe (14)
System.ServiceModel.NetTcp (14)
System\ServiceModel\Channels\SocketConnection.cs (14)
226Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Read);
308Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Write);
417Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Undefined);
447catch (Exception exception)
472catch (Exception exception)
653private Exception ConvertObjectDisposedException(ObjectDisposedException originalException, TransferOperation transferOperation)
669private Exception ConvertSendException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
675private Exception ConvertReceiveException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
681private static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException,
736private static Exception ConvertTimeoutErrorException(Exception originalException,
825public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
System.ServiceModel.Primitives (538)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
38internal static string ExceptionToTraceString(Exception exception, int maxTraceStringLength)
61private static void WriteExceptionToTraceString(XmlWriter xml, Exception exception, int remainingLength, int remainingAllowedRecursionDepth)
140private static string GetExceptionData(Exception exception)
179private static string GetInnerException(Exception exception, int remainingLength, int remainingAllowedRecursionDepth)
282public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception)
287public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception, bool getServiceReference)
Internals\TraceCore.cs (10)
72internal static void HandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
95internal static void HandledExceptionError(EtwDiagnosticTrace trace, string param0, System.Exception exception)
118internal static void HandledExceptionVerbose(EtwDiagnosticTrace trace, string param0, System.Exception exception)
141internal static void HandledExceptionWarning(EtwDiagnosticTrace trace, string param0, System.Exception exception)
176internal static void ThrowingException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
199internal static void UnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
412internal static void EtwUnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception)
436internal static void ThrowingEtwException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
460internal static void ThrowingEtwExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
484internal static void ThrowingExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (27)
37public Exception ThrowHelperFatal(string message, Exception innerException)
42public Exception ThrowHelperInternal(bool fatal)
47public Exception ThrowHelperInvalidOperation(string message)
52public Exception ThrowHelperCallback(string message, Exception innerException)
57public Exception ThrowHelperCallback(Exception innerException)
62public Exception ThrowHelperCritical(Exception exception)
67internal Exception ThrowHelperXml(XmlReader reader, string message)
72internal Exception ThrowHelperXml(XmlReader reader, string message, Exception inner)
100internal Exception ThrowHelperError(Exception exception, Message message)
113public Exception ThrowHelperWarning(Exception exception)
118public Exception ThrowHelperError(Exception exception)
123internal Exception ThrowHelperError(Exception exception, Guid activityId, object source)
128internal Exception ThrowHelper(Exception exception, TraceEventType eventType)
133internal Exception ThrowHelper(Exception exception, EventLevel eventLevel)
144internal Exception ThrowHelper(Exception exception, TraceEventType eventType, TraceRecord extendedData)
System\ServiceModel\Channels\ChannelRequirements.cs (5)
225public static Exception CantCreateListenerException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
230Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
243public static Exception CantCreateChannelException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
248Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
260public static Exception BindingContractMismatchException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels,
System\ServiceModel\Channels\FaultConverter.cs (10)
17protected abstract bool OnTryCreateException(Message message, MessageFault fault, out Exception exception);
18protected abstract bool OnTryCreateFaultMessage(Exception exception, out Message message);
20public bool TryCreateException(Message message, MessageFault fault, out Exception exception)
38Exception error = new InvalidOperationException(text);
47Exception error = new InvalidOperationException(text, exception);
55public bool TryCreateFaultMessage(Exception exception, out Message message)
64Exception error = new InvalidOperationException(text);
73Exception error = new InvalidOperationException(text);
90protected override bool OnTryCreateException(Message message, MessageFault fault, out Exception exception)
198protected override bool OnTryCreateFaultMessage(Exception exception, out Message message)
System\ServiceModel\Diagnostics\TraceUtility.cs (11)
41catch (Exception e)
57catch (Exception e)
348internal static Exception ThrowHelperWarning(Exception exception, Message message)
444catch (Exception e)
455internal static Exception ThrowHelperError(Exception exception, Message message)
461internal static Exception ThrowHelperError(Exception exception, Guid activityId, object source)
480internal static void TraceUserCodeException(Exception e, MethodInfo method)
596internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception)
System\ServiceModel\Dispatcher\ChannelHandler.cs (23)
297catch (Exception e)
490private void ProvideFault(Exception e, ref ErrorHandlerFaultInfo faultInfo)
503internal bool HandleError(Exception e)
509private bool HandleError(Exception e, ref ErrorHandlerFaultInfo faultInfo)
530private bool HandleError(Exception e, RequestContext request, ServiceChannel channel)
546private bool HandleErrorContinuation(Exception e, RequestContext request, ServiceChannel channel, ref ErrorHandlerFaultInfo faultInfo, bool replied)
554catch (Exception e1)
578catch (Exception e2)
590catch (Exception e3)
613catch (Exception e4)
769Exception exception = null;
774catch (Exception e)
886private void ProvideFaultAndReplyFailure(RequestContext request, Exception exception, ref ErrorHandlerFaultInfo faultInfo, out bool replied, out bool replySentAsync)
895catch (Exception e)
955catch (Exception e)
990catch (Exception e)
1039catch (Exception e)
1053catch (Exception e)
1067catch (Exception e)
1092catch (Exception e)
1174catch (Exception e)
1209catch (Exception e)
1300public Exception Exception;
System\ServiceModel\MessageHeaderException.cs (3)
16public MessageHeaderException(string message, Exception innerException) : this(message, null, null, innerException) { }
19public MessageHeaderException(string message, string headerName, string ns, Exception innerException) : this(message, headerName, ns, false, innerException) { }
20public MessageHeaderException(string message, string headerName, string ns, bool isDuplicate, Exception innerException) : base(message, innerException)
System.ServiceModel.Primitives.Tests (14)
ServiceModel\ThrowingOnCloseBindingElement.cs (9)
13private Exception _exception;
21public ThrowingOnCloseBindingElement(Exception exception, bool channelThrows)
186public ThrowingOutputChannel(ThrowingChannelFactory<TChannel> factory, Exception exception, IOutputChannel innerChannel)
203public ThrowingRequestChannel(ThrowingChannelFactory<TChannel> factory, Exception exception, IRequestChannel innerChannel)
223ThrowingChannelFactory<TChannel> factory, Exception exception, IOutputSessionChannel innerChannel)
236ThrowingChannelFactory<TChannel> factory, Exception exception, IRequestSessionChannel innerChannel)
247public ThrowingInputChannel(ChannelManagerBase manager, Exception exception, T innerChannel) : base(manager, exception, innerChannel)
268public ThrowingDuplexChannel(ChannelManagerBase manager, Exception exception, IDuplexChannel innerChannel) : base(manager, exception, innerChannel)
286public ThrowingDuplexSessionChannel(ChannelManagerBase manager, Exception exception, IDuplexSessionChannel innerChannel) : base(manager, exception, innerChannel)
System.ServiceModel.Syndication (5)
System.ServiceModel.UnixDomainSocket (14)
System\ServiceModel\Channels\SocketConnection.cs (14)
208Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Read);
287Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Write);
396Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Undefined);
426catch (Exception exception)
449catch (Exception exception)
617private Exception ConvertObjectDisposedException(ObjectDisposedException originalException, TransferOperation transferOperation)
633private Exception ConvertSendException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
639private Exception ConvertReceiveException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
645private static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException,
700private static Exception ConvertTimeoutErrorException(Exception originalException,
790public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
System.ServiceProcess.ServiceController (16)
System.Speech (65)
Internal\SrgsCompiler\AppDomainGrammarProxy.cs (8)
19internal SrgsRule[]? OnInit(string method, object[]? parameters, string? onInitParameters, out Exception? exceptionThrown)
52catch (Exception e)
59internal object? OnRecognition(string method, object[] parameters, out Exception? exceptionThrown)
69catch (Exception e)
76internal object? OnParse(string rule, string method, object[] parameters, out Exception? exceptionThrown)
86catch (Exception e)
93internal void OnError(string rule, string method, object?[]? parameters, out Exception? exceptionThrown)
103catch (Exception e)
Internal\Synthesis\TTSEvent.cs (4)
14internal TTSEvent(TtsEventId id, Prompt prompt, Exception? exception, VoiceInfo? voice)
22internal TTSEvent(TtsEventId id, Prompt prompt, Exception? exception, VoiceInfo? voice, TimeSpan audioPosition, long streamPosition, string? bookmark, uint wParam, IntPtr lParam)
56internal Exception? Exception
153private Exception? _exception;
System.Text.Json (22)
System.Text.RegularExpressions (5)
System.Text.RegularExpressions.Generator (2)
System.Threading (8)
System.Threading.AccessControl (10)
System.Threading.Channels (28)
System.Threading.RateLimiting (29)
System.Threading.Tasks.Dataflow (142)
Internal\Common.cs (21)
139catch (Exception exception)
150internal static bool IsCooperativeCancellation(Exception exception)
212internal static Exception InitializeStackTrace(Exception exception)
228internal static void StoreDataflowMessageValueIntoExceptionData<T>(Exception exc, T messageValue, bool targetInnerExceptions = false)
254foreach (Exception innerException in aggregate.InnerExceptions)
272private static void StoreStringIntoExceptionData(Exception exception, string key, string value)
300internal static void ThrowAsync(Exception error)
311internal static void AddException([NotNull] ref List<Exception>? list, Exception exception, bool unwrapInnerExceptions = false)
318list ??= new List<Exception>();
362internal static Task<TResult> CreateTaskFromException<TResult>(Exception exception)
452internal static Exception? StartTaskSafe(Task task, TaskScheduler scheduler)
470private static Exception? StartTaskSafeCore(Task task, TaskScheduler scheduler)
475Exception? schedulingException = null;
481catch (Exception caughtException)
499ref List<Exception>? exceptions)
525catch (Exception exc)
538internal static readonly Action<Exception> AsyncExceptionHandler = ThrowAsync;
546internal static void PropagateCompletion(Task sourceCompletionTask, IDataflowBlock target, Action<Exception>? exceptionHandler)
559catch (Exception exc)
System.Threading.Tasks.Parallel (28)
System.Transactions.Local (153)
System\Transactions\TransactionException.cs (24)
22internal static TransactionException Create(string? message, Exception? innerException)
33internal static TransactionException CreateTransactionStateException(Exception? innerException)
38internal static Exception CreateEnlistmentStateException(Exception? innerException, Guid distributedTxId)
52internal static Exception CreateInvalidOperationException(TraceSourceType traceSource, string? message, Exception? innerException)
83public TransactionException(string? message, Exception? innerException) : base(message, innerException)
107internal static TransactionException Create(string? message, Exception? innerException, Guid distributedTxId)
116internal static TransactionException CreateTransactionStateException(Exception? innerException, Guid distributedTxId)
121internal static Exception CreateTransactionCompletedException(Guid distributedTxId)
136internal static Exception CreateInvalidOperationException(TraceSourceType traceSource, string? message, Exception? innerException, Guid distributedTxId)
154internal static new TransactionAbortedException Create(string? message, Exception? innerException, Guid distributedTxId)
163internal static new TransactionAbortedException Create(string? message, Exception? innerException)
193public TransactionAbortedException(string? message, Exception? innerException) : base(message ?? SR.TransactionAborted, innerException)
201internal TransactionAbortedException(Exception? innerException) : base(SR.TransactionAborted, innerException)
205internal TransactionAbortedException(Exception? innerException, Guid distributedTxId) :
231internal static TransactionInDoubtException Create(TraceSourceType traceSource, string? message, Exception? innerException, Guid distributedTxId)
240internal static TransactionInDoubtException Create(TraceSourceType traceSource, string? message, Exception? innerException)
271public TransactionInDoubtException(string? message, Exception? innerException) : base(message ?? SR.TransactionIndoubt, innerException)
294internal static new TransactionManagerCommunicationException Create(string? message, Exception? innerException)
305internal static TransactionManagerCommunicationException Create(Exception? innerException)
332Exception? innerException
373public TransactionPromotionException(string? message, Exception? innerException) : base(message ?? SR.PromotionFailed, innerException)
System\Transactions\TransactionState.cs (31)
190internal virtual void Rollback(InternalTransaction tx, Exception? e)
297internal virtual void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
695internal override void Rollback(InternalTransaction tx, Exception? e)
838internal override void Rollback(InternalTransaction tx, Exception? e)
1037internal override void Rollback(InternalTransaction tx, Exception? e)
1150internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
1219internal override void Rollback(InternalTransaction tx, Exception? e)
1224internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
1285internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
1329internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
1423internal override void Rollback(InternalTransaction tx, Exception? e)
1461internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
1555internal override void Rollback(InternalTransaction tx, Exception? e)
1618internal override void Rollback(InternalTransaction tx, Exception? e)
1801internal override void Rollback(InternalTransaction tx, Exception? e)
2445internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
2558internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
2629internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
2732internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
2957internal override void Rollback(InternalTransaction tx, Exception? e)
3015internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
3376internal override void Rollback(InternalTransaction tx, Exception? e)
3486internal override void Rollback(InternalTransaction tx, Exception? e)
3577internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
3683internal override void Rollback(InternalTransaction tx, Exception? e)
3779internal override void Rollback(InternalTransaction tx, Exception? e)
3863internal override void Rollback(InternalTransaction tx, Exception? e)
3881internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
4059internal override void Rollback(InternalTransaction tx, Exception? e)
4089internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception? e)
4297internal override void Rollback(InternalTransaction tx, Exception? e)
System.Windows.Extensions (5)
System.Windows.Forms (237)
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyBrowsingEnum.cs (1)
149catch (Exception ex)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
74catch (Exception e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
145catch (Exception e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
207catch (Exception e)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionConverter.cs (1)
20if (value is Exception ex)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
19if (value is Exception ex)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Design (123)
System.Windows.Forms.Primitives (2384)
System.Windows.Input.Manipulations (12)
System.Xaml (53)
System\Xaml\XamlException.cs (9)
14public XamlException(string message, Exception innerException, int lineNumber, int linePosition)
21public XamlException(string message, Exception innerException)
107public XamlParseException(string message, Exception innerException)
129public XamlObjectWriterException(string message, Exception innerException)
155public XamlDuplicateMemberException(string message, Exception innerException)
191public XamlInternalException(string message, Exception innerException)
208public XamlSchemaException(string message, Exception innerException)
227public XamlObjectReaderException(string message, Exception innerException)
250public XamlXmlWriterException(string message, Exception innerException)
testhost (1)
testhost.arm64 (1)
testhost.x86 (1)
TestProject.IntegrationServiceA (4)
tlens (3)
UIAutomationClient (14)
UIAutomationClientSideProviders (35)
UIAutomationTypes (5)
UnitTests.Common (3)
vbc (18)
VBCSCompiler (43)
vstest.console (33)
vstest.console.arm64 (33)
src\vstest\src\vstest.console\Processors\ArtifactProcessingPostProcessModeProcessor.cs (1)
99catch (Exception e)
WindowsFormsIntegration (6)