Improve Dictionary TryGetValue size/perfomance (dotnet/coreclr#27195)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / UnhandledExceptionEventArgs.cs
blob0971cc1fd4773f26f0a5fa529ee54f6bea24b56e
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 namespace System
7 public class UnhandledExceptionEventArgs : EventArgs
9 private readonly object _exception;
10 private readonly bool _isTerminating;
12 public UnhandledExceptionEventArgs(object exception, bool isTerminating)
14 _exception = exception;
15 _isTerminating = isTerminating;
18 public object ExceptionObject => _exception;
20 public bool IsTerminating => _isTerminating;