handzlikchris / handzlikchris/FastScriptReload
Private nullable fields added at runtime cause errors (only for reference type)
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 167
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Having an issue Added private nullable field and got error during compilation CS8639: The typeof operator cannot be used on a nullable reference type' Related generated line: private static Dictionary> __Patched_NewFieldsToGetTypeFnDictionaryFieldName = new() {["kitchenObject"] = () => typeof(KitchenObject? ), }; (edited)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start from the generated __Patched_NewFieldsToGetTypeFnDictionaryFieldName line shown in the report and trace handling for runtime-added private nullable fields. Reproduce the CS8639 compilation error with a reference-type field such as KitchenObject?; done means the generated code compiles without using typeof on a nullable reference type.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, unity
- 領域
- game-dev, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100