handzlikchris / handzlikchris/FastScriptReload

Singleton initalization type is not properly rewritten

オープン
#64 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
C#
スター
2.2k
フォーク
167
PR マージ指標
30日以内にマージされた PR はありません

説明

```
public class SingletonTest
{
private static SingletonTest _instance;

public static SingletonTest Instance
{
get
{
if (_instance == null)
{
_instance = new SingletonTest(); //Won't be rewritten to __Patched_ version, even with AllPatchedIdentifiersRewriter enabled
}
return _instance;
}
}

private SingletonTest()
{

}
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the SingletonTest example with AllPatchedIdentifiersRewriter enabled and trace the rewriting path for the new SingletonTest() expression. Done means the singleton initialization is rewritten to the __Patched_ version as described in the issue.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, unity
領域
devtools, game-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。