Merge pull request #300 from satanabe1/fix-bad_image_format_exception

Fix BadImageFormatException when StackTrace captured on UniTaskTracker
master
Yoshifumi Kawai 2022-03-03 05:34:07 +09:00 committed by GitHub
commit fcf4f21cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ namespace Cysharp.Threading.Tasks.Internal
foreach (var candidateMethod in methods) foreach (var candidateMethod in methods)
{ {
var attributes = candidateMethod.GetCustomAttributes<StateMachineAttribute>(); var attributes = candidateMethod.GetCustomAttributes<StateMachineAttribute>(false);
if (attributes == null) if (attributes == null)
{ {
continue; continue;