fix BadImageFormatException
parent
60bfbae787
commit
0715dd31bf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue