77 references to Exception
dotnet (1)
Commands\Workload\WorkloadException.cs (1)
14public WorkloadException() : base()
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (1)
2897: base()
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\InvalidDataContractException.cs (1)
12public InvalidDataContractException() : base()
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityMessageSerializationException.cs (1)
10: base()
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityTokenException.cs (1)
10: base()
FrameworkFork\System.ServiceModel\System\ServiceModel\InvalidMessageContractException.cs (1)
13: base()
FrameworkFork\System.ServiceModel\System\ServiceModel\QuotaExceededException.cs (1)
13: base()
ILCompiler.Compiler (2)
Compiler\SubstitutedILProvider.cs (1)
1009_ => throw new Exception(),
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (1)
392throw new Exception();
ILCompiler.ReadyToRun (4)
Compiler\DependencyAnalysis\ReadyToRun\DeferredTillPhaseNode.cs (1)
32throw new Exception();
Compiler\ReadyToRunCompilerContext.cs (1)
202throw new Exception();
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
318throw new Exception();
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (1)
392throw new Exception();
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
1403internal IdentityResultException(IdentityResult result) : base()
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\HubConnectionContextUtils.cs (1)
51throw new Exception();
Microsoft.Build.Framework (1)
BuildException\BuildExceptionBase.cs (1)
19: base()
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (1)
22: base()
Microsoft.DotNet.HotReload.Utils.Generator (1)
DiffyException.cs (1)
11public DiffyException(int exitStatus) : base () {
Microsoft.DotNet.NativeWrapper (1)
HostFxrResolutionException.cs (1)
13: base()
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\FunctionCallContentTests.cs (1)
72Exception e = new();
Contents\FunctionResultContentTests.cs (1)
56Exception e = new();
Microsoft.Maui (2)
Handlers\HybridWebView\HybridWebViewInvokeJavaScriptException.cs (1)
10 : base()
Layouts\Flex.cs (1)
830 throw new Exception();
Microsoft.Maui.Controls (3)
StyleSheets\Style.cs (1)
53 throw new Exception();
StyleSheets\StyleSheet.cs (1)
82 throw new Exception();
StyleSheets\TextReaderExtensions.cs (1)
33 throw new Exception();
Microsoft.Maui.Controls.Build.Tasks (1)
CompiledConverters\ICompiledTypeConverter.cs (1)
24 throw new Exception();
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
476 var name = GetAttributeValue(node, "Name", XamlParser.X2006Uri, XamlParser.X2009Uri) ?? throw new Exception();
Microsoft.Maui.Controls.Xaml (1)
ExpandMarkupsVisitor.cs (1)
95 throw new Exception();
Microsoft.ML.AutoML (2)
Tuner\AutoZeroTuner.cs (2)
45_ => throw new Exception(), 52_ => throw new Exception(),
Microsoft.ML.PerformanceTests (4)
HashBench.cs (4)
36throw new Exception(); 50throw new Exception(); 53throw new Exception(); 59throw new Exception();
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\92\TestPlatformJsonContext.Exception.g.cs (1)
31ObjectCreator = () => new global::System.Exception(),
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
2483Throw New Exception 'would be nice to have an internal runtime exception or something like that
Microsoft\VisualBasic\CompilerServices\IncompleteInitialization.vb (1)
10MyBase.New()
Microsoft\VisualBasic\FileIO\MalformedLineException.vb (1)
25MyBase.New()
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
Adapter\TestPlatformFormatException.cs (1)
24: base()
RunSettings\SettingsException.cs (1)
23public SettingsException() : base()
Mono.Cecil (1)
Mono.Cecil\WindowsRuntimeProjections.cs (1)
860 throw new Exception ();
Mono.Cecil.Mdb (1)
Mono.CompilerServices.SymbolWriter\MonoSymbolFile.cs (1)
42 : base ()
PresentationCore (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
154Marshal.GetHRForException(new Exception());
PresentationFramework (2)
System\Windows\Controls\PrintDialogException.cs (1)
23: base()
System\Windows\Documents\MsSpellCheckLib\Utils\RetryHelper.cs (1)
311internal RetriesExhaustedException() : base() { }
ReachFramework (1)
Exceptions\XpsException.cs (1)
23: base()
Shared.Tests (2)
Throw\ThrowTest.cs (2)
29var innerException = new Exception(); 52var innerException = new Exception();
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\Exception.cs (3)
48public ActiveDirectoryObjectNotFoundException() : base() { } 146public ActiveDirectoryServerDownException() : base() { } 191public ActiveDirectoryObjectExistsException() : base() { }
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\common\DirectoryException.cs (1)
30public DirectoryException() : base()
System.Formats.Cbor (6)
System\Formats\Cbor\CborConformanceLevel.cs (1)
257throw new Exception();
System\Formats\Cbor\Reader\CborReader.PeekState.cs (3)
39throw new Exception(); 85throw new Exception(); 130throw new Exception();
System\Formats\Cbor\Writer\CborWriter.cs (1)
462throw new Exception();
System\Formats\Cbor\Writer\CborWriter.Tag.cs (1)
194throw new Exception();
System.IO.Ports (1)
System\IO\Ports\SerialStream.Unix.cs (1)
533throw new Exception();
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
202public RethrowException() : base() { }
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
274throw new Exception();
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
26: this() 37: this()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
775return new System.Exception();
System\Reflection\Runtime\Dispensers\DispenserFactory.cs (2)
29throw new Exception(); 53throw new Exception();
System.Reflection.Metadata (1)
System\Reflection\Metadata\ImageFormatLimitationException.cs (1)
11: base()
System.Reflection.MetadataLoadContext (1)
System\CoreRtBridge.cs (1)
34internal static Exception CreateMissingMetadataException() => new Exception();
System.Runtime.Serialization.Primitives (1)
System\Runtime\Serialization\InvalidDataContractException.cs (1)
15: base()
System.ServiceModel.Primitives (4)
System\IdentityModel\SecurityMessageSerializationException.cs (1)
12public SecurityMessageSerializationException() : base() { }
System\IdentityModel\Tokens\SecurityTokenException.cs (1)
12public SecurityTokenException() : base() { }
System\ServiceModel\InvalidMessageContractException.cs (1)
12public InvalidMessageContractException() : base() { }
System\ServiceModel\QuotaExceededException.cs (1)
12public QuotaExceededException() : base() { }
System.Text.Json (2)
System\Text\Json\JsonException.cs (1)
78public JsonException() : base() { }
System\Text\Json\Serialization\Converters\FSharp\FSharpTypeConverterFactory.cs (1)
73throw new Exception();
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Emitter.cs (1)
2455_ => throw new Exception(),