handzlikchris / handzlikchris/FastScriptReload

Singleton initalization type is not properly rewritten

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2.2k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

```
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()
{

}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.