Skip to content

Commit

Permalink
[mono] Preserve FirstChanceExceptionEventArgs ctor
Browse files Browse the repository at this point in the history
The runtime is creating the exception so we need to preserve it.
See dotnet/android#6626
  • Loading branch information
akoeplinger authored and github-actions committed Apr 20, 2022
1 parent a21b9a2 commit 6573704
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ConstrainedExecution\PrePrepareMethodAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ConstrainedExecution\ReliabilityContractAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ExceptionServices\ExceptionNotification.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ExceptionServices\FirstChanceExceptionEventArgs.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ExceptionServices\HandleProcessCorruptedStateExceptionsAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\GCSettings.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\AllowReversePInvokeCallsAttribute.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,11 @@
<method signature="System.Void .ctor(System.Object,System.Boolean)" />
</type>

<!-- object.c: create_first_chance_exception_eventargs (assert) -->
<type fullname="System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs">
<method signature="System.Void .ctor(System.Exception)" />
</type>

<!-- class.c: make_generic_param_class -->
<type fullname="System.ValueType" preserve="nothing" />

Expand Down

0 comments on commit 6573704

Please sign in to comment.