Explore tweets tagged as #SetStateMachine
@SodabaAhmadi
Sodaba Ahmadi
5 years
0
5
9
@nenoMake
何縫ねの。
3 years
complicated SetStateMachine dance とか言ってるのウケるなw >Note that line which the source comments as “important”. This takes the place of that complicated SetStateMachine dance in .NET Framework, such that SetStateMachine isn’t actually used at all in .NET Core.
1
0
1
@aetos382
あえとす
7 years
ところで MethodBuilder の SetStateMachine って何に使うんだ。
1
0
0
@aetos382
あえとす
7 years
StateMachine.SetStateMachine からは MethodBuilder.StateMachine が呼ばれているが、StateMachine.SetStateMachine がどこからも呼ばれてない。
1
0
0
@aetos382
あえとす
7 years
ちうことは、SetStateMachine はやっぱりどこかで呼び出してもらうべきなんだと思うが、呼び出し元が見つからないんだよなあ…
1
0
0
@aetos382
あえとす
7 years
まぁつまり、どこかでボックス化してヒープに保持しておく必要性は変わってないんだけど、ボックス化する方法を変えたから、SetStateMachine は標準ではもう使ってないよ、ということだな。
1
0
0
@aetos382
あえとす
7 years
まーいずれにせよ、MethodBuilder.SetStateMachine はもう呼ばれることは無いので、StateMachine のインスタンスを保存しておく方法は考えときましょーね、ということなのか。
1
0
0
@aetos382
あえとす
7 years
そのため、StateMachine のインスタンスを Box 化してヒープ上に保持しておく必要がある。このために SetStateMachine の引数は ref TStateMachine ではなく、参照型の IStateMachine になっている。
1
0
0
@aetos382
あえとす
7 years
1
0
0
@TheLarkInn
📦🛠👷🏻‍♂️Sean Larkin
9 years
@ryanflorence @1Copenut @mjackson or setStateMachine
1
0
2
@coreclrissues
CoreCLR Issues
7 years
Move AsyncMethodBuilder.SetStateMachine to non-generic dotnet\coreclr#24403
0
0
0
@gcaughey
Ginny Caughey
12 years
@dotMorten @dancolasanti @Telerik I found it! But it's apparently inside SetStateMachine. Hmmm.
0
0
0
@runtimeissues
.NET Runtime Issues
8 years
[uapaot] AsyncTaskMethodBuilder<TResult>.SetStateMachine throws when 'm_moveNextAction' is unin… dotnet\corefx#22506
0
0
0