1087 references to Exception
aspire (1)
Aspire.EndToEnd.Tests (1)
Aspire.Hosting (1)
Aspire.Templates.Tests (1)
BasicWebSite (4)
BuildBoss (4)
BuildValidator (3)
Client.ExpectedExceptions.IntegrationTests (1)
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Contract.Fault.IntegrationTests (1)
Crossgen2Tasks (1)
DefaultBuilder.SampleApp (1)
DeveloperExceptionPageSample (1)
Diagnostics.EFCore.FunctionalTests (9)
dotnet-dev-certs (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
dotnet-getdocument (2)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
dotnet-svcutil-lib (40)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SerializationException.cs (1)
20: base(message)
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityMessageSerializationException.cs (1)
15: base(message)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityTokenException.cs (1)
15: base(message)
FrameworkFork\System.ServiceModel\System\ServiceModel\InvalidMessageContractException.cs (1)
18: base(message)
FrameworkFork\System.ServiceModel\System\ServiceModel\QuotaExceededException.cs (1)
18: base(message)
dotnet-user-jwts (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
ErrorCustomCheck (3)
ExceptionHandlerSample (2)
GenerateRulesMissingDocumentation (1)
GetDocument.Insider (2)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
http2cat (10)
HttpStress (7)
IdeCoreBenchmarks (1)
IIS.FunctionalTests (11)
IIS.LongTests (11)
IIS.NewHandler.FunctionalTests (11)
IIS.NewShim.FunctionalTests (11)
IIS.ShadowCopy.Tests (3)
IISExpress.FunctionalTests (11)
illink (2)
InMemory.FunctionalTests (12)
InProcessWebSite (1)
Interop.FunctionalTests (6)
Microsoft.Analyzers.Local (2)
Microsoft.Arcade.Common (1)
Microsoft.Arcade.Test.Common (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.App.Analyzers.Test (6)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (6)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackSerializationException.cs (1)
31: base(message)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.Components.WebView.Test (8)
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (1)
Microsoft.AspNetCore.Cors.Test (2)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (3)
Microsoft.AspNetCore.Diagnostics.Tests (18)
Microsoft.AspNetCore.FunctionalTests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (4)
Microsoft.AspNetCore.Hosting.Tests (6)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Connections.Tests (4)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.Identity.Test (4)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.InternalTesting.Tests (6)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
Microsoft.AspNetCore.Mvc.Razor.Test (2)
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (19)
Microsoft.AspNetCore.Server.IntegrationTesting (7)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (5)
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
Microsoft.AspNetCore.Shared.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Client.Tests (6)
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
Microsoft.AspNetCore.SignalR.Tests (5)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.Build (2)
Microsoft.Build.BuildCheck.UnitTests (3)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (17)
BackEnd\LoggingServicesLogMethod_Tests.cs (9)
216service.LogFatalError(null, new Exception("SuperException"), new BuildEventFileInfo("foo.cs"), "FatalTaskError", "TaskName");
229service.LogFatalError(s_buildEventContext, new Exception("SuperException"), null, "FatalTaskError", "TaskName");
261service.LogFatalError(s_buildEventContext, new Exception("SuperException"), fileInfo, null);
275service.LogFatalError(s_buildEventContext, new Exception("SuperException"), fileInfo, string.Empty, null);
286Exception exception = new Exception("SuperException");
310Exception exception = new Exception("SuperException");
335service.LogFatalTaskError(s_buildEventContext, new Exception("SuperException"), fileInfo, null);
346Exception exception = new Exception("SuperException");
552Exception exception = new Exception("SuperException");
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (5)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Tasks.UnitTests (7)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures (3)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CodeAnalysis.Rebuild (2)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Scripting.TestUtilities (3)
Microsoft.CodeAnalysis.Test.Utilities (14)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild (8)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderInternalCompilerException.cs (1)
30: base(message)
Microsoft.Data.Analysis (13)
Microsoft.Data.Analysis.Tests (13)
Microsoft.DotNet.Build.Tasks.Feed (11)
Microsoft.DotNet.Build.Tasks.Workloads (17)
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.Git.IssueManager (1)
Microsoft.DotNet.Helix.Client (1)
Microsoft.DotNet.Helix.Sdk (3)
Microsoft.DotNet.MacOsPkg.Core (17)
Microsoft.DotNet.NuGetRepack.Tests (1)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SignTool (6)
Microsoft.DotNet.XliffTasks (2)
Microsoft.DotNet.XUnitExtensions (3)
Microsoft.DotNet.XUnitV3Extensions (2)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (4)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Hosting.Abstractions (2)
Microsoft.Extensions.Telemetry (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.JSInterop (2)
Microsoft.JSInterop.Tests (1)
Microsoft.Maui (8)
Microsoft.Maui.Controls (15)
Microsoft.Maui.Controls.SourceGen (3)
Microsoft.Maui.Graphics (1)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
Microsoft.ML.AutoML (4)
Microsoft.ML.CodeGenerator (16)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.Fairlearn (2)
Microsoft.ML.FastTree (2)
Microsoft.ML.GenAI.Core (3)
Microsoft.ML.PerformanceTests (3)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.Sweeper (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (1)
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
Microsoft.TestUtilities (1)
Microsoft.VisualBasic.Core (5)
Microsoft.VisualStudio.IntegrationTest.Setup (1)
Microsoft.VisualStudio.LanguageServices (16)
MiddlewareAnalysisSample (1)
MSBuild (2)
MSBuildTaskHost (1)
Mvc.RoutingWebSite (2)
PresentationBuildTasks (3)
PresentationCore (7)
PresentationFramework (113)
PresentationUI (2)
ProjectCachePlugin (1)
RazorPagesWebSite (4)
ReachFramework (1)
Replay (3)
Roslyn.Compilers.Extension (1)
Roslyn.Test.PdbUtilities (8)
Reader\Token2SourceLineExporter.cs (8)
889throw new Exception(
1205throw new Exception("No `name' stream");
1257throw new Exception("Unsupported PDB deleted bitset is not empty.");
1279throw new Exception(string.Format("Count mismatch. ({0} != {1})", j, cnt));
1294throw new Exception(string.Format("Invalid signature. (sig={0})", sig));
1342throw new Exception(string.Format("OEM section: guid={0} ti={1}", oem.idOem, oem.typind));
1416throw new Exception(string.Format("Unsupported Name Stream version. (sig={0:x8}, ver={1})", sig, ver));
1461throw new Exception(string.Format("Error reading DBI stream, pos={0} != {1}", bits.Position, end));
Roslyn.Test.Performance.Utilities (4)
Roslyn.VisualStudio.Next.UnitTests (4)
RunTests (4)
ScenarioTests.Common.Tests (2)
Security.TransportSecurity.IntegrationTests (4)
ServerComparison.FunctionalTests (1)
Sockets.BindTests (2)
Sockets.FunctionalTests (9)
StackDepthTest (1)
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
System.ComponentModel.Annotations (2)
System.ComponentModel.Composition (56)
System.ComponentModel.Composition.Registration (4)
System.Composition.Convention (4)
System.Composition.Hosting (4)
System.Composition.Runtime (2)
System.Configuration.ConfigurationManager (4)
System.Formats.Asn1 (2)
System.Formats.Cbor (1)
System.IO.IsolatedStorage (2)
System.Net.Http (6)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HPackEncodingException.cs (1)
13: base(message)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HuffmanDecodingException.cs (1)
18: base(message)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\QPackEncodingException.cs (1)
13: base(message)
System.Net.Mail (5)
System.Net.Security (4)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
948: base(inputMessage)
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\InvalidTimeZoneException.cs (1)
19: base(message)
src\libraries\System.Private.CoreLib\src\System\Threading\LockRecursionException.cs (1)
19: base(message)
src\libraries\System.Private.CoreLib\src\System\TimeZoneNotFoundException.cs (1)
19: base(message)
System.Private.CoreLib.Generators (1)
System.Private.Windows.Core (1)
System.Private.Xml (4)
System.Reflection.Metadata (1)
System.Runtime.Serialization.Primitives (1)
System.ServiceModel.Federation (1)
System.ServiceModel.NetFramingBase (2)
System.ServiceModel.Primitives.Tests (1)
System.Text.Json (2)
System.Threading.Channels (1)
System.Threading.Tasks.Parallel (1)
System.Web.Services.Description (1)
System.Xaml (2)
Templates.Blazor.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Templates.Mvc.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Templates.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandParsingException.cs (1)
11: base(message)
Test.Utilities (1)
UIAutomationTypes (3)
VBCSCompiler (2)
VBCSCompiler.UnitTests (7)
Wasm.Performance.ConsoleHost (1)
WindowsBase.Tests (1)
XmlFileLogger (1)
xunit.assert (1)
xunit.console (2)