fix BadImageFormatException

master
watanabe_satoshi 2021-07-05 18:41:31 +09:00
parent 60bfbae787
commit 0715dd31bf
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;