fix BadImageFormatException

This commit is contained in:
watanabe_satoshi
2021-07-05 18:41:31 +09:00
parent 60bfbae787
commit 0715dd31bf

View File

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