195 references to Exception
Aspire.Hosting (1)
DistributedApplicationException.cs (1)
32public DistributedApplicationException(string message, Exception inner) : base(message, inner) { }
Crossgen2Tasks (1)
CommonFilePulledFromSdkRepo\BuildErrorException.cs (1)
23public BuildErrorException(string message, Exception innerException) : base(message, innerException)
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
270throw new Exception(message, e);
Diagnostics.EFCore.FunctionalTests (1)
DatabaseErrorPageMiddlewareTest.cs (1)
512throw new Exception("I wrapped your exception", ex);
dotnet-getdocument (1)
src\Tools\GetDocumentInsider\src\CommandException.cs (1)
16: base(message, innerException)
dotnet-svcutil-lib (18)
FrameworkFork\Microsoft.CodeDom\Configuration\ConfigurationErrorsException.cs (1)
19public ConfigurationErrorsException(string message, Exception innerException) : base(message, innerException)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (1)
89base(CreateMessage(res, args), innerException)
FrameworkFork\Microsoft.Xml\Xml\XmlException.cs (2)
57base(FormatUserMessage(message, lineNumber, linePosition), innerException) 129base(CreateMessage(res, args, lineNumber, linePosition), innerException)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathException.cs (1)
61base(CreateMessage(res, args), inner)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\InvalidDataContractException.cs (1)
20public InvalidDataContractException(String message, Exception innerException) : base(message, innerException)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SerializationException.cs (1)
14: base(message, innerException)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\FatalException.cs (1)
16public FatalException(string message, Exception innerException) : base(message, innerException)
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityMessageSerializationException.cs (1)
20: base(message, innerException)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityTokenException.cs (1)
20: base(message, innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\InvalidChannelBindingException.cs (1)
13public InvalidChannelBindingException(string message, Exception innerException) : base(message, innerException) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\CommunicationException.cs (1)
11public CommunicationException(string message, Exception innerException) : base(message, innerException) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
1927: base(string.Empty, innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InvalidBodyAccessException.cs (1)
15: base(message, innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\InvalidMessageContractException.cs (1)
23: base(message, innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\QuotaExceededException.cs (1)
23: base(message, innerException)
Metadata\MetadataExchangeException.cs (1)
18public MetadataExchangeException(string message, Exception innerException) : base(message, innerException) { }
ToolRuntimeException.cs (1)
21public ToolRuntimeException(String message, Exception innerException) : base(message, innerException)
GetDocument.Insider (1)
CommandException.cs (1)
16: base(message, innerException)
http2cat (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
IIS.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
IIS.LongTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
IIS.NewHandler.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
IIS.NewShim.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
IISExpress.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
illink (2)
InMemory.FunctionalTests (2)
KestrelMetricsTests.cs (1)
981throw new Exception($"Connection has unexpected error.type value: {measurement.Tags["error.type"]}", ex);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1392throw new Exception($"Error checking trailer {i}", ex);
Microsoft.AspNetCore.Antiforgery (1)
AntiforgeryValidationException.cs (1)
28: base(message, innerException)
Microsoft.AspNetCore.App.Analyzers.Test (3)
RouteEmbeddedLanguage\RoutePatternParserTests.cs (3)
174throw new Exception($"Parsing '{token.ValueText}' throws RoutePattern error '{ex.Message}'. No diagnostics.", ex); 228throw new Exception($"Parsing '{token.ValueText}' has route parameter '{parsedRoutePattern.Name}' mismatch.", ex); 364throw new Exception($"When checking '{allChars.CreateString()}' there was a mismatch between '{allCharsString}' and '{virtualCharsString}' at index {i}.", ex);
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationFailureException.cs (1)
29: base(message, innerException)
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (1)
1866throw new Exception("Failed to authenticate", result.Failure);
JwtBearerTests.cs (1)
1179throw new Exception("Failed to authenticate", result.Failure);
JwtBearerTests_Handler.cs (1)
1246throw new Exception("Failed to authenticate", result.Failure);
Microsoft.AspNetCore.Components (2)
LocationChangeException.cs (1)
17: base(message, innerException)
src\Http\Routing\src\RouteCreationException.cs (1)
31: base(message, innerException)
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataMappingException.cs (1)
11: base(FormDataResources.MappingExceptionMessage, innerException)
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackSerializationException.cs (1)
41: base(message, inner)
Microsoft.AspNetCore.Http.Connections.Client (1)
TransportFailedException.cs (1)
25: base($"{transportType} failed: {message}", innerException)
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\FormDataMappingException.cs (1)
11: base(FormDataResources.MappingExceptionMessage, innerException)
Microsoft.AspNetCore.JsonPatch (2)
Exceptions\JsonPatchException.cs (2)
19: base(jsonPatchError.ErrorMessage, innerException) 31: base(message, innerException)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Exceptions\JsonPatchException.cs (2)
19: base(jsonPatchError.ErrorMessage, innerException) 31: base(message, innerException)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Formatters\InputFormatterException.cs (1)
34: base(message, innerException)
ModelBinding\ValueProviderException.cs (1)
27: base(message, innerException)
Microsoft.AspNetCore.Routing (1)
RouteCreationException.cs (1)
31: base(message, innerException)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
ResponseCachingTests.cs (2)
455throw new Exception($"Failed to get first response for {status}", ex); 463throw new Exception($"Failed to get second response for {status}", ex);
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http3\Http3PendingStreamException.cs (1)
9: base($"HTTP/3 stream error while trying to identify stream {streamId}: {message}", innerException)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
src\Shared\runtime\Http3\QPack\QPackDecodingException.cs (1)
20public QPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http3\QPack\QPackEncodingException.cs (1)
17: base(message, innerException)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Http1\Http1HttpProtocolFeatureCollectionTests.cs (1)
211throw new Exception($"Error for feature {type}.", ex);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
src\Shared\test\Shared.Tests\runtime\Http3\QPackDecoderTest.cs (1)
319throw new Exception($"Error when decoding with chunk size {i}.", ex);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
Microsoft.AspNetCore.Shared.Tests (5)
runtime\Http3\QPackDecoderTest.cs (1)
319throw new Exception($"Error when decoding with chunk size {i}.", ex);
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
src\Shared\runtime\Http3\QPack\QPackDecodingException.cs (1)
20public QPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\Shared\runtime\Http3\QPack\QPackEncodingException.cs (1)
17: base(message, innerException)
Microsoft.AspNetCore.SignalR.Common (1)
HubException.cs (1)
41public HubException(string? message, Exception? innerException) : base(message, innerException)
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
915throw new Exception(taskException.Message, taskException);
BuildCheck\Infrastructure\BuildCheckConfigurationException.cs (2)
16public BuildCheckConfigurationException(string message, Exception innerException, BuildCheckConfigurationErrorScope buildCheckConfigurationErrorScope = BuildCheckConfigurationErrorScope.SingleRule) : base(message, innerException) 26public BuildCheckConfigurationException(string message, Exception innerException) : base(message, innerException)
Microsoft.Build.Engine.UnitTests (1)
Construction\SolutionFile_OldParser_Tests.cs (1)
928throw new Exception("Failed to parse solution containing description information. Error: " + ex.Message, ex);
Microsoft.Build.Framework (1)
BuildException\BuildExceptionBase.cs (1)
30: base(message, inner)
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
270throw new Exception(message, e);
Microsoft.Build.Tasks.Core (6)
AssemblyDependency\BadImageReferenceException.cs (1)
21: base(message, innerException)
AssemblyDependency\DependencyResolutionException.cs (1)
21: base(message, innerException)
AssemblyDependency\ReferenceResolutionException.cs (1)
21: base(message, innerException)
InvalidParameterValueException.cs (1)
32: base(message, innerException)
ResourceHandling\InputFormatNotSupportedException.cs (1)
22public InputFormatNotSupportedException(string message, Exception innerException) : base(message, innerException)
ResourceHandling\MSBuildResXException.cs (1)
22public MSBuildResXException(string message, Exception innerException) : base(message, innerException)
Microsoft.Build.Utilities.UnitTests (1)
TaskLoggingHelper_Tests.cs (1)
250throw new Exception(message, inner);
Microsoft.CodeAnalysis (6)
DiaSymReader\Writer\SymUnmanagedWriterException.cs (2)
30: base(message, innerException) 35: base(message, innerException)
PEWriter\PeWriter.cs (1)
30: base(inner.Message, inner)
ResourceException.cs (1)
12: base(name, inner)
RuleSet\InvalidRuleSetException.cs (1)
18public InvalidRuleSetException(string message, Exception inner) : base(message, inner) { }
SourceGeneration\UserFunction.cs (1)
19: base("User provided code threw an exception", innerException)
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundTreeVisitors.cs (1)
168: base(inner.Message, inner)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
221throw new Exception($"Depth: {i}, Bytes: {IntPtr.Size}, Config: {ExecutionConditionUtil.Configuration}, Desktop: {RuntimeUtilities.IsDesktopRuntime}", e);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
NotImplementedMetadataException.cs (1)
13internal NotImplementedMetadataException(NotImplementedException inner) : base(string.Empty, inner)
Microsoft.CodeAnalysis.Test.Utilities (2)
Platform\CoreClr\TestExecutionLoadContext.cs (1)
112throw new Exception($"Error getting signatures {fullyQualifiedTypeName}.{memberName}", ex);
TargetFrameworkUtil.cs (1)
439throw new Exception(message, ex);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
1011public CompilationTrackerValidationException(string message, Exception inner) : base(message, inner) { }
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Rpc\RpcClient.cs (1)
97completionSource.SetException(new Exception("Unable to deserialize the result", ex));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Rpc\RpcServer.cs (1)
76throw new Exception($"Failure while deserializing '{line}'", innerException: e);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
src\Workspaces\MSBuild\BuildHost\Rpc\RpcServer.cs (1)
76throw new Exception($"Failure while deserializing '{line}'", innerException: e);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderException.cs (1)
41: base(message, innerException)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderInternalCompilerException.cs (1)
41: base(message, innerException)
Microsoft.DotNet.Build.Tasks.Feed (2)
src\common\AzureStorageUtils.cs (1)
135throw new Exception($"Failed to upload local file '{filePath}' to '{blobPath} in {retryHandler.MaxAttempts} attempts. See inner exception for details.", mostRecentlyCaughtException);
src\PublishArtifactsInManifestBase.cs (1)
963throw new Exception(
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
192throw new Exception("Could not start Redis Server at path "
Microsoft.Extensions.Hosting.Abstractions (1)
HostAbortedException.cs (1)
55public HostAbortedException(string? message, Exception? innerException) : base(message ?? SR.HostAbortedExceptionMessage, innerException) { }
Microsoft.JSInterop (1)
JSException.cs (1)
24public JSException(string message, Exception innerException) : base(message, innerException)
Microsoft.Maui (2)
Handlers\HybridWebView\HybridWebViewInvokeJavaScriptException.cs (1)
20 : base(message, innerException)
Platform\HandlerNotFoundException.cs (1)
24 public HandlerNotFoundException(string message, Exception innerException) : base(message, innerException)
Microsoft.Maui.Controls (5)
Internals\ImageParser.cs (1)
26 public GIFDecoderFormatException(string message, Exception innerException) : base(message, innerException)
InvalidNavigationException.cs (1)
24 : base(message, innerException)
UnsolvableConstraintsException.cs (1)
23 : base(message, innerException)
XamlParseException.cs (2)
26 : base(message, innerException) 46 : base(FormatMessage(message, xmlInfo), innerException)
Microsoft.Maui.Controls.Build.Tasks (1)
BuildException.cs (1)
19 : base(FormatMessage(code, xmlInfo, args), innerException)
Microsoft.Maui.Controls.SourceGen (2)
src\Controls\src\Core\XamlParseException.cs (2)
26 : base(message, innerException) 46 : base(FormatMessage(message, xmlInfo), innerException)
Microsoft.Maui.Graphics (1)
PathBuilder.cs (1)
55 throw new Exception("Error parsing a path value.", exc);
Microsoft.ML.AutoML (1)
API\InferenceException.cs (1)
41: base(message, inner)
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\FileIO\MalformedLineException.vb (2)
56MyBase.New(message, innerException) 67MyBase.New(message, innerException)
MSBuildTaskHost (1)
BuildExceptionBase.cs (1)
30: base(message, inner)
PresentationFramework (5)
MS\Internal\AppModel\Journaling.cs (1)
679throw new Exception(SR.Format(SR.FailedResumePageFunction, this._typeName), ex);
MS\Internal\PtsHost\Pts.cs (1)
266internal SecondaryException(Exception e) : base(null, e) { }
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (1)
364e = new Exception(message, innerException);
System\Windows\Controls\PrintDialogException.cs (1)
49: base(message, innerException)
System\Windows\Documents\MsSpellCheckLib\Utils\RetryHelper.cs (1)
313internal RetriesExhaustedException(string message, Exception innerException) : base(message, innerException) { }
PresentationUI (1)
MS\Internal\Documents\Application\XpsViewerException.cs (1)
57: base(message, innerException)
ReachFramework (1)
Exceptions\XpsException.cs (1)
49: base(message, innerException)
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
270throw new Exception(message, e);
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
76throw new Exception($"Unexpected critical error. {log}", exception);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationException.cs (1)
69: base(message, innerException)
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\CompositionContractMismatchException.cs (1)
55: base(message, innerException)
System\ComponentModel\Composition\CompositionException.cs (1)
92: base(message, innerException)
System\ComponentModel\Composition\ImportCardinalityMismatchException.cs (1)
58: base(message, innerException)
System\ComponentModel\Composition\Primitives\ComposablePartException.cs (1)
136: base(message, innerException)
System.Composition.Runtime (1)
System\Composition\Hosting\CompositionFailedException.cs (1)
34: base(message ?? SR.CompositionFailedDefaultExceptionMessage, innerException)
System.Configuration.ConfigurationManager (4)
System\Configuration\Provider\ProviderException.cs (1)
20: base(message, innerException)
System\Configuration\SettingsPropertyIsReadOnlyException.cs (1)
19: base(message, innerException)
System\Configuration\SettingsPropertyNotFoundException.cs (1)
19: base(message, innerException)
System\Configuration\SettingsPropertyWrongTypeException.cs (1)
19: base(message, innerException)
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnContentException.cs (1)
45: base(message ?? SR.ContentException_DefaultMessage, inner)
System.Formats.Cbor (1)
System\Formats\Cbor\CborContentException.cs (1)
30: base(message ?? SR.CborContentException_DefaultMessage, inner)
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageException.cs (1)
33: base(message ?? SR.IsolatedStorage_Exception, inner)
System.Net.Http (5)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HPackDecodingException.cs (1)
21public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HPackEncodingException.cs (1)
18: base(message, innerException)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\QPackDecodingException.cs (1)
20public QPackDecodingException(string message, Exception innerException) : base(message, innerException)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\QPackEncodingException.cs (1)
17: base(message, innerException)
System\Net\Http\HttpRequestException.cs (1)
18: base(message, inner)
System.Net.Mail (1)
System\Net\Mail\SmtpException.cs (1)
92public SmtpException(string? message, Exception? innerException) : base(message, innerException)
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
953: base(inputMessage, ex)
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (3)
57: base(message ?? SR.AggregateException_ctor_DefaultMessage, innerException) 123base(message ?? SR.AggregateException_ctor_DefaultMessage, innerExceptions.Length > 0 ? innerExceptions[0] : null) 168: base(message, innerExceptionInfos.Count != 0 ? innerExceptionInfos[0].SourceException : null)
src\libraries\System.Private.CoreLib\src\System\ApplicationException.cs (1)
42: base(message, innerException)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\ContractException.cs (1)
30: base(failure, innerException)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSourceException.cs (2)
31public EventSourceException(string? message, Exception? innerException) : base(message ?? SR.EventSource_ListenerWriteFailure, innerException) { } 41base(SR.EventSource_ListenerWriteFailure, innerException) { }
src\libraries\System.Private.CoreLib\src\System\Diagnostics\UnreachableException.cs (1)
37: base(message ?? SR.Arg_UnreachableException, innerException)
src\libraries\System.Private.CoreLib\src\System\InvalidTimeZoneException.cs (1)
24: base(message, innerException)
src\libraries\System.Private.CoreLib\src\System\Runtime\AmbiguousImplementationException.cs (1)
26: base(message ?? SR.Arg_AmbiguousImplementationException_NoMessage, innerException)
src\libraries\System.Private.CoreLib\src\System\SystemException.cs (1)
27: base(message, innerException)
src\libraries\System.Private.CoreLib\src\System\Threading\LockRecursionException.cs (1)
24: base(message, innerException)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskSchedulerException.cs (2)
49: base(SR.TaskSchedulerException_ctor_DefaultMessage, innerException) 60public TaskSchedulerException(string? message, Exception? innerException) : base(message ?? SR.TaskSchedulerException_ctor_DefaultMessage, innerException)
src\libraries\System.Private.CoreLib\src\System\TimeZoneNotFoundException.cs (1)
24: base(message, innerException)
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\DataContract.cs (4)
421throw new Exception(ex.Message, ex); 892throw new Exception(ex.Message, ex); 910throw new Exception(ex.Message, ex); 922throw new Exception(ex.Message, ex);
System.Reflection.Metadata (1)
System\Reflection\Metadata\ImageFormatLimitationException.cs (1)
21: base(message, innerException)
System.Runtime.Serialization.Primitives (1)
System\Runtime\Serialization\InvalidDataContractException.cs (1)
25: base(message, innerException)
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\DiagnosticUtility.cs (1)
92return ThrowHelperError(new Exception(message, innerException));
System.Text.Json (2)
System\Text\Json\JsonException.cs (2)
30public JsonException(string? message, string? path, long? lineNumber, long? bytePositionInLine, Exception? innerException) : base(message, innerException) 61public JsonException(string? message, Exception? innerException) : base(message, innerException)
System.Threading (1)
System\Threading\Barrier.cs (1)
60: base(message is null ? SR.BarrierPostPhaseException : message, innerException)
System.Xaml (2)
System\Xaml\XamlException.cs (2)
15: base(message, innerException) 22: base(message, innerException)
UIAutomationTypes (2)
System\Windows\Automation\NoClickablePointException.cs (1)
38public NoClickablePointException(string message, Exception innerException) : base(message, innerException) {}
System\Windows\Automation\ProxyAssemblyNotLoadedException.cs (1)
43public ProxyAssemblyNotLoadedException(string message, Exception innerException) : base(message, innerException) {}
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
270throw new Exception(message, e);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
270throw new Exception(message, e);
xunit.assert (1)
Sdk\Exceptions\XunitException.cs (1)
56 base(userMessage, innerException)
xunit.console (1)
common\Json.cs (1)
552: base(message, innerException)